摘要: 一、选择列表中的偶数标签 :nth-child(2n) 二、选择列表中的奇数标签 :nth-child(2n-1) 三、选择从第6个开始的,直到最后:nth-child(n+6) 四、选择第1个到第6个 :nth-child(-n+6) 一、两者结合使用,可以限制选择某一个范围,选择第6个到第9个 阅读全文
posted @ 2020-06-02 12:13 小桥流水细长流 阅读(2143) 评论(1) 推荐(3) 编辑
摘要: wxml <scroll-view scroll-y="true" scroll-into-view="{{scrollIntoView}}" bindscroll="onScroll"> <swiper class="page_class" indicator-dots="true" autopl 阅读全文
posted @ 2020-06-02 11:58 小桥流水细长流 阅读(2095) 评论(0) 推荐(1) 编辑
摘要: 一、 wxml <button catchtap="toCall">免费咨询</button> wxjs toCall:function(e){ wx.makePhoneCall({ phoneNumber: this.data.info.traininfo.phone, success: func 阅读全文
posted @ 2020-06-01 16:15 小桥流水细长流 阅读(3004) 评论(0) 推荐(0) 编辑
摘要: index.wxml <block wx:if='{{shopinfo}}'> <view class='list bg_fff'> <!-- <block wx:for='{{shopList}}' wx:for-index='idx' wx:for-item='item' wx:key=''> 阅读全文
posted @ 2020-05-20 14:51 小桥流水细长流 阅读(696) 评论(0) 推荐(0) 编辑
摘要: bshare代码分享 阅读全文
posted @ 2020-05-19 09:52 小桥流水细长流 阅读(476) 评论(0) 推荐(0) 编辑
摘要: transfonter 引用的字体文件大小比较小 app.wxss 引入 @import "font.wxss"; index.wxss .header{font-family: 'JDZhengHT';} 阅读全文
posted @ 2020-05-11 10:50 小桥流水细长流 阅读(949) 评论(0) 推荐(0) 编辑
摘要: 效果一 wxml; <view class="page_list flex"> <block wx:for="{{30}}"> <view class="page_li sub {{index == Area ? 'active':''}}" bindtap="chooseArea" id="{{i 阅读全文
posted @ 2020-04-28 15:03 小桥流水细长流 阅读(613) 评论(0) 推荐(0) 编辑
摘要: 轮播效果一 wxml: <view class='pageBox pageOne'> <view class='list'> <swiper indicator-dots="{{true}}" autoplay="{{false}}" previous-margin="{{'140rpx'}}" n 阅读全文
posted @ 2020-04-27 16:48 小桥流水细长流 阅读(6975) 评论(0) 推荐(0) 编辑
摘要: 本文测重点关文字的一行或多行省略 wxml: <view catchtouchmove="preventTouchMove" wx:if="{{canvas_haoBao}}"> <view class='warp_' style="overflow-y: scroll;"> <view style 阅读全文
posted @ 2020-04-27 11:37 小桥流水细长流 阅读(381) 评论(0) 推荐(0) 编辑
摘要: wxml: <view catchtouchmove="preventTouchMove" wx:if="{{canvas_ma}}"> <view class='warp_' style="overflow-y: scroll;"> <view style='' style='position: 阅读全文
posted @ 2020-04-25 18:12 小桥流水细长流 阅读(279) 评论(0) 推荐(0) 编辑