Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1312b049
authored
Oct 20, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:修复图片 视频问题
1 parent
f4410bf1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
105 deletions
pages/checkProduct/checkProduct.js
pages/tab/index/components/product/product.wxml
pages/tab/index/index.js
pages/checkProduct/checkProduct.js
View file @
1312b04
...
@@ -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({
...
...
pages/tab/index/components/product/product.wxml
View file @
1312b04
...
@@ -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"
...
...
pages/tab/index/index.js
View file @
1312b04
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment