【优化】收费二维码显示 签到按钮的修改

This commit is contained in:
fengachen
2021-11-26 11:51:41 +08:00
parent a1d42ee12f
commit b5f47b652e
4 changed files with 16 additions and 5 deletions
@@ -39,6 +39,8 @@ Page({
ordeCode: '', ordeCode: '',
// 缴费凭证的回显 // 缴费凭证的回显
payRecordImgSrc: '', payRecordImgSrc: '',
// 收费二维码的回显
paymentQrCodeSrc:'',
// 签到图片的回显 // 签到图片的回显
signImgSrc: '', signImgSrc: '',
userId: '', userId: '',
@@ -285,7 +287,8 @@ Page({
console.log(meetingInfo); console.log(meetingInfo);
const that = this const that = this
this.setData({ this.setData({
meetingInfo: meetingInfo meetingInfo: meetingInfo,
paymentQrCodeSrc:baseUrl + URL_CONFIG + 'sys/common/download/' + meetingInfo.paymentQrCode
}) })
wx.getStorage({ wx.getStorage({
@@ -47,6 +47,10 @@
<text>所属工作组</text> <text>所属工作组</text>
<text>{{meetingInfo.workingGroupName}}</text> <text>{{meetingInfo.workingGroupName}}</text>
</view> </view>
<view wx:if="{{meetingInfo.paymentQrCode}}" style="height:auto">
<text>收费二维码</text>
<image src="{{paymentQrCodeSrc}}" class="paymnet-qrcode-img"></image>
</view>
<view class="sign-in"> <view class="sign-in">
<text>会议内容</text> <text>会议内容</text>
<text class="sign-in-text">{{meetingInfo.meetingContent}}</text> <text class="sign-in-text">{{meetingInfo.meetingContent}}</text>
@@ -560,7 +564,7 @@
<!-- 线上缴费的只有在会议期间可以上传 --> <!-- 线上缴费的只有在会议期间可以上传 -->
<!-- 打包的不显示 确定按钮 --> <!-- 打包的不显示 确定按钮 -->
<view class="sign-up" <view class="sign-up"
wx:if="{{singInPersonInfo.checkResult !== 1 && meetingInfo.meetingStatus == 3 && singInPersonInfo.payMode &&singInPersonInfo.payMode !== 3 }}"> wx:if="{{singInPersonInfo.checkResult !== 1 && meetingInfo.meetingStatus == 3 && singInPersonInfo.payMode && singInPersonInfo.payMode !== 3 }}">
<text bindtap="editPayRecord">确定 </text> <text bindtap="editPayRecord">确定 </text>
</view> </view>
</view> </view>
@@ -166,6 +166,10 @@ page{
bottom: 0; bottom: 0;
margin: auto; margin: auto;
} }
.paymnet-qrcode-img {
width: 200rpx;
height: 200rpx;
}
.basic-info view.sign-in { .basic-info view.sign-in {
display: flex!important; display: flex!important;
+2 -2
View File
@@ -39,10 +39,10 @@
<image src="{{src}}" ></image> <image src="{{src}}" ></image>
</view> </view>
<view class="scanSign" wx:if="{{isSigned == '1' && !form.checkIn && form.canCheckIn == 1}}"> <view class="scanSign" wx:if="{{isSigned == '1' && !form.checkIn && form.canCheckIn == 1}}">
<text bindtap="sureSign">签到</text> <text bindtap="sureSign">提交</text>
</view> </view>
<view class="scanSign" wx:if="{{isSigned == '1' && !form.checkIn && form.canCheckIn == 0}}"> <view class="scanSign" wx:if="{{isSigned == '1' && !form.checkIn && form.canCheckIn == 0}}">
<text style="background-color: #bbb;">签到</text> <text style="background-color: #bbb;">提交</text>
</view> </view>
<!-- 已报名信息显示的内容end --> <!-- 已报名信息显示的内容end -->