zhaojs
2023-07-03 1e8064b90103d4d53c58849efc9475a139e61573
no message
已修改2个文件
31 ■■■■ 文件已修改
uniapp/pages/rankinglist/common_act.vue 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/utils/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
uniapp/pages/rankinglist/common_act.vue
@@ -56,14 +56,37 @@
                console.log(res);
                switch(res.action)
                {
                    case "back":
                    case "back"://返回
                        this.backLast();
                        break;
                    case "tbauth":
                    case "tbauth"://淘宝授权
                        this.openTbMd();
                        break;
                    case "totb":
                        this.targetTb(res.tburl);
                        break;
                }
            },
            targetTb(tburl)
            {
                // #ifdef APP-PLUS
                if (plus.runtime.isApplicationExist({
                    pname: 'com.taobao.taobao',
                    action: 'taobao://'
                  })) {
                  const plug = uni.requireNativePlugin('xiguazhu-baichuan')
                  plug.detailPage({
                    url: tburl,
                    "openType": 0
                  }, result => {
                  });
                } else {
                  uni.navigateTo({
                      url:'@/webView/webView?url=' + tburl
                  })
                }
                // #endif
            },
            backLast()
            {
                uni.navigateBack({
uniapp/utils/config.js
@@ -1,6 +1,6 @@
//const httpUrl = ""; // 接口域名
//const httpUrl = "http://appapitest.ushopvip.com"; // 测试环境接口域名
const httpUrl = "http://dfgapp.ushopvip.com"; // 生产环境接口域名
const httpUrl = "http://appapitest.ushopvip.com"; // 测试环境接口域名
//const httpUrl = "http://dfgapp.ushopvip.com"; // 生产环境接口域名
const salt = ""; 
export default {
    httpUrl:httpUrl,