Commit e6c3477a authored by 小耗子's avatar 小耗子

修改分享

parent ae53f900
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
@import "uview-ui/index.scss"; @import "uview-ui/index.scss";
@import '@/static/style/common.scss'; @import '@/static/style/common.scss';
@import '@/static/style/total.scss'; @import '@/static/style/total.scss';
page { page {
-webkit-overflow-scrolling: touch; // ios滑动不流畅 -webkit-overflow-scrolling: touch; // ios滑动不流畅
height: 100%; height: 100%;
// background: #f0f0f0; // background: #f0f0f0;
width: 100%; width: 100%;
font-size: 30rpx; font-size: 30rpx;
font-family: OPPOSANS; font-family: OPPOSANS;
word-break: break-all; //英文文本不换行 word-break: break-all; //英文文本不换行
white-space: normal; white-space: normal;
} }
// tab图标 // tab图标
.uni-tabbar .uni-tabbar__icon { .uni-tabbar .uni-tabbar__icon {
width: 25px !important; width: 25px !important;
height: 25px !important; height: 25px !important;
} }
</style> </style>
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
*/ */
// export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top // export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top
export const BASE_URL = 'https://wx.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top
// export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top // export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top
export const API_URL = `${BASE_URL}/api/a1/` //后台接口域名 export const API_URL = `${BASE_URL}/api/a1/` //后台接口域名
export const IMG_URL = 'http://file.shopro.top' //全局网络图片地址变量,css背景图片地址变量在uni.scss export const IMG_URL = 'http://file.shopro.top' //全局网络图片地址变量,css背景图片地址变量在uni.scss
export const MAP_KEY = '426ebc3f1bbaced***89ee6061a98'; //高德地图开发者Web服务key,逆坐标解析 export const MAP_KEY = '426ebc3f1bbaced***89ee6061a98'; //高德地图开发者Web服务key,逆坐标解析
export const HAS_LIVE = false //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播 export const HAS_LIVE = false //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播
// http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code} // http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code}
export const MALL_ID ="133507311100590"; export const MALL_ID ="106975910000477";
export const COMPANY_ID ="202203282"; export const COMPANY_ID ="999999998";
\ No newline at end of file \ No newline at end of file
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
"appid" : "wx60c6530c49c52ff7", "appid" : "wx60c6530c49c52ff7",
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"minified" : true, "minified" : false,
"es6" : false "es6" : false
}, },
"usingComponents" : true, "usingComponents" : true,
......
...@@ -95,8 +95,8 @@ ...@@ -95,8 +95,8 @@
let number = await this.getPhoneNumber(e); let number = await this.getPhoneNumber(e);
let register = await this.registerInfoFn(); let register = await this.registerInfoFn();
if (register) { //注册成功,再掉获取步数接口 if (register) { //注册成功,再掉获取步数接口
this.unregistered = true;
let runData = await this.getWeRunDataFn(); let runData = await this.getWeRunDataFn();
runData && (this.unregistered = true);
} }
}, },
async authAndWeRun() { async authAndWeRun() {
...@@ -194,6 +194,13 @@ ...@@ -194,6 +194,13 @@
this.getAuth(); this.getAuth();
}, },
onReady() { onReady() {
},
onShareAppMessage(res){
return {
// title: '微信步数',
path: 'pages/index/index'
}
} }
} }
</script> </script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment