From 3c200051e6da8a57cf77a5fb8adfdfab341995a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E5=BD=A6=E7=A5=96?= <605893810@qq.com>
Date: Tue, 12 Aug 2025 21:07:34 +0800
Subject: [PATCH 1/2] =?UTF-8?q?feat:=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AD=BE?=
=?UTF-8?q?=E5=90=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/mine_package/mine_order/mine_order.vue | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/pages/mine_package/mine_order/mine_order.vue b/pages/mine_package/mine_order/mine_order.vue
index 467ab20..3ff3f1a 100644
--- a/pages/mine_package/mine_order/mine_order.vue
+++ b/pages/mine_package/mine_order/mine_order.vue
@@ -502,16 +502,14 @@ export default {
},
// 电子签的回调地址
handleMessage(e) {
- const data = e.detail.data[0];
- console.log();
- // if (data.type === 'signDone' && data.result === 'success') {
- // uni.navigateTo({ url: '/pages/result/index' });
- // }
+ const data = e.detail;
+ console.log('电子签的回调地址', e);
+
},
// 小程序签名
- openTencentESign(data) {
+ openTencentESign() {
// 这个链接需要后端调用腾讯电子签 API 获取
- const signPath = `/pages/sign/sign?flowId=${data.flowId}&token=${data.token}` // 腾讯电子签小程序内部页面路径
+ const signPath = `/pages/guide?from=app&to=CONTRACT_DETAIL&id=${this.flowId}` // 腾讯电子签小程序内部页面路径
uni.navigateToMiniProgram({
appId: 'wxa023b292fd19d41d', // 腾讯电子签官方小程序的 appId
From c507d7397fb85d6b63e4d5ea92b4d3c0b6668be2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A7=A6=E5=BD=A6=E7=A5=96?= <605893810@qq.com>
Date: Wed, 13 Aug 2025 09:20:29 +0800
Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E4=B9=9D=E5=AE=AB=E6=A0=BC?=
=?UTF-8?q?=E5=9F=BA=E7=A1=80=E7=BB=93=E6=9E=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages copy.json | 475 ------------------
pages.json | 5 +
.../nine-grid/components/LotteryGrid.vue | 276 ++++++++++
.../nine-grid/components/ResultModal.vue | 104 ++++
pages/other_package/nine-grid/nine-grid.vue | 116 +++++
5 files changed, 501 insertions(+), 475 deletions(-)
delete mode 100644 pages copy.json
create mode 100644 pages/other_package/nine-grid/components/LotteryGrid.vue
create mode 100644 pages/other_package/nine-grid/components/ResultModal.vue
create mode 100644 pages/other_package/nine-grid/nine-grid.vue
diff --git a/pages copy.json b/pages copy.json
deleted file mode 100644
index 6706422..0000000
--- a/pages copy.json
+++ /dev/null
@@ -1,475 +0,0 @@
-{
- "easycom": {
- "autoscan": true,
- // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
- "custom": {
- "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
- "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
- "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
- }
- },
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/home/home",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "%index.title%",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/sort/sort",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/hash_union/hash_union",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/shopping_cart/shopping_cart",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine/mine",
- "style": {
- "navigationStyle": "custom"
- }
- }, {
- "path": "pages/mine_bank_card/mine_bank_card",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_bank_add/mine_bank_add",
- "style": {
- "navigationBarTitleText": "%bankCard.add.title%",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/mine_address/mine_address",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_address_add/mine_address_add",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_authentication/mine_authentication",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_authentication_ok/mine_authentication_ok",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_purse/mine_purse",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_order/mine_order",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_order_info/mine_order_info",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_purse_bonus/mine_purse_bonus",
- "style": {
- "navigationBarTitleText": "%purse.bonus.title%",
- "navigationBarBackgroundColor": "#03AD27",
- "navigationBarTextStyle": "white",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/login/login",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/register/register",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/turntable/turntable",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/search/search",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/preference/preference",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/welcome/welcome",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/invite_friends/invite_friends",
- "style": {
- "navigationBarTitleText": "%invite.friends.title%",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/productInfo/productInfo",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/order_submit/order_submit",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/order_submit_ok/order_submit_ok",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/LuckyWheel/LuckyWheel",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/mine_winning_record/mine_winning_record",
- "style": {
- "navigationBarTitleText": "%mine.winning.record.title%",
- "navigationBarBackgroundColor": "#F5F5F5",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/merchant_settlement/merchant_settlement",
- "style": {
- "navigationBarTitleText": "%mine.merchant.settlement.title%",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/brand_settlement/brand_settlement",
- "style": {
- "navigationBarTitleText": "%mine.brand.settlement.title%",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/accelerate/accelerate",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_my_team/mine_my_team",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_coupon/mine_coupon",
- "style": {
- "navigationBarTitleText": "%mine.coupon.title%",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/order_submit_error/order_submit_error",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/get_prize/get_prize",
- "style": {
- "navigationBarTitleText": "%mine.get.prize%",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/mine_my_team_list/mine_my_team_list",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_purse_bonus_withdraw/mine_purse_bonus_withdraw",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_purse_bonus_withdraw_log/mine_purse_bonus_withdraw_log",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_settings/mine_settings",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_about_us/mine_about_us",
- "style": {
- "navigationBarTitleText": "%mine.about.us.title%",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/mine_privacy_agreement/mine_privacy_agreement",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_user_agreement/mine_user_agreement",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_collection_alipay/mine_collection_alipay",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/mine_purse_log/mine_purse_log",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_purse_recharge/mine_purse_recharge",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/mine_purse_exchange/mine_purse_exchange",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/mine_product_agreement/mine_product_agreement",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/zfb_payment/zfb_payment",
- "style": {
- "navigationBarTitleText": "支付",
- "navigationBarBackgroundColor": "#FFFFFF",
- "navigationBarTextStyle": "black",
- "enablePullDownRefresh": false,
- "navigationStyle": "default" // 默认样式,会显示返回图标
- }
- },
- {
- "path": "pages/payment_processing/payment_processing",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/news/news",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/news_info/news_info",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/pointsRedemption/pointsRedemption",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/supply_chain/supply_chain",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/merchant_settlement_ok/merchant_settlement_ok",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/finance/finance",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/customized_zone/customized_zone",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/rwa/rwa",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/rwa_add/rwa_add",
- "style": {
- "navigationStyle": "custom"
- }
- }, {
- "path": "pages/rwa_binding/rwa_binding",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/rwa_withdrawal/rwa_withdrawal",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/rwa_withdrawal_log/rwa_withdrawal_log",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/mine_transaction_password/mine_transaction_password",
- "style": {
- "navigationBarTitleText": ""
- }
- }
- ],
- "tabBar": {
- // "color": "#000000",
- // "selectedColor": "#03AD27",
- // "borderStyle": "black",
- // "backgroundColor": "#F8F8F8",
- "custom": true,
- "list": [{
- "pagePath": "pages/home/home",
- "text": "%index.home%",
- "iconPath": "/static/column/home.png",
- "selectedIconPath": "/static/column/home_sel.png"
- },
- {
- "pagePath": "pages/sort/sort",
- "text": "%index.sort%",
- "iconPath": "/static/column/sort.png",
- "selectedIconPath": "/static/column/sort_sel.png"
- },
- // {
- // "pagePath": "pages/hash_union/hash_union",
- // "text": "%index.hash.union%",
- // "iconPath": "/static/column/hx.png",
- // "selectedIconPath": "/static/column/hx_sel.png"
- // },
- {
- "pagePath": "pages/supply_chain/supply_chain",
- "text": "供应链",
- "iconPath": "/static/column/supply_chain.png",
- "selectedIconPath": "/static/column/supply_chain_sel.png"
- },
- {
- "pagePath": "pages/shopping_cart/shopping_cart",
- "text": "%index.shopping.cart%",
- "iconPath": "/static/column/shopping.png",
- "selectedIconPath": "/static/column/shopping_sel.png"
- }, {
- "pagePath": "pages/mine/mine",
- "text": "%index.mine%",
- "iconPath": "/static/column/mine.png",
- "selectedIconPath": "/static/column/mine_sel.png"
- }
- ]
- },
- "globalStyle": {
- "navigationStyle": "custom",
- "app-plus": {
- "safearea": {
- "bottom": "env(safe-area-inset-bottom)"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 0e76c19..83ee3ca 100644
--- a/pages.json
+++ b/pages.json
@@ -366,6 +366,11 @@
"style": {
"navigationStyle": "custom"
}
+ }, {
+ "path": "nine-grid/nine-grid",
+ "style": {
+ "navigationStyle": "custom"
+ }
},
{
"path": "get_prize/get_prize",
diff --git a/pages/other_package/nine-grid/components/LotteryGrid.vue b/pages/other_package/nine-grid/components/LotteryGrid.vue
new file mode 100644
index 0000000..310f6d9
--- /dev/null
+++ b/pages/other_package/nine-grid/components/LotteryGrid.vue
@@ -0,0 +1,276 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ isRotating ? '抽奖中...' : '开始抽奖' }}
+
+
+
+
+
+
+ {{ prizes[index].name }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/other_package/nine-grid/components/ResultModal.vue b/pages/other_package/nine-grid/components/ResultModal.vue
new file mode 100644
index 0000000..ba7ba97
--- /dev/null
+++ b/pages/other_package/nine-grid/components/ResultModal.vue
@@ -0,0 +1,104 @@
+
+
+
+
+ 恭喜您获得
+
+ {{ prize.name || '未知奖品' }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/other_package/nine-grid/nine-grid.vue b/pages/other_package/nine-grid/nine-grid.vue
new file mode 100644
index 0000000..f7b72ba
--- /dev/null
+++ b/pages/other_package/nine-grid/nine-grid.vue
@@ -0,0 +1,116 @@
+
+
+ 幸运九宫格抽奖
+
+ 剩余抽奖次数: {{ remainCount }}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file