|
|
@ -1,30 +1,31 @@ |
|
|
|
<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-row u-col-center" @click="showLocation"> |
|
|
|
<view class="flex u-row" v-if="isShowEdit"> |
|
|
|
<view> |
|
|
|
<text style="font-size: 35rpx">{{ title }}</text> |
|
|
|
|
|
|
|
<text style="font-size: 45rpx; color: #3fbaff">  {{ recommendLocationCode }}</text> |
|
|
|
<text v-if="locationCode" style="font-size: 45rpx; color: #3fbaff"> / {{ locationCode }}</text> |
|
|
|
<view class="uni-flex u-col-center" style="padding-left: 10rpx;padding-right: 10rpx; |
|
|
|
font-size:32rpx;"> |
|
|
|
<view class="uni-flex uni-row u-col-center" @click="showLocation"> |
|
|
|
<view class="flex uni-row" v-if="isShowEdit" > |
|
|
|
<view > |
|
|
|
<text style="font-size: 35rpx;">{{title}}</text> |
|
|
|
<text style="font-size: 45rpx;color:#3FBAFF; font-weight: bold;">  {{recommendLocationCode}}</text> |
|
|
|
<text v-if="locationCode" style="font-size: 45rpx;color:#3FBAFF;font-weight: bold;"> / {{locationCode}}</text> |
|
|
|
<!-- <text style="font-size: 35rpx;color:#3FBAFF;" v-if="locationCode==''&&isShowEdit==true">  请扫描</text> --> |
|
|
|
</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 class="" v-else> |
|
|
|
<view> |
|
|
|
<text style="font-size: 35rpx">{{ title }}</text> |
|
|
|
<text style="font-size: 45rpx; color: #3fbaff">  {{ recommendLocationCode }}</text> |
|
|
|
<view > |
|
|
|
<text style="font-size: 35rpx;">{{title}}</text> |
|
|
|
<text style="font-size: 45rpx;color:#3FBAFF;font-weight: bold;">  {{recommendLocationCode}}</text> |
|
|
|
<!-- <text style="font-size: 35rpx;color:#3FBAFF;" v-if="locationCode==''&&isShowEdit==true">  请扫描</text> --> |
|
|
|
</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> --> |
|
|
|
<image style="width: 26rpx; height: 26rpx; margin-top: 6rpx" src="/static/icons/icon_copy.svg" alt="" @click.stop="copy" /> |
|
|
|
|
|
|
|
<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> |
|
|
|
</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> |
|
|
|
</template> |
|
|
|
|
|
|
|