Browse Source

Merge branch 'lzm_web'

lzm_web
Linzm 6 months ago
parent
commit
3b6430261e
  1. 4
      src/views/badge/index.vue
  2. 16
      src/views/badge/preview.vue

4
src/views/badge/index.vue

@ -110,10 +110,10 @@
</div> </div>
<div class="tag-change-box" v-if="orderStat.use_type == 2"> <div class="tag-change-box" v-if="orderStat.use_type == 2">
<div class="tag-change-item"> <div class="tag-change-item">
<div class="tag-change-item-title" :class="{ tagActive: prodId == 7 }" @click="prodId = 7"> <div class="tag-change-item-title" :class="{ tagActive: prodId == 7 }" @click="prodId = 7;picture = null">
人物主体 人物主体
</div> </div>
<div class="tag-change-item-title" :class="{ tagActive: prodId == 8 }" @click="prodId = 8"> <div class="tag-change-item-title" :class="{ tagActive: prodId == 8 }" @click="prodId = 8;picture = null">
宠物主体 宠物主体
</div> </div>
</div> </div>

16
src/views/badge/preview.vue

@ -117,6 +117,11 @@
<div class="address-item"> <div class="address-item">
<van-address-edit <van-address-edit
:area-list="areaList" :area-list="areaList"
show-delete
show-set-default
show-search-result
:search-result="searchResult"
:area-columns-placeholder="['请选择', '请选择', '请选择']"
@change="nameTelChange" @change="nameTelChange"
@change-area="changeArea" @change-area="changeArea"
@change-detail="onChangeDetail" @change-detail="onChangeDetail"
@ -190,6 +195,12 @@ function sureReload() {
return return
} }
isPreview.value = false isPreview.value = false
showConfirmDialog({
title: '再次生成',
message:
'请确认是否重新生成。',
})
.then(() => {
group.value = newGroup.value group.value = newGroup.value
const params = { const params = {
pid: pid.value, pid: pid.value,
@ -212,6 +223,10 @@ function sureReload() {
}).finally(() => { }).finally(() => {
showReload.value = false showReload.value = false
}) })
})
.catch(() => {
showReload.value = false
});
} }
@ -1318,6 +1333,7 @@ onUnmounted(() => {
z-index: 2; z-index: 2;
font-family: chinese; font-family: chinese;
overflow: hidden; overflow: hidden;
text-shadow: 1px 0px 1px #000000a1;
} }
.shape-item-image-round { .shape-item-image-round {
border-radius: 50%; border-radius: 50%;

Loading…
Cancel
Save