diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 3e70991..3a56e8a 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -4,7 +4,7 @@ { "customPlaygroundType" : "local", "packageName" : "com.trustbridge.mm", - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" }, { diff --git a/main.js b/main.js index 23ee743..6556232 100644 --- a/main.js +++ b/main.js @@ -1,11 +1,3 @@ -/* - * @Author: 秦彦祖 605893810@qq.com - * @Date: 2025-11-18 17:06:49 - * @LastEditors: 秦彦祖 605893810@qq.com - * @LastEditTime: 2025-11-18 23:19:56 - * @FilePath: /alpha-shopping/main.js - * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE - */ import App from './App' import messages from './locale/index' import uviewPlus from '@/uni_modules/uview-plus' diff --git a/manifest.json b/manifest.json index 2164322..0aa087c 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__4910728", "description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。", "versionName" : "1.0.1", - "versionCode" : 143, + "versionCode" : 145, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/home/home.vue b/pages/home/home.vue index 8c3f7fc..fb7f7c1 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -315,8 +315,9 @@ export default { success:(res1=>{ if(res1.confirm){ let arr = res.data.split('?id='); - console.log('arr') - _this.curId = Number(arr[1]); + console.log('arr',arr, Number(arr[1])) + const id = arr[1].split(' '); + _this.curId = Number(id[0]); _this.getShop(); uni.setClipboardData({ data: '', diff --git a/pages/other_package/productInfo/productInfo.vue b/pages/other_package/productInfo/productInfo.vue index b102da2..36718f6 100644 --- a/pages/other_package/productInfo/productInfo.vue +++ b/pages/other_package/productInfo/productInfo.vue @@ -610,7 +610,7 @@ export default { }, getValue, onShare(index){ - let tmp = `【信任桥】消费共享数字化权益 ${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id} ${this.orderInfo.name}`; + let tmp = `【信任桥】消费共享数字化权益 ${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id} ${this.orderInfo.name}`; if(index == 0){ // WXSceneTimeline uni.share({ diff --git a/utils/config.js b/utils/config.js index d20d84b..b72c9dd 100644 --- a/utils/config.js +++ b/utils/config.js @@ -2,11 +2,11 @@ // export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境 -// export const BASE_URL = "https://api.tbmall.xin"; //生产 -// export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 +export const BASE_URL = "https://api.tbmall.xin"; //生产 +export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 -export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试 -export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 +// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试 +// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 export const SHARE_URL = 'https://h.tbmall.xin';