摘要:
wxml: <textarea class="input" bindinput='bindContent' value="" placeholder="请填写评论内容 "></textarea> <button class='button show-button' bindtap="Submit"
阅读全文
posted @ 2018-11-10 16:01
冷不过人心
阅读(794)
推荐(1)
摘要:
HTML: <view class='xin_box'> <view class='xin_box'> <view></view> <block wx:for="{{one_1}}" wx:key=''> <image '/img/xin2.png'></image> </block> <block
阅读全文
posted @ 2018-10-18 14:27
冷不过人心
阅读(355)
推荐(0)
摘要:
xml: <view class='box1'> <view class='box' bindtap="onChangeShowState"> <image src="{{isPlaying?'/img/cai1.png':'/img/cai2.png'}}" class='had had1'></
阅读全文
posted @ 2018-10-18 14:11
冷不过人心
阅读(104)
推荐(0)
摘要:
之前页面的 html: <image bindtap='ontTapdetails' data-item_data='{{item}}' class="videoVideo2" src="{{item.wapimg}}" }};"></image> js: ontTapdetails: functi
阅读全文
posted @ 2018-10-18 14:00
冷不过人心
阅读(533)
推荐(0)
摘要:
wxml: <button class='share' id='{{item.id}}' open-type="share"> <image src='/img/fx.png' class='img_1'></image> </button> wxss: /* 按钮 */ .share{ width
阅读全文
posted @ 2018-09-30 00:03
冷不过人心
阅读(209)
推荐(0)
摘要:
wxml: <view class='vv' wx:for='{{vedio_data}}' wx:key=''> <view class='block' style='margin-left:20rpx;'> <image src='/img/1.png' class='img1' style='
阅读全文
posted @ 2018-09-29 23:43
冷不过人心
阅读(1007)
推荐(0)
摘要:
1. redirectTo //两个页面平行跳转,跳转之后关闭之前的页面,不能返回之前的页面。 用法: wxml: <view class="usermotto" bindtap='ontTap'> <text class="user-motto">{{motto}}</text> </view>
阅读全文
posted @ 2018-09-29 19:48
冷不过人心
阅读(754)
推荐(0)