forked from natuka/web.puabadge.com
Merge branch 'lzm_web'
This commit is contained in:
commit
3b6430261e
2 files changed
+39
-23
No files matched your search
@@ -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>
|
||||||
|
|||||||
+37
-21
@@ -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,28 +195,38 @@ function sureReload() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
isPreview.value = false
|
isPreview.value = false
|
||||||
group.value = newGroup.value
|
showConfirmDialog({
|
||||||
const params = {
|
title: '再次生成',
|
||||||
pid: pid.value,
|
message:
|
||||||
group: group.value,
|
'请确认是否重新生成。',
|
||||||
prod_id: prodId.value
|
|
||||||
}
|
|
||||||
badgeApi.putModeling(params).then((res: any) => {
|
|
||||||
console.log('putModeling', res)
|
|
||||||
imageUrl.value = '';
|
|
||||||
imageList.value = []
|
|
||||||
imgKey.value = '';
|
|
||||||
createLog()
|
|
||||||
}).catch((err) => {
|
|
||||||
console.log('putModeling', err)
|
|
||||||
showReload.value = false
|
|
||||||
showToast({
|
|
||||||
message: err.message,
|
|
||||||
duration: 2000,
|
|
||||||
})
|
|
||||||
}).finally(() => {
|
|
||||||
showReload.value = false
|
|
||||||
})
|
})
|
||||||
|
.then(() => {
|
||||||
|
group.value = newGroup.value
|
||||||
|
const params = {
|
||||||
|
pid: pid.value,
|
||||||
|
group: group.value,
|
||||||
|
prod_id: prodId.value
|
||||||
|
}
|
||||||
|
badgeApi.putModeling(params).then((res: any) => {
|
||||||
|
console.log('putModeling', res)
|
||||||
|
imageUrl.value = '';
|
||||||
|
imageList.value = []
|
||||||
|
imgKey.value = '';
|
||||||
|
createLog()
|
||||||
|
}).catch((err) => {
|
||||||
|
console.log('putModeling', err)
|
||||||
|
showReload.value = false
|
||||||
|
showToast({
|
||||||
|
message: err.message,
|
||||||
|
duration: 2000,
|
||||||
|
})
|
||||||
|
}).finally(() => {
|
||||||
|
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%;
|
||||||
|
|||||||
Reference in new issue
Block a user