更新
This commit is contained in:
parent
875d740455
commit
cc27ddd0f9
@ -11,8 +11,8 @@ let httpApiFive
|
||||
let wsApi
|
||||
|
||||
// 在打包之前请检查当前环境是否正确
|
||||
const env = 'dev'; // 开发
|
||||
// const env = 'prod'; // 生产
|
||||
// const env = 'dev'; // 开发
|
||||
const env = 'prod'; // 生产
|
||||
// const env = 'prew'; // 预上线
|
||||
|
||||
switch (env) {
|
||||
|
@ -2,8 +2,8 @@
|
||||
"name" : "惠农生活",
|
||||
"appid" : "__UNI__3A527D1",
|
||||
"description" : "",
|
||||
"versionName" : "1.5.9",
|
||||
"versionCode" : 159,
|
||||
"versionName" : "1.6.0",
|
||||
"versionCode" : 160,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@ -165,7 +165,16 @@
|
||||
},
|
||||
"splashscreen" : {
|
||||
"useOriginalMsgbox" : true,
|
||||
"androidStyle" : "common"
|
||||
"androidStyle" : "common",
|
||||
"iosStyle" : "common",
|
||||
"ios" : {
|
||||
"storyboard" : "C:/Users/ghf/Downloads/CustomStoryboard.zip"
|
||||
},
|
||||
"android" : {
|
||||
"hdpi" : "static/images/guide.png",
|
||||
"xhdpi" : "static/images/guide.png",
|
||||
"xxhdpi" : "static/images/guide.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"nativePlugins" : {
|
||||
|
@ -35,8 +35,8 @@
|
||||
data() {
|
||||
return {
|
||||
//修改图片,文字描述
|
||||
imageList: [{
|
||||
|
||||
imageList: [
|
||||
{
|
||||
src: '/static/images/guide.png'
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
var launchFlag = uni.getStorageSync('launchFlag');
|
||||
// console.log("launchFlag:" + launchFlag);
|
||||
if (launchFlag) { //判断本地缓存跳转首页
|
||||
|
||||
uni.switchTab({
|
||||
url:'/pages/index/index'
|
||||
})
|
||||
|
@ -91,7 +91,7 @@
|
||||
<u-scroll-list indicatorActiveColor='#FF6D20' :indicator="true">
|
||||
<view class="menu_li" :class="{'menu_li_on': item.store_category_id==store_category_id}" @click="changeMerchant(item.store_category_id)" v-for="item,index in menuList"
|
||||
:key="index">
|
||||
<u--image class="image" :showLoading="true" :src="item.background" width="87.62rpx" height="87.62rpx" shape="circle"
|
||||
<u--image class="image" :showLoading="true" :src="item.pic" width="87.62rpx" height="87.62rpx" shape="circle"
|
||||
></u--image>
|
||||
<view class="li_text" style="display: block;font-size: 26.29rpx;margin-top: 10rpx;">{{item.cate_name}}</view>
|
||||
</view>
|
||||
|
@ -56,7 +56,7 @@ const loadMP = async (id) => {
|
||||
mask: true
|
||||
})
|
||||
else uni.showLoading({
|
||||
title: '初始化中...100%',
|
||||
title: '初始化中...99%',
|
||||
mask: true
|
||||
})
|
||||
}, 600)
|
||||
@ -65,7 +65,11 @@ const loadMP = async (id) => {
|
||||
success(res) {
|
||||
wgtFile = res.tempFilePath;
|
||||
console.log('初始化完成', wgtFile);
|
||||
setTimeout(()=>{
|
||||
installMP();
|
||||
clearInterval(timer);
|
||||
timer = null;
|
||||
}, 700)
|
||||
},
|
||||
fail(res) {
|
||||
clearInterval(timer);
|
||||
@ -117,7 +121,7 @@ const loadMPx = async (id) => {
|
||||
mask: true
|
||||
})
|
||||
else uni.showLoading({
|
||||
title: '初始化中...100%',
|
||||
title: '初始化中...99%',
|
||||
mask: true
|
||||
})
|
||||
}, 600)
|
||||
@ -127,7 +131,11 @@ const loadMPx = async (id) => {
|
||||
success(res) {
|
||||
wgtFile = res.tempFilePath;
|
||||
console.log('初始化完成', wgtFile);
|
||||
setTimeout(()=>{
|
||||
installMP();
|
||||
clearInterval(timer);
|
||||
timer = null;
|
||||
}, 700)
|
||||
},
|
||||
fail(res) {
|
||||
clearInterval(timer);
|
||||
@ -178,7 +186,7 @@ const loadMPurl = async (e) => {
|
||||
mask: true
|
||||
})
|
||||
else uni.showLoading({
|
||||
title: '初始化中...100%',
|
||||
title: '初始化中...99%',
|
||||
mask: true
|
||||
})
|
||||
}, 600)
|
||||
@ -187,7 +195,11 @@ const loadMPurl = async (e) => {
|
||||
success(res) {
|
||||
wgtFile = res.tempFilePath;
|
||||
console.log('初始化完成', wgtFile);
|
||||
setTimeout(()=>{
|
||||
installMP();
|
||||
clearInterval(timer);
|
||||
timer = null;
|
||||
}, 700)
|
||||
},
|
||||
fail(res) {
|
||||
clearInterval(timer);
|
||||
@ -231,7 +243,7 @@ const loadMPdns = async (e) => {
|
||||
mask: true
|
||||
})
|
||||
else uni.showLoading({
|
||||
title: '初始化中...100%',
|
||||
title: '初始化中...99%',
|
||||
mask: true
|
||||
})
|
||||
}, 600)
|
||||
@ -240,7 +252,11 @@ const loadMPdns = async (e) => {
|
||||
success(res) {
|
||||
wgtFile = res.tempFilePath;
|
||||
console.log('初始化完成', wgtFile);
|
||||
setTimeout(()=>{
|
||||
installMP();
|
||||
clearInterval(timer);
|
||||
timer = null;
|
||||
}, 700)
|
||||
},
|
||||
fail(res) {
|
||||
clearInterval(timer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user