lilei vor 3 Jahren
Ursprung
Commit
287e9b4307
3 geänderte Dateien mit 12 neuen und 7 gelöschten Zeilen
  1. 2 2
      App.vue
  2. 7 4
      pages/bundelDetail/index.vue
  3. 3 1
      pages/index/index.vue

+ 2 - 2
App.vue

@@ -1,8 +1,8 @@
 <script>
 	export default {
 		globalData: {
-			baseUrl: 'http://192.168.16.156:7904/beauty-customer/', // 本地
-			// baseUrl: 'https://cust.test.baibaibai.net/beauty-customer/', // 预发布
+			// baseUrl: 'http://192.168.16.156:7904/beauty-customer/', // 本地
+			baseUrl: 'https://cust.test.baibaibai.net/beauty-customer/', // 预发布
 			// baseUrl: 'https://cust.baibaibai.net/beauty-customer/' // 生产
 		},
 		onLaunch: function() {

+ 7 - 4
pages/bundelDetail/index.vue

@@ -19,9 +19,9 @@
 							</view>
 							<view v-if="current==1">
 								<view class="l_box">{{item.serveName}}</view>
-								<view class="flex align_center justify_between" style="padding-top: 0.2em;">
-									<view class="r_box">使用{{item.qty}}次</view>
-									<view class="r_box">{{item.createDate.split(' ')[0]}}</view>
+								<view class="flex align_center justify_between" style="padding-top: 0.2em;color:#999">
+									<view>使用{{item.qty}}次</view>
+									<view>{{item.createDate.split(' ')[0]}}</view>
 								</view>
 							</view>
 						 </view>
@@ -204,10 +204,13 @@
 			}
 			.l_box{
 				font-size: 1em;
-				flex-grow: 1;
+				flex: 2;
 			}
 			.r_box{
 				color: #999;
+				justify-content: flex-end;
+				text-align: right;
+				flex: 1;
 				> view{
 					padding: 0 0.1em;
 				}

+ 3 - 1
pages/index/index.vue

@@ -211,10 +211,12 @@
 				 		}
 				 		.l_box{
 				 			font-size: 1.1em;
-				 			flex-grow: 1;
+				 			flex: 2;
 				 		}
 				 		.r_box{
 				 			color: #999;
+							flex: 1;
+							justify-content: flex-end;
 				 			> view{
 				 				padding: 0 0.1em;
 								text-align: right;