更新
This commit is contained in:
parent
0e0cc53992
commit
15265e8f87
@ -13,7 +13,7 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isShow: false,
|
isShow: false,
|
||||||
str: '加载中',
|
str: '初始化中',
|
||||||
timer: null
|
timer: null
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -231,7 +231,7 @@
|
|||||||
width: 102%;
|
width: 102%;
|
||||||
height: 133px;
|
height: 133px;
|
||||||
border-radius: 30px 30px 0 0;
|
border-radius: 30px 30px 0 0;
|
||||||
background-color: #fff;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-img {
|
.bg-img {
|
||||||
|
@ -11,8 +11,8 @@ let httpApiFive
|
|||||||
let wsApi
|
let wsApi
|
||||||
|
|
||||||
// 在打包之前请检查当前环境是否正确
|
// 在打包之前请检查当前环境是否正确
|
||||||
const env = 'dev'; // 开发
|
// const env = 'dev'; // 开发
|
||||||
// const env = 'prod'; // 生产
|
const env = 'prod'; // 生产
|
||||||
// const env = 'prew'; // 预上线
|
// const env = 'prew'; // 预上线
|
||||||
|
|
||||||
switch (env) {
|
switch (env) {
|
||||||
@ -67,6 +67,7 @@ module.exports = {
|
|||||||
VUE_APP_WS_URL: wsApi ? `${wsApi}?type=user` : VUE_APP_WS_URL,
|
VUE_APP_WS_URL: wsApi ? `${wsApi}?type=user` : VUE_APP_WS_URL,
|
||||||
// #endif
|
// #endif
|
||||||
openPlantGrass: openPlantGrass,
|
openPlantGrass: openPlantGrass,
|
||||||
|
ENV: env,
|
||||||
|
|
||||||
HEADER: {
|
HEADER: {
|
||||||
'content-type': 'application/json',
|
'content-type': 'application/json',
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "惠农生活",
|
"name" : "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.6.5",
|
"versionName" : "1.6.6",
|
||||||
"versionCode" : 165,
|
"versionCode" : 166,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
@ -36,8 +36,8 @@
|
|||||||
},
|
},
|
||||||
"Maps" : {},
|
"Maps" : {},
|
||||||
"Push" : {},
|
"Push" : {},
|
||||||
"Record" : {},
|
"LivePusher" : {},
|
||||||
"LivePusher" : {}
|
"Record" : {}
|
||||||
},
|
},
|
||||||
"safearea" : {
|
"safearea" : {
|
||||||
"bottom" : {
|
"bottom" : {
|
||||||
@ -94,7 +94,8 @@
|
|||||||
"NSCameraUsageDescription" : "上传用户头像保存分享海报",
|
"NSCameraUsageDescription" : "上传用户头像保存分享海报",
|
||||||
"NSLocationWhenInUseUsageDescription" : "根据客户地理位置推荐最近门店",
|
"NSLocationWhenInUseUsageDescription" : "根据客户地理位置推荐最近门店",
|
||||||
"NSLocationAlwaysUsageDescription" : "根据客户地理位置推荐最近门店",
|
"NSLocationAlwaysUsageDescription" : "根据客户地理位置推荐最近门店",
|
||||||
"NSLocationAlwaysAndWhenInUseUsageDescription" : "根据客户地理位置推荐最近门店"
|
"NSLocationAlwaysAndWhenInUseUsageDescription" : "根据客户地理位置推荐最近门店",
|
||||||
|
"NSMicrophoneUsageDescription" : "根据用户录音进行语音识别转文字"
|
||||||
},
|
},
|
||||||
"idfa" : false,
|
"idfa" : false,
|
||||||
"dSYMs" : false
|
"dSYMs" : false
|
||||||
|
@ -116,6 +116,9 @@
|
|||||||
import {
|
import {
|
||||||
getDiy
|
getDiy
|
||||||
} from '@/api/api.js';
|
} from '@/api/api.js';
|
||||||
|
import {
|
||||||
|
ENV
|
||||||
|
} from "@/config/app.js"
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
import uniMP from '@/utils/uniMP.js';
|
import uniMP from '@/utils/uniMP.js';
|
||||||
// #endif
|
// #endif
|
||||||
@ -275,6 +278,11 @@
|
|||||||
},
|
},
|
||||||
created() {},
|
created() {},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
if(ENV=='prod'){
|
||||||
|
this.AllMenuList = this.AllMenuList.filter(item=>{
|
||||||
|
return item.name!='里海直播'&&item.name!='oa小程序'
|
||||||
|
})
|
||||||
|
}
|
||||||
this.showControllerAllLet();
|
this.showControllerAllLet();
|
||||||
this.Area();
|
this.Area();
|
||||||
this.initMenu();
|
this.initMenu();
|
||||||
@ -287,7 +295,7 @@
|
|||||||
this.emptyText = '请登录'
|
this.emptyText = '请登录'
|
||||||
this.jurisdiction = true
|
this.jurisdiction = true
|
||||||
}
|
}
|
||||||
this.getUserInfo()
|
this.getUserInfo();
|
||||||
},
|
},
|
||||||
|
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user