mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:13:26 +08:00
【优化】优化细节及打包版本号0.7.4。
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
},
|
||||
onLaunch() {
|
||||
//版本设置
|
||||
const version = '0.7.3'
|
||||
const version = '0.7.4'
|
||||
// 开发环境才提示,生产环境不会提示
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
console.log(`\n %c \u6838\u5fc3\u5546\u57ce\u7cfb\u7edf\u0020\u0043\u006f\u0072\u0065\u0053\u0068\u006f\u0070 V${version} %c \u0068\u0074\u0074\u0070\u0073\u003a\u002f\u002f\u0077\u0077\u0077\u002e\u0063\u006f\u0072\u0065\u0073\u0068\u006f\u0070\u002e\u0063\u006e\u002f \n\n`, 'color: #ffffff; background: #3c9cff; padding:5px 0;', 'color: #3c9cff;background: #f1f1f1; padding:5px 0;');
|
||||
|
||||
@@ -131,7 +131,9 @@
|
||||
"optimization": {
|
||||
"subPackages": true
|
||||
},
|
||||
"requiredPrivateInfos" : [ "getFuzzyLocation", "chooseAddress" ]
|
||||
"requiredPrivateInfos": [ "getFuzzyLocation", "chooseAddress" ],
|
||||
"libVersion": "latest"
|
||||
|
||||
},
|
||||
"h5": {
|
||||
"title": "南山田舍",
|
||||
|
||||
@@ -139,8 +139,7 @@
|
||||
<view :class="[{ 'active': index == primaryClassificationIndex }, 'menu-box classification-box']"
|
||||
v-for="(item, index) in menus" :key="index" @click="hanldePrimaryClassificationChange(index)">
|
||||
<image class="img" v-if="index != 0" :src="item.imageUrl"></image>
|
||||
<image class="img" v-else
|
||||
src="https://ts1.cn.mm.bing.net/th/id/R-C.3562db2b97df44ad0a2913367e923bc9?rik=F0gPEgEKbhChlw&riu=http%3a%2f%2fpic.962.net%2fup%2f2016-10%2f14760807179493223.gif&ehk=1QnaRGwQ3oUxW2TtYQHyQM5fm9qkakLLshGCLtGyzE0%3d&risl=&pid=ImgRaw&r=0">
|
||||
<image class="img" v-else :src="$globalConstVars.apiFilesUrl+'/static/images/empty/noImage.jpg'">
|
||||
</image>
|
||||
<view class="name">{{ item.name }}</view>
|
||||
</view>
|
||||
@@ -178,8 +177,7 @@
|
||||
v-for="(item, index) in secondaryClassification" :key="index"
|
||||
@tap="handleMenuTapNew(item.id)">
|
||||
<view class="tit-box">
|
||||
<image class="tip" v-if="index == 1"
|
||||
src="https://ts1.cn.mm.bing.net/th/id/R-C.3562db2b97df44ad0a2913367e923bc9?rik=F0gPEgEKbhChlw&riu=http%3a%2f%2fpic.962.net%2fup%2f2016-10%2f14760807179493223.gif&ehk=1QnaRGwQ3oUxW2TtYQHyQM5fm9qkakLLshGCLtGyzE0%3d&risl=&pid=ImgRaw&r=0">
|
||||
<image class="tip" v-if="index == 1" :src="$globalConstVars.apiFilesUrl+'/static/images/empty/noImage.jpg'">
|
||||
</image>
|
||||
<text>{{ item.name }}</text>
|
||||
</view>
|
||||
@@ -418,7 +416,6 @@ export default {
|
||||
},
|
||||
handleMenuTapNew(id) {
|
||||
const _this = this;
|
||||
_this.scrollLeftSticky = 0;
|
||||
let menu = _this.menus[_this.primaryClassificationIndex].child.filter((res) => res.id == id);
|
||||
_this.needCurrentCateId = menu[0].id;
|
||||
_this.currentCateId = menu[0].id;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"AppPcUrl": "https://pc.test.pro.coreshop.cn/", //PC端访问地址
|
||||
"AppH5Url": "https://h5.test.pro.coreshop.cn/", //H5端访问地址
|
||||
"AppInterFaceUrl": "https://api.test.pro.coreshop.cn/", //接口请求地址
|
||||
"AppVersion": "CoreShopProfessional v0.7.3"
|
||||
"AppVersion": "CoreShopProfessional v0.7.4"
|
||||
},
|
||||
//redis为必须启动项,请保持redis为正常可用
|
||||
"RedisConfig": {
|
||||
|
||||
@@ -24,7 +24,7 @@ layui.define(['all'], function (exports) {
|
||||
refreshCurrPage: true, // 当跳转页面 url 与当前页 url 相同时,是否自动执行刷新
|
||||
|
||||
name: '核心商城系统',
|
||||
version: 'CoreShopProfessional v0.7.3',
|
||||
version: 'CoreShopProfessional v0.7.4',
|
||||
name: 'layuiAdmin',
|
||||
tableName: 'CoreShop', // 本地存储表名
|
||||
MOD_NAME: 'admin', // 模块事件名
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"AppPcUrl": "https://pc.test.pro.coreshop.cn/", //PC端访问地址
|
||||
"AppH5Url": "https://h5.test.pro.coreshop.cn/", //H5端访问地址
|
||||
"AppInterFaceUrl": "https://api.test.pro.coreshop.cn/", //接口请求地址
|
||||
"AppVersion": "CoreShopProfessional v0.7.3"
|
||||
"AppVersion": "CoreShopProfessional v0.7.4"
|
||||
},
|
||||
//redis为必须启动项,请保持redis为正常可用
|
||||
"RedisConfig": {
|
||||
|
||||
Reference in New Issue
Block a user