Browse Source

修改样式 2024/8/3

hella_vue3
王志国 1 month ago
parent
commit
31a4cc5bf4
  1. 2
      src/common/style/pdabasic.css
  2. 29
      src/mycomponents/location/locationCompare.vue
  3. 3
      src/pages/productionReturn/job/returnDetail.vue

2
src/common/style/pdabasic.css

@ -773,7 +773,7 @@ page {
.page-footer { .page-footer {
/* color: #fff; */ /* color: #fff; */
line-height: 100rpx; /* line-height: 100rpx; */
/* 不放大不缩小固定100rpx */ /* 不放大不缩小固定100rpx */
flex: 0 0 100rpx; flex: 0 0 100rpx;
/* background-color: #00AAFF; */ /* background-color: #00AAFF; */

29
src/mycomponents/location/locationCompare.vue

@ -1,30 +1,31 @@
<template> <template>
<view class="uni-flex u-col-center" style="padding-top: 15rpx; padding-bottom: 15rpx; padding-left: 10rpx; padding-right: 10rpx; font-size: 32rpx"> <view class="uni-flex u-col-center" style="padding-left: 10rpx;padding-right: 10rpx;
<view class="uni-flex u-row u-col-center" @click="showLocation"> font-size:32rpx;">
<view class="flex u-row" v-if="isShowEdit"> <view class="uni-flex uni-row u-col-center" @click="showLocation">
<view class="flex uni-row" v-if="isShowEdit" >
<view > <view >
<text style="font-size: 35rpx">{{ title }}</text> <text style="font-size: 35rpx;">{{title}}</text>
<text style="font-size: 45rpx;color:#3FBAFF; font-weight: bold;">&nbsp {{recommendLocationCode}}</text>
<text style="font-size: 45rpx; color: #3fbaff">&nbsp {{ recommendLocationCode }}</text> <text v-if="locationCode" style="font-size: 45rpx;color:#3FBAFF;font-weight: bold;">&nbsp/&nbsp{{locationCode}}</text>
<text v-if="locationCode" style="font-size: 45rpx; color: #3fbaff">&nbsp/&nbsp{{ locationCode }}</text>
<!-- <text style="font-size: 35rpx;color:#3FBAFF;" v-if="locationCode==''&&isShowEdit==true">&nbsp 请扫描</text> --> <!-- <text style="font-size: 35rpx;color:#3FBAFF;" v-if="locationCode==''&&isShowEdit==true">&nbsp 请扫描</text> -->
</view> </view>
<image style="width: 45rpx; height: 45rpx; margin: 6rpx 10rpx 0px; display: inline-block" src="/static/icons/icons_edit.svg"></image> <image style="width:45rpx;height: 45rpx; vertical-align:center" class="center" src="/static/icons/icons_edit.svg"></image>
</view> </view>
<view class="" v-else> <view class="" v-else>
<view > <view >
<text style="font-size: 35rpx">{{ title }}</text> <text style="font-size: 35rpx;">{{title}}</text>
<text style="font-size: 45rpx; color: #3fbaff">&nbsp {{ recommendLocationCode }}</text> <text style="font-size: 45rpx;color:#3FBAFF;font-weight: bold;">&nbsp {{recommendLocationCode}}</text>
<!-- <text style="font-size: 35rpx;color:#3FBAFF;" v-if="locationCode==''&&isShowEdit==true">&nbsp 请扫描</text> --> <!-- <text style="font-size: 35rpx;color:#3FBAFF;" v-if="locationCode==''&&isShowEdit==true">&nbsp 请扫描</text> -->
</view> </view>
</view> </view>
<view class="uni-flex uni-row center" style="vertical-align: center" v-if="isDevlement()">
<!-- <text style="font-size: 30rpx;color: #2979ff; " @click="copy">复制</text> --> <view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()">
<image style="width: 26rpx; height: 26rpx; margin-top: 6rpx" src="/static/icons/icon_copy.svg" alt="" @click.stop="copy" /> <text style="font-size: 30rpx;color: #2979ff; " @click="copy">复制</text>
</view> </view>
</view> </view>
<win-scan-location ref="scanLocationCode" :title="title" @getLocation="getLocation" :locationAreaTypeList="locationAreaTypeList"></win-scan-location> <win-scan-location ref="scanLocationCode" :title="title" @getLocation='getLocation'
:locationAreaTypeList="locationAreaTypeList"></win-scan-location>
</view> </view>
</template> </template>

3
src/pages/productionReturn/job/returnDetail.vue

@ -156,6 +156,7 @@ const getDetail = () => {
detailSource.value = getDataSource(subList.value) detailSource.value = getDataSource(subList.value)
titleInfo.value = subList.value[0] titleInfo.value = subList.value[0]
uni.hideLoading() uni.hideLoading()
toLocationAreaTypeList.value = getDirectoryItemArray(jobContent.value.toAreaTypes)
} else { } else {
showMessage('列表数据为0') showMessage('列表数据为0')
} }
@ -315,7 +316,7 @@ const checkLocation = () => {
comScanLocation.value.showLocation() comScanLocation.value.showLocation()
}) })
return (isPass = false) return isPass = false
} }
return isPass return isPass
} }

Loading…
Cancel
Save