上一页 1 ··· 114 115 116 117 118 119 120 121 122 ··· 129 下一页
摘要: <!-- 收索 --> <view class="header"> <view class="search"> <image class="icon" src="/imgs/index/o_search.png"/> <i class="fa fa-home"></i> 阿里山高山茶 </view> 阅读全文
posted @ 2017-09-14 13:54 ThisCall 阅读(264) 评论(0) 推荐(0)
摘要: /* 3三区块部分 *************/ .wear-diamonds{ display: flex; width: 100%; height: 300rpx; } .wear-diamonds>view{ width: 50%; height:100%; border: 1px solid 阅读全文
posted @ 2017-09-14 13:48 ThisCall 阅读(459) 评论(0) 推荐(0)
摘要: <!-- 菜单列表部分 --> <view class="wear-menu"> <view class='menu-box' wx:key="menu" wx:for="{{menuList}}" wx:for-index="index"> <view class="menu-img" bindt 阅读全文
posted @ 2017-09-14 13:43 ThisCall 阅读(876) 评论(0) 推荐(0)
摘要: <!--1 轮播部分 --> <view class="banner-box"> <swiper class="home-banner swiper" indicator-dots="true" autoplay="true" indicator-color="#F5A084" indicator- 阅读全文
posted @ 2017-09-14 13:35 ThisCall 阅读(216) 评论(0) 推荐(0)
摘要: //1,wxss /*外部容器*/ .container { display: flex; flex-direction: column; align-items: center; justify-content: space-between; box-sizing: border-box; } / 阅读全文
posted @ 2017-09-14 12:04 ThisCall 阅读(294) 评论(0) 推荐(0)
摘要: <!--pages/shop/shop.wxml--> <view wx:if="{{hasList}}"> <view class="container carts-list"> <view wx:key="isshop" wx:for="{{carts}}" class="carts-item" 阅读全文
posted @ 2017-09-14 12:04 ThisCall 阅读(1346) 评论(0) 推荐(0)
摘要: // pages/shop/shop.js Page({ /** * 页面的初始数据 */ data: { carts: [ { teaname: '冠军乌龙茶-150g', image: '../../imgs/car/shopping_pic_1.png', num: '1', price: ' 阅读全文
posted @ 2017-09-14 12:04 ThisCall 阅读(744) 评论(0) 推荐(0)
摘要: 请确认测试手机微信版本为最高版本 1,wxml (主要) <button open-type="share">分享</button> //<button open-type="share"><image src='../../imgs/index/wear_1.png'></image></butt 阅读全文
posted @ 2017-09-14 11:56 ThisCall 阅读(764) 评论(0) 推荐(0)
摘要: 首先本质区别是: event.target返回触发事件的元素 event.currentTarget返回绑定事件的元素 p包含在div内 在outer上点击时,target跟currentTarget是一样的,都是div,而在inner上点击时,e.target是p、e.currentTarget是 阅读全文
posted @ 2017-09-14 10:39 ThisCall 阅读(633) 评论(0) 推荐(0)
摘要: 1xml <view class="container flex-wrap flex-direction-row"> <!-- left aside --> <view class="aside flex-wrap flex-direction-col"> <block wx:key="navLis 阅读全文
posted @ 2017-09-14 09:13 ThisCall 阅读(4095) 评论(0) 推荐(0)
上一页 1 ··· 114 115 116 117 118 119 120 121 122 ··· 129 下一页