更新
This commit is contained in:
parent
875d740455
commit
cc27ddd0f9
@ -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) {
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "惠农生活",
|
"name" : "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.5.9",
|
"versionName" : "1.6.0",
|
||||||
"versionCode" : 159,
|
"versionCode" : 160,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
@ -165,7 +165,16 @@
|
|||||||
},
|
},
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"useOriginalMsgbox" : true,
|
"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" : {
|
"nativePlugins" : {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"pages": [
|
"pages": [
|
||||||
//#ifdef APP-PLUS
|
//#ifdef APP-PLUS
|
||||||
//启动页
|
//启动页
|
||||||
{
|
{
|
||||||
"path": "pages/guide/judge",
|
"path": "pages/guide/judge",
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
//修改图片,文字描述
|
//修改图片,文字描述
|
||||||
imageList: [{
|
imageList: [
|
||||||
|
{
|
||||||
src: '/static/images/guide.png'
|
src: '/static/images/guide.png'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
var launchFlag = uni.getStorageSync('launchFlag');
|
var launchFlag = uni.getStorageSync('launchFlag');
|
||||||
// console.log("launchFlag:" + launchFlag);
|
// console.log("launchFlag:" + launchFlag);
|
||||||
if (launchFlag) { //判断本地缓存跳转首页
|
if (launchFlag) { //判断本地缓存跳转首页
|
||||||
|
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/index/index'
|
url:'/pages/index/index'
|
||||||
})
|
})
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
<u-scroll-list indicatorActiveColor='#FF6D20' :indicator="true">
|
<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"
|
<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">
|
: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>
|
></u--image>
|
||||||
<view class="li_text" style="display: block;font-size: 26.29rpx;margin-top: 10rpx;">{{item.cate_name}}</view>
|
<view class="li_text" style="display: block;font-size: 26.29rpx;margin-top: 10rpx;">{{item.cate_name}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -56,7 +56,7 @@ const loadMP = async (id) => {
|
|||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
else uni.showLoading({
|
else uni.showLoading({
|
||||||
title: '初始化中...100%',
|
title: '初始化中...99%',
|
||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
}, 600)
|
}, 600)
|
||||||
@ -65,7 +65,11 @@ const loadMP = async (id) => {
|
|||||||
success(res) {
|
success(res) {
|
||||||
wgtFile = res.tempFilePath;
|
wgtFile = res.tempFilePath;
|
||||||
console.log('初始化完成', wgtFile);
|
console.log('初始化完成', wgtFile);
|
||||||
installMP();
|
setTimeout(()=>{
|
||||||
|
installMP();
|
||||||
|
clearInterval(timer);
|
||||||
|
timer = null;
|
||||||
|
}, 700)
|
||||||
},
|
},
|
||||||
fail(res) {
|
fail(res) {
|
||||||
clearInterval(timer);
|
clearInterval(timer);
|
||||||
@ -117,7 +121,7 @@ const loadMPx = async (id) => {
|
|||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
else uni.showLoading({
|
else uni.showLoading({
|
||||||
title: '初始化中...100%',
|
title: '初始化中...99%',
|
||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
}, 600)
|
}, 600)
|
||||||
@ -127,7 +131,11 @@ const loadMPx = async (id) => {
|
|||||||
success(res) {
|
success(res) {
|
||||||
wgtFile = res.tempFilePath;
|
wgtFile = res.tempFilePath;
|
||||||
console.log('初始化完成', wgtFile);
|
console.log('初始化完成', wgtFile);
|
||||||
installMP();
|
setTimeout(()=>{
|
||||||
|
installMP();
|
||||||
|
clearInterval(timer);
|
||||||
|
timer = null;
|
||||||
|
}, 700)
|
||||||
},
|
},
|
||||||
fail(res) {
|
fail(res) {
|
||||||
clearInterval(timer);
|
clearInterval(timer);
|
||||||
@ -178,7 +186,7 @@ const loadMPurl = async (e) => {
|
|||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
else uni.showLoading({
|
else uni.showLoading({
|
||||||
title: '初始化中...100%',
|
title: '初始化中...99%',
|
||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
}, 600)
|
}, 600)
|
||||||
@ -187,7 +195,11 @@ const loadMPurl = async (e) => {
|
|||||||
success(res) {
|
success(res) {
|
||||||
wgtFile = res.tempFilePath;
|
wgtFile = res.tempFilePath;
|
||||||
console.log('初始化完成', wgtFile);
|
console.log('初始化完成', wgtFile);
|
||||||
installMP();
|
setTimeout(()=>{
|
||||||
|
installMP();
|
||||||
|
clearInterval(timer);
|
||||||
|
timer = null;
|
||||||
|
}, 700)
|
||||||
},
|
},
|
||||||
fail(res) {
|
fail(res) {
|
||||||
clearInterval(timer);
|
clearInterval(timer);
|
||||||
@ -231,7 +243,7 @@ const loadMPdns = async (e) => {
|
|||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
else uni.showLoading({
|
else uni.showLoading({
|
||||||
title: '初始化中...100%',
|
title: '初始化中...99%',
|
||||||
mask: true
|
mask: true
|
||||||
})
|
})
|
||||||
}, 600)
|
}, 600)
|
||||||
@ -240,7 +252,11 @@ const loadMPdns = async (e) => {
|
|||||||
success(res) {
|
success(res) {
|
||||||
wgtFile = res.tempFilePath;
|
wgtFile = res.tempFilePath;
|
||||||
console.log('初始化完成', wgtFile);
|
console.log('初始化完成', wgtFile);
|
||||||
installMP();
|
setTimeout(()=>{
|
||||||
|
installMP();
|
||||||
|
clearInterval(timer);
|
||||||
|
timer = null;
|
||||||
|
}, 700)
|
||||||
},
|
},
|
||||||
fail(res) {
|
fail(res) {
|
||||||
clearInterval(timer);
|
clearInterval(timer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user