后置付费

This commit is contained in:
2025-06-03 09:48:31 +08:00
parent 5205361ac0
commit 3b311aa292
5 changed files with 295 additions and 17 deletions

View File

@@ -10,6 +10,9 @@
<view class="tries-limit" v-if="template.paymentType == 1">
付费 {{ template.fee }} &nbsp;&nbsp;体验{{ template.triesLimit }}
</view>
<view class="tries-limit" v-if="template.paymentType == 3">
免费体验一次
</view>
<view class="section_11 flex-row">
<view class="section_8 flex-row" @tap="chooseImage('album')">
<view class="image-text_7 flex-col">
@@ -244,6 +247,7 @@
data: {
'code': code,
'templateId': _this.template.id,
'templateSetId': _this.templateSet.id,
'photo': res[0],
'userId': uni.getStorageSync('userInfo').id,
'payId': _this.payId,
@@ -256,7 +260,8 @@
if(res.data.code == 200) {
uni.navigateTo({
url: "../display/display?code=" + code + "&templateId=" + _this.template.id
+ "&mchId=" + _this.template.mchId +"&buyType=" + _this.buyType,
+ "&mchId=" + _this.template.mchId +"&buyType=" + _this.buyType
+ "&templateSetId=" + _this.templateSet.id,
success() {
uni.hideLoading();
}