hwq 4 years ago
parent
commit
f8fd7fefdf
3 changed files with 11 additions and 3 deletions
  1. 1 0
      api/finance.js
  2. 1 1
      pages/index/appointment.vue
  3. 9 2
      pages/index/index.vue

+ 1 - 0
api/finance.js

@@ -24,6 +24,7 @@ export function money(data,id) {
 		method: 'post',
 		method: 'post',
 		data
 		data
 	});
 	});
+	
 }
 }
 export function wallet(data) {
 export function wallet(data) {
 	return request({
 	return request({

+ 1 - 1
pages/index/appointment.vue

@@ -5,7 +5,7 @@
 		<view class="appointment-top">
 		<view class="appointment-top">
 			<view class="button">
 			<view class="button">
 				自动预约
 				自动预约
-				<u-switch v-model="checked"></u-switch>
+				<u-switch v-model="checked" active-color="#44969D" inactive-color="#eee"></u-switch>
 			</view>
 			</view>
 			<view class="setting">
 			<view class="setting">
 				每轮抢购设置
 				每轮抢购设置

+ 9 - 2
pages/index/index.vue

@@ -62,18 +62,22 @@
 						开奖时间:<text>2021-07-21 08:00:00</text>
 						开奖时间:<text>2021-07-21 08:00:00</text>
 					</view>
 					</view>
 				</view>
 				</view>
-				<view class="submit">
+				<view class="submit" @click="buy()">
 					预购
 					预购
 				</view>
 				</view>
 			</view>
 			</view>
 		</view>
 		</view>
+		<u-popup v-model="show" mode="bottom" border-radius="40" height="868rpx" closeable = true close-icon="关闭">
+			<view>出淤泥而不染,濯清涟而不妖</view>
+		</u-popup>
 	</view>
 	</view>
 </template>
 </template>
 <script>
 <script>
 	export default {
 	export default {
 		data() {
 		data() {
 			return {
 			return {
-
+				show: false,//支付数量
+				show1: false,//支付密码
 			}
 			}
 		},
 		},
 		//页面加载即刻发生
 		//页面加载即刻发生
@@ -88,6 +92,9 @@
 			},
 			},
 			async loadDate() {
 			async loadDate() {
 
 
+			},
+			buy() {
+				this.show = true
 			}
 			}
 		}
 		}
 	}
 	}