|
@@ -32,9 +32,6 @@
|
|
|
<view class="distinguish-section-conten">
|
|
|
<view class="section-top">
|
|
|
<view class="title">
|
|
|
- <view class="list-title-tip">
|
|
|
- <text class="badges">{{ receiptInfo.receiptType | formatReceiptType }}款</text>
|
|
|
- </view>
|
|
|
<view class="title-text">收款信息</view>
|
|
|
</view>
|
|
|
<view class="button" @click="toNoSms('/pages/collection/list')">
|
|
@@ -42,6 +39,11 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="section-top-item">
|
|
|
+ <view class="list-title-t">
|
|
|
+ <view class="list-title-tip">
|
|
|
+ <text class="badges">{{ receiptInfo.receiptType | formatReceiptType }}款</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="list-title-b">
|
|
|
<view class="list-title-b-item ">
|
|
|
收款金额:<text class="text">¥{{ receiptInfo.receiptAmount | NumFormat }}</text>
|
|
@@ -203,22 +205,23 @@ export default {
|
|
|
return stateColor
|
|
|
},
|
|
|
formatReceiptType(value) {
|
|
|
- //订单状态文字和颜色
|
|
|
- var HtmlStateText = '',
|
|
|
- stateTextObject = {
|
|
|
- 1: '订单',
|
|
|
- 2: '非订单',
|
|
|
- 3: '返佣',
|
|
|
- 4: '订单款或者非订单款',
|
|
|
- 5: '供应商退款'
|
|
|
- }
|
|
|
- Object.keys(stateTextObject).forEach(function(key) {
|
|
|
- if (key == value) {
|
|
|
- HtmlStateText = stateTextObject[key]
|
|
|
- }
|
|
|
- })
|
|
|
- return HtmlStateText
|
|
|
- },
|
|
|
+ //订单状态文字和颜色
|
|
|
+ var HtmlStateText = '',
|
|
|
+ stateTextObject = {
|
|
|
+ 1: '订单款',
|
|
|
+ 2: '非订单款',
|
|
|
+ 3: '返佣款',
|
|
|
+ 4: '订单款或者非订单款',
|
|
|
+ 5: '供应商退款'
|
|
|
+ }
|
|
|
+ Object.keys(stateTextObject).forEach(function(key) {
|
|
|
+ if (key == value) {
|
|
|
+ HtmlStateText = stateTextObject[key]
|
|
|
+ }
|
|
|
+ })
|
|
|
+ return HtmlStateText
|
|
|
+ },
|
|
|
+
|
|
|
},
|
|
|
onPageScroll(e) {
|
|
|
//实时获取到滚动的值
|
|
@@ -242,9 +245,9 @@ export default {
|
|
|
// console.log('来自页面内转发按钮')
|
|
|
}
|
|
|
return {
|
|
|
- title: `【${receipt.receiptStatusText}(${receiptTypeText}款)】收款金额${receipt.receiptAmount.toFixed(2)}元,收款时间:${receipt.receiptDate}`,
|
|
|
+ title: `【${receipt.receiptStatusText}(${receiptTypeText})】收款金额${receipt.receiptAmount.toFixed(2)}元,收款时间:${receipt.receiptDate}`,
|
|
|
path: `/pages/login/login-share?id=${receipt.id}`,
|
|
|
- imageUrl: 'https://static.caimei365.com/app/img/icon/icon-shareCoupon@2x.png'
|
|
|
+ imageUrl: 'https://static.caimei365.com/app/crm/image/icon-share@2x.jpg'
|
|
|
}
|
|
|
},
|
|
|
onShow() {}
|
|
@@ -345,22 +348,6 @@ page {
|
|
|
float: left;
|
|
|
height: 66rpx;
|
|
|
padding: 13rpx 0;
|
|
|
- .list-title-tip {
|
|
|
- float: left;
|
|
|
- margin-right: 15rpx;
|
|
|
- .badges {
|
|
|
- display: block;
|
|
|
- float: left;
|
|
|
- padding: 0 15rpx;
|
|
|
- height: 40rpx;
|
|
|
- line-height: 40rpx;
|
|
|
- border-radius: 4rpx;
|
|
|
- background: $btn-confirm;
|
|
|
- font-size: $font-size-24;
|
|
|
- text-align: center;
|
|
|
- color: #ffffff;
|
|
|
- }
|
|
|
- }
|
|
|
.title-text {
|
|
|
float: left;
|
|
|
line-height: 40rpx;
|
|
@@ -368,9 +355,9 @@ page {
|
|
|
color: #333333;
|
|
|
text-align: left;
|
|
|
font-weight: 600;
|
|
|
+ font-size: $font-size-30;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
.button {
|
|
|
float: right;
|
|
|
box-sizing: border-box;
|
|
@@ -390,6 +377,28 @@ page {
|
|
|
margin-top: 10rpx;
|
|
|
position: relative;
|
|
|
float: left;
|
|
|
+ .list-title-t {
|
|
|
+ width: 100%;
|
|
|
+ height: 50rpx;
|
|
|
+ float: left;
|
|
|
+ font-size: $font-size-28;
|
|
|
+ padding-bottom: 10rpx;
|
|
|
+ .list-title-tip {
|
|
|
+ float: left;
|
|
|
+ .badges {
|
|
|
+ display: block;
|
|
|
+ float: left;
|
|
|
+ padding: 0 15rpx;
|
|
|
+ height: 40rpx;
|
|
|
+ line-height: 40rpx;
|
|
|
+ border-radius: 4rpx;
|
|
|
+ background: $btn-confirm;
|
|
|
+ font-size: $font-size-24;
|
|
|
+ text-align: center;
|
|
|
+ color: #ffffff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
.list-title-b {
|
|
|
width: 100%;
|
|
|
height: 44rpx;
|