Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-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 7645b4cf
authored
Oct 19, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zhangxw_dev_3.0' into 'v3.0'
Zhangxw dev 3.0 See merge request
!34
2 parents
c6e2f5d0
35329746
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
53 additions
and
12 deletions
common.wxss
packageActivity/pages/shareTaskDetail/shareTaskDetail.scss
packageActivity/pages/taskDetail/taskDetail.js
packageActivity/pages/taskDetail/taskDetail.scss
packageActivity/pages/warReport/warReport.scss
pages/tab/index/components/activeBox/activeBox.js
pages/tab/index/components/activeBox/activeBox.wxml
pages/tab/index/components/activityDiagnosis/activityDiagnosis.js
pages/tab/index/components/activityDiagnosis/activityDiagnosis.wxml
pages/tab/index/index.js
pages/tab/index/index.json
pages/tab/index/index.scss
pages/tab/index/index.wxml
common.wxss
View file @
7645b4c
...
@@ -83,6 +83,22 @@
...
@@ -83,6 +83,22 @@
color: #C1C2C3;
color: #C1C2C3;
}
}
.list-nothing.to-bottom::after{
content: '- 到 底 了 -'
}
.list-loading{
width: 100%;
padding: 8rpx 0 30rpx;
text-align: center;
font-size: 28rpx;
color: #C1C2C3;
}
.list-loading::after{
content: '正在加载中'
}
.list-nothing .icon {
.list-nothing .icon {
width: 320rpx;
width: 320rpx;
height: 320rpx;
height: 320rpx;
...
...
packageActivity/pages/shareTaskDetail/shareTaskDetail.scss
View file @
7645b4c
...
@@ -90,6 +90,7 @@
...
@@ -90,6 +90,7 @@
padding
:
24rpx
32rpx
;
padding
:
24rpx
32rpx
;
margin
:
20rpx
;
margin
:
20rpx
;
height
:
128rpx
;
height
:
128rpx
;
margin-bottom
:
30rpx
;
image
{
image
{
width
:
128rpx
;
width
:
128rpx
;
height
:
128rpx
;
height
:
128rpx
;
...
...
packageActivity/pages/taskDetail/taskDetail.js
View file @
7645b4c
// packageActivity/pages/taskDetail/taskDetail.js
// packageActivity/pages/taskDetail/taskDetail.js
import
index_const
from
"~/pages/tab/index/index_const"
import
index_const
from
"~/pages/tab/index/index_const"
import
ActivityApi
from
'~/api/activityApi/index'
import
ActivityApi
from
'~/api/activityApi/index'
import
{
IMG_URL
}
from
"~/utils/constantData"
Page
({
Page
({
/**
/**
...
@@ -27,13 +26,15 @@ Page({
...
@@ -27,13 +26,15 @@ Page({
userStorage
userStorage
})
})
if
(
Object
.
keys
(
options
).
length
&&
options
.
missionId
)
{
if
(
Object
.
keys
(
options
).
length
&&
options
.
missionId
)
{
console
.
log
(
options
)
id
=
options
.
missionId
id
=
options
.
missionId
this
.
getActiveTaskDetail
(
id
)
this
.
getActiveTaskDetail
(
id
)
}
else
{
wx
.
$router
.
getData
(
e
=>
{
id
=
e
.
missionId
this
.
getActiveTaskDetail
(
id
)
})
}
}
wx
.
$router
.
getData
(
missionId
=>
{
id
=
missionId
this
.
getActiveTaskDetail
(
id
)
})
this
.
sharePath
=
`packageActivity/pages/shareTaskDetail/shareTaskDetail?missionId=
${
id
}
`
this
.
sharePath
=
`packageActivity/pages/shareTaskDetail/shareTaskDetail?missionId=
${
id
}
`
},
},
...
...
packageActivity/pages/taskDetail/taskDetail.scss
View file @
7645b4c
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
border-radius
:
12px
;
border-radius
:
12px
;
padding
:
24rpx
32rpx
;
padding
:
24rpx
32rpx
;
height
:
128rpx
;
height
:
128rpx
;
margin-bottom
:
30rpx
;
image
{
image
{
width
:
128rpx
;
width
:
128rpx
;
height
:
128rpx
;
height
:
128rpx
;
...
...
packageActivity/pages/warReport/warReport.scss
View file @
7645b4c
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
display
:
flex
;
display
:
flex
;
flex-flow
:
column
;
flex-flow
:
column
;
background
:
#fff
;
background
:
#fff
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
.time-box
{
.time-box
{
width
:
100%
;
width
:
100%
;
...
...
pages/tab/index/components/activeBox/activeBox.js
View file @
7645b4c
...
@@ -8,12 +8,18 @@ Component({
...
@@ -8,12 +8,18 @@ Component({
/**
/**
* 组件的属性列表
* 组件的属性列表
*/
*/
options
:
{
addGlobalClass
:
true
},
behaviors
:
[
imgUrlMixin
],
behaviors
:
[
imgUrlMixin
],
properties
:
{
properties
:
{
activeList
:
{
activeList
:
{
type
:
Array
,
type
:
Array
,
observer
(
newVal
)
{
observer
(
newVal
)
{
}
}
},
nothing
:
{
type
:
Boolean
}
}
},
},
...
@@ -106,7 +112,7 @@ Component({
...
@@ -106,7 +112,7 @@ Component({
filterJumpUrl
(
id
)
{
filterJumpUrl
(
id
)
{
const
userStorage
=
wx
.
$storage
.
get
(
'userInfo'
)
const
userStorage
=
wx
.
$storage
.
get
(
'userInfo'
)
return
`
${
domain
}
/scrm-wx-merchant-activity/#/
?id=
${
id
}
&merchantId=
${
userStorage
.
merchantId
}
&shareStaffUuid=
${
userStorage
.
uuid
}
&shareStaffName=
${
this
.
toUnicode
(
userStorage
.
name
)}
&shareStaffType=2&sharedTime=
${
Date
.
now
()}
`
return
`
http://scrm.dev.glsx.com.cn/dj-scrm-wx-work-main-lwk/#/crowdfunding
?id=
${
id
}
&merchantId=
${
userStorage
.
merchantId
}
&shareStaffUuid=
${
userStorage
.
uuid
}
&shareStaffName=
${
this
.
toUnicode
(
userStorage
.
name
)}
&shareStaffType=2&sharedTime=
${
Date
.
now
()}
`
},
},
// 分享活动(复制链接)
// 分享活动(复制链接)
...
...
pages/tab/index/components/activeBox/activeBox.wxml
View file @
7645b4c
...
@@ -33,4 +33,7 @@
...
@@ -33,4 +33,7 @@
</view>
</view>
</view>
</view>
</block>
</block>
<block wx:if="{{nothing}}">
<view class="list-nothing to-bottom"></view>
</block>
</view>
</view>
pages/tab/index/components/activityDiagnosis/activityDiagnosis.js
View file @
7645b4c
...
@@ -8,11 +8,17 @@ Component({
...
@@ -8,11 +8,17 @@ Component({
/**
/**
* 组件的属性列表
* 组件的属性列表
*/
*/
options
:
{
addGlobalClass
:
true
},
behaviors
:
[
imgUrlMixin
],
behaviors
:
[
imgUrlMixin
],
properties
:
{
properties
:
{
activityList
:
{
activityList
:
{
type
:
Array
,
type
:
Array
,
value
:
[]
value
:
[]
},
nothing
:
{
type
:
Boolean
}
}
},
},
...
...
pages/tab/index/components/activityDiagnosis/activityDiagnosis.wxml
View file @
7645b4c
...
@@ -43,4 +43,7 @@
...
@@ -43,4 +43,7 @@
</view>
</view>
</view>
</view>
</block>
</block>
<block wx:if="{{nothing}}">
<view class="list-nothing to-bottom"></view>
</block>
</view>
</view>
pages/tab/index/index.js
View file @
7645b4c
...
@@ -161,6 +161,10 @@ Page({
...
@@ -161,6 +161,10 @@ Page({
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
:
function
()
{
onPullDownRefresh
:
function
()
{
this
.
setData
({
activePageNum
:
1
,
pageNum
:
1
})
this
.
getData
(
true
)
this
.
getData
(
true
)
},
},
...
...
pages/tab/index/index.json
View file @
7645b4c
...
@@ -4,6 +4,6 @@
...
@@ -4,6 +4,6 @@
"activity-diagnosis"
:
"./components/activityDiagnosis/activityDiagnosis"
"activity-diagnosis"
:
"./components/activityDiagnosis/activityDiagnosis"
},
},
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"onReachBottomDistance"
:
10
,
"onReachBottomDistance"
:
10
0
,
"enablePullDownRefresh"
:
true
"enablePullDownRefresh"
:
true
}
}
pages/tab/index/index.scss
View file @
7645b4c
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
}
}
.layout
{
.layout
{
position
:
relative
;
position
:
relative
;
.bg-box
{
.bg-box
{
width
:
100%
;
width
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
}
}
}
}
.content
{
.content
{
position
:
relative
;
position
:
relative
;
overflow
:
hidden
;
.tab-box
{
.tab-box
{
display
:
flex
;
display
:
flex
;
height
:
112rpx
;
height
:
112rpx
;
...
...
pages/tab/index/index.wxml
View file @
7645b4c
...
@@ -24,13 +24,13 @@
...
@@ -24,13 +24,13 @@
<!-- 活动中 -->
<!-- 活动中 -->
<view class="active-content" hidden="{{tabIndex != 0}}">
<view class="active-content" hidden="{{tabIndex != 0}}">
<block>
<block>
<active-box activeList="{{activeList}}"></active-box>
<active-box activeList="{{activeList}}"
nothing="{{nothing}}"
></active-box>
</block>
</block>
</view>
</view>
<!-- 活动诊断 -->
<!-- 活动诊断 -->
<view class="activity-diag-content" hidden="{{tabIndex != 1}}">
<view class="activity-diag-content" hidden="{{tabIndex != 1}}">
<block>
<block>
<activity-diagnosis activityList="{{activityEndList}}"></activity-diagnosis>
<activity-diagnosis activityList="{{activityEndList}}"
nothing="{{nothing}}"
></activity-diagnosis>
</block>
</block>
</view>
</view>
</view>
</view>
...
...
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