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 @@ ...@@ -6,7 +6,7 @@
animation animation
class="center-popup" class="center-popup"
> >
<view class="box"> <view :class="['box',{wrap:wrap}]">
<view class="title flex"> <view class="title flex">
<view class="text">{{title}}</view> <view class="text">{{title}}</view>
<view <view
...@@ -52,7 +52,8 @@ export default { ...@@ -52,7 +52,8 @@ export default {
list: Array, list: Array,
title: String, title: String,
tag: String, tag: String,
id: [Number, String] id: [Number, String],
wrap: Boolean
}, },
data () { data () {
return { return {
...@@ -138,23 +139,6 @@ export default { ...@@ -138,23 +139,6 @@ export default {
font-size: toRpx(28); font-size: toRpx(28);
justify-content: center; 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 { &-title {
font-weight: 500; font-weight: 500;
font-size: toRpx(40); font-size: toRpx(40);
...@@ -175,4 +159,20 @@ export default { ...@@ -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> </style>
\ No newline at end of file \ No newline at end of file
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
title="选择场景" title="选择场景"
tag="当前场景" tag="当前场景"
:id="userInfo.sceneType" :id="userInfo.sceneType"
wrap
/> />
</view> </view>
</template> </template>
...@@ -162,20 +163,27 @@ export default { ...@@ -162,20 +163,27 @@ export default {
title: '轻改', title: '轻改',
describe: '太阳膜升级转化', describe: '太阳膜升级转化',
icon: 'icon-scene-1', icon: 'icon-scene-1',
zoom: 2.91, zoom: 1.8335,
}, },
0: { 0: {
title: '会员权益/升级', title: '会员权益/升级',
describe: '权益延保', describe: '权益延保',
icon: 'icon-scene-0', 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 { openSceneArr } = uni.$storage.get("userInfo")
let result = [] let result = []
if (openSceneArr && openSceneArr.length) { if (openSceneArr && openSceneArr.length) {
openSceneArr.map(e => { openSceneArr.map(e => {
if (e == 1 || e == 0) { if (e == 1 || e == 0 || e == 4) {
result.push({ result.push({
...sceneTypeObject[e], ...sceneTypeObject[e],
id: e id: e
......
...@@ -41,6 +41,12 @@ export default { ...@@ -41,6 +41,12 @@ export default {
sceneType: 0, sceneType: 0,
actived: false actived: false
}, },
{
sceneName: '二手车',
sceneDesc: '二手车业务',
sceneType: 4,
actived: false
},
], ],
userInfo: {}, userInfo: {},
openSceneArr: [] openSceneArr: []
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!