#
whycq
2023-10-30 10310df6a7b2afe729a304d201114172cbfada1c
#
1个文件已添加
5个文件已修改
104 ■■■■ 已修改文件
App.vue 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/z-data-list/z-data-list.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/z-input/z-input.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/project/pakin/pakin.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/font/NotoSansCJK-Light-3.otf 补丁 | 查看 | 原始文档 | blame | 历史
App.vue
@@ -14,4 +14,40 @@
<style>
    /*每个页面公共css */
    body {
        background-color: #f8fafb;
        font-family: 'my-font', Helvetica Neue, Helvetica, sans-serif;
    }
    @font-face {
        font-family: my-font;
        src: url('./static/font/NotoSansCJK-Light-3.otf');
    }
    .z-floor {
        height: 100rpx;
        line-height: 100rpx;
        width: 100%;
        background-color: #fff;
        box-shadow:  0px -4px 4px #f0f0f0;
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        text-align: center;
    }
    .z-default {
        flex: 2;
    }
    .z-default:active {
        background-color: #eff0f1;
    }
    .z-primary {
        flex: 3;
        background-color: #0084ff;
        color: #fff;
    }
    .z-primary:active {
        background-color: #007dea;
    }
</style>
components/z-data-list/z-data-list.vue
@@ -83,7 +83,7 @@
        background-color: #f5f5f5;
        display: flex;
        align-items: stretch;
        margin: 8px 8px 8px 8px;
        margin: 8px 12px 8px 12px;
        border-radius: 8px;
    }
    .main-left {
components/z-input/z-input.vue
@@ -3,6 +3,13 @@
        <view class="main">
            <view class="inner1">{{desc}}</view>
            <view class="put inner2">
                <uni-icons class="p-icon"
                    type="scan"
                    size="16"
                    color="#b9b9b9"
                    v-show="data.length"
                    @click="clear">
                </uni-icons>
                <input class="p-input" 
                    type="text" 
                    :placeholder="placeholder" 
@@ -118,9 +125,9 @@
    .main {
        display: flex;
        align-items: center;
        min-height: 35px;
        background-color: #f8f8f8;
        margin: 8px;
        min-height: 50px;
        background-color: #fff;
        margin-right: 8px;
    }
    .put {
        display: flex;
@@ -135,7 +142,7 @@
        font-family:'Helvetica Neue';
    }
    .inner2 {
        background-color: #FFF;
        background-color: #f8f8f8;
        flex: 1;
        display: flex;
        align-items: center;
@@ -148,8 +155,8 @@
        padding: 4px;
    }
    .p-icon {
        margin-left: 8px;
        margin-right: 8px;
        margin-left: 4px;
        margin-right: 4px;
    }
    .inner3 {
        width: 100px;
pages.json
@@ -1,18 +1,7 @@
{
    "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
        
        {
            "path" : "pages/maoboli/maoboli",
            "style" :
            {
                "navigationBarTitleText": "毛玻璃",
                "enablePullDownRefresh": false
                
            }
        },
        {
            "path": "pages/LoginDemo/LoginDemo",
            "style": {
@@ -87,7 +76,12 @@
            "style" :                                                                                    
            {
                "navigationBarTitleText": "组托入库",
                "enablePullDownRefresh": false
                "enablePullDownRefresh": false,
                "app-plus": {
                    "titleNView": {
                        "backgroundColor": "#fff"
                    }
                }
            }
            
        }
@@ -99,13 +93,26 @@
                "enablePullDownRefresh": false
            }
            
        },
        {
            "path" : "pages/maoboli/maoboli",
            "style" :
            {
                "navigationBarTitleText": "毛玻璃",
                "enablePullDownRefresh": false
            }
        }
    ],
    "globalStyle": {
        "navigationBarTextStyle": "black",
        "navigationBarTitleText": "uni-app",
        "navigationBarBackgroundColor": "#F8F8F8",
        "backgroundColor": "#F8F8F8"
        "navigationBarBackgroundColor": "#fff",
        "backgroundColor": "#fff"
    },
    "uniIdRouter": {}
}
pages/project/pakin/pakin.vue
@@ -29,6 +29,11 @@
        <!-- 垫高 -->
        <view style="height: 100rpx;"></view>
        
        <view class="z-floor">
            <view class="z-default">取消</view>
            <view class="z-primary">组托</view>
        </view>
    </view>
</template>
@@ -169,14 +174,13 @@
<style>
    .head {
        background-color: #f8f8f8;
        margin-top: -8px;
        /* margin-top: -8px; */
    }
    .sticky {
        height: 70rpx;
        margin-top: -8px;
        box-shadow:  0px 4px 4px #e2e2e2;
        text-align: center;
        background-color: #f8f8f8;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
static/font/NotoSansCJK-Light-3.otf
Binary files differ