This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
upload
shopAdd
HolyKnightIX
2 years ago
parent
e799f49c28
502bff8e7d
commit
2bc1ced1b3
4 changed files
with
7 additions
and
8 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
pages/coupon/childDetail/childDetail.wxml
+2
-2
pages/coupon/detail/index.wxml
+1
-2
pages/couponorder/detail/index.js
+2
-2
pages/couponorder/detail/index.wxml
+ 2
- 2
pages/coupon/childDetail/childDetail.wxml
View File
@@ -132,10 +132,10 @@
<view>
<text>购买须知</text>
</view>
<view wx:if="{{
curHtml==''
}}">
<view wx:if="{{
data.contentType==0
}}">
<text><text class='spot'></text>{{data.remark}}</text>
</view>
<view wx:if="{{
curHtml!=''
}}">
<view wx:if="{{
data.contentType==1
}}">
<rich-text nodes="{{curHtml}}"></rich-text>
</view>
</view>
+ 2
- 2
pages/coupon/detail/index.wxml
View File
@@ -133,10 +133,10 @@
<view>
<text>购买须知</text>
</view>
<view wx:if="{{
curHtml==''
}}">
<view wx:if="{{
data.contentType==0
}}">
<text><text class='spot'></text>{{data.remark}}</text>
</view>
<view wx:if="{{
curHtml!=''
}}">
<view wx:if="{{
data.contentType==1
}}">
<rich-text nodes="{{curHtml}}"></rich-text>
</view>
</view>
+ 1
- 2
pages/couponorder/detail/index.js
View File
@@ -311,9 +311,8 @@ Page({
}).then(res => {
if (res.code == 200 && res.data.html) {
this.setData({
curHtml: decodeURI(res.data.html)
curHtml: decodeURI(res.data.html)
,
})
console.log(this.data.curHtml, 'curhtml');
}
})
},
+ 2
- 2
pages/couponorder/detail/index.wxml
View File
@@ -119,10 +119,10 @@
<view>
<text>购买须知</text>
</view>
<view wx:if="{{
curHtml==''
}}">
<view wx:if="{{
data.contentType==0
}}">
<text><text class='spot'></text>{{data.remark}}</text>
</view>
<view wx:if="{{
curHtml!==''
}}">
<view wx:if="{{
data.contentType==1
}}">
<rich-text nodes="{{curHtml}}"></rich-text>
</view>
</view>
Write
Preview
Loading…
Cancel
Save