Commit 466d2d24 by 李伟康

commit 还原

1 parent 19395b95
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
.icon-addr { width: 32rpx; height: 32rpx; background-position: -1240rpx -557rpx;} .icon-addr { width: 32rpx; height: 32rpx; background-position: -1240rpx -557rpx;}
.icon-aito { width: 320rpx; height: 36rpx; background-position: -830rpx -617rpx;} .icon-aito { width: 320rpx; height: 36rpx; background-position: -830rpx -617rpx;}
.icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -1165rpx -617rpx;} .icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -1165rpx -617rpx;}
.icon-avatar { width: 96rpx; height: 96rpx; background-position: -381rpx -726rpx;} .icon-avatar { width: 96rpx; height: 96rpx; background-position: -635rpx -726rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -111rpx -853rpx;} .icon-back { width: 128rpx; height: 50rpx; background-position: -333rpx -853rpx;}
.icon-bao { width: 196rpx; height: 220rpx; background-position: -830rpx -382rpx;} .icon-bao { width: 196rpx; height: 220rpx; background-position: -830rpx -382rpx;}
.icon-byd { width: 184rpx; height: 36rpx; background-position: -1041rpx -557rpx;} .icon-byd { width: 184rpx; height: 36rpx; background-position: -1041rpx -557rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -1212rpx -617rpx;} .icon-change-account { width: 32rpx; height: 32rpx; background-position: -1212rpx -617rpx;}
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
.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: -830rpx -668rpx;} .icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -830rpx -668rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -492rpx -726rpx;} .icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -746rpx -726rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: -603rpx -726rpx;} .icon-face-error { width: 96rpx; height: 96rpx; background-position: -857rpx -726rpx;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -714rpx -726rpx;} .icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -968rpx -726rpx;}
.icon-face-success { width: 96rpx; height: 96rpx; background-position: -825rpx -726rpx;} .icon-face-success { width: 96rpx; height: 96rpx; background-position: -1079rpx -726rpx;}
.icon-feedback { width: 64rpx; height: 64rpx; background-position: -1216rpx -469rpx;} .icon-feedback { width: 64rpx; height: 64rpx; background-position: -1216rpx -469rpx;}
.icon-first-nav { width: 464rpx; height: 176rpx; background-position: -830rpx -191rpx;} .icon-first-nav { width: 464rpx; height: 176rpx; background-position: -830rpx -191rpx;}
.icon-home-active { width: 112rpx; height: 112rpx; background-position: -638rpx -558rpx;} .icon-home-active { width: 112rpx; height: 112rpx; background-position: -638rpx -558rpx;}
...@@ -35,19 +35,21 @@ ...@@ -35,19 +35,21 @@
.icon-no-insurance-data { width: 488rpx; height: 296rpx; background-position: 0rpx -415rpx;} .icon-no-insurance-data { width: 488rpx; height: 296rpx; background-position: 0rpx -415rpx;}
.icon-pen-active { width: 120rpx; height: 120rpx; background-position: -646rpx -415rpx;} .icon-pen-active { width: 120rpx; height: 120rpx; background-position: -646rpx -415rpx;}
.icon-pen { width: 120rpx; height: 120rpx; background-position: -503rpx -558rpx;} .icon-pen { width: 120rpx; height: 120rpx; background-position: -503rpx -558rpx;}
.icon-qr-success { width: 96rpx; height: 96rpx; background-position: -936rpx -726rpx;} .icon-qr-success { width: 96rpx; height: 96rpx; background-position: -1190rpx -726rpx;}
.icon-qw { width: 48rpx; height: 48rpx; background-position: -765rpx -558rpx;} .icon-qw { width: 48rpx; height: 48rpx; background-position: -765rpx -558rpx;}
.icon-record-active { width: 112rpx; height: 112rpx; background-position: -127rpx -726rpx;} .icon-record-active { width: 112rpx; height: 112rpx; background-position: -127rpx -726rpx;}
.icon-record { width: 112rpx; height: 112rpx; background-position: -254rpx -726rpx;} .icon-record { width: 112rpx; height: 112rpx; background-position: -254rpx -726rpx;}
.icon-scan { width: 32rpx; height: 32rpx; background-position: -1269rpx -726rpx;} .icon-scan { width: 32rpx; height: 32rpx; background-position: -476rpx -853rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -1047rpx -726rpx;} .icon-scene-0 { width: 96rpx; height: 96rpx; background-position: 0rpx -853rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -1158rpx -726rpx;} .icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -111rpx -853rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -940rpx -668rpx;} .icon-search { width: 40rpx; height: 40rpx; background-position: -940rpx -668rpx;}
.icon-second-nav { width: 480rpx; height: 176rpx; background-position: -830rpx 0rpx;} .icon-second-nav { width: 480rpx; height: 176rpx; background-position: -830rpx 0rpx;}
.icon-setting { width: 64rpx; height: 64rpx; background-position: 0rpx -964rpx;} .icon-setting { width: 64rpx; height: 64rpx; background-position: 0rpx -964rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: 0rpx -853rpx;} .icon-store { width: 96rpx; height: 96rpx; background-position: -222rpx -853rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -79rpx -964rpx;} .icon-tool-file { width: 60rpx; height: 60rpx; background-position: -79rpx -964rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -154rpx -964rpx;} .icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -154rpx -964rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -229rpx -964rpx;} .icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -229rpx -964rpx;}
.icon-total { width: 32rpx; height: 32rpx; background-position: -1269rpx -773rpx;}
.icon-visible { width: 40rpx; height: 40rpx; background-position: -995rpx -668rpx;}
\ No newline at end of file \ No newline at end of file
.icon-total { width: 32rpx; height: 32rpx; background-position: -523rpx -853rpx;}
.icon-visible { width: 40rpx; height: 40rpx; background-position: -995rpx -668rpx;}
.icon-customer-file { width: 112rpx; height: 112rpx; background-position: -381rpx -726rpx;}
.icon-customer-file-active { width: 112rpx; height: 112rpx; background-position: -508rpx -726rpx;}
\ No newline at end of file \ No newline at end of file

1.09 MB | W: | H:

1.13 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
<template> <template>
<view class="layout"> <view class="layout">
<template v-if="views.length>1"> <!-- <template v-if="views.length>1">
<view class="tabs-box"> <view class="tabs-box">
<tabs <tabs
:list="views" :list="views"
@tabclick="changeTab" @tabclick="changeTab"
></tabs> ></tabs>
</view> </view>
</template> </template> -->
<wnCanvas <wnCanvas
:drawStatus="penSwitch" :drawStatus="penSwitch"
:canvasId="`c-${madiaId}`" :canvasId="`c-${madiaId}`"
...@@ -47,8 +47,24 @@ export default { ...@@ -47,8 +47,24 @@ export default {
} }
}, },
watch: { watch: {
watchCarModel: {
immediate: true,
handler (newval) {
if (this.madiaId == 3) {
let index = {
'问界M5': 0,
'问界M7': 1,
'问界M9': 2
}[newval]
return this.viewIndex = index || 0
}
}
}
}, },
computed: { computed: {
watchCarModel () {
return this.$store.state.user.customerInfo.carModel
}
}, },
mounted () { mounted () {
}, },
......
<template> <template>
<view :class="['layout',`${isByd?'byd-layout':'aito-layout'}`]"> <view :class="['layout',`${isByd?'byd-layout':''}`]">
<wnCanvas <wnCanvas
saveImageType="3" saveImageType="3"
canvasId="c-1" canvasId="c-1"
...@@ -8,6 +8,13 @@ ...@@ -8,6 +8,13 @@
@scale="$emit('scale',$event)" @scale="$emit('scale',$event)"
> >
<template slot="customContent"> <template slot="customContent">
<view class="carType">
<image
:src="carImg"
class="img slide-bl"
:key="imgKey"
/>
</view>
<view class="title"> <view class="title">
<view :class="['sprite-icon',`${isByd?'icon-byd':'icon-aito'}`]"></view> <view :class="['sprite-icon',`${isByd?'icon-byd':'icon-aito'}`]"></view>
<view class="text">{{title}}</view> <view class="text">{{title}}</view>
...@@ -90,7 +97,8 @@ export default { ...@@ -90,7 +97,8 @@ export default {
show: Boolean, show: Boolean,
title: String, title: String,
views: Array, views: Array,
isByd: Boolean isByd: Boolean,
carTypeList: Array
}, },
name: 'Reception', name: 'Reception',
data () { data () {
...@@ -119,6 +127,7 @@ export default { ...@@ -119,6 +127,7 @@ export default {
], ],
customerInfo: {}, customerInfo: {},
focusIndex: -1, focusIndex: -1,
imgKey: Date.now(),
} }
}, },
watch: { watch: {
...@@ -139,6 +148,14 @@ export default { ...@@ -139,6 +148,14 @@ export default {
watchStatus () { watchStatus () {
return this.$store.state.user.historyStatus return this.$store.state.user.historyStatus
}, },
carImg () {
let name = {
'问界M5': 0,
'问界M7': 1,
'问界M9': 2
}[this.customerInfo.carModel]
return this.carTypeList[name || 0].url
}
}, },
methods: { methods: {
inputCustomer () { inputCustomer () {
...@@ -153,6 +170,7 @@ export default { ...@@ -153,6 +170,7 @@ export default {
this.$refs.carBrandListVisible.close() this.$refs.carBrandListVisible.close()
this.customerInfo.carModel = item.name this.customerInfo.carModel = item.name
} }
this.imgKey = Date.now()
this.resetFocusIndex() this.resetFocusIndex()
this.$store.dispatch('setCustomerInfo', this.customerInfo) this.$store.dispatch('setCustomerInfo', this.customerInfo)
}, },
...@@ -178,6 +196,19 @@ export default { ...@@ -178,6 +196,19 @@ export default {
height: 100vh; height: 100vh;
background-image: url('@/assets/images/media/reception-bg.webp'); background-image: url('@/assets/images/media/reception-bg.webp');
background-size: 100%; background-size: 100%;
.carType {
width: 864rpx;
height: 707rpx;
position: absolute;
right: 0;
top: 0;
z-index: 2;
.img {
width: 100%;
height: 100%;
vertical-align: top;
}
}
.title { .title {
padding: 160rpx 0 32rpx 110rpx; padding: 160rpx 0 32rpx 110rpx;
.sprite-icon { .sprite-icon {
...@@ -275,7 +306,50 @@ export default { ...@@ -275,7 +306,50 @@ export default {
} }
} }
} }
// 车动画
/* ----------------------------------------------
* Generated by Animista on 2024-6-26 14:45:52
* Licensed under FreeBSD License.
* See http://animista.net/license for more info.
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
/**
* ----------------------------------------
* animation slide-bl
* ----------------------------------------
*/
@-webkit-keyframes slide-bl {
0% {
-webkit-transform: translateY(-100%) translateX(-100%);
transform: translateY(-100%) translateX(-100%);
opacity: 0.2;
filter: blur(0.5px);
}
100% {
-webkit-transform: translateY(0) translateX(0);
transform: translateY(0) translateX(0);
opacity: 1;
filter: blur(0);
}
}
@keyframes slide-bl {
0% {
-webkit-transform: translateY(-100%) translateX(100%) scale(0.5);
transform: translateY(-100%) translateX(100%) scale(0.5);
opacity: 0.2;
filter: blur(0.5px);
}
100% {
-webkit-transform: translateY(0) translateX(0);
transform: translateY(0) translateX(0);
opacity: 1;
filter: blur(0);
}
}
.slide-bl {
-webkit-animation: slide-bl 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
animation: slide-bl 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.byd-layout { .byd-layout {
background-image: url('@/assets/images/media/byd-reception-bg.webp') !important; background-image: url('@/assets/images/media/byd-reception-bg.webp') !important;
.content .views-box { .content .views-box {
...@@ -298,16 +372,16 @@ export default { ...@@ -298,16 +372,16 @@ export default {
top: 188rpx; top: 188rpx;
padding: 0; padding: 0;
} }
.views-box{ .views-box {
margin-top: 0; margin-top: 0;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
padding: 0 38rpx; padding: 0 38rpx;
gap: 0; gap: 0;
justify-content: flex-start; justify-content: flex-start;
.item{ .item {
width: 1132rpx; width: 1132rpx;
.img{ .img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
@onProductModel="productModelStatus = $event" @onProductModel="productModelStatus = $event"
:isPreview="type == 'preview'" :isPreview="type == 'preview'"
:isByd="isByd" :isByd="isByd"
:carTypeList="item.carTypeList || []"
/> />
</view> </view>
</template> </template>
......
...@@ -205,6 +205,10 @@ export default { ...@@ -205,6 +205,10 @@ export default {
e.receptionSourceDetailList, e.receptionSourceDetailList,
"detailUrl" "detailUrl"
) : undefined, ) : undefined,
carTypeList: e.carTypeList ? await uni.$api.systemApi.imgToBase64(
e.carTypeList,
"url"
) : undefined,
screenList: e.screenList ? await uni.$api.systemApi.imgToBase64( screenList: e.screenList ? await uni.$api.systemApi.imgToBase64(
e.screenList, e.screenList,
"url" "url"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!