This commit is contained in:
weipengfei 2023-11-18 11:36:14 +08:00
parent 875d740455
commit cc27ddd0f9
7 changed files with 42 additions and 18 deletions

View File

@ -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) {

View File

@ -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" : {

View File

@ -1,6 +1,6 @@
{ {
"pages": [ "pages": [
//#ifdef APP-PLUS //#ifdef APP-PLUS
// //
{ {
"path": "pages/guide/judge", "path": "pages/guide/judge",

View File

@ -35,8 +35,8 @@
data() { data() {
return { return {
//, //,
imageList: [{ imageList: [
{
src: '/static/images/guide.png' src: '/static/images/guide.png'
} }

View File

@ -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'
}) })

View File

@ -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>

View File

@ -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);