Quellcode durchsuchen

feat(config): 更新开发环境API配置

- 注释掉旧的开发环境API地址
- 启用新的开发环境API地址
- 更新体验版环境API配置

fix(tabbar): 修正视频权益页面登录验证

- 将video-rights-tabbar页面的islogin设置为true

feat(welfare): 完善福利领取功能

- 在领取成功后关闭显示弹窗
zhangtao vor 2 Tagen
Ursprung
Commit
9d7d1f7e1d
4 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 3 3
      src/config/index.ts
  2. 1 1
      src/pages.json
  3. 1 1
      src/pages/index/index.vue
  4. 1 1
      src/subPack-djk/welfare/index.vue

+ 3 - 3
src/config/index.ts

@@ -11,7 +11,7 @@ const mapEnvVersion = {
   // develop: 'http://192.168.0.11:8080', // 王
   // develop: 'http://192.168.1.89:8080', // 田
   // develop: 'http://74949mkfh190.vicp.fun', // 付
-  develop: 'http://47.109.84.152:8081',
+  // develop: 'http://47.109.84.152:8081',
   // develop: 'https://5ed0f7cc.r9.vip.cpolar.cn',
   develop: 'https://smqjh.api.zswlgz.com',
   /**
@@ -19,9 +19,9 @@ const mapEnvVersion = {
    */
   // trial: "http://192.168.1.166:8080/jeecg-boot",
   // trial: 'http://192.168.0.157:8080',
-  trial: 'http://47.109.84.152:8081',
+  // trial: 'http://47.109.84.152:8081',
   // trial: 'http://192.168.1.166:8080',
-  // trial: 'https://smqjh.api.zswlgz.com',
+  trial: 'https://smqjh.api.zswlgz.com',
   /**
    * 正式版
    */

+ 1 - 1
src/pages.json

@@ -479,7 +479,7 @@
         {
           "path": "commonTab/index",
           "name": "video-rights-tabbar",
-          "islogin": false,
+          "islogin": true,
           "style": {
             "navigationBarTitleText": "",
             "navigationStyle": "custom"

+ 1 - 1
src/pages/index/index.vue

@@ -63,7 +63,7 @@ const navList = computed(() => {
     { icon: `${StaticUrl}/smqjh-jiayou.png`, title: '加油', name: '', show: !isOnlineAudit.value }, // refueling-tabbar
     { icon: `${StaticUrl}/smqjh-jiudian.png`, title: '酒店民宿', name: '', show: !isOnlineAudit.value },
     { icon: `${StaticUrl}/smqjh-daijia.png`, title: '代驾', name: '', show: !isOnlineAudit.value },
-    { icon: `${StaticUrl}/smqjh-djk.png`, title: '大健康', name: 'djk-homeTabbar', show: true },
+    { icon: `${StaticUrl}/smqjh-djk.png`, title: '大健康', name: 'djk-homeTabbar', show: !isOnlineAudit.value },
   ]
   return list
 })

+ 1 - 1
src/subPack-djk/welfare/index.vue

@@ -37,7 +37,7 @@ async function handelSubmit() {
     const data = await Apis.djk.addWelfareOrder({ data: { welfareId: Number(welfare.value?.id), shopId: selectGoods.value?.shopId, channelId: useUserStore().userInfo.channelId, phone: phone.value, goodsId: selectGoods.value?.id, goodsNum: 1, customerAuthorization: boolToNumber(isAllow.value) } })
     useGlobalToast().show('领取成功!')
     uni.hideLoading()
-
+    show.value = false
     setTimeout(() => {
       router.push({
         name: 'djk-orderDetaile',