فهرست منبع

成功页面添加返回按钮

jf 5 سال پیش
والد
کامیت
7fe71ad229
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      ghsApp/src/pagesPurchase/components/pageSuccess.vue

+ 9 - 0
ghsApp/src/pagesPurchase/components/pageSuccess.vue

@@ -33,6 +33,14 @@
 			}
 		}
 	}
+	.goHome{
+		width: 80%;
+		height: 80rpx;
+		color: #FFFFFF;
+		margin-top: 150rpx;
+		background: #6699ff;
+		border-radius: 10rpx;
+	}
 </style>
 <template>
   <appResult :title="title?title:'成功'">
@@ -46,6 +54,7 @@
 					<view class="flex-center 	flowers-btn" @tap="changePriceFun(res.id,res.price)">修改</view>
 				</view>
 			</view>
+			<navigator open-type="switchTab" class="flex-center goHome" url="/admin/home/workbench">返回首页</navigator>
   </appResult>
 </template>
 <script>