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 7ff65c98
authored
Oct 27, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://192.168.3.233:8090/saas_plus/business-assistant
into develop
2 parents
1dc2f2d2
0940f0bb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
26 deletions
components/SceneBox/SceneBox.wxss
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.scss
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
packageOutput/pages/summary/summary.js
components/SceneBox/SceneBox.wxss
View file @
7ff65c9
...
...
@@ -66,7 +66,7 @@
.active::after {
position: absolute;
left: 50%;
bottom: -1
8
rpx;
bottom: -1
7
rpx;
display: block;
content: "";
width: 16rpx;
...
...
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.scss
View file @
7ff65c9
...
...
@@ -62,6 +62,12 @@
color
:
#3666FE
;
line-height
:
32rpx
;
}
.icon-download
{
width
:
18px
;
height
:
18px
;
vertical-align
:
middle
;
}
}
.content
{
...
...
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
View file @
7ff65c9
...
...
@@ -12,7 +12,10 @@
<view class="box merchant" wx:for="{{orderObj.activityList}}" wx:key="index">
<view class="head">
<view class="text-hide head-title">{{item.activityName}}</view>
<view class="head-link" bindtap="download" data-item="{{item}}">下载海报</view>
<view class="head-link" bindtap="download" data-item="{{item}}">
<image class="icon-download" src="{{IMGURL}}output/icon-download.png?v={{img_version}}"></image>
下载活动海报
</view>
<!-- <view class="head-link" bindtap="handleCopy" data-idx="{{index}}">复制活动链接</view> -->
</view>
<view class="content">
...
...
@@ -69,4 +72,4 @@
</view>
</view>
</view>
<crowdfund-poster item="{{posterItem}}"/>
\ No newline at end of file
<crowdfund-poster item="{{posterItem}}" />
\ No newline at end of file
packageOutput/pages/summary/summary.js
View file @
7ff65c9
...
...
@@ -16,7 +16,7 @@ Page({
scene3
:
null
,
scene4
:
null
},
sceneActive
:
1
,
sceneActive
:
4
,
scenePriceList
:
[{
total
:
0
},
{
...
...
@@ -115,9 +115,6 @@ Page({
sceneCode
:
sceneCode
}
outputApi
.
getSceneProStatus
(
params
).
then
(
res
=>
{
// var proList = res.find(item => item.sceneCode == sceneCode)
// 删---
// proList.productList[1].productStatus = 2
this
.
setData
({
[
'sceneActivityObj.scene1'
]:
res
[
0
].
productList
,
[
'sceneActivityObj.scene2'
]:
res
[
1
].
productList
,
...
...
@@ -195,11 +192,11 @@ Page({
}
// 总金额
this
.
setData
({
[
'scenePriceList['
+
(
isFirst
?
1
:
(
this
.
data
.
sceneActive
-
1
))
+
'].total'
]:
curTotal
[
'scenePriceList['
+
(
isFirst
?
1
:
(
this
.
data
.
sceneActive
-
1
))
+
'].total'
]:
curTotal
.
toFixed
(
2
)
})
if
(
isChangeOtherTotal
)
{
this
.
setData
({
[
'scenePriceList['
+
(
isFirst
?
2
:
(
otherScene
-
1
))
+
'].total'
]:
otherTotal
[
'scenePriceList['
+
(
isFirst
?
2
:
(
otherScene
-
1
))
+
'].total'
]:
otherTotal
.
toFixed
(
2
)
})
}
!
isFirst
&&
this
.
setCurActivity
()
...
...
@@ -245,11 +242,6 @@ Page({
if
(
curItem
)
{
curItem
.
totalNum
=
curItem
.
activityList
.
length
curItem
.
activityList
.
forEach
(
k
=>
{
// 删---
// var list = k.staffList
// for (var i = 0; i < 10; i++) {
// k.staffList = k.staffList.concat(list)
// }
// 时间
k
.
time
=
k
.
startTime
.
slice
(
5
).
replace
(
/-/g
,
'/'
)
+
'~'
+
k
.
endTime
.
slice
(
5
).
replace
(
/-/g
,
'/'
)
// 0-未开始;1-活动中;2-已结束
...
...
@@ -295,7 +287,7 @@ Page({
})
}
this
.
setData
({
[
'scenePriceList[3].total'
]:
total
[
'scenePriceList[3].total'
]:
total
.
toFixed
(
2
)
})
!
isFirst
&&
this
.
setCurActivity
()
}).
finally
(()
=>
{
...
...
@@ -308,17 +300,6 @@ Page({
*/
onLoad
(
options
)
{
// 删---
// this.setData({
// merchantInfo: {
// pMerchantId: 44209845,
// merchantId: 44209390,
// merchantName: '????'
// },
// sceneCodeList: ['SC001', 'SC002', 'SC003', 'SC004']
// })
// this.getSceneProStatus(this.data.sceneCodeList[this.data.sceneActive - 1])
wx
.
$router
.
getData
(
obj
=>
{
var
scene
=
{}
Object
.
keys
(
this
.
data
.
sceneObj
).
forEach
(
item
=>
{
...
...
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