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

tao

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