| | |
| | | "pages/store/staff", |
| | | "pages/sets/index", |
| | | "pages/webView/index", |
| | | "pages/download/index", |
| | | "pages/sets/protocol", |
| | | "pages/consult/detail", |
| | | "pages/detailDis/product", |
¶Ô±ÈÐÂÎļþ |
| | |
| | | // components/buoyClient/index.js |
| | | Component({ |
| | | /** |
| | | * ç»ä»¶ç屿§å表 |
| | | */ |
| | | properties: { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * ç»ä»¶çåå§æ°æ® |
| | | */ |
| | | data: { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * ç»ä»¶çæ¹æ³å表 |
| | | */ |
| | | methods: { |
| | | jumpPage(e) { |
| | | const urls = [ '/pages/kefu/fond', '/pages/store/staff' ] |
| | | const i = e.currentTarget.dataset.i |
| | | console.log('i', i); |
| | | wx.navigateTo({ |
| | | url: urls[i], |
| | | }) |
| | | } |
| | | } |
| | | }) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | { |
| | | "component": true, |
| | | "usingComponents": {} |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | .wrap{ |
| | | width: 100rpx; |
| | | height: 232rpx; |
| | | background: rgba(255,255,255,0.86); |
| | | box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0,0,0,0.2); |
| | | border-radius: 8rpx 0rpx 0rpx 8rpx; |
| | | border: 1rpx solid #EEEEEE; |
| | | padding: 20rpx 0rpx; |
| | | } |
| | | .item{ |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | font-weight: 400; |
| | | font-size: 20rpx; |
| | | color: #666666; |
| | | margin-bottom: 20rpx; |
| | | &:nth-last-child(1){ |
| | | margin-bottom: 0; |
| | | } |
| | | image{ |
| | | width: 48rpx; |
| | | margin-bottom: 12rpx; |
| | | } |
| | | } |
| | | .app{ |
| | | position: fixed; |
| | | z-index: 999; |
| | | bottom: 240rpx; |
| | | right: 0; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <view class="app"> |
| | | <view class="wrap"> |
| | | <view class="item" data-i="0" bindtap="jumpPage"> |
| | | <image src="../../static/icon/ic_kehuxihuan.png" mode="widthFix"></image> |
| | | <view>客æ·å欢</view> |
| | | </view> |
| | | <view class="item" data-i="1" bindtap="jumpPage"> |
| | | <image src="../../static/icon/ic_mingpian.png" mode="widthFix"></image> |
| | | <view>个人åç</view> |
| | | </view> |
| | | </view> |
| | | </view> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | .wrap { |
| | | width: 100rpx; |
| | | height: 232rpx; |
| | | background: rgba(255, 255, 255, 0.86); |
| | | box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0, 0, 0, 0.2); |
| | | border-radius: 8rpx 0rpx 0rpx 8rpx; |
| | | border: 1rpx solid #EEEEEE; |
| | | padding: 20rpx 0rpx; |
| | | } |
| | | .item { |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | font-weight: 400; |
| | | font-size: 20rpx; |
| | | color: #666666; |
| | | margin-bottom: 20rpx; |
| | | } |
| | | .item:nth-last-child(1) { |
| | | margin-bottom: 0; |
| | | } |
| | | .item image { |
| | | width: 48rpx; |
| | | margin-bottom: 12rpx; |
| | | } |
| | | .app { |
| | | position: fixed; |
| | | z-index: 999; |
| | | bottom: 240rpx; |
| | | right: 0; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | // pages/download/index.js |
| | | Page({ |
| | | |
| | | /** |
| | | * 页é¢çåå§æ°æ® |
| | | */ |
| | | data: { |
| | | bottomLift: '' |
| | | }, |
| | | |
| | | /** |
| | | * çå½å¨æå½æ°--çå¬é¡µé¢å è½½ |
| | | */ |
| | | onLoad(options) { |
| | | var app = getApp().globalData |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | }, |
| | | |
| | | /** |
| | | * çå½å¨æå½æ°--çå¬é¡µé¢å次渲æå®æ |
| | | */ |
| | | onReady() { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * çå½å¨æå½æ°--çå¬é¡µé¢æ¾ç¤º |
| | | */ |
| | | onShow() { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * çå½å¨æå½æ°--çå¬é¡µé¢éè |
| | | */ |
| | | onHide() { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * çå½å¨æå½æ°--çå¬é¡µé¢å¸è½½ |
| | | */ |
| | | onUnload() { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 页é¢ç¸å
³äºä»¶å¤ç彿°--çå¬ç¨æ·ä¸æå¨ä½ |
| | | */ |
| | | onPullDownRefresh() { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * 页é¢ä¸æè§¦åºäºä»¶çå¤ç彿° |
| | | */ |
| | | onReachBottom() { |
| | | |
| | | }, |
| | | |
| | | /** |
| | | * ç¨æ·ç¹å»å³ä¸è§å享 |
| | | */ |
| | | onShareAppMessage() { |
| | | |
| | | } |
| | | }) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | { |
| | | "usingComponents": {}, |
| | | "navigationBarTitleText": "ä¸è½½" |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | .list{ |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | padding: 40rpx; |
| | | .item{ |
| | | width: 210rpx; |
| | | height: 210rpx; |
| | | border-radius: 8rpx; |
| | | overflow: hidden; |
| | | position: relative; |
| | | border: 1px solid; |
| | | .img{ |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | .shade{ |
| | | position: absolute; |
| | | z-index: 99; |
| | | width: 100%; |
| | | height: 100%; |
| | | left: 0; |
| | | top: 0; |
| | | background-color: rgba(0,0,0,.5); |
| | | font-size: 30rpx; |
| | | color: #FFFFFF; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | .check{ |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | position: absolute; |
| | | top: 12rpx; |
| | | left: 12rpx; |
| | | } |
| | | } |
| | | } |
| | | .footer { |
| | | position: fixed; |
| | | bottom: 0; |
| | | left: 0; |
| | | width: 750rpx; |
| | | background-color: #fff; |
| | | box-shadow: 0rpx -1rpx 0rpx 0rpx #EEEEEE; |
| | | font-weight: 400; |
| | | .footer_wrap{ |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | height: 100rpx; |
| | | padding: 0 40rpx; |
| | | } |
| | | .check_wrap{ |
| | | display: flex; |
| | | align-items: center; |
| | | .check{ |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | margin-right: 18rpx; |
| | | } |
| | | } |
| | | .down_btn{ |
| | | width: 480rpx; |
| | | text-align: center; |
| | | height: 72rpx; |
| | | line-height: 70rpx; |
| | | background: #B08771; |
| | | border-radius: 8rpx; |
| | | color: #fff; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <view> |
| | | <view class="list"> |
| | | <view class="item"> |
| | | <image class="img" src=""></image> |
| | | <view class="shade">çå¾
ä¸è½½</view> |
| | | <image wx:if="{{ true }}" class="check" src="../../static/icon/ic_select_sel@2x.png"></image> |
| | | <image wx:else class="check" src="../../static/icon/ic_select@2x.png"></image> |
| | | </view> |
| | | </view> |
| | | <!-- --> |
| | | <view class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view class="footer_wrap"> |
| | | <view class="check_wrap"> |
| | | <image wx:if="{{ true }}" class="check" src="../../static/icon/ic_select_sel@2x.png"></image> |
| | | <image wx:else class="check" src="../../static/icon/ic_select@2x.png"></image> |
| | | <text>å
¨é</text> |
| | | </view> |
| | | <view class="down_btn">æ¹éä¸è½½</view> |
| | | </view> |
| | | </view> |
| | | </view> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | .list { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | padding: 40rpx; |
| | | } |
| | | .list .item { |
| | | width: 210rpx; |
| | | height: 210rpx; |
| | | border-radius: 8rpx; |
| | | overflow: hidden; |
| | | position: relative; |
| | | border: 1px solid; |
| | | } |
| | | .list .item .img { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | .list .item .shade { |
| | | position: absolute; |
| | | z-index: 99; |
| | | width: 100%; |
| | | height: 100%; |
| | | left: 0; |
| | | top: 0; |
| | | background-color: rgba(0, 0, 0, 0.5); |
| | | font-size: 30rpx; |
| | | color: #FFFFFF; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | .list .item .check { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | position: absolute; |
| | | top: 12rpx; |
| | | left: 12rpx; |
| | | } |
| | | .footer { |
| | | position: fixed; |
| | | bottom: 0; |
| | | left: 0; |
| | | width: 750rpx; |
| | | background-color: #fff; |
| | | box-shadow: 0rpx -1rpx 0rpx 0rpx #EEEEEE; |
| | | font-weight: 400; |
| | | } |
| | | .footer .footer_wrap { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | height: 100rpx; |
| | | padding: 0 40rpx; |
| | | } |
| | | .footer .check_wrap { |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | .footer .check_wrap .check { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | margin-right: 18rpx; |
| | | } |
| | | .footer .down_btn { |
| | | width: 480rpx; |
| | | text-align: center; |
| | | height: 72rpx; |
| | | line-height: 70rpx; |
| | | background: #B08771; |
| | | border-radius: 8rpx; |
| | | color: #fff; |
| | | } |
| | |
| | | { |
| | | "usingComponents": { |
| | | |
| | | "buoyClient": "../../components/buoyClient/index" |
| | | }, |
| | | "navigationStyle": "custom" |
| | | } |
| | |
| | | <view class="container"> |
| | | <view style="height: {{clientTop - 2}}px;"></view> |
| | | <buoyClient /> |
| | | <view class="search_wrap"> |
| | | <image class="icon" src="../../static/home_ic_search@2x.png" mode="widthFix"></image> |
| | | <input model:value="{{ searchValue }}" placeholder="æç´¢" type="text" /> |
| | |
| | | }, |
| | | { |
| | | "name": "", |
| | | "pathName": "pages/promotion/index", |
| | | "pathName": "pages/download/index", |
| | | "query": "", |
| | | "launchMode": "default", |
| | | "scene": null |