#
whycq
2023-03-20 2b46fa81286506e49b40353bdd03c67747e210ba
#
3个文件已修改
2个文件已添加
91 ■■■■■ 已修改文件
pages.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matQuery.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mat/matSelect.vue 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/pakin.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/css/wms.css/wms.css 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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": "组 托"
pages/mat/matQuery.vue
New file
@@ -0,0 +1,8 @@
<template>
</template>
<script>
</script>
<style>
</style>
pages/mat/matSelect.vue
New file
@@ -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>
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>
static/css/wms.css/wms.css
@@ -117,3 +117,7 @@
    align-items: center;
    color: #409EFF;
}
/* 搜索框 */
.search-bar {
    background-color: #f8f8f8;
}