From 48e31778cba99836acaaccbb24c843cd3049b1da Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 23 九月 2022 15:37:12 +0800
Subject: [PATCH] 1.设备保养开发完成
---
pages/test/test1.html | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/pages/test/test1.html b/pages/test/test1.html
index 2c57e0e..1884224 100644
--- a/pages/test/test1.html
+++ b/pages/test/test1.html
@@ -83,6 +83,10 @@
<van-button type="primary">娴呰壊椋庢牸</van-button>
</template>
</van-popover>
+
+ <van-dropdown-menu :overlay="false" style="width: 100px;">
+ <van-dropdown-item style="width: 100px;" v-model="value1" :options="option1" />
+ </van-dropdown-menu>
</div>
</div>
</body>
@@ -108,6 +112,18 @@
}, {
text: '閫夐」涓�'
}],
+ value1: 0,
+ // value2: 'a',
+ option1: [
+ { text: '鍏ㄩ儴鍟嗗搧', value: 0 },
+ { text: '鏂版鍟嗗搧', value: 1 },
+ { text: '娲诲姩鍟嗗搧', value: 2 },
+ ],
+ // option2: [
+ // { text: '榛樿鎺掑簭', value: 'a' },
+ // { text: '濂借瘎鎺掑簭', value: 'b' },
+ // { text: '閿�閲忔帓搴�', value: 'c' },
+ // ],
}
},
created() {
@@ -117,6 +133,7 @@
// console.log(vant.Toast('xxx'))
},
methods: {
+
onSelect(action) {
Toast(action.text);
},
--
Gitblit v1.9.3