Commit c3e2ffb0 by zhangquan

分享修改

1 parent 3ba6ca09
......@@ -57,6 +57,12 @@ Page({
},
setRouteParams(obj){
const {actNum, activeNavIdx, fromLocal} = obj
let name = wx.$storage.get('userInfo') ? wx.$storage.get('userInfo').name : ''
this.shareTitle = `${name}给你分享一个${senceData[actNum].productList[activeNavIdx].proName}~`
this.shareQuery = `actNum=${actNum}&activeNavIdx=${activeNavIdx}`
wx.setNavigationBarTitle({
title: senceData[actNum].name || '特色产品'
})
this.setData({
actNum,
activeNavIdx,
......@@ -177,12 +183,6 @@ Page({
wx.nextTick(()=>{
let { actNum, activeNavIdx, scene } = this.options
// let name = wx.$storage.get('staff_name') || (wx.$storage.get('userInfo') ? wx.$storage.get('userInfo').name : '')
let name = wx.$storage.get('userInfo') ? wx.$storage.get('userInfo').name : ''
this.shareTitle = `${name}给你分享一个${senceData[actNum].productList[activeNavIdx].proName}~`
this.shareQuery = `actNum=${actNum}&activeNavIdx=${activeNavIdx}`
wx.setNavigationBarTitle({
title: senceData[actNum].name || '特色产品'
})
if(scene){
let qrcodeQuery = decodeURIComponent(scene)
let id = qrcodeQuery.split('=').pop()
......
......@@ -153,9 +153,8 @@
}
.project-img {
height: 1200rpx;
white-space: nowrap;
.img-item {
position: relative;
width: 100%;
......@@ -305,8 +304,7 @@
}
.video-item video {
width: 100%;
height: 588rpx;
border: 1rpx dashed #AFB0B2;
height: 590rpx;
}
.video-item:nth-child(even) {
margin-left: 22rpx;
......
......@@ -16,7 +16,7 @@
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
<text class="sale" decode="{{true}}">{{senceData[actNum]['productList'][activeNavIdx].varType == 1 ? '三年售后存量数':'新车销量'}}&nbsp;<text class="sale-num">{{senceData[actNum]['productList'][activeNavIdx].changeSale || senceData[actNum]['productList'][activeNavIdx].sale}}</text>
</text>
<text class="earnings" decode="{{true}}">预估收益&nbsp;<text class="earnings-num">{{senceData[actNum]['productList'][activeNavIdx].profit}}</text>
<text class="earnings" decode="{{true}}">预估收益&nbsp;<text class="earnings-num"><text style="font-size: 24rpx; margin-right: 4rpx;">¥</text>{{senceData[actNum]['productList'][activeNavIdx].profit}}</text>
</text>
</view>
......
......@@ -27,17 +27,19 @@ page{
position: fixed;
right: 0;
top: 900rpx;
width: 80px;
height: 80px;
border-radius: 50%;
z-index: 1;
}
.applyAct{
top: 750rpx;
width: 64px;
height: 64px;
border-radius: 50%;
z-index: 1;
right: 15rpx;
}
.chat{
top: 650rpx;
width: 80px;
height: 80px;
right: 0;
}
/* 测算 */
.calculate {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!