diff --git a/components/bottom-button/bottom-button.vue b/components/bottom-button/bottom-button.vue
index 23474ff..5e33e06 100644
--- a/components/bottom-button/bottom-button.vue
+++ b/components/bottom-button/bottom-button.vue
@@ -88,11 +88,16 @@ export default {
// 次要按钮样式
&--secondary {
- background-color: #6C757D;
- box-shadow: 0 8rpx 20rpx rgba(108, 117, 125, 0.3);
+ background-color: #F5F0E7;
+ border: 2rpx solid #8B2E2E;
+ box-shadow: 0 4rpx 12rpx rgba(139, 46, 46, 0.1);
+
+ .button-text {
+ color: #8B2E2E;
+ }
&:active {
- background-color: #5A6268;
+ background-color: #F0EBE0;
transform: translateX(-50%) scale(0.98);
}
}
diff --git a/components/donate-modal/donate-modal.vue b/components/donate-modal/donate-modal.vue
new file mode 100644
index 0000000..f76f7bd
--- /dev/null
+++ b/components/donate-modal/donate-modal.vue
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ randomText }}
+
+
+
+
+
+ {{ confirmText }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/enum/common.js b/enum/common.js
index f34a24d..c0ae74e 100644
--- a/enum/common.js
+++ b/enum/common.js
@@ -13,6 +13,9 @@ export const CommonEnum = {
ADDRESS:"https://api.ccttiot.com/image-1754292905805.png",//地址图标
BUDDHA_BACKGROUND:"https://api.ccttiot.com/image-1754297645655.png",//佛像背景
CENSER:"https://api.ccttiot.com/image-1754297886734.png",//香炉
+ KongmingLantern:'https://api.ccttiot.com/image-1754376453672.png',//孔明灯
+ Refresh:'https://api.ccttiot.com/image-1754377032112.png',//刷新
+ LotusMeditation:'https://api.ccttiot.com/image-1754377169541.png',//莲坐禅心
};
export default CommonEnum;
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 8375448..d9004c3 100644
--- a/pages.json
+++ b/pages.json
@@ -145,6 +145,15 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
+ },
+ {
+ "path" : "pages/pray/praySuccess",
+ "style" :
+ {
+ "navigationBarTitleText" : "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
}
],
diff --git a/pages/pray/pray.vue b/pages/pray/pray.vue
index 8804632..26bbe4c 100644
--- a/pages/pray/pray.vue
+++ b/pages/pray/pray.vue
@@ -198,6 +198,13 @@ export default {
if (response.code === 200) {
uni.showToast({ title: '祈福成功!', icon: 'success' });
this.resetForm();
+
+ // 跳转到祈福成功页面
+ setTimeout(() => {
+ uni.navigateTo({
+ url: '/pages/pray/praySuccess'
+ });
+ }, 1500);
} else {
uni.showToast({ title: response.msg || '祈福失败,请重试', icon: 'none' });
}
diff --git a/pages/pray/praySuccess.vue b/pages/pray/praySuccess.vue
new file mode 100644
index 0000000..1bd7444
--- /dev/null
+++ b/pages/pray/praySuccess.vue
@@ -0,0 +1,233 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file