Commit 8af97323 by 张立顺

bug修复提交

2 parents 20de0017 96ab4754
......@@ -40,6 +40,9 @@ Component({
methods: {
handleClick() {
this.triggerEvent('click')
},
handleClose() {
this.triggerEvent('close')
}
}
})
......@@ -8,5 +8,5 @@
<view class="tipTxt">{{tipTxt}}</view>
<view class="btn" bindtap="handleClick">{{btnTxt}}</view>
</view>
<image src="{{IMG_URL}}index/close.png" class="close" bindtap="handleShow"></image>
<image src="{{IMG_URL}}index/close.png" class="close" bindtap="handleClose"></image>
</view>
\ No newline at end of file
......@@ -29,6 +29,7 @@
}
.content {
position: relative;
text-align: center;
box-sizing: border-box;
padding: 48rpx 76rpx;
......@@ -55,6 +56,8 @@
}
.btn {
position: absolute;
bottom: 80rpx;
width: 392rpx;
height: 96rpx;
line-height: 96rpx;
......
......@@ -251,6 +251,17 @@ Page({
this.handleSecondConfirm(params)
},
handleTipClose(e) {
let { type } = e.currentTarget.dataset
if (type == 'success') {
this.handlePreviewContract()
return true
}
this.setData({
isDialogShow: false
})
},
// 合同
handlePreviewContract() {
wx.$router.go('previewContract', {
......
......@@ -2,5 +2,5 @@
<view class="layout">
<first-step wx:if="{{step == 'first'}}" id="FirstStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleFirstConfirm" binddraft="handleSecondConfirm"></first-step>
<second-step wx:if="{{step == 'second'}}" id="SecondStep" serviceInfo="{{serviceInfo}}" dataAttrName="{{dataAttrName}}" bindconfirm="handleSecondConfirm" binddraft="handleSecondConfirm"></second-step>
<shade-tip isShow="{{isDialogShow}}" type="{{dialogObj.type}}" title="{{dialogObj.title}}" tipTxt="{{dialogObj.tipTxt}}" btnTxt="{{dialogObj.btnTxt}}" bindclick="handleTipClick" data-type="{{dialogObj.type}}"></shade-tip>
<shade-tip isShow="{{isDialogShow}}" type="{{dialogObj.type}}" title="{{dialogObj.title}}" tipTxt="{{dialogObj.tipTxt}}" btnTxt="{{dialogObj.btnTxt}}" bindclick="handleTipClick" bindclose="handleTipClose" data-type="{{dialogObj.type}}"></shade-tip>
</view>
\ No newline at end of file
......@@ -120,7 +120,7 @@ Component({
if (!arr) {
return arr
}
var attrList = ['equityPrice', 'quotedPrice', 'equityPrice']
var attrList = ['equityPrice', 'quotedPrice', 'quotedPriceUpdate']
arr.forEach(item => {
attrList.forEach(k => {
if (item[k]) {
......
......@@ -75,7 +75,7 @@
<!-- 0待报价、1待确认、2待支付、3已支付、-1战败 -->
<view wx:if="{{item.orderStatus == '3'}}">
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="header-price">¥ {{item.equityPrice}}</span>
<span class="header-price">¥ {{item.quotedPriceUpdate}}</span>
</view>
<view wx:else class="{{item.orderStatus == '-1' ? 'red-txt' : '' }}">
{{orderStatusObj[item.orderStatus] || '--'}}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!