Commit c3e2ffb0 by zhangquan

分享修改

1 parent 3ba6ca09
...@@ -57,6 +57,12 @@ Page({ ...@@ -57,6 +57,12 @@ Page({
}, },
setRouteParams(obj){ setRouteParams(obj){
const {actNum, activeNavIdx, fromLocal} = 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({ this.setData({
actNum, actNum,
activeNavIdx, activeNavIdx,
...@@ -177,12 +183,6 @@ Page({ ...@@ -177,12 +183,6 @@ Page({
wx.nextTick(()=>{ wx.nextTick(()=>{
let { actNum, activeNavIdx, scene } = this.options 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('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){ if(scene){
let qrcodeQuery = decodeURIComponent(scene) let qrcodeQuery = decodeURIComponent(scene)
let id = qrcodeQuery.split('=').pop() let id = qrcodeQuery.split('=').pop()
......
...@@ -153,7 +153,6 @@ ...@@ -153,7 +153,6 @@
} }
.project-img { .project-img {
height: 1200rpx;
white-space: nowrap; white-space: nowrap;
.img-item { .img-item {
...@@ -305,8 +304,7 @@ ...@@ -305,8 +304,7 @@
} }
.video-item video { .video-item video {
width: 100%; width: 100%;
height: 588rpx; height: 590rpx;
border: 1rpx dashed #AFB0B2;
} }
.video-item:nth-child(even) { .video-item:nth-child(even) {
margin-left: 22rpx; margin-left: 22rpx;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text> <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 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>
<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> </text>
</view> </view>
......
...@@ -27,17 +27,19 @@ page{ ...@@ -27,17 +27,19 @@ page{
position: fixed; position: fixed;
right: 0; right: 0;
top: 900rpx; top: 900rpx;
width: 80px;
height: 80px;
border-radius: 50%;
z-index: 1;
}
.applyAct{
top: 750rpx;
width: 64px; width: 64px;
height: 64px; height: 64px;
border-radius: 50%;
z-index: 1;
right: 15rpx; right: 15rpx;
} }
.chat{
top: 650rpx;
width: 80px;
height: 80px;
right: 0;
}
/* 测算 */ /* 测算 */
.calculate { .calculate {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!