浏览代码

样式修改

1004749546@qq.com 4 年之前
父节点
当前提交
3aa0b1eb49
共有 4 个文件被更改,包括 8 次插入2 次删除
  1. 2 0
      pages/order/order.vue
  2. 3 1
      pages/order/orderDetail.vue
  3. 2 0
      pages/toOrder/index.vue
  4. 1 1
      pages/toOrder/payFinish.vue

+ 2 - 0
pages/order/order.vue

@@ -345,9 +345,11 @@
 				this.password = ''
 				this.showLeavePsw = false
 				this.showInputPsw = false
+				this.focus = false
 			},
 			// 继续支付
 			payAgain () {
+				this.focus = false
 				this.showLeavePsw = false
 				this.showInputPsw = true
 				setTimeout(()=>{

+ 3 - 1
pages/order/orderDetail.vue

@@ -71,7 +71,7 @@
 			</u-cell-group>
 		</view>
 		<view v-if="orderInfo.orderState=='WAIT_PAY'" class="footer">
-			<u-button @click="toPay" type="error">去支付</u-button>
+			<u-button @click="toPay" type="success">去支付</u-button>
 		</view>
 		<!-- 提示用户设置支付密码 -->
 		<u-modal v-model="showSetPswModal" 
@@ -209,9 +209,11 @@
 				this.password = ''
 				this.showLeavePsw = false
 				this.showInputPsw = false
+				this.focus = false
 			},
 			// 继续支付
 			payAgain () {
+				this.focus = false
 				this.showLeavePsw = false
 				this.showInputPsw = true
 				setTimeout(()=>{

+ 2 - 0
pages/toOrder/index.vue

@@ -194,6 +194,7 @@
 			canclePay() {
 				this.showLeavePsw = false
 				this.showInputPsw = false
+				this.focus = false
 				this.password = ''
 				// 跳转到订单列表
 				uni.redirectTo({
@@ -202,6 +203,7 @@
 			},
 			// 继续支付
 			payAgain () {
+				this.focus = false
 				this.showLeavePsw = false
 				this.showInputPsw = true
 				setTimeout(()=>{

+ 1 - 1
pages/toOrder/payFinish.vue

@@ -4,7 +4,7 @@
 			<u-icon class="icon" name="checkmark" color="#fff" size="80"></u-icon>
 			<view>支付成功</view>
 		</view>
-		<u-button @click="toOrderDetail" type="primary">查看订单详情</u-button>
+		<u-button @click="toOrderDetail" type="success">查看订单详情</u-button>
 		<view class="back-btn">
 			<u-button @click="toHome">返回首页</u-button>
 		</view>