Commit 181c3f17 by chenwq

售后众筹详情页

1 parent c7d19ad2
/* packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxss */ /* packageOutput/pages/summary/components/outputCrowdfund/outputCrowdfund.wxss */
.crowdfund-layout { .crowdfund-layout {
margin: 20rpx 20rpx; // margin: 20rpx 20rpx;
padding-bottom: 136rpx; padding-bottom: 136rpx;
.box { .box {
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
&-title { &-title {
width: 70%; width: 70%;
color: #323436;
} }
&-link { &-link {
......
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
.flex {
display: flex;
}
.titleBox { .titleBox {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
...@@ -26,11 +30,13 @@ ...@@ -26,11 +30,13 @@
font-size: 28rpx; font-size: 28rpx;
color: #282829; color: #282829;
} }
.imgBox{
.imgBox {
position: absolute; position: absolute;
left: 40rpx; left: 40rpx;
// margin-right: auto; // margin-right: auto;
} }
.titleBox .imgBox image { .titleBox .imgBox image {
width: 40rpx; width: 40rpx;
height: 40rpx; height: 40rpx;
...@@ -67,17 +73,19 @@ ...@@ -67,17 +73,19 @@
} }
} }
.searchBar{ .searchBar {
height: 88rpx; height: 88rpx;
background-color: #fff; background-color: #fff;
} }
.conCom{
box-sizing: border-box; .conCom {
box-sizing: border-box;
height: calc(100%); height: calc(100%);
padding: 20rpx 20rpx 60rpx; padding: 20rpx 20rpx 60rpx;
// overflow: scroll; // overflow: scroll;
overflow: hidden; overflow: hidden;
} }
.container { .container {
box-sizing: border-box; box-sizing: border-box;
height: calc(100% - 80rpx); height: calc(100% - 80rpx);
...@@ -91,4 +99,108 @@ ...@@ -91,4 +99,108 @@
color: transparent; color: transparent;
} }
// 众筹产品
.activity-box {
width: 100%;
height: 64rpx;
.activity-item {
box-sizing: border-box;
flex-shrink: 0;
height: 64rpx;
line-height: 64rpx;
font-size: 24rpx;
padding: 0 16rpx;
margin-right: 16rpx;
border-radius: 8rpx;
background: #F7F7F7;
}
.activity-item:last-child {
margin-right: 0;
}
.activity-item.open {
color: #323436;
}
.activity-item.no-open {
color: #CCCED1;
}
.activity-item.active {
border-width: 0;
}
.activity-item.open.active {
background: #3666FE;
color: #FFFFFF;
}
.activity-item.no-open.active {
background: #3666fe1a;
color: #949494;
}
}
// 众筹内容
.activity-content {
position: relative;
width: 100%;
height: 100%;
.content-empty {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
.img-empty {
width: 512rpx;
height: 512rpx;
}
}
}
.btn-box {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 116rpx;
background-color: #FFFFFF;
}
.btn-box.shadow {
box-shadow: 0 -2rpx 2rpx 0 rgba(0, 0, 0, 0.08);
}
.btn {
width: calc(100% - 64rpx);
height: 88rpx;
line-height: 88rpx;
text-align: center;
font-size: 28rpx;
color: #FFFFFF;
margin: 14rpx 32rpx;
.btn-blue {
background: #3666FE;
border-radius: 8rpx;
}
.btn-disabled {
background: #CCCED1;
border-radius: 8rpx;
}
.btn-share {
background: #3666FE;
border-radius: 12rpx;
// animation: xing ease-in-out 2s infinite;
}
}
} }
\ No newline at end of file \ No newline at end of file
<!--packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml--> <!--packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml-->
<!-- <text>packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml</text> --> <!-- <text>packagesList/packageOutput/pages/openNewBusiness/openNewBusiness.wxml</text> -->
<view class="layout" > <view class="layout">
<view class="titleBox"> <view class="titleBox">
<view class="imgBox" bind:tap="back"> <view class="imgBox" bind:tap="back">
<image src="../../images/blackArrow.png" /> <image src="../../images/blackArrow.png" />
</view> </view>
<view class="navigation-title-text">广西弘泽汽车销售服务…</view> <view class="navigation-title-text">广西弘泽汽车销售服务…</view>
</view> </view>
<tab tab="{{tabList}}" itemWidth="{{'30%'}}" index="{{tabIndx}}" bindclick="changeTabIndx" class="tabContainer" /> <tab tab="{{tabList}}" itemWidth="{{'30%'}}" index="{{tabIndx}}" bindclick="changeTabIndx" class="tabContainer" />
<view class="searchBar"> <view class="searchBar">
<!-- 众筹 -->
</view> <scroll-view wx:if="{{tabIndx == 1}}" scroll-x="{{true}}" enable-flex class="activity-box" scroll-with-animation scroll-left="{{scrollLeft}}">
<view class="conCom" > <view class="flex">
<output-echart class="container" revenueData="{{revenueData}}" chartData="{{diagramList}}" tabIndex="{{tabIndx}}"></output-echart> <view class="activity-item {{ activityActive == index ? 'active' : ''}} {{item.openFlag == 1 ? 'open' : 'no-open'}}" wx:for="{{scenceList[0].productList}}" wx:key="index" bindtap="handleActChange" data-idx="{{index}}">
</view> {{item.productName}}
<!-- <output-echart></output-echart> </view>
</view>
</scroll-view>
</view>
<view class="conCom">
<view wx:if="{{tabIndx == 1}}" class="activity-content">
<output-crowdfund wx:if="{{isShowData}}" orderObj="{{activityList[activityActive].outputData}}" bind:handleZhanReport="handleZhanReport" bind:posterTrack="posterTrack" hasReport="{{!isMock.SC004}}" />
<view wx:else class="content-empty">
<image class="img-empty" src="{{IMGURL}}output/sun-empty-transparent.png?v={{img_version}}" />
</view>
<view wx:if="{{activityList.length && isShowData && activityList[activityActive].outputData.shareBtnIdx && activityList[activityActive].outputData.shareBtnIdx != -1}}" class="isFullSucreen btn-box shadow" bindtap="handleBtnShare">
<view class="btn">
<view class="btn-share">活动进行中,分享母链海报开展活动</view>
</view>
</view>
</view>
<output-echart wx:else class="container" revenueData="{{revenueData}}" chartData="{{diagramList}}" tabIndex="{{tabIndx}}"></output-echart>
</view>
<!-- <output-echart></output-echart>
<output-crowdfund></output-crowdfund> --> <output-crowdfund></output-crowdfund> -->
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -52,8 +52,9 @@ Component({ ...@@ -52,8 +52,9 @@ Component({
total: '19567' total: '19567'
}, },
merchantDataList: [{ merchantDataList: [{
merchantId: 111, merchantId: 44211638,
merchantName: '四川申蓉汇亚汽车贸易有限公司', merchantName: '四川申蓉汇亚汽车贸易有限公司',
productCodes: ['PC009'],
curMonthTotalData: { curMonthTotalData: {
scene1Total: '5026', scene1Total: '5026',
scene0Total: '11000', scene0Total: '11000',
...@@ -67,8 +68,9 @@ Component({ ...@@ -67,8 +68,9 @@ Component({
total: '0' total: '0'
} }
}, { }, {
merchantId: 222, merchantId: 44211638,
merchantName: '四川港宏新通汽车销售服务有限公司', merchantName: '四川港宏新通汽车销售服务有限公司',
productCodes: ['PC003', 'PC005', 'PC006', 'PC007', 'PC009'],
curMonthTotalData: { curMonthTotalData: {
scene1Total: '960', scene1Total: '960',
scene0Total: '0', scene0Total: '0',
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<view class="top-num-box"> <view class="top-num-box">
<view> <view>
<view class="num-blue ft-40">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.total || 0)}}</view> <view class="num-blue ft-40">¥{{filter.money_three_for_two_thousands(curInfo.curMonthTotalData.total || 0)}}</view>
<view class="total-txt">本月业绩产生至{{curInfo.merchantDataList.length}}家门店</view> <!-- <view class="total-txt">本月业绩产生至{{curInfo.merchantDataList.length}}家门店</view> -->
</view> </view>
<view> <view>
<view wx:if="{{sceneObj.name != 'membranes'}}" class="label m-b-12">业务产值 <view wx:if="{{sceneObj.name != 'membranes'}}" class="label m-b-12">业务产值
......
...@@ -48,6 +48,7 @@ Component({ ...@@ -48,6 +48,7 @@ Component({
handleClick(e) { handleClick(e) {
let { info } = e.currentTarget.dataset let { info } = e.currentTarget.dataset
console.log(info) console.log(info)
wx.$router.go('packagesList.newSummary', info)
}, },
switchChange() { switchChange() {
this.setData({ this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!