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
关注公众号,兼容低版本
tags/2.2.4
Stormeye.Wu
6 years ago
parent
129a37c6de
commit
58d0228f3c
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
pages/user/index.js
+1
-1
pages/user/index.wxml
+ 1
- 0
pages/user/index.js
View File
@@ -6,6 +6,7 @@ Page({
* 页面的初始数据
*/
data: {
canIUse: wx.canIUse('official-account'),
// user: {
// avatar:
// "http://img02.tooopen.com/images/20150928/tooopen_sy_143912755726.jpg"
+ 1
- 1
pages/user/index.wxml
View File
@@ -72,5 +72,5 @@
</view>
</view>
<view class='of'>
<official-account class="gzh"></official-account>
<official-account
wx:if="{{canIUse}}"
class="gzh"></official-account>
</view>
Write
Preview
Loading…
Cancel
Save