Commit 28574328 by luyt

feat:看产品调整

1 parent 2e97881d
......@@ -42,11 +42,13 @@
.flex .tab .text {
padding: 0;
}
.tab + .tab{
margin-left: 20rpx;
}
.tab.active .text {
/* font-weight: 500; */
font-weight: 600;
font-size: 44rpx;
font-size: 38rpx;
transition: all .25s;
color: #2C2C2C;
font-family: PingFangSC-S0pxibold;
......
......@@ -159,9 +159,6 @@ Component({
}
wx.$router.go("/packagesList/applyProd/pages/apply",obj);
},
openBus() {
wx.$router.go("/packagesList/apply/pages/apply");
},
onClickHide() {
this.setData({ overlayShow: false });
},
......
......@@ -274,7 +274,7 @@
position: absolute;
// top: calc(88rpx * 2);
left: 0;
.bus-pro{
.prod{
width: 116rpx;
height: 88rpx;
line-height: 88rpx;
......
......@@ -49,10 +49,10 @@
</van-tree-select>
<!-- +产品 +业务 -->
<view class="expand-business" style="top:{{88 * items.length}}rpx" >
<view class="bus-pro" bindtap="openBus">
<!-- <view class="bus-pro" bindtap="openBus">
+业务
</view>
<view class="bus-pro" bindtap="openPro" wx:if="{{tabActive == 3}}">
</view> -->
<view class="prod" bindtap="openPro" wx:if="{{tabActive == 3}}">
+产品
</view>
</view>
......
......@@ -13,12 +13,20 @@ var senceData = [
tabname:'车损升级',
banner:`${IMG_URL}index/banner/banner0.png`,
scrollText:'车损升级详情',
//场景详情图片
sceneImgs:[
`${IMG_URL}index/scene/scene00.png`,
`${IMG_URL}index/scene/scene01.png`,
`${IMG_URL}index/scene/scene02.png`,
`${IMG_URL}index/scene/scene03.png`,
],
// 产品详情图片
productImgs:[
`${IMG_URL}index/productImgs/product00.webp`,
`${IMG_URL}index/productImgs/product01.webp`,
`${IMG_URL}index/productImgs/product02.webp`,
`${IMG_URL}index/productImgs/product03.webp`,
],
productList: [
{
img: 'product-img1',
......@@ -112,6 +120,12 @@ var senceData = [
`${IMG_URL}index/scene/scene12.png`,
`${IMG_URL}index/scene/scene13.png`,
],
productImgs:[
`${IMG_URL}index/productImgs/product00.webp`,
`${IMG_URL}index/productImgs/product01.webp`,
`${IMG_URL}index/productImgs/product02.webp`,
`${IMG_URL}index/productImgs/product03.webp`,
],
productList: [
{
img: 'product-img2',
......@@ -181,6 +195,12 @@ var senceData = [
`${IMG_URL}index/scene/scene22.png`,
`${IMG_URL}index/scene/scene23.png`,
],
productImgs:[
`${IMG_URL}index/productImgs/product00.webp`,
`${IMG_URL}index/productImgs/product01.webp`,
`${IMG_URL}index/productImgs/product02.webp`,
`${IMG_URL}index/productImgs/product03.webp`,
],
productList: [
{
img: 'product-img3',
......@@ -258,6 +278,12 @@ var senceData = [
`${IMG_URL}index/scene/scene32.png`,
`${IMG_URL}index/scene/scene33.png`,
],
productImgs:[
`${IMG_URL}index/productImgs/product00.webp`,
`${IMG_URL}index/productImgs/product01.webp`,
`${IMG_URL}index/productImgs/product02.webp`,
`${IMG_URL}index/productImgs/product03.webp`,
],
productList: [
{
img: 'product-img5',
......
......@@ -132,6 +132,10 @@ Page({
}
})
},
// 申请业务、
openBus() {
wx.$router.go("/packagesList/apply/pages/apply");
},
// 预估弹框
showCalculate() {
wx.$router.go("measure");
......
......@@ -114,12 +114,20 @@ page {
.chat {
position: fixed;
right: -4px;
top: 60%;
top: 52%;
width: 64px;
height: 64px;
border-radius: 50%;
z-index: 2;
}
.bus-pro{
position: fixed;
right: -4px;
top: 60%;
width: 128rpx;
height: 143rpx;
z-index: 2;
}
.output-value {
position: fixed;
......
......@@ -54,6 +54,12 @@
class="chat"
src="{{IMG_URL}}index/contact.png"
bindtap="goConsult" />
<!-- 申请业务 -->
<image
webp
class="bus-pro"
src="{{IMG_URL}}index/bus-pro.png"
bindtap="openBus" />
<!-- 预估产值 -->
<image
webp
......
......@@ -101,89 +101,107 @@ page {
text-align: center;
line-height: 96rpx;
}
// 流程图一
.img-item00 {
width: 100%;
height: 1110rpx;
}
.img-item01 {
width: 100%;
height: 1290rpx;
}
.img-item02 {
width: 100%;
height: 596rpx;
}
.img-item03 {
width: 100%;
height: 744rpx;
}
// 流程图二
.img-item10 {
width: 100%;
height: 2168rpx;
}
.img-item11 {
.img-item0 {
width: 100%;
height: 1290rpx;
height: 2564rpx;
}
.img-item12 {
.img-item1 {
width: 100%;
height: 596rpx;
height: 1812rpx;
}
.img-item13 {
.img-item2 {
width: 100%;
height: 830rpx;
height: 620rpx;
}
// 流程图三
.img-item20 {
.img-item3 {
width: 100%;
height: 1110rpx;
height: 2156rpx;
}
.img-item21 {
width: 100%;
height: 1290rpx;
}
.img-item22 {
width: 100%;
height: 596rpx;
}
.img-item23 {
width: 100%;
height: 984rpx;
}
// 流程图四
.img-item30 {
width: 100%;
height: 678rpx;
}
.img-item31 {
width: 100%;
height: 1266rpx;
}
.img-item32 {
width: 100%;
height: 1398rpx;
}
.img-item33 {
width: 100%;
height: 830rpx;
}
// 流程图一
// .img-item00 {
// width: 100%;
// height: 1110rpx;
// }
// .img-item01 {
// width: 100%;
// height: 1290rpx;
// }
// .img-item02 {
// width: 100%;
// height: 596rpx;
// }
// .img-item03 {
// width: 100%;
// height: 744rpx;
// }
// // 流程图二
// .img-item10 {
// width: 100%;
// height: 2168rpx;
// }
// .img-item11 {
// width: 100%;
// height: 1290rpx;
// }
// .img-item12 {
// width: 100%;
// height: 596rpx;
// }
// .img-item13 {
// width: 100%;
// height: 830rpx;
// }
// // 流程图三
// .img-item20 {
// width: 100%;
// height: 1110rpx;
// }
// .img-item21 {
// width: 100%;
// height: 1290rpx;
// }
// .img-item22 {
// width: 100%;
// height: 596rpx;
// }
// .img-item23 {
// width: 100%;
// height: 984rpx;
// }
// // 流程图四
// .img-item30 {
// width: 100%;
// height: 678rpx;
// }
// .img-item31 {
// width: 100%;
// height: 1266rpx;
// }
// .img-item32 {
// width: 100%;
// height: 1398rpx;
// }
// .img-item33 {
// width: 100%;
// height: 830rpx;
// }
}
}
/* 用户授权 */
......
......@@ -15,8 +15,8 @@
</van-tabs>
</view>
<view class="prod-detail">
<block wx:for="{{senceData[actNum].sceneImgs}}" wx:key="index">
<image wx:if="{{ index < 3}}" webp class="img-item img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}">
<block wx:for="{{senceData[actNum].productImgs}}" wx:key="index">
<image wx:if="{{ index < 3}}" webp class="img-item img-item{{index}} img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}">
<block wx:if="{{ index == 0}}">
<!-- && phone -->
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
......@@ -39,7 +39,7 @@
</button>
</block>
</image>
<image wx:if="{{ index >= 3 && !showLeftFlag}}" webp class="img-item img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}">
<image wx:if="{{ index >= 3 && !showLeftFlag}}" webp class="img-item img-item{{index}} img-item{{actNum}}{{index}}" src="{{item}}?v={{img_version}}">
</image>
</block>
<view class="occupancy" wx:if="{{!isShare}}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!