From d2902539137a79044dac39b321b65b9dd7952657 Mon Sep 17 00:00:00 2001
From: whycq <whycq>
Date: 星期三, 23 三月 2022 08:52:29 +0800
Subject: [PATCH] #

---
 pages/basics/publish.vue |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/pages/basics/publish.vue b/pages/basics/publish.vue
index 48d48ea..7e6a275 100644
--- a/pages/basics/publish.vue
+++ b/pages/basics/publish.vue
@@ -1,8 +1,58 @@
 <template>
+	<view>
+		<view>
+			<uni-table border emptyText="娌℃湁鏇村鏁版嵁">
+				<uni-tr>
+					<uni-th>鏁伴噺</uni-th>
+					<uni-th>鎵瑰彿</uni-th>
+					<uni-th>鍟嗗搧缂栧彿</uni-th>
+					<uni-th>鍟嗗搧鍚嶇О</uni-th>
+					<uni-th>瑙勬牸</uni-th>
+					<uni-th>鍗曚环</uni-th>
+					<uni-th>鎿嶄綔</uni-th>
+				</uni-tr>
+			</uni-table>
+		</view>
+		<view class="cu-bar foot input justify-center" style="height: 150rpx;">
+			<view style="width: 80%;">
+				<button class="cu-btn bg-yellow lg shadow-blur" style="width: 250rpx;color: #fff;" @click="getMat()">鏂� 澧�</button>
+				<button class="cu-btn bg-orange lg shadow-blur" style="float: right;width: 250rpx;color: #fff;">纭鍏ュ簱</button>
+			</view>	
+		</view>
+		<!-- ******************************************************************************************* -->
+		<view>
+			<!-- 鏅�氬脊绐� -->
+			<uni-popup ref="popup" background-color="#fff" style="position: fixed; border-radius: 5px;" >
+				<view class="popup-content " :class="{ 'popup-height': type === 'left' || type === 'right' }">
+					<view style="width: 700rpx;"></view>
+				</view>
+			</uni-popup>
+		</view>
+	</view>
 </template>
 
 <script>
+	export default {
+		data() {
+			return {
+				type:'bottom',
+			}
+			
+		},
+		methods: {
+			// 寮瑰嚭灞�
+			toggle(type) {
+				this.type = type
+				// open 鏂规硶浼犲叆鍙傛暟 绛夊悓鍦� uni-popup 缁勪欢涓婄粦瀹� type灞炴��
+				this.$refs.popup.open(type)
+			},
+			getMat() {
+				this.toggle('left')
+			}
+		}
+	}
 </script>
 
 <style>
+	
 </style>

--
Gitblit v1.9.1