小程序优化

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

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>