Commit 17000131 by 李伟康

新增二手车场景

1 parent 6e85274c

2.65 MB | W: | H:

2.73 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -6,7 +6,7 @@
animation
class="center-popup"
>
<view class="box">
<view :class="['box',{wrap:wrap}]">
<view class="title flex">
<view class="text">{{title}}</view>
<view
......@@ -52,7 +52,8 @@ export default {
list: Array,
title: String,
tag: String,
id: [Number, String]
id: [Number, String],
wrap: Boolean
},
data () {
return {
......@@ -138,23 +139,6 @@ export default {
font-size: toRpx(28);
justify-content: center;
}
// &::before,
// &::after {
// content: '';
// position: absolute;
// left: 0;
// width: 100%;
// background: #edf5ff;
// filter: blur(toRpx(40));
// }
// &::before {
// top: 0;
// height: toRpx(62);
// }
// &::after {
// bottom: 0;
// height: toRpx(126);
// }
&-title {
font-weight: 500;
font-size: toRpx(40);
......@@ -175,4 +159,20 @@ export default {
}
}
}
.wrap {
height: auto;
.content {
flex-wrap: wrap;
gap: toRpx(56);
.item{
height: 388rpx;
&-title{
font-size: 36rpx;
}
&-describe{
font-size: 28rpx
}
}
}
}
</style>
\ No newline at end of file
......@@ -81,6 +81,7 @@
title="选择场景"
tag="当前场景"
:id="userInfo.sceneType"
wrap
/>
</view>
</template>
......@@ -162,20 +163,27 @@ export default {
title: '轻改',
describe: '太阳膜升级转化',
icon: 'icon-scene-1',
zoom: 2.91,
zoom: 1.8335,
},
0: {
title: '会员权益/升级',
describe: '权益延保',
icon: 'icon-scene-0',
zoom: 2.91,
zoom: 1.8335,
},
4:{
title: '二手车',
describe: '二手车业务',
icon: 'icon-scene-4',
zoom: 1.8335,
}
}
let { openSceneArr } = uni.$storage.get("userInfo")
let result = []
if (openSceneArr && openSceneArr.length) {
openSceneArr.map(e => {
if (e == 1 || e == 0) {
if (e == 1 || e == 0 || e == 4) {
result.push({
...sceneTypeObject[e],
id: e
......
......@@ -41,6 +41,12 @@ export default {
sceneType: 0,
actived: false
},
{
sceneName: '二手车',
sceneDesc: '二手车业务',
sceneType: 4,
actived: false
},
],
userInfo: {},
openSceneArr: []
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!