新增VIP活动模块

This commit is contained in:
liuyuan
2025-02-07 14:11:22 +08:00
parent 7689e3c606
commit d05e291350
12 changed files with 239 additions and 30 deletions

View File

@@ -58,9 +58,7 @@
</template>
<script>
// #ifdef APP-PLUS
import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
// #endif
import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update";
import list from "@/pages/component/commonComponents/list";
import $http from "@/config/requestConfig.js";
@@ -237,9 +235,8 @@ showCodeImg:false,
}
},
// 版本检测
async getNewVersion(){
// #ifdef APP-PLUS
var info = await updata();
getNewVersion(){
var info = updata();
console.log('info',JSON.stringify(info))
if(info.result.code == 0){
uni.showToast({
@@ -247,7 +244,6 @@ showCodeImg:false,
icon:'none'
})
}
// #endif
},
// 详情
gotoDetail(v) {