From 197040bc029d3d6e1bc9c4cd56f404eea278c963 Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期日, 23 十月 2022 19:31:05 +0800 Subject: [PATCH] # --- pages/basics/startPakin.vue | 1 pages.json | 9 ++++ pages/basics/paking.vue | 53 ++++++++++++++++++++++++++ pages/index/index.vue | 6 +++ 4 files changed, 69 insertions(+), 0 deletions(-) diff --git a/pages.json b/pages.json index b700d37..af98663 100644 --- a/pages.json +++ b/pages.json @@ -170,6 +170,15 @@ } }, { + "path" : "pages/basics/paking", + "style" : + { + "navigationBarTitleText": "鎷f枡鍏ュ簱", + "enablePullDownRefresh": false + + } + }, + { "path" : "pages/basics/startPakin", "style" : { diff --git a/pages/basics/paking.vue b/pages/basics/paking.vue new file mode 100644 index 0000000..cc71909 --- /dev/null +++ b/pages/basics/paking.vue @@ -0,0 +1,53 @@ +<template> + <view> + <scroll-view scroll-y> + <!-- 鎵樼洏鐮佺獥鍙� --> + <view class="square-2"> + <view class="square-title"> + <view class="title-sign"><view class="sign"></view></view> + <view class="title-text"><text>鎵樼洏鏉$爜</text></view> + </view> + <view class="square-content"> + <view class="content-input"> + <input v-model="barcode" type="text" placeholder="鎵爜 / 杈撳叆" + :focus="barcodeFocus" placeholder-style="line-height: 85rpx;"> + <uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode()"></uni-icons> + </view> + </view> + </view> + </scroll-view> + <!-- 搴曢儴鎸夐挳 --> + <view class="footer flex justify-around"> + <label class="label-btn" style="width: 150rpx;"> + <button class="cu-btn" @click="resst()">閲嶇疆</button> + </label> + <label class="label-btn"> + <button class="cu-btn bg-blue " @click="startPakin()">鍏ュ簱</button> + </label> + </view> + </view> +</template> + +<script> + export default { + data() { + return { + commonUrl: null, + barcode: null, + barcodeFocus: true, + matList:[], + sites: [2,4,5,7,9,11,13,15], + siteId: '', + } + }, + methods: { + // 鑾峰彇url + getUrl() { + this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl + }, + } + } +</script> + +<style> +</style> \ No newline at end of file diff --git a/pages/basics/startPakin.vue b/pages/basics/startPakin.vue index aef7a8c..d449a32 100644 --- a/pages/basics/startPakin.vue +++ b/pages/basics/startPakin.vue @@ -76,6 +76,7 @@ matList:[], sites: [2,4,5,7,9,11,13,15], siteId: '', + commonUrl: null } }, mounted(){ diff --git a/pages/index/index.vue b/pages/index/index.vue index 0bc6bfc..1e784cc 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -53,6 +53,12 @@ color: 'blue', cuIcon: 'goods' }, + { + title: '鎷f枡鍏ュ簱', + name: 'paking', + color: 'blue', + cuIcon: 'goods' + }, // { // title: '搴撳瓨鏌ヨ', // name: 'stockQuery', -- Gitblit v1.9.1