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 d5a74012
authored
Oct 19, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
活动
1 parent
9f28d9de
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
45 additions
and
6 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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
// 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
({
/**
/**
...
...
packageActivity/pages/taskDetail/taskDetail.scss
View file @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -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 @
d5a7401
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
}
}
.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 @
d5a7401
...
@@ -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