Commit 63adaef6 by 胡悦

提交图片缓存

1 parent 79813fc7
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1021rpx 893rpx;} .sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1029rpx 940rpx;}
.icon-addr { width: 32rpx; height: 32rpx; background-position: -957rpx -477rpx;} .icon-addr { width: 32rpx; height: 32rpx; background-position: -957rpx -643rpx;}
.icon-aito { width: 320rpx; height: 36rpx; background-position: -479rpx -741rpx;} .icon-aito { width: 320rpx; height: 36rpx; background-position: -479rpx -741rpx;}
.icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -957rpx -524rpx;} .icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -957rpx -690rpx;}
.icon-avatar { width: 96rpx; height: 96rpx; background-position: -830rpx -508rpx;} .icon-avatar { width: 96rpx; height: 96rpx; background-position: -830rpx -508rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -777rpx -797rpx;} .icon-back { width: 128rpx; height: 50rpx; background-position: -777rpx -797rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -957rpx -571rpx;} .icon-change-account { width: 32rpx; height: 32rpx; background-position: -957rpx -737rpx;}
.icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;} .icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;}
.icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -415rpx 0rpx;} .icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -415rpx 0rpx;}
.icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -957rpx -367rpx;} .icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -957rpx -533rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -830rpx -619rpx;} .icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -830rpx -619rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -797rpx;} .icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -797rpx;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -111rpx -797rpx;} .icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -111rpx -797rpx;}
.icon-face-success { width: 96rpx; height: 96rpx; background-position: -222rpx -797rpx;} .icon-face-success { width: 96rpx; height: 96rpx; background-position: -222rpx -797rpx;}
.icon-feedback { width: 64rpx; height: 64rpx; background-position: -749rpx -606rpx;} .icon-feedback { width: 64rpx; height: 64rpx; background-position: -957rpx -87rpx;}
.icon-first-nav { width: 464rpx; height: 176rpx; background-position: 0rpx -606rpx;} .icon-first-nav { width: 464rpx; height: 176rpx; background-position: 0rpx -606rpx;}
.icon-home-active { width: 112rpx; height: 112rpx; background-position: -830rpx 0rpx;} .icon-home-active { width: 112rpx; height: 112rpx; background-position: -830rpx 0rpx;}
.icon-home { width: 112rpx; height: 112rpx; background-position: -830rpx -127rpx;} .icon-home { width: 112rpx; height: 112rpx; background-position: -830rpx -127rpx;}
.icon-icon-female { width: 32rpx; height: 32rpx; background-position: -957rpx -618rpx;} .icon-icon-arrow { width: 32rpx; height: 32rpx; background-position: -957rpx -784rpx;}
.icon-icon-male { width: 32rpx; height: 32rpx; background-position: -957rpx -665rpx;} .icon-icon-close { width: 72rpx; height: 72rpx; background-position: -957rpx 0rpx;}
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -957rpx -712rpx;} .icon-icon-female { width: 32rpx; height: 32rpx; background-position: -957rpx -831rpx;}
.icon-icon-male { width: 32rpx; height: 32rpx; background-position: -830rpx -730rpx;}
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -877rpx -730rpx;}
.icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -670rpx -415rpx;} .icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -670rpx -415rpx;}
.icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -957rpx -759rpx;} .icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -749rpx -606rpx;}
.icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -957rpx -806rpx;} .icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -749rpx -653rpx;}
.icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -957rpx -853rpx;} .icon-kf-1 { width: 32rpx; height: 32rpx; background-position: 0rpx -908rpx;}
.icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -830rpx -730rpx;} .icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -47rpx -908rpx;}
.icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -877rpx -730rpx;} .icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -94rpx -908rpx;}
.icon-logo { width: 160rpx; height: 160rpx; background-position: -495rpx -415rpx;} .icon-logo { width: 160rpx; height: 160rpx; background-position: -495rpx -415rpx;}
.icon-pen-active { width: 120rpx; height: 120rpx; background-position: -479rpx -606rpx;} .icon-pen-active { width: 120rpx; height: 120rpx; background-position: -479rpx -606rpx;}
.icon-pen { width: 120rpx; height: 120rpx; background-position: -614rpx -606rpx;} .icon-pen { width: 120rpx; height: 120rpx; background-position: -614rpx -606rpx;}
.icon-qr-success { width: 96rpx; height: 96rpx; background-position: -333rpx -797rpx;} .icon-qr-success { width: 96rpx; height: 96rpx; background-position: -333rpx -797rpx;}
.icon-qw { width: 48rpx; height: 48rpx; background-position: -957rpx -304rpx;} .icon-qw { width: 48rpx; height: 48rpx; background-position: -957rpx -470rpx;}
.icon-record-active { width: 112rpx; height: 112rpx; background-position: -830rpx -254rpx;} .icon-record-active { width: 112rpx; height: 112rpx; background-position: -830rpx -254rpx;}
.icon-record { width: 112rpx; height: 112rpx; background-position: -830rpx -381rpx;} .icon-record { width: 112rpx; height: 112rpx; background-position: -830rpx -381rpx;}
.icon-scan { width: 32rpx; height: 32rpx; background-position: -749rpx -685rpx;} .icon-scan { width: 32rpx; height: 32rpx; background-position: -141rpx -908rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -444rpx -797rpx;} .icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -444rpx -797rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -555rpx -797rpx;} .icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -555rpx -797rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -957rpx -422rpx;} .icon-search { width: 40rpx; height: 40rpx; background-position: -957rpx -588rpx;}
.icon-second-nav { width: 480rpx; height: 176rpx; background-position: 0rpx -415rpx;} .icon-second-nav { width: 480rpx; height: 176rpx; background-position: 0rpx -415rpx;}
.icon-setting { width: 64rpx; height: 64rpx; background-position: -957rpx 0rpx;} .icon-setting { width: 64rpx; height: 64rpx; background-position: -957rpx -166rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -666rpx -797rpx;} .icon-store { width: 96rpx; height: 96rpx; background-position: -666rpx -797rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -957rpx -79rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -957rpx -154rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -957rpx -229rpx;}
\ No newline at end of file \ No newline at end of file
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -957rpx -245rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -957rpx -320rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -957rpx -395rpx;}
\ No newline at end of file \ No newline at end of file

871 KB | W: | H:

883 KB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-06-20 11:32:52 * @Date: 2024-06-20 11:32:52
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-07-04 16:07:51 * @LastEditTime: 2024-07-08 11:33:21
--> -->
<template> <template>
<view <view
...@@ -61,12 +61,13 @@ ...@@ -61,12 +61,13 @@
<view class="li-item-content"> <view class="li-item-content">
<view class="li-number">{{ i.index }}</view>{{ i.name }} <view class="li-number">{{ i.index }}</view>{{ i.name }}
</view> </view>
<image <view v-if="i.hasArrow" class="sprite-icon icon-icon-arrow icon-arrow"></view>
<!-- <image
v-if="i.hasArrow" v-if="i.hasArrow"
src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/icon-arrow.webp" src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/icon-arrow.webp"
mode="scaleToFill" mode="scaleToFill"
class="icon-arrow" class="icon-arrow"
/> /> -->
</view> </view>
<view class="li-value">{{ i.value }}</view> <view class="li-value">{{ i.value }}</view>
</view> </view>
...@@ -305,8 +306,6 @@ export default { ...@@ -305,8 +306,6 @@ export default {
} }
.icon-arrow { .icon-arrow {
width: 28rpx;
height: 28rpx;
margin-left: 12rpx; margin-left: 12rpx;
} }
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<view class="screen-container"> <view class="screen-container">
<image <image
class="screen-image" class="screen-image"
:src="`https://img02.glsx.com.cn/weapp/resource/app-tape/media/guarantee/screen-${screenInfo.id}.webp`" :src="screenInfo.url"
/> />
<view class="feature-container"> <view class="feature-container">
<view class="feature-title">{{screenInfo.title}}</view> <view class="feature-title">{{screenInfo.title}}</view>
...@@ -20,11 +20,12 @@ ...@@ -20,11 +20,12 @@
<view class="notice-title">注意事项:</view>{{screenInfo.tips}} <view class="notice-title">注意事项:</view>{{screenInfo.tips}}
</view> </view>
</view> </view>
<image <view class="sprite-icon icon-icon-close icon-close" @click="close"></view>
<!-- <image
@click="close" @click="close"
class="icon-close" class="icon-close"
src="https://img01.glsx.com.cn/weapp/resource/app-tape/media/guarantee/icon-close.webp" src="https://img01.glsx.com.cn/weapp/resource/app-tape/media/guarantee/icon-close.webp"
/> /> -->
</uni-popup> </uni-popup>
</template> </template>
...@@ -103,7 +104,5 @@ export default { ...@@ -103,7 +104,5 @@ export default {
// bottom: -140rpx; // bottom: -140rpx;
// left: 50%; // left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 72rpx;
height: 72rpx;
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -186,6 +186,11 @@ export default { ...@@ -186,6 +186,11 @@ export default {
e.carTypeList, e.carTypeList,
"url" "url"
); );
if (e.screenList)
e.screenList = await uni.$api.systemApi.imgToBase64(
e.screenList,
"url"
)
}); });
toolList = await uni.$api.systemApi.imgToBase64( toolList = await uni.$api.systemApi.imgToBase64(
toolList, toolList,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!