Browse Source

修改扫描框样式

dev_pda
李俊城 2 years ago
parent
commit
b1cb070ce6
  1. 13
      fe/PDA/common/new_style.css
  2. 2
      fe/PDA/common/pdabasic.css
  3. 2
      fe/PDA/mycomponents/wincom/winComScan.vue
  4. 8
      fe/PDA/mycomponents/wincom/winScanByCode.vue
  5. 6
      fe/PDA/mycomponents/wincom/winScanByPack.vue
  6. 2
      fe/PDA/pages/login/index.vue
  7. 6
      fe/PDA/static/config.json

13
fe/PDA/common/new_style.css

@ -405,16 +405,20 @@ uni-page-head .uni-page-head__title {
} }
.popup_box .pop_title { .popup_box .pop_title {
font-size: 1rem; font-size: 0.9rem;
font-weight: bold; font-weight: bold;
color: #fff; color: #fff;
padding: 30rpx 20rpx; padding: 15rpx 20rpx 5rpx 20rpx;
align-items: center;
/* position: absolute; */
/* transform: translateY(-50%); */
} }
.popup_box .pop_title text { .popup_box .pop_title text {
font-size: .825rem; font-size: .825rem;
font-weight: normal; font-weight: normal;
margin-top: 10rpx; margin-top: 5rpx;
} }
.popup_box .uni-steps { .popup_box .uni-steps {
@ -455,6 +459,7 @@ uni-page-head .uni-page-head__title {
position: relative; position: relative;
margin-bottom: 20rpx; margin-bottom: 20rpx;
background-color: #fff; background-color: #fff;
border-top-left-radius: 8rpx;
border-top-right-radius: 8rpx; border-top-right-radius: 8rpx;
border-bottom-left-radius: 8rpx; border-bottom-left-radius: 8rpx;
border-bottom-right-radius: 8rpx; border-bottom-right-radius: 8rpx;
@ -505,7 +510,7 @@ uni-page-head .uni-page-head__title {
} }
.popup_box .pop_tab .tab_info textarea { .popup_box .pop_tab .tab_info textarea {
padding-top: 20rpx; padding-top: 10rpx;
} }
.list_wrap { .list_wrap {

2
fe/PDA/common/pdabasic.css

@ -600,7 +600,7 @@ export function getItemTypeStyle(val) {
} */ } */
.conbox { .conbox {
padding: 10rpx 0; /* padding: 10rpx 0; */
} }
.myinput { .myinput {

2
fe/PDA/mycomponents/wincom/winComScan.vue

@ -3,7 +3,7 @@
<page-meta root-font-size="18px"></page-meta> <page-meta root-font-size="18px"></page-meta>
<view> <view>
<view class="conbox" > <view class="conbox" >
<textarea v-model="scanMsg" trim="all" maxlength="1000" style="margin-left: 5px;" :focus="boxfocus" <textarea v-model="scanMsg" trim="all" maxlength="1000" style="margin-left: 5px;width: 100%;" :focus="boxfocus"
:placeholder="placeholderValue" :auto-focus='true' @keydown.enter="handelScanMsg" @focus="getfocus" :placeholder="placeholderValue" :auto-focus='true' @keydown.enter="handelScanMsg" @focus="getfocus"
@blur="losefocus"></textarea> @blur="losefocus"></textarea>
<!-- <input v-model="scanMsg" type="search" @keydown.enter="doSearch" style="{height:100px}"/> --> <!-- <input v-model="scanMsg" type="search" @keydown.enter="doSearch" style="{height:100px}"/> -->

8
fe/PDA/mycomponents/wincom/winScanByCode.vue

@ -2,13 +2,13 @@
<uni-popup ref="popup" @change="change"> <uni-popup ref="popup" @change="change">
<view class="popup_box"> <view class="popup_box">
<view class="pop_title" > <view class="pop_title" >
扫描信息 扫描{{title}}
<text class="fr" @click="closeScanPopup()">关闭</text> <text class="fr" @click="closeScanPopup()">关闭</text>
</view> </view>
<view class="pop_tab" > <view class="pop_tab" >
<view class="uni-flex uni-row"> <!-- <view class="uni-flex uni-row">
<view class="tab_tit tab_tit_active">{{title}}</view> <view class="tab_tit tab_tit_active">扫描{{title}}</view>
</view> </view> -->
<view class="tab_info"> <view class="tab_info">
<win-com-scan ref="scan" @getScanResult="getScanResult" :placeholder='title' :clearResult="false"> <win-com-scan ref="scan" @getScanResult="getScanResult" :placeholder='title' :clearResult="false">
</win-com-scan> </win-com-scan>

6
fe/PDA/mycomponents/wincom/winScanByPack.vue

@ -3,13 +3,13 @@
<uni-popup ref="popup" @change="change" @maskClick="closeScanPopup()"> <uni-popup ref="popup" @change="change" @maskClick="closeScanPopup()">
<view class="popup_box"> <view class="popup_box">
<view class="pop_title"> <view class="pop_title">
扫描信息 扫描箱标签
<text class="fr" @click="closeScanPopup()">关闭</text> <text class="fr" @click="closeScanPopup()">关闭</text>
</view> </view>
<view class="pop_tab"> <view class="pop_tab">
<view class="uni-flex uni-row"> <!-- <view class="uni-flex uni-row">
<view class="tab_tit tab_tit_active">箱标签</view> <view class="tab_tit tab_tit_active">箱标签</view>
</view> </view> -->
<view class="tab_info"> <view class="tab_info">
<win-com-scan ref="comscan" @getScanResult="getScanResult" placeholder="箱标签" <win-com-scan ref="comscan" @getScanResult="getScanResult" placeholder="箱标签"
:clearResult="true"></win-com-scan> :clearResult="true"></win-com-scan>

2
fe/PDA/pages/login/index.vue

@ -90,7 +90,7 @@
uni.clearStorage(); // uni.clearStorage(); //
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
this.username = "admin" this.username = "admin"
this.password = "1234qwer!@#$QWER"; this.password = "1q2w3E*";
} }
uni.setNavigationBarColor({ uni.setNavigationBarColor({
frontColor: '#ffffff', frontColor: '#ffffff',

6
fe/PDA/static/config.json

@ -8,7 +8,7 @@
}, },
{ {
"name": "服务地址", "name": "服务地址",
"value": "http://dev.ccwin-in.com:60086" "value": "http://dev.ccwin-in.com:21296"
}, },
{ {
"name": "原料报废扫描库位", "name": "原料报废扫描库位",
@ -25,9 +25,9 @@
"warehouseCode": "T8", "warehouseCode": "T8",
"putawayLocationTypes": "1,2,3,4", "putawayLocationTypes": "1,2,3,4",
"putawayInventoryStatus": "2", "putawayInventoryStatus": "2",
"dev": "http://dev.ccwin-in.com:60086", "dev": "http://dev.ccwin-in.com:21296",
"print_url": "http://dev.ccwin-in.com:59095", "print_url": "http://dev.ccwin-in.com:59095",
"version_update_url": "http://dev.ccwin-in.com:60071", "version_update_url": "http://dev.ccwin-in.com:59081",
"isScrapScanToLocation": false, "isScrapScanToLocation": false,
"isReceiptToday": true, "isReceiptToday": true,
"scrapReason": "ScrapReason", "scrapReason": "ScrapReason",

Loading…
Cancel
Save