xuqiang hace 4 años
padre
commit
8f3583e95e
Se han modificado 4 ficheros con 10 adiciones y 28 borrados
  1. 5 11
      pages/Addstores.vue
  2. 3 9
      pages/Storesdetails.vue
  3. 1 4
      pages/Wallet.vue
  4. 1 4
      pages/Walletdetails.vue

+ 5 - 11
pages/Addstores.vue

@@ -52,7 +52,7 @@
 				<view class="name">分类管理</view>
 				<text class="border"></text>
 			</view>
-			<view class="bottom" @click="batch">
+			<view class="bottom" @click="show = true">
 				<image class="imgBox" src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-09-29-10-32-33BsbfsGzW.png" mode=""></image>
 				<view class="name">批量操作</view>
 				<text class="border"></text>
@@ -64,8 +64,8 @@
 		</view>
 		<view class="btn" v-else>
 			<u-button block class="btn2" @click="dele">删除</u-button>
-			<u-button block class="btn2" @click="submit1">完成</u-button>
-			<u-button block type="primary" @click="submit2">{{ !Tab ? '上架出售' : '下架出售' }}</u-button>
+			<u-button block class="btn2" @click="show = false">完成</u-button>
+			<u-button block type="primary" @click="submit">{{ !Tab ? '上架出售' : '下架出售' }}</u-button>
 		</view>
 	</view>
 </template>
@@ -118,12 +118,6 @@ export default {
 		change(e) {
 			this.active = e;
 		},
-		batch() {
-			this.show = true;
-		},
-		submit1() {
-			this.show = false;
-		},
 		checkId(id) {
 			return this.list.includes(id);
 		},
@@ -134,7 +128,7 @@ export default {
 				this.list.push(id);
 			}
 		},
-		submit2() {
+		submit() {
 			if (this.tab == 0) {
 				console.log(111);
 			} else if (this.tab == 1) {
@@ -159,7 +153,7 @@ export default {
 	background: #214bbe;
 	.top {
 		// position: sticky;
-		z-index: 999;
+		// z-index: 999;
 		// top: 80px;
 		background: #214bbe;
 		padding-bottom: 10px;

+ 3 - 9
pages/Storesdetails.vue

@@ -11,7 +11,7 @@
 		<view class="conBox">
 			<!-- 判断外卖方式 -->
 			<template v-if="!Show">
-				<view class="address rider" @click="rider">
+				<view class="address rider" @click="show2 = true">
 					<view class="name">骑手</view>
 					<view class="choice">
 						<view class="text1">{{ name }}</view>
@@ -116,7 +116,7 @@
 				</view>
 			</u-cell-group>
 			<view class="popupBor"></view>
-			<view class="distribution text2" @click="cancel">取消</view>
+			<view class="distribution text2" @click="show2 = false">取消</view>
 		</u-popup>
 	</view>
 </template>
@@ -181,16 +181,10 @@ export default {
 		}
 	},
 	methods: {
-		rider() {
-			this.show2 = true;
-		},
 		Addrider(item) {
 			this.name = item.name;
 			this.show2 = false;
 		},
-		cancel(){
-			this.show2 = false;
-		},
 		orderCopy() {
 			uni.setClipboardData({
 				data: this.list.transactionId + '',
@@ -214,7 +208,7 @@ export default {
 <style lang="scss" scoped>
 .titlenav {
 	background: #214bbe;
-	height: 190px;
+	height: 102px;
 	.top {
 		text-align: center;
 		.title1 {

+ 1 - 4
pages/Wallet.vue

@@ -10,7 +10,7 @@
 			<view class="btn" @click="Withdrawal">提现</view>
 		</view>
 		<view class="time">
-			<view class="time2" @click="Times"><input type="text" :readonly="readonly" v-model="startTime" /></view>
+			<view class="time2" @click="show = true"><input type="text" :readonly="readonly" v-model="startTime" /></view>
 			<view>
 				<text class="text1 text2">收入 ¥6832.50</text>
 				<text class="text1">提现 ¥5200.00</text>
@@ -83,9 +83,6 @@ export default {
 					}
 				}
 			});
-		},
-		Times() {
-			this.show = true;
 		}
 	}
 };

+ 1 - 4
pages/Walletdetails.vue

@@ -15,7 +15,7 @@
 					</view>
 					<view class="text2" @click="allMoney">全部</view>
 				</view>
-				<view class="btom" @click="choiceIpc">
+				<view class="btom" @click="show = true">
 					<span>提现至</span>
 					<view class="btomIpc">
 						<image class="imgBox" src="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/image/2021-09-26-15-27-51oTVSzeFr.png" mode=""></image>
@@ -61,9 +61,6 @@ export default {
 		}
 	},
 	methods: {
-		choiceIpc() {
-			this.show = true;
-		},
 		Add() {
 			uni.navigateTo({
 				url: '/pages/Addipc'