From 2b46fa81286506e49b40353bdd03c67747e210ba Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 20 三月 2023 13:55:01 +0800 Subject: [PATCH] # --- pages/mat/matSelect.vue | 72 ++++++++++++++++++++++++++++++++++++ pages.json | 6 +++ pages/mat/matQuery.vue | 8 ++++ pages/pakin/pakin.vue | 1 static/css/wms.css/wms.css | 4 ++ 5 files changed, 91 insertions(+), 0 deletions(-) diff --git a/pages.json b/pages.json index 18da5a8..9409f2f 100644 --- a/pages.json +++ b/pages.json @@ -1,6 +1,12 @@ { "pages": [ //pages鏁扮粍涓涓�椤硅〃绀哄簲鐢ㄥ惎鍔ㄩ〉锛屽弬鑰冿細https://uniapp.dcloud.io/collocation/pages { + "path": "pages/mat/matSelect", + "style": { + "navigationBarTitleText": "鐗╂枡" + } + }, + { "path": "pages/pakin/pakin", "style": { "navigationBarTitleText": "缁� 鎵�" diff --git a/pages/mat/matQuery.vue b/pages/mat/matQuery.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/pages/mat/matQuery.vue @@ -0,0 +1,8 @@ +<template> +</template> + +<script> +</script> + +<style> +</style> \ No newline at end of file diff --git a/pages/mat/matSelect.vue b/pages/mat/matSelect.vue new file mode 100644 index 0000000..3d79164 --- /dev/null +++ b/pages/mat/matSelect.vue @@ -0,0 +1,72 @@ +<template> + <view> + <!-- 鎼滅储妗� --> + <view class="search-bar"> + <uni-search-bar placeholder=" 鎵爜 / 杈撳叆" bgColor="#EEEEEE" @confirm="search" /> + </view> + <scroll-view> + <view class="tag-list" v-for="(item,i) in tagList" :key="i"> + <view class="tag"> + <view style="display: flex;"> + <view class="wms-tag" :style="baColor" >鍒嗙被</view> + </view> + </view> + <view class="tag-item">{{desc}} {{item.name}}</view> + </view> + </scroll-view> + </view> +</template> + +<script> + export default { + data() { + return { + tagList: [{name:"whhhsupp"},{},{}], + matList: [], + tag: '鍒嗙被', + baColor: "background-color: #0081ff;", + desc: '缂栫爜:' + } + }, + onLoad() { + }, + methods: { + search() { + } + } + } +</script> + +<style> + @import url('../../static/css/wms.css/wms.css'); + .tag-list { + width: 94%; + min-height: 160rpx; + margin: 10px auto; + background-color: #FFF; + border-radius: 5px; + box-shadow: 0 5upx 20upx rgba(0, 0, 0, 0.2); + } + .tag { + display: flex; + flex-direction: column; + min-height: 80rpx; + border-bottom: 1px solid #e2e2e2; + } + .wms-tag { + min-width: 60rpx; + margin-left: 50rpx; + margin-top: 30rpx; + color: #FFF; + font-size: 14px; + padding: 4rpx 12rpx; + } + .tag-item { + width: 100%; + min-height: 60rpx; + line-height: 2; + padding-left: 50rpx; + color: #606266; + font-size: 14px; + } +</style> \ No newline at end of file diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue index 46338a1..56b20c2 100644 --- a/pages/pakin/pakin.vue +++ b/pages/pakin/pakin.vue @@ -9,6 +9,7 @@ <view class="code-decs">鐗╂枡鐮�:</view> <input type="text" placeholder=" 鎵爜 / 杈撳叆"> <view class="item-right"> + <button></button> <text style="text-align: right;color: #409EFF;">鎻愬彇+</text> <uni-icons type="right" color="#c1c1c1"></uni-icons> </view> diff --git a/static/css/wms.css/wms.css b/static/css/wms.css/wms.css index 76e0fae..60fb78f 100644 --- a/static/css/wms.css/wms.css +++ b/static/css/wms.css/wms.css @@ -117,3 +117,7 @@ align-items: center; color: #409EFF; } +/* 鎼滅储妗� */ +.search-bar { + background-color: #f8f8f8; +} -- Gitblit v1.9.1