소스 검색

commit -m 增加个人网银支付

zhengjinyi 4 년 전
부모
커밋
e132c6283c
3개의 변경된 파일20개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 2
      common/css/iconfont.scss
  2. 10 2
      pages/user/order/order-pay.vue
  3. 10 7
      pages/user/order/order-payment.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 2
common/css/iconfont.scss


+ 10 - 2
pages/user/order/order-pay.vue

@@ -163,7 +163,12 @@
 					case '1':
 						this.payWay = 'UNIONPAY'
 						this.btnColor="#034582"
-						this.buttonText = '生成支付链接'
+						this.buttonText = '生成企业网银支付链接'
+						break;
+					case '2':
+						this.payWay = 'UNIONPAY'
+						this.btnColor="#034582"
+						this.buttonText = '生成个人网银支付链接'
 						break;
 				}
 				this.GetPayOrderInfo()
@@ -189,6 +194,9 @@
 					case '1':
 						this.BuildCatenate()
 						break;
+					case '2':
+						this.BuildCatenate()
+						break;
 				}
 			},
 			BuildCatenate(){
@@ -200,7 +208,7 @@
 					this.$util.msg("企业网银支付的金额必须大于¥10.00",2000)
 					return
 				}
-				this.PayService.PayOrderPayLink({unpaidAmount:this.payAmount,orderId:this.orderID}).then(response =>{
+				this.PayService.PayOrderPayLink({unpaidAmount:this.payAmount,orderId:this.orderID,payType:this.payType}).then(response =>{
 					this.payHttpUrl = response.data
 					this.isShowTip = true
 				})

+ 10 - 7
pages/user/order/order-payment.vue

@@ -68,7 +68,7 @@
 									<view class="item-texts"><text>微信支付</text></view>
 								</view>
 								<view class="item-r">
-									<text class="iconfont icon-gougou"></text>
+									<text class="iconfont icon-duigou"></text>
 								</view>
 							</view>
 							<view  class="pay-item" :class="{ 'current' : tabCurrentIndex === 1}"   @click="tabClick(1)" >
@@ -80,7 +80,7 @@
 									</view>
 								</view>
 								<view class="item-r">
-									<text class="iconfont icon-gougou"></text>
+									<text class="iconfont icon-duigou"></text>
 								</view>
 							</view>
 							<view  class="pay-item" :class="{ 'current' : tabCurrentIndex === 2}"   @click="tabClick(2)" >
@@ -92,7 +92,7 @@
 									</view>
 								</view>
 								<view class="item-r">
-									<text class="iconfont icon-gougou"></text>
+									<text class="iconfont icon-duigou"></text>
 								</view>
 							</view>
 						</view>
@@ -272,6 +272,9 @@
 						case 1:
 							this.$api.navigateTo(`/pages/user/order/order-pay?type=1&orderID=${this.orderID}`)
 							break;
+						case 2:
+							this.$api.navigateTo(`/pages/user/order/order-pay?type=2&orderID=${this.orderID}`)
+							break;
 					}
 				}
 			},
@@ -414,7 +417,7 @@
 						&.current{
 							border-color:$color-system;
 							.item-r{
-								.icon-gougou{
+								.icon-duigou{
 									color: $color-system;
 								}
 							}
@@ -459,10 +462,10 @@
 						}
 						.item-r{
 							flex: 2;
-							text-align: right;
+							text-align: center;
 							line-height: 96rpx;
-							.icon-gougou{
-								font-size: 66rpx;
+							.icon-duigou{
+								font-size: 60rpx;
 								color: #FFFFFF;
 							}
 						}

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.