Commit 1312b049 by luyt

fix:修复图片 视频问题

1 parent f4410bf1
...@@ -264,11 +264,13 @@ Page({ ...@@ -264,11 +264,13 @@ Page({
if (merchantId) { if (merchantId) {
this.setData({ this.setData({
isShow: false, isShow: false,
isShare:true,
}); });
} }
if (isShare) { if (isShare) {
this.setData({ this.setData({
isShow: false, isShow: false,
isShare:true,
}); });
} else { } else {
wx.showLoading({ wx.showLoading({
......
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
scroll-y="{{true}}" scroll-y="{{true}}"
> >
<block wx:for="{{tab}}" wx:key="index"> <block wx:for="{{tab}}" wx:key="index">
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}"> <view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" >
<!-- {{item}} --> <!-- {{item}} -->
<image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" /> <image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" wx:if="{{index!=5}}" />
<view class="video-bg" wx:if="{{index==5 && senceData[actNum].videoList.length}}"> <view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list"> <view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i"> <block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
<view class="video-item"> <view class="video-item">
...@@ -61,8 +61,9 @@ ...@@ -61,8 +61,9 @@
</view> </view>
</view> </view>
<!-- wx:if="{{ actNum != 2 && index == 4}}" --> <!-- wx:if="{{ actNum != 2 && index == 4}}" -->
<!-- wx:if="{{isShare && actNum != 2 && index == 4}}" -->
<button <button
wx:if="{{isShare && actNum != 2 && index == 4}}" wx:if="{{ isShare && actNum != 2 && index == 4}}"
class="more-btn" class="more-btn"
data-index="{{index}}" data-index="{{index}}"
bindgetphonenumber="getUserInfo" bindgetphonenumber="getUserInfo"
......
...@@ -52,107 +52,7 @@ Page({ ...@@ -52,107 +52,7 @@ Page({
tabIndx: 1, tabIndx: 1,
navList: ["看线索", "看产品"], navList: ["看线索", "看产品"],
typeList: ["联系电话", "意向客户", "线索来源", "重置"], typeList: ["联系电话", "意向客户", "线索来源", "重置"],
clueList: [ clueList: [],
{
source: "customer",
name: "张三1",
avatar: "",
like: true,
records: [
{
id: 0,
type: 0,
msg: "360全景导航",
time: "10-30 09:26:25",
},
{
id: 1,
type: 1,
msg: "360全景导航",
time: "10-30 09:26:25",
},
{
id: 3,
type: 0,
msg: "360全景导航",
time: "10-30 09:26:25",
},
{
id: 4,
type: 1,
msg: "360全景导航",
time: "10-30 09:26:25",
},
{
id: 5,
type: 0,
msg: "360全景导航",
time: "10-30 09:26:25",
},
{
id: 6,
type: 1,
msg: "360全景导航",
time: "10-30 09:26:25",
},
{
id: 7,
type: 1,
msg: "360全景导航",
time: "10-30 09:26:25",
},
],
phone: 15718122929,
isOpen: false,
getMoreFlag: false,
},
{
source: "customer",
name: "张三",
avatar: "",
like: false,
records: [
{
id: 0,
type: 0,
msg: "360全景导航",
time: "10-30 09:26:25",
},
{
id: 1,
type: 1,
msg: "360全景导航",
time: "10-30 09:26:25",
},
],
phone: 15718122925,
isOpen: true,
},
{
source: "shop",
name: "张三",
avatar: "",
like: false,
records: [
{
id: 0,
type: 0,
msg: "360全景导航",
time: "10-30 09:26:25",
shop: "嘀加鹏辉奥迪4S店",
},
{
id: 1,
type: 1,
msg: "360全景导航",
time: "10-30 09:26:25",
shop: "嘀加鹏辉奥迪4S店",
},
],
phone: 15718122925,
isOpen: true,
},
],
// 预估弹框 // 预估弹框
visible: false, visible: false,
isReset: false, isReset: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!