diff --git a/pages.json b/pages.json index 9bdd3d2..7970b14 100644 --- a/pages.json +++ b/pages.json @@ -82,17 +82,22 @@ "navigationBarBackgroundColor": "#f6f7f9" } + }, { + "path": "pages/subpages/choujiangzhushou/choujiangzhushou", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/subpages/choujiangzhushou/jiaruchoujiang", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + } - ,{ - "path" : "pages/subpages/choujiangzhushou/choujiangzhushou", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } - ], + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "LaiLab工具箱", diff --git a/pages/home/home.vue b/pages/home/home.vue index 42c30e3..c6d0ae9 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -179,6 +179,12 @@ break; } } + }, + onShareAppMessage() { + return { + title: 'LaiLab工具箱', + path: 'pages/home/home' + } } } diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index d5e6896..ee758f8 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -238,6 +238,13 @@ 3.实现部分登录逻辑

v2.1 2022-10-22
1.添加自动登录逻辑
+ v2.1 2022-10-22
+ 1.添加自动登录逻辑
+ 2.各个界面微调美化
+ v2.2 2022-10-23
+ 1.添加抽奖助手界面
+ v2.2.1 2022-10-24
+ 1.完善抽奖助手子页面
`; uni.navigateTo({ url: `/pages/utils/showText/showText?nodes=${log}` @@ -269,6 +276,12 @@ this.userInfo = app.globalData.userInfo; } }, + onShareAppMessage() { + return { + title: 'LaiLab工具箱', + path: 'pages/mine/mine' + } + } } diff --git a/pages/more/more.vue b/pages/more/more.vue index 81e2119..6931b46 100644 --- a/pages/more/more.vue +++ b/pages/more/more.vue @@ -4,8 +4,8 @@ {{items.name}} - + @@ -37,6 +37,12 @@ }, }); }, + }, + onShareAppMessage() { + return { + title: 'LaiLab工具箱', + path: 'pages/more/more' + } } } @@ -83,7 +89,7 @@ .tool-card:nth-child(2n-1) { margin-right: 5%; } - + .tool-card:last-child { margin-bottom: 0; } diff --git a/pages/subpages/bayinhe/bayinhe.vue b/pages/subpages/bayinhe/bayinhe.vue index f047913..e8a2216 100644 --- a/pages/subpages/bayinhe/bayinhe.vue +++ b/pages/subpages/bayinhe/bayinhe.vue @@ -136,6 +136,12 @@ }, onUnload() { this.audioPause(); + }, + onShareAppMessage() { + return { + title: '八音盒', + imageUrl: this.picUrl + }; } } diff --git a/pages/subpages/choujiangzhushou/choujiangzhushou.vue b/pages/subpages/choujiangzhushou/choujiangzhushou.vue index 2a61853..ac81fbc 100644 --- a/pages/subpages/choujiangzhushou/choujiangzhushou.vue +++ b/pages/subpages/choujiangzhushou/choujiangzhushou.vue @@ -2,8 +2,8 @@ - - + + @@ -38,7 +38,7 @@ 开奖时间 - + {{date}} @@ -57,10 +57,18 @@ + + + + + {{item.name}} + {{item.open?'已开奖':'待开奖'}} + + - + @@ -72,11 +80,38 @@ }) const currenTime = this.getTime(); return { + picUrl: 'https://www.lailab.cn/miniprogram/image/other/image_tool_bayinhe.jpg', openType: ['按时间自动开奖', '按人数自动开奖', '发起者手动开奖'], typeIndex: 0, date: currentDate, time: currenTime, - isCreate: true + isCreate: true, + giftList: [ + { + name: '我的抽奖1', + open: true + }, + { + name: '我的抽奖2', + open: false + }, + { + name: '我的抽奖3', + open: true + }, + { + name: '我的抽奖4', + open: false + }, + { + name: '我的抽奖5', + open: true + }, + { + name: '我的抽奖6', + open: false + }, + ] } }, computed: { @@ -120,15 +155,22 @@ minute = minute > 9 ? minute : '0' + minute; return `${hour}:${minute}`; } + }, + onShareAppMessage() { + return { + title: '参与抽奖', + path: '/pages/subpages/choujiangzhushou/jiaruchoujiang', + imageUrl: this.picUrl + } } } diff --git a/pages/subpages/choujiangzhushou/jiaruchoujiang.vue b/pages/subpages/choujiangzhushou/jiaruchoujiang.vue new file mode 100644 index 0000000..f68ffeb --- /dev/null +++ b/pages/subpages/choujiangzhushou/jiaruchoujiang.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/pages/subpages/erweima/erweima.vue b/pages/subpages/erweima/erweima.vue index 838a8a3..99c30bb 100644 --- a/pages/subpages/erweima/erweima.vue +++ b/pages/subpages/erweima/erweima.vue @@ -11,6 +11,7 @@ diff --git a/pages/subpages/mosidianma/mosidianma.vue b/pages/subpages/mosidianma/mosidianma.vue index 35ef2e4..29fa1c9 100644 --- a/pages/subpages/mosidianma/mosidianma.vue +++ b/pages/subpages/mosidianma/mosidianma.vue @@ -66,6 +66,12 @@ } }); }, + }, + onShareAppMessage() { + return { + title: '摩斯电码', + imageUrl: app.globalData.website + '/image/swiper/image_swiper_mosidianma.jpg' + }; } } diff --git a/pages/subpages/qiaomuyu/qiaomuyu.vue b/pages/subpages/qiaomuyu/qiaomuyu.vue index 69af668..878b076 100644 --- a/pages/subpages/qiaomuyu/qiaomuyu.vue +++ b/pages/subpages/qiaomuyu/qiaomuyu.vue @@ -13,6 +13,7 @@ diff --git a/pages/subpages/suijitouzi/suijitouzi.vue b/pages/subpages/suijitouzi/suijitouzi.vue index 649ab2d..5eba9ea 100644 --- a/pages/subpages/suijitouzi/suijitouzi.vue +++ b/pages/subpages/suijitouzi/suijitouzi.vue @@ -29,6 +29,7 @@ diff --git a/pages/subpages/zhengjianzhao/zhengjianzhao.vue b/pages/subpages/zhengjianzhao/zhengjianzhao.vue index 4059554..6ac5bb3 100644 --- a/pages/subpages/zhengjianzhao/zhengjianzhao.vue +++ b/pages/subpages/zhengjianzhao/zhengjianzhao.vue @@ -117,6 +117,12 @@ e.preventDefault(); } }, + onShareAppMessage() { + return { + title: '证件照助手', + imageUrl: app.globalData.website + '/image/swiper/image_swiper_zhengjianzhao.jpg' + } + } } diff --git a/readme.md b/readme.md index 3ab32a8..f4e1931 100644 --- a/readme.md +++ b/readme.md @@ -16,4 +16,12 @@ v2.1 2022-10-22 1.添加自动登录逻辑 -2.各个界面微调美化 \ No newline at end of file +2.各个界面微调美化 + +v2.2 2022-10-23 + +1.添加抽奖助手界面 + +v2.2.1 2022-10-24 + +1.完善抽奖助手子页面 \ No newline at end of file