Commit 01c015e1 by 胡悦

提交

1 parent 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-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;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -106rpx -780rpx;} .icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -106rpx -780rpx;}
...@@ -33,21 +37,17 @@ ...@@ -33,21 +37,17 @@
.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;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -424rpx -780rpx;} .icon-scan { width: 32rpx; height: 32rpx; background-position: -750rpx -596rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -530rpx -780rpx;} .icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -530rpx -780rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;} .icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -636rpx -780rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -1016rpx -576rpx;}
.icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;} .icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -750rpx -596rpx;} .icon-setting { width: 32rpx; height: 32rpx; background-position: -750rpx -638rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -636rpx -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;}
.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;}
\ No newline at end of file \ No newline at end of file
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -942rpx -790rpx;}
\ No newline at end of file \ No newline at end of file

568 KB | W: | H:

387 KB | W: | H:

assets/images/boutique/animation-m7.png
assets/images/boutique/animation-m7.png
assets/images/boutique/animation-m7.png
assets/images/boutique/animation-m7.png
  • 2-up
  • Swipe
  • Onion skin

580 KB | W: | H:

392 KB | W: | H:

assets/images/boutique/animation-m9.png
assets/images/boutique/animation-m9.png
assets/images/boutique/animation-m9.png
assets/images/boutique/animation-m9.png
  • 2-up
  • Swipe
  • Onion skin

945 KB | W: | H:

945 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-05-30 14:40:39 * @Date: 2024-05-30 14:40:39
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-06-04 11:10:40 * @LastEditTime: 2024-06-04 15:08:43
--> -->
<template> <template>
<view style="position: relative;"> <view style="position: relative;">
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</view> </view>
</view> </view>
<template v-if="views[firstIndex].receptionSourceDetailInfoList.length > 0 && views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList"> <template v-if="views[firstIndex].receptionSourceDetailInfoList.length > 0 && views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList">
<view class="product-list" :style="{height: views[firstIndex].receptionSourceDetailInfoList ? '972rpx' : '1040rpx'}"> <view class="product-list left" :style="{height: views[firstIndex].receptionSourceDetailInfoList ? '958rpx' : '1032rpx'}">
<view class="product-item" v-for="(itm, idx) in views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList" :key="idx" @click="goDetail(itm)"> <view class="product-item" v-for="(itm, idx) in views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList" :key="idx" @click="goDetail(itm)">
<image <image
:src="itm.thumbnail" :src="itm.thumbnail"
...@@ -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="key" :key="imgKey"
/> />
</view> </view>
</template> </template>
...@@ -86,10 +86,7 @@ export default { ...@@ -86,10 +86,7 @@ export default {
type: Array, type: Array,
default: () => [] default: () => []
}, },
madiaId: { show: Boolean
type: Number,
default: 0
}
}, },
data () { data () {
return { return {
...@@ -98,7 +95,7 @@ export default { ...@@ -98,7 +95,7 @@ export default {
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() imgKey: Date.now()
} }
}, },
computed: { computed: {
...@@ -107,11 +104,14 @@ export default { ...@@ -107,11 +104,14 @@ export default {
}, },
}, },
watch: { watch: {
show(val) {
if (val) this.imgKey = Date.now()
},
watchStatus() { watchStatus() {
console.log(111) console.log(111)
this.firstIndex = 0 this.firstIndex = 0
this.secondIndex = 0 this.secondIndex = 0
this.key = Date.now() this.imgKey = Date.now()
} }
}, },
methods: { methods: {
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
this[name] = index this[name] = index
if (name === 'firstIndex') { if (name === 'firstIndex') {
this.secondIndex = 0 this.secondIndex = 0
this.key = Date.now() this.imgKey = Date.now()
} }
}, },
async findSoureList () { async findSoureList () {
...@@ -229,7 +229,7 @@ export default { ...@@ -229,7 +229,7 @@ export default {
position: relative; position: relative;
background-color: #fff; background-color: #fff;
width: 100%; width: 100%;
padding-top: 64rpx; padding-top: 48rpx;
margin-top: -48rpx; margin-top: -48rpx;
border-radius: 48rpx; border-radius: 48rpx;
height: calc(100% - 128rpx); height: calc(100% - 128rpx);
...@@ -237,7 +237,7 @@ export default { ...@@ -237,7 +237,7 @@ export default {
display: inline-flex; display: inline-flex;
background: #f2f2f2; background: #f2f2f2;
border-radius: 16rpx; border-radius: 16rpx;
height: 84rpx; height: 92rpx;
align-items: center; align-items: center;
margin-left: 64rpx; margin-left: 64rpx;
margin-bottom: 48rpx; margin-bottom: 48rpx;
...@@ -249,13 +249,14 @@ export default { ...@@ -249,13 +249,14 @@ export default {
align-items: center; align-items: center;
margin: 4rpx; margin: 4rpx;
width: auto; width: auto;
height: 100%; height: 84rpx;
padding: 0 48rpx; padding: 0 48rpx;
box-sizing: border-box;
&.active { &.active {
background-color: #fff; background-color: #fff;
// margin: 4rpx 0; // margin: 4rpx 0;
border-radius: 16rpx; border-radius: 16rpx;
height: calc(100% - 8rpx); // height: calc(100% - 8rpx);
} }
} }
} }
...@@ -300,9 +301,10 @@ export default { ...@@ -300,9 +301,10 @@ export default {
} }
@keyframes moveAndFade { @keyframes moveAndFade {
0% { 0% {
transform: translate(100%, -100%) scale(0.2); /* 移动到右上角并缩小 */ transform: translate(30%, -30%) scale(0.5); /* 移动到右上角并缩小 */
filter: blur(2px); /* 设置模糊 */ // transform: translate(100%, -100%) scale(0.2);
opacity: 0; filter: blur(0.5px); /* 设置模糊 */
opacity: 0.3;
} }
100% { 100% {
transform: translate(0, 0) scale(1); /* 移动到正常位置并恢复大小 */ transform: translate(0, 0) scale(1); /* 移动到正常位置并恢复大小 */
...@@ -312,11 +314,17 @@ export default { ...@@ -312,11 +314,17 @@ export default {
} }
.img-animate { .img-animate {
animation: moveAndFade 0.8s ease-in-out forwards; /* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */ animation: moveAndFade 1.2s ease-in-out forwards; /* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */
position: absolute; /* 确保图片可以移动 */ position: absolute; /* 确保图片可以移动 */
top: 0; top: 0;
right: 0; right: 0;
width: 600rpx; width: 480rpx;
height: 400rpx; height: 320rpx;
}
.left {
animation: show-view-left 0.5s;
}
.right {
animation: show-view-right 0.3s;
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!