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 d67418b0
authored
Nov 09, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev_v3.1' of
http://192.168.3.233:8090/saas_plus/business-assistant
into dev_v3.1
2 parents
21b973bc
49a9f634
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
10 deletions
pages/checkProduct/checkProduct.js
pages/tab/index/components/CrowdfundPoster/CrowdfundPoster.js
pages/tab/index/components/indexClue/indexClue.js
pages/tab/index/components/indexClue/indexClue.wxml
pages/tab/index/components/product/product.js
pages/tab/index/index.js
pages/checkProduct/checkProduct.js
View file @
d67418b
...
@@ -55,6 +55,7 @@ Page({
...
@@ -55,6 +55,7 @@ Page({
videoTitle
:
''
,
videoTitle
:
''
,
//下载海报授权
//下载海报授权
showAuth
:
false
,
showAuth
:
false
,
img_version
:
0.1
},
},
observers
:
{
observers
:
{
actNum
:
function
(
actNum
)
{
actNum
:
function
(
actNum
)
{
...
...
pages/tab/index/components/CrowdfundPoster/CrowdfundPoster.js
View file @
d67418b
...
@@ -7,11 +7,12 @@ Component({
...
@@ -7,11 +7,12 @@ Component({
*/
*/
properties
:
{
properties
:
{
item
:
{
item
:
{
type
:
Object
,
// type: Object,
type
:
null
,
observer
(
n
)
{
observer
(
n
)
{
console
.
log
(
n
,
'================='
)
console
.
log
(
n
,
'================='
)
this
.
getImageInfo
(
n
)
this
.
getImageInfo
(
n
)
}
}
,
}
}
},
},
...
...
pages/tab/index/components/indexClue/indexClue.js
View file @
d67418b
...
@@ -220,7 +220,7 @@ Component({
...
@@ -220,7 +220,7 @@ Component({
let
{
code
,
data
}
=
await
pageApi
(
params
);
let
{
code
,
data
}
=
await
pageApi
(
params
);
if
(
code
==
0
)
{
if
(
code
==
0
)
{
let
arr
=
data
.
list
.
map
((
item
)
=>
{
let
arr
=
data
.
list
.
map
((
item
)
=>
{
if
(
item
.
visitList
.
length
>
5
)
{
if
(
item
.
visitList
&&
item
.
visitList
.
length
>
5
)
{
item
.
getMoreFlag
=
true
;
item
.
getMoreFlag
=
true
;
}
}
return
item
;
return
item
;
...
@@ -334,9 +334,9 @@ Component({
...
@@ -334,9 +334,9 @@ Component({
// wx.$router.go('apply',1235)
// wx.$router.go('apply',1235)
},
},
getMore
(
e
)
{
getMore
(
e
)
{
console
.
log
(
"显示更多数据"
);
//
console.log("显示更多数据");
let
index
=
e
.
currentTarget
.
dataset
.
outidx
;
let
index
=
e
.
currentTarget
.
dataset
.
outidx
;
console
.
log
(
"index: "
,
index
);
//
console.log("index: ", index);
let
completeStatus
=
`clueList[
${
index
}
].getMoreFlag`
;
let
completeStatus
=
`clueList[
${
index
}
].getMoreFlag`
;
this
.
setData
({
this
.
setData
({
[
completeStatus
]:
!
this
.
data
.
clueList
[
index
].
getMoreFlag
,
[
completeStatus
]:
!
this
.
data
.
clueList
[
index
].
getMoreFlag
,
...
...
pages/tab/index/components/indexClue/indexClue.wxml
View file @
d67418b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<view
<view
class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}"
class="type {{item['selectIndex']!=2&&index != 3?'active':'' }}"
wx:for="{{typeList}}"
wx:for="{{typeList}}"
wx:key="
*this
"
wx:key="
index
"
data-index="{{index}}"
data-index="{{index}}"
style="{{index == 0 ? 'margin-left: 0px;' : ''}}"
style="{{index == 0 ? 'margin-left: 0px;' : ''}}"
bindtap="filterTypeFn">
bindtap="filterTypeFn">
...
@@ -219,7 +219,7 @@
...
@@ -219,7 +219,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view class="bottomTips" wx:if="{{clueList.length>
8
}}">到底啦!</view>
<view class="bottomTips" wx:if="{{clueList.length>
10
}}">到底啦!</view>
<view class="noDataImg" wx:if="{{!clueList.length}}">
<view class="noDataImg" wx:if="{{!clueList.length}}">
<image webp src="{{IMG_URL}}index/trEmpty.png " />
<image webp src="{{IMG_URL}}index/trEmpty.png " />
<text class="noDataTxt">没有符合条件的线索~</text>
<text class="noDataTxt">没有符合条件的线索~</text>
...
...
pages/tab/index/components/product/product.js
View file @
d67418b
...
@@ -33,7 +33,11 @@ Component({
...
@@ -33,7 +33,11 @@ Component({
// value: false,
// value: false,
},
},
phone
:
String
,
phone
:
String
,
img_version
:
String
//图片版本号
img_version
:
{
type
:
null
,
// optionalTypes: [Number],
value
:
0.1
}
//图片版本号
},
},
/**
/**
...
...
pages/tab/index/index.js
View file @
d67418b
...
@@ -48,7 +48,10 @@ Page({
...
@@ -48,7 +48,10 @@ Page({
isShow
:
false
,
isShow
:
false
,
// 视频播放地址
// 视频播放地址
videoSrc
:
''
,
videoSrc
:
''
,
videoTitle
:
''
videoTitle
:
''
,
headerHeight
:
0
,
unreadClueCount
:
0
,
img_version
:
0.1
},
},
//引导图
//引导图
...
@@ -402,7 +405,7 @@ Page({
...
@@ -402,7 +405,7 @@ Page({
title
:
tipObj
.
title
,
title
:
tipObj
.
title
,
duration
:
1000
,
duration
:
1000
,
compelete
:
function
()
{
compelete
:
function
()
{
console
.
log
(
"toast框隐藏之后,会调用该函数"
);
//
console.log("toast框隐藏之后,会调用该函数");
//例如:跳转页面wx.navigateTo({ url: 'xxx' });
//例如:跳转页面wx.navigateTo({ url: 'xxx' });
},
},
});
});
...
...
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