提交 0407eb9a authored 作者: 彭涛's avatar 彭涛

tao

上级 e75b1d6b
...@@ -351,9 +351,10 @@ ...@@ -351,9 +351,10 @@
<!-- 电费通知单 --> <!-- 电费通知单 -->
<view class="img_common_img"> <view class="img_common_img">
<view class="title"><text>*</text>电费通知单</view> <view class="title"><text>*</text>电费通知单</view>
<view class="uploadImg"> <view class="uploadImg_box" @click="chooseImg(4)">
<image v-if="electricityBill" :src="electricityBill" mode=""></image> <!-- <image v-if="electricityBill" :src="electricityBill" mode="" ></image> -->
<image v-else src="../../static/images/upload_bg.png" mode=""></image> <image v-for="(item,index) in imgList" :key="index" :src="item" mode=""></image>
<image v-if="!hide" src="../../static/images/upload_bg.png" mode=""></image>
</view> </view>
<view class="border_bottom"></view> <view class="border_bottom"></view>
</view> </view>
...@@ -524,7 +525,7 @@ ...@@ -524,7 +525,7 @@
if (that.imgList.length > 5) { if (that.imgList.length > 5) {
that.hide = true that.hide = true
} }
that.electricityBill = url // that.electricityBill = url
} }
}, },
fail: res => { fail: res => {
...@@ -608,7 +609,7 @@ ...@@ -608,7 +609,7 @@
this.peakElectricity = res.data.peakElectricity this.peakElectricity = res.data.peakElectricity
this.peaceElectricity = res.data.peaceElectricity this.peaceElectricity = res.data.peaceElectricity
this.valleyElectricity = res.data.valleyElectricity this.valleyElectricity = res.data.valleyElectricity
this.electricityBill = res.data.electricityBill this.imgList = res.data.electricityBill.split(',')
}) })
}, },
// 编辑之后再提交 // 编辑之后再提交
...@@ -762,7 +763,7 @@ ...@@ -762,7 +763,7 @@
return false return false
} }
// 电费通知单 // 电费通知单
if (this.electricityBill == '') { if (this.imgList.length == '') {
uni.showToast({ uni.showToast({
title: '请电费通知单', title: '请电费通知单',
icon: 'none' icon: 'none'
...@@ -792,7 +793,7 @@ ...@@ -792,7 +793,7 @@
peakElectricity: this.peakElectricity, peakElectricity: this.peakElectricity,
peaceElectricity: this.peaceElectricity, peaceElectricity: this.peaceElectricity,
valleyElectricity: this.valleyElectricity, valleyElectricity: this.valleyElectricity,
electricityBill: this.electricityBill, electricityBill: this.imgList.join(','),
mailbox: this.email, mailbox: this.email,
legalPersonName: this.entrustName, legalPersonName: this.entrustName,
detailedAddress: this.address detailedAddress: this.address
...@@ -1037,7 +1038,7 @@ ...@@ -1037,7 +1038,7 @@
background-color: #fff; background-color: #fff;
border-bottom: 1px solid #f4f5f7; border-bottom: 1px solid #f4f5f7;
.title { .title {
margin-bottom: 32rpx; margin-bottom: 32rpx;
font-size: 34rpx; font-size: 34rpx;
font-weight: 400; font-weight: 400;
......
...@@ -38,13 +38,14 @@ ...@@ -38,13 +38,14 @@
<view class="item_content"> <view class="item_content">
<view class="item_content_top" @click="linkToGroupInfo(item.id)"> <view class="item_content_top" @click="linkToGroupInfo(item.id)">
<view class="img"> <view class="img">
<text class="text_red" v-if="tabIndex == 2">
{{item.type == 4 ?'固定价差':'分时价差'}}
</text>
<image src="../../static/images/index/group.png" mode=""></image> <image src="../../static/images/index/group.png" mode=""></image>
</view> </view>
<view class="top_text"> <view class="top_text">
<text class="text_one"> <text class="text_one">
<text class="text_red" v-if="tabIndex == 2"> {{item.name}}
{{item.type == 4 ?'固定价差':'分时价差'}}
</text>{{item.name}}
</text> </text>
<text v-if="item.type == 1"> <text v-if="item.type == 1">
最高月竞分成比例:<text class="text_item">{{item.maxShareRatio}}%</text> 最高月竞分成比例:<text class="text_item">{{item.maxShareRatio}}%</text>
...@@ -56,7 +57,8 @@ ...@@ -56,7 +57,8 @@
<text v-if="item.intermediateProfitCeiling&&rangli&&(item.type==4||item.type==5)"> <text v-if="item.intermediateProfitCeiling&&rangli&&(item.type==4||item.type==5)">
居间让利上限: <text class="text_item">{{item.intermediateProfitCeiling}}</text> 居间让利上限: <text class="text_item">{{item.intermediateProfitCeiling}}</text>
</text> </text>
<view v-if="!item.intermediateProfitCeiling&&rangli&&(item.type==4||item.type==5)" style="height: 38rpx;"></view> <view v-if="!item.intermediateProfitCeiling&&rangli&&(item.type==4||item.type==5)"
style="height: 38rpx;"></view>
<view v-if="!rangli&&(item.type==4||item.type==5)" style="height: 38rpx;"></view> <view v-if="!rangli&&(item.type==4||item.type==5)" style="height: 38rpx;"></view>
<text style="margin-bottom: 0;">{{item.year}} <text style="margin-bottom: 0;">{{item.year}}
<text v-if="!remainder2[index]||remainder2[index] == 0" class="count">拼团已结束</text> <text v-if="!remainder2[index]||remainder2[index] == 0" class="count">拼团已结束</text>
...@@ -563,9 +565,22 @@ ...@@ -563,9 +565,22 @@
padding: 24rpx 0; padding: 24rpx 0;
.img { .img {
position: relative;
width: 110rpx; width: 110rpx;
height: 110rpx; height: 110rpx;
margin-right: 32rpx; margin-right: 32rpx;
.text_red {
position: absolute;
left: 0;
top: 0;
padding: 0 4rpx;
margin-right: 16rpx;
display: inline;
border: 2rpx solid #ec6045;
border-radius: 8rpx;
color: #ec6045;
}
} }
.top_text { .top_text {
...@@ -578,14 +593,7 @@ ...@@ -578,14 +593,7 @@
font-weight: 500; font-weight: 500;
color: #333; color: #333;
.text_red {
padding: 0 4rpx;
margin-right: 16rpx;
display: inline;
border: 2rpx solid #ec6045;
border-radius: 8rpx;
color: #ec6045;
}
} }
text { text {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论