diff --git a/pages/home/home.vue b/pages/home/home.vue index c6d0ae9..df7e392 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -3,22 +3,37 @@ - + {{tip.msg}} - - + - + {{item.text}} - + @@ -27,13 +42,23 @@ - + - + @@ -95,6 +120,11 @@ uni.stopPullDownRefresh(); }, 1000); }, + computed: { + tipStyle() { + return ['level-' + this.tip.level]; + } + }, methods: { getDataByOnline() { const that = this; diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index fb9e372..16dc0f1 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -250,6 +250,11 @@ 2.实现抽奖页面创建后台逻辑
v2.2.3 2022-10-26
1.实现根据人数自动开奖的功能
+ v2.2.4 2022-10-28
+ 1.更新部分代码
+ v2.2.5 2022-11-3
+ 1.优化部分代码
+ 2.去掉微信未开放功能
`; uni.navigateTo({ url: `/pages/utils/showText/showText?nodes=${log}` diff --git a/pages/subpages/bayinhe/bayinhe.vue b/pages/subpages/bayinhe/bayinhe.vue index e8a2216..d44b899 100644 --- a/pages/subpages/bayinhe/bayinhe.vue +++ b/pages/subpages/bayinhe/bayinhe.vue @@ -91,15 +91,16 @@ export default { data() { return { - picUrl: app.globalData.website + "/image/other/image_tool_bayinhe.jpg", + flag: '' } }, methods: { audioPlay(flag) { let that = this; + this.flag = flag; var srcMic = ""; uni.request({ - url: "https://www.lailab.cn/miniprogram/tools/bayinhe.php?flag=" + flag, + url: app.globalData.website + "/tools/bayinhe.php?flag=" + that.flag, success(res) { // console.log(res); if (res.statusCode == 200) { @@ -131,6 +132,11 @@ }); } }, + computed: { + picUrl() { + return app.globalData.website + "/image/other/image_tool_bayinhe.jpg"; + } + }, onHide() { this.audioPause(); }, diff --git a/pages/subpages/erweima/erweima.vue b/pages/subpages/erweima/erweima.vue index 99c30bb..e10a440 100644 --- a/pages/subpages/erweima/erweima.vue +++ b/pages/subpages/erweima/erweima.vue @@ -1,10 +1,10 @@