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 d229ccfa
authored
Oct 27, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
看产品样式修改
1 parent
59ef301c
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
185 additions
and
89 deletions
components/Tab/Tab.wxml
components/Tab/Tab.wxss
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.scss
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
packageOutput/pages/summary/summary.scss
packageOutput/pages/summary/summary.wxml
pages/tab/output/components/client/client.scss
pages/tab/output/components/client/client.wxml
pages/tab/output/components/merchant/mrechant.js
components/Tab/Tab.wxml
View file @
d229ccf
<wxs src="./Tab.wxs" module="filterUtils" />
<wxs src="./Tab.wxs" module="filterUtils" />
<block wx:if="{{openScroll}}">
<block wx:if="{{openScroll}}">
<scroll-view
<scroll-view class="tab-box {{align}} {{outClassName}}" style="{{productHeight ? 'height: 72rpx;' : ''}}" scroll-x enable-flex scroll-with-animation scroll-into-view="{{to}}" enhanced="{{true}}" show-scrollbar="{{false}}">
class="tab-box {{align}} {{outClassName}}"
style="{{productHeight ? 'height: 72rpx;' : ''}}"
scroll-x
enable-flex
scroll-with-animation
scroll-into-view="{{to}}"
enhanced="{{true}}"
show-scrollbar="{{false}}">
<block wx:for="{{tab}}" wx:key="index">
<block wx:for="{{tab}}" wx:key="index">
<view
<view class="tab {{index==count?'active':''}}" bindtap="click" data-count="{{index}}" id="to-{{index}}">
class="tab {{index==count?'active':''}}"
bindtap="click"
data-count="{{index}}"
id="to-{{index}}"
>
<view class="text" style="{{productHeight ? 'height: 60rpx;' : ''}}">{{item}}</view>
<view class="text" style="{{productHeight ? 'height: 60rpx;' : ''}}">{{item}}</view>
<!-- <view class="text" style="width:{{38 * item.length + 20}}rpx;">{{item}}</view> -->
<!-- <view class="text" style="width:{{38 * item.length + 20}}rpx;">{{item}}</view> -->
<view class="line" style="{{productHeight ? 'height: 4rpx;' : ''}}" />
<view class="line" style="{{productHeight ? 'height: 4rpx;' : ''}}" />
...
@@ -26,15 +13,8 @@
...
@@ -26,15 +13,8 @@
<block wx:else>
<block wx:else>
<view class="tab-box flex" style="{{tabHeight ? 'height: 60rpx;' : ''}}">
<view class="tab-box flex" style="{{tabHeight ? 'height: 60rpx;' : ''}}">
<block wx:for="{{tab}}" wx:key="index">
<block wx:for="{{tab}}" wx:key="index">
<view
<view class="tab {{index==count?'active':''}}" style="width:{{itemWidth}}; {{index == 0 ? 'margin-left: 32rpx;' : ''}}" bindtap="click" data-count="{{index}}">
class="tab {{index==count?'active':''}}"
<view class="text text-center" style="{{tabHeight ? 'height: 60rpx;' : ''}}">{{item}}</view>
style="width:{{itemWidth}}; {{index == 0 ? 'margin-left: 32rpx;' : ''}}"
bindtap="click"
data-count="{{index}}"
>
<view class="text text-center" style="{{tabHeight ? 'height: 60rpx;' : ''}}">
{{item}}
</view>
<view class="line" style="{{tabHeight ? 'margin-top: 6rpx;' : ''}}" />
<view class="line" style="{{tabHeight ? 'margin-top: 6rpx;' : ''}}" />
<!-- -->
<!-- -->
<view wx:if="{{filterUtils.hasRedpoint(unreadClueCount)}}" class="redpoint" />
<view wx:if="{{filterUtils.hasRedpoint(unreadClueCount)}}" class="redpoint" />
...
@@ -42,4 +22,3 @@
...
@@ -42,4 +22,3 @@
</block>
</block>
</view>
</view>
</block>
</block>
\ No newline at end of file
\ No newline at end of file
components/Tab/Tab.wxss
View file @
d229ccf
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
box-sizing: border-box;
box-sizing: border-box;
color: #A9A9A9;
color: #A9A9A9;
justify-content: center;
justify-content: center;
font-size: 28rpx;
}
}
.left .text {
.left .text {
...
@@ -71,9 +72,11 @@
...
@@ -71,9 +72,11 @@
height: 0;
height: 0;
color: transparent;
color: transparent;
}
}
.active .redpoint{
.active .redpoint {
display: none;
display: none;
}
}
.redpoint {
.redpoint {
position: absolute;
position: absolute;
top: 10px;
top: 10px;
...
@@ -85,19 +88,22 @@
...
@@ -85,19 +88,22 @@
background: #EB4E4E;
background: #EB4E4E;
border-radius: 50%;
border-radius: 50%;
}
}
/* 外部出进来的自定义样式 */
/* 外部出进来的自定义样式 */
.project-tab{
.project-tab
{
padding-left: 20px;
padding-left: 20px;
padding-right: 20px;
padding-right: 20px;
}
}
.project-tab .tab {
.project-tab .tab {
margin-right: 28px;
margin-right: 28px;
}
}
.project-tab .tab.active .text {
.project-tab .tab.active .text {
font-size: 28rpx;
font-size: 28rpx;
color: var(--btnColor);
color: var(--btnColor);
}
}
.project-tab .tab .line{
width:auto;
}
.project-tab .tab .line {
width: auto;
}
\ No newline at end of file
\ No newline at end of file
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.js
View file @
d229ccf
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
import
wxqrcode
from
'~/utils/lib/wxqrcode'
import
wxqrcode
from
'~/utils/lib/wxqrcode'
import
{
IMG_URL
}
from
'~/utils/constantData'
import
{
IMG_URL
}
from
'~/utils/constantData'
import
outputApi
from
'~/api/outputApi/index'
import
outputApi
from
'~/api/outputApi/index'
const
IMAGES
=
Object
.
freeze
({
download
:
`
${
IMG_URL
}
/output/download.webp`
})
Component
({
Component
({
/**
/**
* 组件的属性列表
* 组件的属性列表
...
@@ -9,11 +12,11 @@ Component({
...
@@ -9,11 +12,11 @@ Component({
properties
:
{
properties
:
{
orderObj
:
{
orderObj
:
{
type
:
Object
,
type
:
Object
,
value
:
()
=>
{
},
value
:
()
=>
{},
observer
(
n
)
{
observer
(
n
)
{
n
&&
this
.
dealStaffList
()
n
&&
this
.
dealStaffList
()
}
}
}
,
}
},
},
/**
/**
...
@@ -21,55 +24,72 @@ Component({
...
@@ -21,55 +24,72 @@ Component({
*/
*/
data
:
{
data
:
{
IMGURL
:
IMG_URL
,
IMGURL
:
IMG_URL
,
orderFormList
:
[{
IMAGES
,
orderFormList
:
[
{
label
:
'总场次'
,
label
:
'总场次'
,
name
:
'totalNum'
name
:
'totalNum'
},
{
},
{
label
:
'总订单'
,
label
:
'总订单'
,
name
:
'totalOrderCount'
name
:
'totalOrderCount'
},
{
},
{
label
:
'成交金额'
,
label
:
'成交金额'
,
name
:
'totalAmount'
,
name
:
'totalAmount'
,
prefix
:
'¥'
prefix
:
'¥'
}],
}
merchantFormList
:
[{
],
merchantFormList
:
[
{
label
:
'活动时间'
,
label
:
'活动时间'
,
name
:
'time'
name
:
'time'
},
{
},
{
label
:
'订单数'
,
label
:
'订单数'
,
name
:
'orderCount'
name
:
'orderCount'
},
{
},
{
label
:
'产值'
,
label
:
'产值'
,
name
:
'realAmount'
,
name
:
'realAmount'
,
className
:
'red'
,
className
:
'red'
,
prefix
:
'¥'
prefix
:
'¥'
},
{
},
{
label
:
'预估产值'
,
label
:
'预估产值'
,
name
:
'predictAmount'
,
name
:
'predictAmount'
,
prefix
:
'¥'
prefix
:
'¥'
}],
}
tableHeadList
:
[{
],
tableHeadList
:
[
{
label
:
''
,
label
:
''
,
width
:
''
,
width
:
''
,
width
:
'28rpx'
width
:
'28rpx'
},
{
},
{
label
:
'业务员'
,
label
:
'业务员'
,
name
:
'shareName'
,
name
:
'shareName'
},
{
},
{
label
:
'转发'
,
label
:
'转发'
,
name
:
'shareCount'
,
name
:
'shareCount'
},
{
},
{
label
:
'浏览'
,
label
:
'浏览'
,
name
:
'browseCount'
name
:
'browseCount'
},
{
},
{
label
:
'成交'
,
label
:
'成交'
,
name
:
'dealCount'
,
name
:
'dealCount'
,
width
:
'92rpx'
width
:
'92rpx'
},
{
},
{
label
:
'产值'
,
label
:
'产值'
,
name
:
'totalAmount'
,
name
:
'totalAmount'
,
prefix
:
'¥'
prefix
:
'¥'
}]
}
]
},
},
/**
/**
...
@@ -78,7 +98,8 @@ Component({
...
@@ -78,7 +98,8 @@ Component({
methods
:
{
methods
:
{
dealStaffList
()
{
dealStaffList
()
{
var
list
=
this
.
data
.
orderObj
var
list
=
this
.
data
.
orderObj
list
&&
list
.
activityList
?.
forEach
(
item
=>
{
list
&&
list
.
activityList
?.
forEach
(
item
=>
{
// 0-未开始;1-活动中;2-已结束
// 0-未开始;1-活动中;2-已结束
let
sliceNum
=
item
.
actStatus
==
2
?
3
:
10
let
sliceNum
=
item
.
actStatus
==
2
?
3
:
10
item
.
showStaffList
=
item
.
staffList
.
length
>
sliceNum
?
item
.
staffList
.
slice
(
0
,
sliceNum
)
:
item
.
staffList
item
.
showStaffList
=
item
.
staffList
.
length
>
sliceNum
?
item
.
staffList
.
slice
(
0
,
sliceNum
)
:
item
.
staffList
...
@@ -129,8 +150,7 @@ Component({
...
@@ -129,8 +150,7 @@ Component({
path
:
obj
.
path
path
:
obj
.
path
})
})
},
},
fail
()
{
fail
()
{}
}
})
})
})
})
},
},
...
@@ -143,7 +163,6 @@ Component({
...
@@ -143,7 +163,6 @@ Component({
posterItem
:
item
posterItem
:
item
})
})
})
})
}
}
}
}
})
})
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.scss
View file @
d229ccf
...
@@ -43,11 +43,14 @@
...
@@ -43,11 +43,14 @@
padding
:
0
32rpx
32rpx
;
padding
:
0
32rpx
32rpx
;
.head
{
.head
{
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
height
:
70rpx
;
// height: 70rpx;
line-height
:
70rpx
;
// line-height: 70rpx;
padding
:
16rpx
0
;
line-height
:
40rpx
;
font-size
:
28rpx
;
font-size
:
28rpx
;
font-weight
:
600
;
font-weight
:
600
;
border-bottom
:
1rpx
dashed
#CCCED1
;
border-bottom
:
1rpx
dashed
#CCCED1
;
...
@@ -60,7 +63,8 @@
...
@@ -60,7 +63,8 @@
&
-link
{
&
-link
{
font-size
:
24rpx
;
font-size
:
24rpx
;
color
:
#3666FE
;
color
:
#3666FE
;
line-height
:
32rpx
;
// line-height: 32rpx;
line-height
:
37rpx
;
}
}
}
}
...
@@ -206,3 +210,8 @@
...
@@ -206,3 +210,8 @@
}
}
}
}
}
}
.downloadIcon
{
width
:
40rpx
;
height
:
40rpx
;
}
\ No newline at end of file
\ No newline at end of file
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
View file @
d229ccf
<!--
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
-->
<!--
packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxml
-->
<view class="layout">
<view class="layout">
<view class="box order">
<view class="box order">
<view class="order-block" wx:for="{{orderFormList}}" wx:key="index">
<view class="order-block" wx:for="{{orderFormList}}" wx:key="index">
...
@@ -11,12 +11,21 @@
...
@@ -11,12 +11,21 @@
</view>
</view>
<view class="box merchant" wx:for="{{orderObj.activityList}}" wx:key="index">
<view class="box merchant" wx:for="{{orderObj.activityList}}" wx:key="index">
<view class="head">
<view class="head">
<view class="text-hide head-title">{{item.activityName}}</view>
<!-- text-hide -->
<view class="head-link" bindtap="download" data-item="{{item}}">下载海报</view>
<view class=" head-title">{{item.activityName}}</view>
<view class="head-link" bindtap="download" data-item="{{item}}">
<image src="{{IMAGES.download}}" class="downloadIcon" webp></image>
下载海报
</view>
<!-- <view class="head-link" bindtap="handleCopy" data-idx="{{index}}">复制活动链接</view> -->
<!-- <view class="head-link" bindtap="handleCopy" data-idx="{{index}}">复制活动链接</view> -->
</view>
</view>
<view class="content">
<view class="content">
<view class="content-row" wx:for="{{merchantFormList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view
class="content-row"
wx:for="{{merchantFormList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
<view class="content-label">{{subItem.label}}</view>
<view class="content-label">{{subItem.label}}</view>
<view class="content-txt {{subItem.className}}">
<view class="content-txt {{subItem.className}}">
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>
<text wx:if="{{subItem.prefix}}">{{subItem.prefix}}</text>
...
@@ -27,27 +36,57 @@
...
@@ -27,27 +36,57 @@
<view class="content-rank">
<view class="content-rank">
<view class="rank-head">
<view class="rank-head">
<view>员工转发数据排名</view>
<view>员工转发数据排名</view>
<view class="activity-status" wx:if="{{item.actStatus == 0}}">距离开始{{item.interDays}}天</view>
<view class="activity-status" wx:if="{{item.actStatus == 0}}">
<view class="activity-status" wx:if="{{item.actStatus == 1}}">已开始{{item.interDays}}天</view>
距离开始{{item.interDays}}天
<view class="activity-status" wx:if="{{item.actStatus == 2 && item.interDays < 8}}">已结束{{item.interDays}}天</view>
</view>
<view class="activity-status" wx:if="{{item.actStatus == 1}}">
已开始{{item.interDays}}天
</view>
<view class="activity-status" wx:if="{{item.actStatus == 2 && item.interDays < 8}}">
已结束{{item.interDays}}天
</view>
</view>
</view>
<view class="rank-table">
<view class="rank-table">
<view class="tr">
<view class="tr">
<view class="th" style="width: {{subItem.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">{{subItem.label}}</view>
<view
class="th"
style="width: {{subItem.width || ''}};"
wx:for="{{tableHeadList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
{{subItem.label}}
</view>
</view>
</view>
<view wx:if="{{item.showStaffList.length}}">
<view wx:if="{{item.showStaffList.length}}">
<block wx:for="{{item.showStaffList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<block
wx:for="{{item.showStaffList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
<view class="tr">
<view class="tr">
<view class="td" style="width: {{i.width || ''}};" wx:for="{{tableHeadList}}" wx:for-item="i" wx:for-index="j" wx:key="j">
<view
class="td"
style="width: {{i.width || ''}};"
wx:for="{{tableHeadList}}"
wx:for-item="i"
wx:for-index="j"
wx:key="j">
<view wx:if="{{j == 0}}">
<view wx:if="{{j == 0}}">
<image class="icon-rank" src="{{IMGURL}}output/rank0{{idx + 1}}.png?v={{img_version}}"></image
>
<image class="icon-rank" src="{{IMGURL}}output/rank0{{idx + 1}}.png?v={{img_version}}" /
>
</view>
</view>
<text wx:if="{{i.prefix}}">{{i.prefix}}</text>
<text wx:if="{{i.prefix}}">{{i.prefix}}</text>
{{subItem[i.name]}}
{{subItem[i.name]}}
</view>
</view>
</view>
</view>
</block>
</block>
<view wx:if="{{item.staffList.length}}" class="btn-more" bindtap="handleMore" data-idx="{{index}}">查看更多</view>
<view
wx:if="{{item.staffList.length}}"
class="btn-more"
bindtap="handleMore"
data-idx="{{index}}">
查看更多
</view>
</view>
</view>
<view class="tr-no-data" wx:else>暂无数据</view>
<view class="tr-no-data" wx:else>暂无数据</view>
</view>
</view>
...
@@ -60,7 +99,12 @@
...
@@ -60,7 +99,12 @@
{{item.suggestTxt}}
{{item.suggestTxt}}
</view>
</view>
<view class="suggest-block">
<view class="suggest-block">
<view class="suggest-step" wx:for="{{item.suggestList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view
class="suggest-step"
wx:for="{{item.suggestList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
<view class="step-label">建议{{idx + 1}}</view>
<view class="step-label">建议{{idx + 1}}</view>
<view class="step-txt">{{subItem}}</view>
<view class="step-txt">{{subItem}}</view>
</view>
</view>
...
@@ -69,4 +113,5 @@
...
@@ -69,4 +113,5 @@
</view>
</view>
</view>
</view>
</view>
</view>
<crowdfund-poster item="{{posterItem}}"/>
\ No newline at end of file
\ No newline at end of file
<crowdfund-poster item="{{posterItem}}" />
packageOutput/pages/summary/summary.scss
View file @
d229ccf
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
.title
{
.title
{
font-size
:
32rpx
;
font-size
:
32rpx
;
font-weight
:
600
;
font-weight
:
600
;
padding
:
12rpx
20rpx
12rpx
4
0rpx
;
padding
:
12rpx
20rpx
12rpx
2
0rpx
;
border-bottom
:
1rpx
dashed
#CCCED1
;
border-bottom
:
1rpx
dashed
#CCCED1
;
}
}
...
@@ -43,10 +43,10 @@
...
@@ -43,10 +43,10 @@
}
}
scroll-view
:
:-
webkit-scrollbar
{
scroll-view
:
:-
webkit-scrollbar
{
display
:none
;
display
:
none
;
width
:
0
;
width
:
0
;
height
:
0
;
height
:
0
;
color
:transparent
;
color
:
transparent
;
}
}
.activity-box
{
.activity-box
{
...
@@ -95,9 +95,16 @@
...
@@ -95,9 +95,16 @@
font-weight
:
400
;
font-weight
:
400
;
.select
{
.select
{
display
:
flex
;
align-items
:
center
;
font-size
:
24rpx
;
font-size
:
24rpx
;
color
:
#323436
;
color
:
#323436
;
.select-txt
{
line-height
:
40rpx
;
}
.icon-arrow
{
.icon-arrow
{
width
:
24rpx
;
width
:
24rpx
;
height
:
24rpx
;
height
:
24rpx
;
...
@@ -145,3 +152,7 @@
...
@@ -145,3 +152,7 @@
}
}
}
}
}
}
.summary
.layout
.p-l-20
{
padding
:
12rpx
40rpx
;
}
\ No newline at end of file
\ No newline at end of file
packageOutput/pages/summary/summary.wxml
View file @
d229ccf
<!--
packageOutput/pages/summary/summary.wxml
-->
<!--
packageOutput/pages/summary/summary.wxml
-->
<view class="summary">
<view class="summary">
<view class="layout {{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'bg-grey' : 'bg-white'}}">
<view class="layout {{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'bg-grey' : 'bg-white'}}">
<view class="{{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'bg-white' : 'p-rl-20'}}">
<view class="{{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'bg-white' : 'p-rl-20'}}">
<view class="{{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="{{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="title bg-white
">选产品/活动</view>
<view class="title bg-white
">选产品/活动</view>
<view class="scene-box bg-white">
<view class="scene-box bg-white">
<scene-box formData="{{sceneObj}}" scenePriceList="{{scenePriceList}}" sceneActive="{{sceneActive}}" bindhandleSceneChange="handleSceneChange"></scene-box>
<scene-box
formData="{{sceneObj}}"
scenePriceList="{{scenePriceList}}"
sceneActive="{{sceneActive}}"
bindhandleSceneChange="handleSceneChange" />
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 活动 -->
<!-- 活动 -->
<view class="p-rl-20 bg-white">
<view class="p-rl-20 bg-white">
<scroll-view scroll-x="{{true}}" enable-flex class="activity-box" scroll-with-animation scroll-left="{{scrollLeft}}">
<scroll-view
scroll-x="{{true}}"
enable-flex
class="activity-box"
scroll-with-animation
scroll-left="{{scrollLeft}}">
<view class="flex">
<view class="flex">
<view class="activity-item {{ activityActive == index ? 'active' : ''}} {{item.productStatus == 2 ? 'open' : 'no-open'}}" wx:for="{{activityList}}" wx:key="index" bindtap="handleActChange" data-idx="{{index}}">{{item.productName}}</view>
<view
class="activity-item {{ activityActive == index ? 'active' : ''}} {{item.productStatus == 2 ? 'open' : 'no-open'}}"
wx:for="{{activityList}}"
wx:key="index"
bindtap="handleActChange"
data-idx="{{index}}">
{{item.productName}}
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
<!-- 活动内容 -->
<!-- 活动内容 -->
<view class="activity-content {{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? '' : 'p-rl-20'}}">
<view class="activity-content {{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? '' : 'p-rl-20'}}">
<view wx:if="{{activityList[activityActive].productStatus == 2 && sceneActive != 1}}">
<view wx:if="{{activityList[activityActive].productStatus == 2 && sceneActive != 1}}">
<view class="activity-title title bg-white
{{ sceneActive == 4 ? 'no-border' : ''}}">
<view class="activity-title title bg-white p-l-20
{{ sceneActive == 4 ? 'no-border' : ''}}">
<view>看产值</view>
<view>看产值</view>
<view class="select" bindtap="handleSearch">
<view class="select" bindtap="handleSearch">
<text wx:if="{{sceneActive == 2 || sceneActive == 3}}" class="select-txt">{{baseData.timeList[sceneActive == 2 ? searchForm.scene2Idx : searchForm.scene3Idx]}}</text>
<view wx:if="{{sceneActive == 2 || sceneActive == 3}}" class="select-txt">
<text wx:if="{{sceneActive == 4}}" class="select-txt">{{baseData.actStatusList[searchForm.scene4Idx]}}</text>
{{baseData.timeList[sceneActive == 2 ? searchForm.scene2Idx : searchForm.scene3Idx]}}
<image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}"></image>
</view>
<view wx:if="{{sceneActive == 4}}" class="select-txt">
{{baseData.actStatusList[searchForm.scene4Idx]}}
</view>
<image class="icon-arrow" src="{{IMGURL}}output/arrow.png?v={{img_version}}" />
</view>
</view>
</view>
</view>
<output-transform wx:if="{{sceneActive == 2 || sceneActive == 3}}" formData="{{activityList[activityActive].orderTotal}}"></output-transform
>
<output-transform wx:if="{{sceneActive == 2 || sceneActive == 3}}" formData="{{activityList[activityActive].orderTotal}}" /
>
<output-crowdfund wx:if="{{sceneActive == 4}}" orderObj="{{activityList[activityActive].outputData}}"></output-crowdfund
>
<output-crowdfund wx:if="{{sceneActive == 4}}" orderObj="{{activityList[activityActive].outputData}}" /
>
</view>
</view>
<view wx:else class="content-empty bg-white">
<view wx:else class="content-empty bg-white">
<image class="img-empty" src="{{IMGURL}}output/sum-empty.png?v={{img_version}}" />
<image class="img-empty" src="{{IMGURL}}output/sum-empty.png?v={{img_version}}" />
...
@@ -45,3 +65,4 @@
...
@@ -45,3 +65,4 @@
<view class="btn-disabled">点击开通</view>
<view class="btn-disabled">点击开通</view>
</view>
</view>
</view>
</view>
pages/tab/output/components/client/client.scss
View file @
d229ccf
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
.head
{
.head
{
position
:
relative
;
position
:
relative
;
height
:
40rpx
;
//
height: 40rpx;
line-height
:
40rpx
;
line-height
:
40rpx
;
font-size
:
28rpx
;
font-size
:
28rpx
;
color
:
#323436
;
color
:
#323436
;
...
...
pages/tab/output/components/client/client.wxml
View file @
d229ccf
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
bindtap="handleJump"
bindtap="handleJump"
data-idx="{{index}}">
data-idx="{{index}}">
<view class="head flex-between">
<view class="head flex-between">
<view class="name
text-hide
">{{item.merchantName}}</view>
<view class="name ">{{item.merchantName}}</view>
<view class="price-txt ">¥{{item.totalMoney}}</view>
<view class="price-txt ">¥{{item.totalMoney}}</view>
</view>
</view>
<!-- 场景内容 -->
<!-- 场景内容 -->
...
...
pages/tab/output/components/merchant/mrechant.js
View file @
d229ccf
...
@@ -62,6 +62,12 @@ Component({
...
@@ -62,6 +62,12 @@ Component({
attached
()
{
attached
()
{
this
.
initTime
()
this
.
initTime
()
this
.
init
()
this
.
init
()
},
onPullDownRefresh
()
{
console
.
log
(
'refresh'
)
// setTimeout(function () {
// uni.stopPullDownRefresh()
// }, 1000)
}
}
},
},
...
...
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