分包优化
parent
f00a181dbd
commit
226f84d921
604
pages.json
604
pages.json
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"pages": [{
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP
|
||||
|
|
@ -63,259 +64,358 @@
|
|||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/cart-page/cart-page",
|
||||
"style": {
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
// 该页不显示滚动条
|
||||
"scrollIndicator": "none",
|
||||
// #endif
|
||||
"enablePullDownRefresh": false,
|
||||
// 禁止页面下拉
|
||||
"disableScroll": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/buy/buy",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/web-view/web-view",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/paytips/paytips",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods-search/goods-search",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods-detail/goods-detail",
|
||||
"style": {
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/goods-comment/goods-comment",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-address/user-address",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-address-save/user-address-save",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-order/user-order",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-order-detail/user-order-detail",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-order-comments/user-order-comments",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-favor/user-favor",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-goods-comments/user-goods-comments",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-goods-comments-form/user-goods-comments-form",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/message/message",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-integral/user-integral",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-goods-browse/user-goods-browse",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-orderaftersale/user-orderaftersale",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user-orderaftersale-detail/user-orderaftersale-detail",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/extraction-address/extraction-address",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/common/open-setting-location/open-setting-location",
|
||||
"style": {
|
||||
// #ifndef MP-TOUTIAO
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/common/agreement/agreement",
|
||||
"style": {
|
||||
// #ifndef MP-TOUTIAO
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/customview/customview",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/design/design",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/error/error",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/article-category/article-category",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/article-detail/article-detail",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/setup/setup",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/personal/personal",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/logout/logout",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/password/password",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"subPackages": [{
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/goods-detail",
|
||||
"pages": [{
|
||||
"path": "goods-detail",
|
||||
"style": {
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/login",
|
||||
"pages": [{
|
||||
"path": "login",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/cart-page",
|
||||
"pages": [{
|
||||
"path": "cart-page",
|
||||
"style": {
|
||||
// #ifdef MP-WEIXIN || MP-BAIDU || MP-QQ || MP-KUAISHOU || H5 || APP
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
// #ifdef MP-ALIPAY
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
// 该页不显示滚动条
|
||||
"scrollIndicator": "none",
|
||||
// #endif
|
||||
"enablePullDownRefresh": false,
|
||||
// 禁止页面下拉
|
||||
"disableScroll": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/buy",
|
||||
"pages": [{
|
||||
"path": "buy",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/goods-search",
|
||||
"pages": [{
|
||||
"path": "goods-search",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/goods-comment",
|
||||
"pages": [{
|
||||
"path": "goods-comment",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-address",
|
||||
"pages": [{
|
||||
"path": "user-address",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-address-save",
|
||||
"pages": [{
|
||||
"path": "user-address-save",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-order",
|
||||
"pages": [{
|
||||
"path": "user-order",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-order-detail",
|
||||
"pages": [{
|
||||
"path": "user-order-detail",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-order-comments",
|
||||
"pages": [{
|
||||
"path": "user-order-comments",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-favor",
|
||||
"pages": [{
|
||||
"path": "user-favor",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-goods-comments",
|
||||
"pages": [{
|
||||
"path": "user-goods-comments",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-goods-comments-form",
|
||||
"pages": [{
|
||||
"path": "user-goods-comments-form",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/message",
|
||||
"pages": [{
|
||||
"path": "message",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-integral",
|
||||
"pages": [{
|
||||
"path": "user-integral",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-goods-browse",
|
||||
"pages": [{
|
||||
"path": "user-goods-browse",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-orderaftersale",
|
||||
"pages": [{
|
||||
"path": "user-orderaftersale",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/user-orderaftersale-detail",
|
||||
"pages": [{
|
||||
"path": "user-orderaftersale-detail",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/extraction-address",
|
||||
"pages": [{
|
||||
"path": "extraction-address",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/common/open-setting-location",
|
||||
"pages": [{
|
||||
"path": "open-setting-location",
|
||||
"style": {
|
||||
// #ifndef MP-TOUTIAO
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/common/agreement",
|
||||
"pages": [{
|
||||
"path": "agreement",
|
||||
"style": {
|
||||
// #ifndef MP-TOUTIAO
|
||||
"navigationStyle": "custom",
|
||||
// #endif
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/customview",
|
||||
"pages": [{
|
||||
"path": "customview",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/design",
|
||||
"pages": [{
|
||||
"path": "design",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/web-view",
|
||||
"pages": [{
|
||||
"path": "web-view",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/paytips",
|
||||
"pages": [{
|
||||
"path": "paytips",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/error",
|
||||
"pages": [{
|
||||
"path": "error",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/article-category",
|
||||
"pages": [{
|
||||
"path": "article-category",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/article-detail",
|
||||
"pages": [{
|
||||
"path": "article-detail",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/setup",
|
||||
"pages": [{
|
||||
"path": "setup",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/personal",
|
||||
"pages": [{
|
||||
"path": "personal",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/logout",
|
||||
"pages": [{
|
||||
"path": "logout",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/password",
|
||||
"pages": [{
|
||||
"path": "password",
|
||||
"style": {
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
"root": "pages/plugins/seckill",
|
||||
"pages": [{
|
||||
"path": "index/index",
|
||||
|
|
|
|||
|
|
@ -582,7 +582,7 @@
|
|||
var data = res.data.data;
|
||||
var active_index = this.nav_active_index;
|
||||
var temp_category = data.category || [];
|
||||
// 全部分类子集数量
|
||||
// 全部分类子级数量
|
||||
var category_one_subset_count = 0;
|
||||
// 是否指定分类
|
||||
if (temp_category.length > 0) {
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@
|
|||
<view v-for="(item, index) in detail.items" :key="index" class="form-gorup oh">
|
||||
<view class="oh">
|
||||
<view :data-value="item.goods_url" @tap="url_event" class="cp">
|
||||
<image class="goods-image fl radius br margin-right-lg" :src="item.images" mode="aspectFill"></image>
|
||||
<image class="goods-image fl radius br margin-right-sm" :src="item.images" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="item-base fl margin-top-sm">
|
||||
<block v-for="(tv, ti) in [1, 2, 3, 4, 5]" :key="ti">
|
||||
<image class="xingxing-icon va-m" :src="common_static_url + 'stars' + (form_rating_list[index] != undefined && form_rating_list[index] >= tv ? '-active' : '') + '-icon.png'" mode="aspectFill" @tap="rating_event" :data-index="index" :data-value="tv"></image>
|
||||
</block>
|
||||
<text v-if="form_rating_list[index] != undefined" class="cr-grey va-m margin-left-lg">{{ rating_msg[form_rating_list[index] - 1] }}</text>
|
||||
<text v-if="form_rating_list[index] != undefined" class="cr-grey va-m margin-left-xs">{{ rating_msg[form_rating_list[index] - 1] }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="margin-top-main br-t">
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<view class="form-gorup anonymous">
|
||||
<switch class="va-m" name="is_anonymous" @change="anonymous_event"></switch>
|
||||
<text class="cr-base va-m">{{$t('user-order-comments.user-order-comments.uboc44')}}</text>
|
||||
<text class="fr cr-grey margin-top-lg">{{ anonymous_msg_list[anonymous_value] }}</text>
|
||||
<text class="fr cr-grey margin-top-sm">{{ anonymous_msg_list[anonymous_value] }}</text>
|
||||
</view>
|
||||
|
||||
<view class="form-gorup form-gorup-submit">
|
||||
|
|
|
|||
Loading…
Reference in New Issue