From 21effea0ecb46f78ce5d11e22e18b42518a66e7f Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期二, 13 九月 2022 10:52:35 +0800 Subject: [PATCH] # --- pages/basics/pakin.vue | 18 ++++++-- pages/basics/putOnSale.vue | 38 ++++++++++++++++++ pages/basics/manStoCheck.vue | 0 pages.json | 6 +- pages/index/index.vue | 18 ++++++--- 5 files changed, 65 insertions(+), 15 deletions(-) diff --git a/pages.json b/pages.json index 4b8e812..6e31da3 100644 --- a/pages.json +++ b/pages.json @@ -42,7 +42,7 @@ "path" : "pages/basics/stockCheck", "style" : { - "navigationBarTitleText": "搴撲綅鐩樼偣", + "navigationBarTitleText": "骞冲簱搴撲綅鐩樼偣", "enablePullDownRefresh": false } },{ @@ -161,10 +161,10 @@ } }, { - "path" : "pages/basics/stoCheck", + "path" : "pages/basics/manStoCheck", "style" : { - "navigationBarTitleText": "搴撳瓨鐩樼偣", + "navigationBarTitleText": "骞冲簱搴撲綅鐩樼偣", "enablePullDownRefresh": false } diff --git a/pages/basics/stoCheck.vue b/pages/basics/manStoCheck.vue similarity index 100% rename from pages/basics/stoCheck.vue rename to pages/basics/manStoCheck.vue diff --git a/pages/basics/pakin.vue b/pages/basics/pakin.vue index 06603a2..1a0eeee 100644 --- a/pages/basics/pakin.vue +++ b/pages/basics/pakin.vue @@ -88,13 +88,18 @@ <!-- 寮圭獥 --> <!-- 淇敼鏁伴噺 --> <uni-popup ref="revise" background-color="#fff" @change="change"> - <view class="revise-box"> + <view class="revise-box "> <view class="revise-box-top"> <view class="color-block-blue"></view> - <text class="title">淇敼鏁伴噺</text> + <text class="title">淇敼鎵瑰彿/鏁伴噺</text> + </view> + <view class="" style="position: relative;left: 50px;margin-bottom: 20px;"> + <text style="display: inline-block;float: left;width: 50px;">鎵瑰彿锛�</text> + <input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="batch"> </view> <view class="changeBox"> <view class="num-box"> + <text style="display: inline-block;float: left;width: 50px;">鎵瑰彿锛�</text> <uni-number-box :value="count" :max="9999" color="#747474" @change="changeValue"/> </view> </view> @@ -131,6 +136,7 @@ check:false, checkText:'鍏ㄩ��', checkedData:[], + batch:'' } }, onShow() { @@ -399,6 +405,7 @@ }, confirm() { this.matList[this.rowNum].anfme = this.count + this.matList[this.rowNum].batch = this.batch this.$refs.revise.close() this.$forceUpdate() // 寮哄埗鍒锋柊 }, @@ -453,8 +460,9 @@ /* @import "../../colorui/main.css"; @import "../../colorui/icon.css"; */ .revise-box { - width: 400rpx; - height: 300rpx; + position: relative; + width: 500rpx; + height: 400rpx; border-radius: 25px; } .revise-box-top { @@ -470,7 +478,7 @@ margin-left: 100rpx; } .revise-box-buttom{ - margin-left: 130rpx; + margin-left: 190rpx; } .pak-seach-box { background-color: #FFFFFF; diff --git a/pages/basics/putOnSale.vue b/pages/basics/putOnSale.vue index e1dd385..a60a8e6 100644 --- a/pages/basics/putOnSale.vue +++ b/pages/basics/putOnSale.vue @@ -89,7 +89,11 @@ <view class="revise-box"> <view class="revise-box-top"> <view class="color-block-blue"></view> - <text class="title">淇敼鏁伴噺</text> + <text class="title">淇敼鎵瑰彿/鏁伴噺</text> + </view> + <view class="" style="position: relative;left: 50px;margin-bottom: 20px;"> + <text style="display: inline-block;float: left;width: 50px;">鎵瑰彿锛�</text> + <input type="text" style="width: 100px;border-bottom: 1px solid #9e9e9e;" v-model="batch"> </view> <view class="changeBox"> <view class="num-box"> @@ -121,6 +125,7 @@ messageText: '杩欐槸涓�鏉℃垚鍔熸彁绀�', count:'', rowNum:'', + batch:'' } }, mounted(){ @@ -270,6 +275,7 @@ }, confirm() { this.matList[this.rowNum].anfme = this.count + this.matList[this.rowNum].batch = this.batch this.$refs.revise.close() this.$forceUpdate() // 寮哄埗鍒锋柊 }, @@ -291,4 +297,34 @@ border-radius: 20rpx 20rpx 0 0 ; z-index: 1; } + .revise-box { + position: relative; + width: 500rpx; + height: 400rpx; + border-radius: 25px; + } + .revise-box-top { + width: 400rpx; + height: 120rpx; + border-radius: 25px; + } + .color-block-blue { + background-color: #1E9FFF; + display: inline-block; + float: left; + margin: 15rpx 15rpx 0 15rpx; + width: 12rpx; + height: 40rpx; + border: 5rpx solid #1E9FFF; + border-radius: 20rpx; + } + .title { + display: inline-block; + float: left; + font-size: 34rpx; + font-weight: 700; + height: 50rpx; + line-height: 50rpx; + margin-top: 10rpx; + } </style> \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 588a39f..01c6c0e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -74,17 +74,23 @@ // }, { title: '搴撳瓨鐩樼偣', - name: 'stockCheck', - color: 'blue', - cuIcon: 'safe' - }, - { - title: '搴撳瓨鐩樼偣', name: 'stoCheck', color: 'blue', cuIcon: 'safe' }, { + title: '骞充粨搴撳瓨鐩樼偣', + name: 'manStoCheck', + color: 'blue', + cuIcon: 'safe' + }, + // { + // title: '骞充粨搴撳瓨鐩樼偣', + // name: 'manStoCheck', + // color: 'blue', + // cuIcon: 'safe' + // }, + { title: '閫�鍑虹櫥褰�', name: 'logOut', color: 'grey', -- Gitblit v1.9.1