Commit 28574328 by luyt

feat:看产品调整

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