소스 검색

样式修改 下单取消支付跳转修改

1004749546@qq.com 4 년 전
부모
커밋
aae71f3fc1
3개의 변경된 파일16개의 추가작업 그리고 7개의 파일을 삭제
  1. 5 2
      pages/order/order.vue
  2. 5 2
      pages/order/orderDetail.vue
  3. 6 3
      pages/toOrder/index.vue

+ 5 - 2
pages/order/order.vue

@@ -102,7 +102,8 @@
 			<view class="slot-content">
 			<view class="slot-content">
 				<view>确认支付</view>
 				<view>确认支付</view>
 				<view class="text-cont">
 				<view class="text-cont">
-					<text class="num-big">{{totalPrice}}</text>乐豆
+					<text class="num-big">{{totalPrice}}</text>
+					<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 				</view>
 				</view>
 				<view class="footer">
 				<view class="footer">
 					<input v-model="password" maxlength="30" 
 					<input v-model="password" maxlength="30" 
@@ -567,7 +568,9 @@
 			.text-cont{
 			.text-cont{
 				width: 100%;
 				width: 100%;
 				padding: 60upx 0;
 				padding: 60upx 0;
-				text-align: center;
+				display: flex;
+				align-items: center;
+				justify-content: center;
 				.num-big{
 				.num-big{
 					font-size: 40upx;
 					font-size: 40upx;
 					color: red;
 					color: red;

+ 5 - 2
pages/order/orderDetail.vue

@@ -97,7 +97,8 @@
 			<view class="slot-content">
 			<view class="slot-content">
 				<view>确认支付</view>
 				<view>确认支付</view>
 				<view class="text-cont">
 				<view class="text-cont">
-					<text class="num-big">{{totalPrice}}</text>乐豆
+					<text class="num-big">{{totalPrice}}</text>
+					<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 				</view>
 				</view>
 				<view class="footer">
 				<view class="footer">
 					<input v-model="password" 
 					<input v-model="password" 
@@ -384,7 +385,9 @@
 			.text-cont{
 			.text-cont{
 				width: 100%;
 				width: 100%;
 				padding: 60upx 0;
 				padding: 60upx 0;
-				text-align: center;
+				display: flex;
+				align-items: center;
+				justify-content: center;
 				.num-big{
 				.num-big{
 					font-size: 40upx;
 					font-size: 40upx;
 					color: red;
 					color: red;

+ 6 - 3
pages/toOrder/index.vue

@@ -81,7 +81,8 @@
 			<view class="slot-content">
 			<view class="slot-content">
 				<view>确认支付</view>
 				<view>确认支付</view>
 				<view class="text-cont">
 				<view class="text-cont">
-					<text class="num-big">{{totalPrice}}</text>乐豆
+					<text class="num-big">{{totalPrice}}</text>
+					<u-image mode="scaleToFill" width="40rpx" height="40rpx" src="/static/ledou.png"></u-image>
 				</view>
 				</view>
 				<view class="footer">
 				<view class="footer">
 					<input v-model="password" 
 					<input v-model="password" 
@@ -192,7 +193,7 @@
 				this.showInputPsw = false
 				this.showInputPsw = false
 				this.password = ''
 				this.password = ''
 				// 跳转到订单列表
 				// 跳转到订单列表
-				uni.navigateTo({
+				uni.redirectTo({
 					url:"/pages/order/order"
 					url:"/pages/order/order"
 				})
 				})
 			},
 			},
@@ -445,7 +446,9 @@ page{
 		.text-cont{
 		.text-cont{
 			width: 100%;
 			width: 100%;
 			padding: 60upx 0;
 			padding: 60upx 0;
-			text-align: center;
+			display: flex;
+			align-items: center;
+			justify-content: center;
 			.num-big{
 			.num-big{
 				font-size: 40upx;
 				font-size: 40upx;
 				color: red;
 				color: red;