shish 3 лет назад
Родитель
Сommit
9f42daaf50
1 измененных файлов с 25 добавлено и 19 удалено
  1. 25 19
      ghsPad/src/pages/home/xj.vue

+ 25 - 19
ghsPad/src/pages/home/xj.vue

@@ -6,20 +6,22 @@
                 <casherNav navType="xh"></casherNav>
             </view>
             <view class="work-list">
-                <view class="cash">现金:¥{{xjInfo.money ? parseFloat(xjInfo.money) : 0}}</view>
-				<view class="draw">
-					<input v-model="drawCash" class="draw-input" type="digit" @focus="drawCash=''" placeholder="金额" /> 
-					<text @click="outAmount()" style="margin-left:30upx;font-size:34upx;">提取</text>
-				</view>
-				<view class="save">
-					<input v-model="saveCash" type="digit" class="save-input" @focus="saveCash=''" placeholder="金额" /> 
-					<text @click="inAmount()" style="margin-left:30upx;font-size:34upx;">存入</text>
+				<view style="width:330upx;background-color: red;display: inline-block">
+					<view class="cash">现金:¥{{xjInfo.money ? parseFloat(xjInfo.money) : 0}}</view>
+					<view class="draw">
+						<input v-model="drawCash" class="draw-input" type="digit" @focus="drawCash=''" placeholder="金额" /> 
+						<text @click="outAmount()" style="margin-left:30upx;font-size:34upx;">提取</text>
+					</view>
+					<view class="save">
+						<input v-model="saveCash" type="digit" class="save-input" @focus="saveCash=''" placeholder="金额" /> 
+						<text @click="inAmount()" style="margin-left:30upx;font-size:34upx;">存入</text>
+					</view>
 				</view>
 				<view class="custom">
-					<input v-model="form.name1" type="text" class="custom-input" @focus="form.name1=''" placeholder="客户名称" /> 
-					<input v-model="form.mobile1" type="number" class="custom-input" @focus="form.mobile1=''" placeholder="手机号" /> 
-					<input v-model="form.confirmMobile1" type="number" class="custom-input" @focus="form.confirmMobile1=''" placeholder="确认手机号" /> 
-					<text @click="addCustom()" style="font-size:34upx;">添加客户</text>
+					<view style="margin-bottom:15upx;"><input v-model="form.name1" type="text" class="custom-input" @focus="form.name1=''" placeholder="客户名称" /> </view>
+					<view style="margin-bottom:15upx;"><input v-model="form.mobile1" type="number" class="custom-input" @focus="form.mobile1=''" placeholder="手机号" /> </view>
+					<view style="margin-bottom:15upx;"><input v-model="form.confirmMobile1" type="number" class="custom-input" @focus="form.confirmMobile1=''" placeholder="确认手机号" /> </view>
+					<view><text @click="addCustom()" style="font-size:34upx;">添加客户</text></view>
 				</view>
             </view>
         </view>
@@ -167,38 +169,42 @@ export default {
 	& .work-list {
 		flex: 121;
 		.cash{
-			margin-left:40upx;
+			margin-left:20upx;
 			margin-top:30upx;
 		}
 		.draw{
 			margin-top:30upx;
-			margin-left:40upx;
+			margin-left:20upx;
 			.draw-input{
 				width:160upx;
 				height:35upx;
 				border:1upx solid #ccc;
 				display: inline-block;
 				text-align: center;
-				font-size:30upx;
+				font-size:23upx;
 			}
 		}
 		.save{
 			margin-top:30upx;
-			margin-left:40upx;
+			margin-left:20upx;
 			.save-input{
 				width:160upx;
 				height:35upx;
 				border:1upx solid #ccc;
 				display: inline-block;
 				text-align: center;
-				font-size:30upx;
+				font-size:23upx;
 			}
 		}
 		.custom{
 			margin-top:60upx;
-			margin-left:40upx;
+			margin-left:30upx;
+			display: inline-block;
+			background-color: blue;
+			text-align: center;
+			width:300upx;
 			.custom-input{
-				width:160upx;
+				width:210upx;
 				height:35upx;
 				border:1upx solid #ccc;
 				display: inline-block;