From efb8cf5d7d2cfe37d535593902881f4ae39ce86b Mon Sep 17 00:00:00 2001
From: whycq0520 <91384184@qq.com>
Date: 星期三, 23 三月 2022 11:05:02 +0800
Subject: [PATCH] ##
---
pages/basics/publish.vue | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/pages/basics/publish.vue b/pages/basics/publish.vue
index 48d48ea..143a8b8 100644
--- a/pages/basics/publish.vue
+++ b/pages/basics/publish.vue
@@ -1,8 +1,64 @@
<template>
+ <view>
+ <view>
+ <uni-table border stripe type="selection" 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="height: 800rpx;">
+ <uni-table border stripe type="selection" emptyText="娌℃湁鏇村鏁版嵁">
+ <uni-tr>
+ <uni-th>1</uni-th>
+ </uni-tr>
+ </uni-table>
+ </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('top')
+ }
+ }
+ }
</script>
<style>
+
</style>
--
Gitblit v1.9.1