小程序优化

This commit is contained in:
devil 2020-08-12 15:06:33 +08:00
parent 93263707c7
commit 36d04c0e83
31 changed files with 41 additions and 28 deletions

View File

@ -36,8 +36,9 @@ return array (
array (
0 => 'app\\plugins\\distribution\\Hook',
1 => 'app\\plugins\\freightfee\\Hook',
2 => 'app\\plugins\\coupon\\Hook',
3 => 'app\\plugins\\membershiplevelvip\\Hook',
2 => 'app\\plugins\\limitedtimediscount\\Hook',
3 => 'app\\plugins\\coupon\\Hook',
4 => 'app\\plugins\\membershiplevelvip\\Hook',
),
'plugins_service_users_center_left_menu_handle' =>
array (
@ -107,13 +108,33 @@ return array (
),
'plugins_js' =>
array (
0 => 'app\\plugins\\coupon\\Hook',
0 => 'app\\plugins\\limitedtimediscount\\Hook',
1 => 'app\\plugins\\coupon\\Hook',
),
'plugins_service_navigation_header_handle' =>
array (
0 => 'app\\plugins\\coupon\\Hook',
0 => 'app\\plugins\\limitedtimediscount\\Hook',
1 => 'app\\plugins\\coupon\\Hook',
2 => 'app\\plugins\\membershiplevelvip\\Hook',
3 => 'app\\plugins\\weixinliveplayer\\Hook',
),
'plugins_service_goods_handle_end' =>
array (
0 => 'app\\plugins\\limitedtimediscount\\Hook',
1 => 'app\\plugins\\membershiplevelvip\\Hook',
2 => 'app\\plugins\\weixinliveplayer\\Hook',
),
'plugins_service_goods_spec_base' =>
array (
0 => 'app\\plugins\\limitedtimediscount\\Hook',
1 => 'app\\plugins\\membershiplevelvip\\Hook',
),
'plugins_view_goods_detail_base_top' =>
array (
0 => 'app\\plugins\\limitedtimediscount\\Hook',
),
'plugins_view_home_floor_top' =>
array (
0 => 'app\\plugins\\limitedtimediscount\\Hook',
),
'plugins_view_goods_detail_panel_bottom' =>
array (
@ -135,14 +156,6 @@ return array (
array (
0 => 'app\\plugins\\coupon\\Hook',
),
'plugins_service_goods_handle_end' =>
array (
0 => 'app\\plugins\\membershiplevelvip\\Hook',
),
'plugins_service_goods_spec_base' =>
array (
0 => 'app\\plugins\\membershiplevelvip\\Hook',
),
'plugins_service_user_login_success_record' =>
array (
0 => 'app\\plugins\\membershiplevelvip\\Hook',

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view class="limitedtimediscount">
<view class="countdown">
<image class="icon" src="/pages/lib/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<image class="icon" src="/images/plugins/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<text class="text-title"> {{plugins_limitedtimediscount_data.title || '限时秒杀'}}</text>
<view class="time-right fr">
<block a:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view a:if="{{plugins_limitedtimediscount_data.goods.length > 0}}" class="limitedtimediscount">
<view class="nav-title">
<image class="nav-icon" src="/pages/lib/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<image class="nav-icon" src="/images/plugins/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<text class="text-wrapper">限时秒杀</text>
<view class="countdown">
<block a:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,5 +1,5 @@
<template name="online_service">
<view a:if="{{(tnt_inst_id || null) != null && (scene || null) != null}}" class="common-quick-nav common-online-service">
<contact-button tnt-inst-id="{{tnt_inst_id}}" scene="{{scene}}" size="60rpx*60rpx" icon="/pages/lib/online-service/icon.png" alipay-card-no="{{openid || ''}}" />
<contact-button tnt-inst-id="{{tnt_inst_id}}" scene="{{scene}}" size="60rpx*60rpx" icon="/images/online-service-icon.png" alipay-card-no="{{openid || ''}}" />
</view>
</template>

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view class="limitedtimediscount">
<view class="countdown">
<image class="icon" src="/pages/lib/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<image class="icon" src="/images/plugins/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<text class="text-title"> {{plugins_limitedtimediscount_data.title || '限时秒杀'}}</text>
<view class="time-right fr">
<block s-if="plugins_limitedtimediscount_is_show_time">

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view s-if="plugins_limitedtimediscount_data.goods.length > 0" class="limitedtimediscount">
<view class="nav-title">
<image class="nav-icon" src="/pages/lib/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<image class="nav-icon" src="/images/plugins/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<text class="text-wrapper">限时秒杀</text>
<view class="countdown">
<block s-if="plugins_limitedtimediscount_is_show_time">

View File

@ -1,5 +1,5 @@
<template name="online_service">
<button open-type="contact" class="common-online-service">
<image src="/pages/lib/online-service/icon.png"></image>
<image src="/images/online-service-icon.png"></image>
</button>
</template>

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view class="limitedtimediscount">
<view class="countdown">
<image class="icon" src="/pages/lib/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<image class="icon" src="/images/plugins/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<text class="text-title"> {{plugins_limitedtimediscount_data.title || '限时秒杀'}}</text>
<view class="time-right fr">
<block qq:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view qq:if="{{plugins_limitedtimediscount_data.goods.length > 0}}" class="limitedtimediscount">
<view class="nav-title">
<image class="nav-icon" src="/pages/lib/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<image class="nav-icon" src="/images/plugins/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<text class="text-wrapper"></text>
<view class="countdown">
<block qq:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,5 +1,5 @@
<template name="online_service">
<button open-type="contact" class="common-quick-nav common-online-service">
<image src="/pages/lib/online-service/icon.png" class="dis-block"></image>
<image src="/images/online-service-icon.png" class="dis-block"></image>
</button>
</template>

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view class="limitedtimediscount">
<view class="countdown">
<image class="icon" src="/pages/lib/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<image class="icon" src="/images/plugins/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<text class="text-title"> {{plugins_limitedtimediscount_data.title || '限时秒杀'}}</text>
<view class="time-right fr">
<block tt:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view tt:if="{{plugins_limitedtimediscount_data.goods.length > 0}}" class="limitedtimediscount">
<view class="nav-title">
<image class="nav-icon" src="/pages/lib/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<image class="nav-icon" src="/images/plugins/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<text class="text-wrapper">限时秒杀</text>
<view class="countdown">
<block tt:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,5 +1,5 @@
<template name="online_service">
<button open-type="contact" class="common-quick-nav common-online-service">
<image src="/pages/lib/online-service/icon.png" class="dis-block"></image>
<image src="/images/online-service-icon.png" class="dis-block"></image>
</button>
</template>

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view class="limitedtimediscount">
<view class="countdown">
<image class="icon" src="/pages/lib/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<image class="icon" src="/images/plugins/limitedtimediscount/detail-icon.png" mode="aspectFit"></image>
<text class="text-title"> {{plugins_limitedtimediscount_data.title || '限时秒杀'}}</text>
<view class="time-right fr">
<block wx:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,7 +1,7 @@
<template name="limitedtimediscount">
<view wx:if="{{plugins_limitedtimediscount_data.goods.length > 0}}" class="limitedtimediscount">
<view class="nav-title">
<image class="nav-icon" src="/pages/lib/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<image class="nav-icon" src="/images/plugins/limitedtimediscount/nav-icon.png" mode="aspectFit"></image>
<text class="text-wrapper">限时秒杀</text>
<view class="countdown">
<block wx:if="{{plugins_limitedtimediscount_is_show_time}}">

View File

@ -1,5 +1,5 @@
<template name="online_service">
<button open-type="contact" class="common-quick-nav common-online-service" send-message-title="{{title || ''}}" send-message-path="{{path || ''}}" send-message-img="{{img || ''}}" show-message-card="{{card || false}}">
<image src="/pages/lib/online-service/icon.png" class="dis-block"></image>
<image src="/images/online-service-icon.png" class="dis-block"></image>
</button>
</template>