Commit 16c065fb authored by 小耗子's avatar 小耗子

修改步数

parent 917b5924
......@@ -3,12 +3,14 @@
*/
// export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top
export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 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 API_URL = `${BASE_URL}/api/a1/` //后台接口域名
export const IMG_URL = 'http://file.shopro.top' //全局网络图片地址变量,css背景图片地址变量在uni.scss
export const MAP_KEY = '426ebc3f1bbaced***89ee6061a98'; //高德地图开发者Web服务key,逆坐标解析
export const HAS_LIVE = false //后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播
// http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code}
export const MALL_ID ="106975910000477";
export const COMPANY_ID ="999999998";
\ No newline at end of file
export const MALL_ID ="169782111100588";
export const COMPANY_ID ="741";
\ No newline at end of file
......@@ -54,7 +54,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx60c6530c49c52ff7",
"appid" : "wxf462b300a28539ec",
"setting" : {
"urlCheck" : false,
"minified" : false,
......
......@@ -7,7 +7,7 @@
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "步数",
"navigationBarTitleText": "中铁建设集团总部直属工会",
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor":"#ffffff"
},
......
......@@ -57,6 +57,9 @@
</view>
<!-- <image src="../../static/img/run/ranking_btn.png" class="ranking_btn" mode="widthFix"></image> -->
<!-- 模块 -->
<view class="noticeTips">
<u-notice-bar :text="notice" speed="50" ></u-notice-bar>
</view>
<view class="runDataExplain">
<view class="runData-ul sh-flex">
<view
......@@ -135,6 +138,7 @@ export default {
tips: "获取",
seconds: 10,
checkSessionStatus: false,
notice:"说明:本应用仅向本单位工会内部授权手机号开放使用,首次使用需要授权手机号来进行身份验证。",
iconList: [
{
img: require("../../static/img/run/walk-icon1.png"),
......@@ -288,7 +292,11 @@ export default {
if (name == "特卖专区") {
this.changeTabBar("商城");
} else {
this.$u.toast("此功能暂未启用,敬请期待");
uni.showToast({
title: "此功能暂未启用,敬请期待",
duration: 2000,
icon:'none'
});
}
},
runRecord() {
......@@ -300,7 +308,9 @@ export default {
this.tabBarVal = "步数";
this.getAuth();
},
onReady() {},
onReady() {
wx.clearStorage();
},
onShareAppMessage(res) {
return {
path: "pages/index/index",
......@@ -367,10 +377,13 @@ export default {
font-size: 20rpx;
}
}
.noticeTips{
padding:20rpx;
margin-top:20rpx ;
}
.runDataExplain {
width: 90%;
margin: 20px auto;
margin: 10px auto;
margin-bottom:0;
.runData-ul {
flex: 1;
......
......@@ -145,7 +145,14 @@ const actions = {
http('user.register', state.registerInfo).then(res => {
if (res.code==0) {
resolve(1);
} else{
} else if(res.code == 3504){
uni.showToast({
title: "抱歉,本应用仅向本单位工会内部授权手机号开放使用,您的手机号暂未授权!",
duration: 2000,
icon:'none'
});
reject(res.data);
}else{
uni.showToast({
title: res.msg,
duration: 2000,
......
static/img/run/goodsThing.png

253 KB | W: | H:

static/img/run/goodsThing.png

169 KB | W: | H:

static/img/run/goodsThing.png
static/img/run/goodsThing.png
static/img/run/goodsThing.png
static/img/run/goodsThing.png
  • 2-up
  • Swipe
  • Onion skin
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