| | |
| | | { |
| | | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
| | | { |
| | | "path": "pages/mat/matSelect", |
| | | "style": { |
| | | "navigationBarTitleText": "物料" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/pakin/pakin", |
| | | "style": { |
| | | "navigationBarTitleText": "组 托" |
New file |
| | |
| | | <template> |
| | | </template> |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style> |
| | | </style> |
New file |
| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | align-items: center; |
| | | color: #409EFF; |
| | | } |
| | | /* 搜索框 */ |
| | | .search-bar { |
| | | background-color: #f8f8f8; |
| | | } |