后置付费
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
<view class="tries-limit" v-if="template.paymentType == 1">
|
||||
付费 {{ template.fee }} 元 体验{{ 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user