Commit e24eb3c5 by 李伟康

Merge branch 'v1.0.5' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.5

2 parents 0c373da3 98065611
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1070rpx 876rpx;} .sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1070rpx 876rpx;}
.icon-aito { width: 320rpx; height: 36rpx; background-position: 0rpx -734rpx;}
.icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -1032rpx -60rpx;} .icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -1032rpx -60rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -942rpx 0rpx;} .icon-back { width: 128rpx; height: 50rpx; background-position: -942rpx 0rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -1032rpx -102rpx;} .icon-change-account { width: 32rpx; height: 32rpx; background-position: -1032rpx -102rpx;}
.icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;}
.icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -410rpx 0rpx;}
.icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;} .icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -820rpx -610rpx;} .icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -820rpx -610rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -780rpx;} .icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -780rpx;}
...@@ -37,7 +34,6 @@ ...@@ -37,7 +34,6 @@
.icon-new-setting { width: 64rpx; height: 64rpx; background-position: -942rpx -576rpx;} .icon-new-setting { width: 64rpx; height: 64rpx; background-position: -942rpx -576rpx;}
.icon-pen-active { width: 120rpx; height: 120rpx; background-position: -490rpx -596rpx;} .icon-pen-active { width: 120rpx; height: 120rpx; background-position: -490rpx -596rpx;}
.icon-pen { width: 120rpx; height: 120rpx; background-position: -620rpx -596rpx;} .icon-pen { width: 120rpx; height: 120rpx; background-position: -620rpx -596rpx;}
.icon-qr-success { width: 96rpx; height: 96rpx; background-position: -424rpx -780rpx;}
.icon-qw { width: 48rpx; height: 48rpx; background-position: -1016rpx -502rpx;} .icon-qw { width: 48rpx; height: 48rpx; background-position: -1016rpx -502rpx;}
.icon-record-active { width: 80rpx; height: 80rpx; background-position: -942rpx -240rpx;} .icon-record-active { width: 80rpx; height: 80rpx; background-position: -942rpx -240rpx;}
.icon-record { width: 80rpx; height: 80rpx; background-position: -942rpx -330rpx;} .icon-record { width: 80rpx; height: 80rpx; background-position: -942rpx -330rpx;}
...@@ -50,4 +46,19 @@ ...@@ -50,4 +46,19 @@
.icon-store { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;} .icon-store { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;} .icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;} .icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
\ No newline at end of file \ No newline at end of file
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -424rpx -780rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -530rpx -780rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;}
.icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -750rpx -596rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -636rpx -780rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
.icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;}
.icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -410rpx 0rpx;}
.icon-aito { width: 320rpx; height: 36rpx; background-position: 0rpx -734rpx;}
.icon-qr-success { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;}
.icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -1016rpx -576rpx;}
.icon-scan { width: 32rpx; height: 32rpx; background-position: -750rpx -638rpx;}
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-05-30 14:40:39 * @Date: 2024-05-30 14:40:39
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-06-03 18:09:09 * @LastEditTime: 2024-06-04 11:10:40
--> -->
<template> <template>
<view style="position: relative;"> <view style="position: relative;">
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
:src="animationList[firstIndex]" :src="animationList[firstIndex]"
mode="scaleToFill" mode="scaleToFill"
class="img-animate" class="img-animate"
:key="firstIndex" :key="key"
/> />
</view> </view>
</template> </template>
...@@ -97,7 +97,8 @@ export default { ...@@ -97,7 +97,8 @@ export default {
firstLeft: ['0rpx', '352rpx', '756rpx'], firstLeft: ['0rpx', '352rpx', '756rpx'],
firstClass: ['first-nav', 'second-nav', 'second-nav'], firstClass: ['first-nav', 'second-nav', 'second-nav'],
secondIndex: 0, secondIndex: 0,
animationList: [require('@/assets/images/boutique/animation-m5.png'), require('@/assets/images/boutique/animation-m7.png'), require('@/assets/images/boutique/animation-m9.png')] animationList: [require('@/assets/images/boutique/animation-m5.png'), require('@/assets/images/boutique/animation-m7.png'), require('@/assets/images/boutique/animation-m9.png')],
key: Date.now()
} }
}, },
computed: { computed: {
...@@ -106,16 +107,20 @@ export default { ...@@ -106,16 +107,20 @@ export default {
}, },
}, },
watch: { watch: {
watchStatus () { watchStatus() {
console.log(111)
this.firstIndex = 0 this.firstIndex = 0
this.secondIndex = 0
this.key = Date.now()
} }
}, },
methods: { methods: {
changeIndex(index, name) { changeIndex(index, name) {
console.log(index, name) console.log(index, name)
this[name] = index this[name] = index
if (name === 'fristIndex') { if (name === 'firstIndex') {
this.secondIndex = 0 this.secondIndex = 0
this.key = Date.now()
} }
}, },
async findSoureList () { async findSoureList () {
...@@ -307,7 +312,7 @@ export default { ...@@ -307,7 +312,7 @@ export default {
} }
.img-animate { .img-animate {
animation: moveAndFade 2s ease-in-out forwards; /* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */ animation: moveAndFade 0.8s ease-in-out forwards; /* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */
position: absolute; /* 确保图片可以移动 */ position: absolute; /* 确保图片可以移动 */
top: 0; top: 0;
right: 0; right: 0;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!