Commit 8f057879 by luyt

fix:看线索字段调整

1 parent 577c6309
...@@ -229,6 +229,7 @@ Page({ ...@@ -229,6 +229,7 @@ Page({
height: _this.data.imgHeight, height: _this.data.imgHeight,
}); });
let qrcodeH = actNum==3? 68: 100
let arr = [456, 222, 0, 496]; let arr = [456, 222, 0, 496];
let imgList = [ let imgList = [
{ {
...@@ -245,10 +246,10 @@ Page({ ...@@ -245,10 +246,10 @@ Page({
// y: erCodeHeight + 30, // y: erCodeHeight + 30,
// width: 120 * 2, // width: 120 * 2,
// height: 120 * 2, // height: 120 * 2,
x: _this.data.imgWidth - 64, x: _this.data.imgWidth - qrcodeH + 20,
y: _this.data.imgHeight - arr[actNum] - 64, y: _this.data.imgHeight - qrcodeH,
width: 64, width: qrcodeH -20,
height: 64, height: qrcodeH -20,
url: res.data, //二维码 url: res.data, //二维码
}, },
]; ];
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
bottom: 0; bottom: 0;
right: 0; right: 0;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
z-index: 1; z-index: 2;
.img-wrap { .img-wrap {
position: absolute; position: absolute;
top: 20%; top: 20%;
......
...@@ -236,6 +236,34 @@ var senceData = [ ...@@ -236,6 +236,34 @@ var senceData = [
} }
] ]
}, },
{
name: '新车洽谈场景',
img: 'scene_talk.png',
active: 'icon-car11',
playImg: 'img1',
src: `${IMG_URL}index/car1.png`,
// name: "新车洽谈场景",
msg: "1.0 新车权益销售",
"sceneCode":"SC001",
productList: [
{
img: 'product-img1',
proName: '数字无忧权益卡',
price: '100',
// profit: '92.4万',
profit: '1200000',
type: 'service',
productType: 'benefitCard',
path: 'equity',
sale:100 ,//销量
varType: 0,
flow:10000,
"productCode":"PC001",
"productName":"数字无忧权益卡",
"category":"服务类",
}
]
},
] ]
......
...@@ -43,7 +43,7 @@ Page({ ...@@ -43,7 +43,7 @@ Page({
], ],
apiData: [], apiData: [],
actNum: 3, //car 场景选择 actNum: 3, //car 场景选择
tabIndx: 0, tabIndx: 1,
navList: ['看线索', '看产品'], navList: ['看线索', '看产品'],
typeList: [ typeList: [
{ {
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<view class="line" hover-class="none" hover-stop-propagation="false" /> <view class="line" hover-class="none" hover-stop-propagation="false" />
<view <view
class="record" class="record"
wx:for="{{item.records}}" wx:for="{{item.visitList}}"
wx:key="id" wx:key="id"
wx:for-index="idx" wx:for-index="idx"
wx:for-item="itemName"> wx:for-item="itemName">
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</view> </view>
</view> </view>
<view class="shop-source" hover-class="none" hover-stop-propagation="false"> <view class="shop-source" hover-class="none" hover-stop-propagation="false">
所属门店:{{itemName.shopName}} 所属门店:{{itemName.merchantName}}
</view> </view>
</view> </view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!