|
@@ -309,7 +309,7 @@
|
|
|
usdEstimateOrderAmount: treasureFormData.usdEstimateOrderAmount,
|
|
|
upGainAmountUsdValue: treasureFormData.upGainAmountUsdValue,
|
|
|
currencyIconUrl: currentCurrencyInfo.iconPath,
|
|
|
- customPosterUrl: customPosterInfo && customPosterInfo.after && customPosterInfo.after.imagePath || '',
|
|
|
+ customPosterUrl: previewCustomPosterUrl,
|
|
|
userInfo: {
|
|
|
nickName: userInfo.nickName,
|
|
|
avatarUrl: userInfo.avatarUrl
|
|
@@ -541,7 +541,9 @@ let cropperType = ref('before')
|
|
|
let customPosterInfo = ref({})
|
|
|
let customPosterData = ref({})
|
|
|
let customShowNewImage = ref(false)
|
|
|
-let refCropper = ref('')
|
|
|
+let refCropper = ref('');
|
|
|
+
|
|
|
+let previewCustomPosterUrl = ref('');
|
|
|
|
|
|
// 当前展示组件内容 default(表单) preview(预览) topUp(充值)
|
|
|
let showComType = ref("default");
|
|
@@ -2166,8 +2168,10 @@ const selectPublishMode = (params, index) => {
|
|
|
baseFormData.rewardType = RewardType.money;
|
|
|
baseFormData.customizedReward = '';
|
|
|
showGeneralLottery.value = false;
|
|
|
+ previewCustomPosterUrl.value = '';
|
|
|
} else {
|
|
|
showGeneralLottery.value = true;
|
|
|
+ previewCustomPosterUrl.value = customPosterInfo.value && customPosterInfo.value.after && customPosterInfo.value.after.imagePath || ''
|
|
|
}
|
|
|
|
|
|
onIptSetErrorTxt();
|
|
@@ -2273,6 +2277,7 @@ const successImage = (data) => {
|
|
|
const confirmData = (data) => {
|
|
|
close()
|
|
|
customPosterData.value = customPosterInfo.value;
|
|
|
+ previewCustomPosterUrl.value = customPosterInfo.value && customPosterInfo.value.after && customPosterInfo.value.after.imagePath || ''
|
|
|
}
|
|
|
/**
|
|
|
* 显示通用奖品名称编辑框
|
|
@@ -2539,6 +2544,7 @@ onMounted(() => {
|
|
|
|
|
|
.form-left-sheet {
|
|
|
width: 500px;
|
|
|
+ height: max-content;
|
|
|
}
|
|
|
|
|
|
.form-right-sheet {
|