| | |
| | | model: { |
| | | longitude, |
| | | latitude |
| | | } |
| | | },capacity: 3,page:1 |
| | | }).then(res => { |
| | | this.setData({ |
| | | shopList: res.data.records |
| | |
| | | </view> |
| | | <view class="title">欢迎来到志邦家居选志邦,实现您对家的美好想象</view> |
| | | <view class="placeholder9">您喜欢的样子,我都有~</view> |
| | | <view>{{ test }}</view> |
| | | <view class="main_footer"> |
| | | <view class="line"> |
| | | <van-checkbox value="{{ agreementFalg }}" checked-color="{{primary}}" shape="round" bind:change="agreementChange"></van-checkbox> |
| | |
| | | info: {}, |
| | | detail: {}, |
| | | |
| | | origin: '', |
| | | showShare: false |
| | | }, |
| | | |
| | |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | if(options.origin && options.origin == 'b'){ |
| | | this.setData({ origin: 'b' }) |
| | | } |
| | | this.getDetail(options.id, options.userId || '') |
| | | }, |
| | | handleDesign() { |
| | |
| | | color: #999999; |
| | | } |
| | | } |
| | | |
| | | .share_btn{ |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255,255,255,0.33); |
| | | border-radius: 8rpx; |
| | | |
| | | } |
| | | .footer { |
| | | position: fixed; |
| | | bottom: 0; |
| | |
| | | |
| | | |
| | | <!-- footer --> |
| | | <view class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view wx:if="{{ origin && origin == 'b' }}"> |
| | | <button open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">分享</button> |
| | | </view> |
| | | <view wx:else class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view class="btns"> |
| | | <!-- <view class="item"> |
| | | <image class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image> |
| | |
| | | font-size: 26rpx; |
| | | color: #999999; |
| | | } |
| | | .share_btn { |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176, 135, 113, 0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255, 255, 255, 0.33); |
| | | border-radius: 8rpx; |
| | | } |
| | | .footer { |
| | | position: fixed; |
| | | bottom: 0; |
| | |
| | | { |
| | | "usingComponents": { |
| | | "van-field": "@vant/weapp/field/index", |
| | | "van-cascader": "@vant/weapp/cascader/index", |
| | | "van-popup": "@vant/weapp/popup/index" |
| | | }, |
| | | "navigationBarTitleText": "0元免费设计" |
| | |
| | | .banner { |
| | | width: 100%; |
| | | position: relative; |
| | | top: -100rpx; |
| | | } |
| | | |
| | | .main_content { |
| | |
| | | </view> |
| | | <view class="line"> |
| | | <image class="icon" src="../../static/icon/design_ic_city.png" mode="widthFix"></image> |
| | | <picker class="city_picler" mode="region" value="{{ addr }}" bindchange="bindRegionChange" bindchange="positionChange"> |
| | | <picker class="city_picler" mode="region" value="{{ addr }}" bindchange="positionChange"> |
| | | <view class="placeholder9" hidden="{{ addr.cityName }}">请选择地址</view> |
| | | <view class="picker" hidden="{{ !addr.cityName }}"> |
| | | {{ addr.provinceName }}{{ addr.cityName }}{{ addr.areaName }} |
| | |
| | | </view> |
| | | <image class="banner" src="{{ WechatIMG558 }}" mode="widthFix"></image> |
| | | <!-- --> |
| | | <van-popup show="{{ showAreaList }}" bind:close="onClose" round position="bottom"> |
| | | <van-cascader field-names="{{ fieldNames }}" value="{{ cascaderValue }}" title="请选择所在地区" options="{{ areaList }}" bind:close="onClose" bind:finish="onFinish" /> |
| | | </van-popup> |
| | | |
| | | </view> |
| | |
| | | .banner { |
| | | width: 100%; |
| | | position: relative; |
| | | top: -100rpx; |
| | | } |
| | | .main_content { |
| | | width: 670rpx; |
| | |
| | | */ |
| | | data: { |
| | | bottomLift: 0, |
| | | origin: '', |
| | | showShare: false |
| | | }, |
| | | |
| | |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | if(options.origin && options.origin == 'b'){ |
| | | this.setData({ origin: 'b' }) |
| | | } |
| | | this.getDetail(options.id, options.userId || '') |
| | | actionDo({ |
| | | actionType: 'view', |
| | |
| | | } |
| | | } |
| | | } |
| | | .share_btn{ |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255,255,255,0.33); |
| | | border-radius: 8rpx; |
| | | |
| | | } |
| | | .share_modal{ |
| | | .btns{ |
| | | display: flex; |
| | |
| | | </view> |
| | | </view> |
| | | <!-- footer --> |
| | | <view class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view wx:if="{{ origin && origin == 'b' }}"> |
| | | <button open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">分享</button> |
| | | </view> |
| | | <view wx:else class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view class="btns"> |
| | | <button class="item btn"> |
| | | <image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.isCollection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image> |
| | |
| | | .footer .item .icon { |
| | | width: 44rpx; |
| | | } |
| | | .share_btn { |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176, 135, 113, 0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255, 255, 255, 0.33); |
| | | border-radius: 8rpx; |
| | | } |
| | | .share_modal .btns { |
| | | min-height: 320rpx; |
| | | display: flex; |
| | |
| | | data: { |
| | | bottomLift: 0, |
| | | id: '', |
| | | origin: '', |
| | | info: {}, |
| | | member: {}, |
| | | showShare: false |
| | |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | if(options.origin && options.origin == 'b'){ |
| | | this.setData({ origin: 'b' }) |
| | | } |
| | | this.getDetail(options.id, options.userId || '') |
| | | actionDo({ |
| | | actionType: 'view', |
| | |
| | | info |
| | | } = this.data |
| | | wx.previewImage({ |
| | | urls: info.bannerImgList, |
| | | urls: info.imageurlList, |
| | | current: url |
| | | }) |
| | | }, |
| | |
| | | info |
| | | } = this.data |
| | | wx.previewImage({ |
| | | urls: info.spaceList, |
| | | urls: info.imageurlList, |
| | | current: url |
| | | }) |
| | | }, |
| | |
| | | width: 100%; |
| | | } |
| | | } |
| | | |
| | | .share_btn{ |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255,255,255,0.33); |
| | | border-radius: 8rpx; |
| | | |
| | | } |
| | | .main_content { |
| | | padding: 52rpx 40rpx 40rpx; |
| | | border-radius: 16rpx 16rpx 0rpx 0rpx; |
| | |
| | | </view> |
| | | </view> |
| | | <!-- footer --> |
| | | <view class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view wx:if="{{ origin && origin == 'b' }}"> |
| | | <button open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">分享</button> |
| | | </view> |
| | | <view wx:else class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view class="btns"> |
| | | <button class="item btn"> |
| | | <image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.isCollection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image> |
| | |
| | | .banner_swiper image { |
| | | width: 100%; |
| | | } |
| | | .share_btn { |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176, 135, 113, 0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255, 255, 255, 0.33); |
| | | border-radius: 8rpx; |
| | | } |
| | | .main_content { |
| | | padding: 52rpx 40rpx 40rpx; |
| | | border-radius: 16rpx 16rpx 0rpx 0rpx; |
| | |
| | | data: { |
| | | bottomLift: 0, |
| | | id: '', |
| | | origin: '', |
| | | info: {}, |
| | | member: {}, |
| | | showShare: false |
| | |
| | | this.setData({ |
| | | bottomLift: app.bottomLift |
| | | }) |
| | | if(options.origin && options.origin == 'b'){ |
| | | this.setData({ origin: 'b' }) |
| | | } |
| | | this.getDetail(options.id, options.userId || '') |
| | | actionDo({ |
| | | actionType: 'view', |
| | |
| | | } |
| | | } |
| | | } |
| | | .share_btn{ |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255,255,255,0.33); |
| | | border-radius: 8rpx; |
| | | |
| | | } |
| | | .share_modal{ |
| | | .btns{ |
| | | display: flex; |
| | |
| | | </view> |
| | | </view> --> |
| | | <!-- footer --> |
| | | <view class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view wx:if="{{ origin && origin == 'b' }}"> |
| | | <button open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">分享</button> |
| | | </view> |
| | | <view wx:else class="footer" style="padding-bottom: {{bottomLift}}px;"> |
| | | <view class="btns"> |
| | | <button class="item btn"> |
| | | <image data-code="collect_cancel" bindtap="handleAction" wx:if="{{ info.isCollection }}" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image> |
| | |
| | | .footer .item .icon { |
| | | width: 44rpx; |
| | | } |
| | | .share_btn { |
| | | position: fixed; |
| | | bottom: 16rpx; |
| | | left: 40rpx; |
| | | width: 670rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | height: 72rpx; |
| | | flex: 1; |
| | | background-color: var(--themeColor); |
| | | font-weight: 500; |
| | | color: #FFFFFF; |
| | | font-style: 28rpx; |
| | | box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176, 135, 113, 0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255, 255, 255, 0.33); |
| | | border-radius: 8rpx; |
| | | } |
| | | .share_modal .btns { |
| | | min-height: 320rpx; |
| | | display: flex; |
| | |
| | | .consult_swiper { |
| | | width: 100%; |
| | | image { |
| | | width: 100%; |
| | | width: 670rpx; |
| | | height: 376rpx; |
| | | } |
| | | .scroll_text{ |
| | | height: 100rpx; |
| | | width: 670rpx; |
| | | white-space: nowrap; |
| | | overflow: hidden;//文本超出隐藏 |
| | | text-overflow: ellipsis; |
| | | padding-top: 20rpx; |
| | | overflow: hidden;//文本超出隐藏 |
| | | text-overflow: ellipsis; |
| | | padding-top: 22rpx; |
| | | font-size: 32rpx; |
| | | } |
| | | } |
| | |
| | | |
| | | .play { |
| | | width: 60rpx; |
| | | height: 60rpx; |
| | | position: absolute; |
| | | top: 50%; |
| | | left: 50%; |
| | |
| | | } |
| | | |
| | | .img { |
| | | width: 100%; |
| | | width: 670rpx; |
| | | height: 376rpx; |
| | | } |
| | | } |
| | | |
| | |
| | | <image class="ar_right" src="../../static/icon/home_ar@2x.png"></image> |
| | | </view> |
| | | <view class="video_wrap"> |
| | | <image class="img" src="{{ productVideo[0].coverImage }}" mode="widthFix"></image> |
| | | <image bindtap="videoClick" data-videourl="{{ productVideo[0].videoUrl }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image> |
| | | <image class="img" src="{{ productVideo[0].coverImage }}" mode="aspectFill"></image> |
| | | <image bindtap="videoClick" data-videourl="{{ productVideo[0].videoUrl }}" class="play" src="../../static/icon/ic_play.png"></image> |
| | | </view> |
| | | </view> |
| | | <!-- 攻略 --> |
| | |
| | | <swiper class="consult_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" style="height:{{consultImgHeight + 100}}rpx" duration="{{ bannerSwiperOption.duration }}"> |
| | | <block wx:for="{{ consultList }}" wx:key="index"> |
| | | <swiper-item data-id="{{ item.id }}" bindtap="consultClick"> |
| | | <image bindload="consultbindload" mode="widthFix" src="{{ item.coverImage }}"></image> |
| | | <image bindload="consultbindload" mode="aspectFill" src="{{ item.coverImage }}"></image> |
| | | <view class="scroll_text">{{ item.title }}</view> |
| | | </swiper-item> |
| | | </block> |
| | |
| | | width: 100%; |
| | | } |
| | | .container .consult_swiper image { |
| | | width: 100%; |
| | | width: 670rpx; |
| | | height: 376rpx; |
| | | } |
| | | .container .consult_swiper .scroll_text { |
| | | height: 100rpx; |
| | |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | padding-top: 20rpx; |
| | | padding-top: 22rpx; |
| | | font-size: 32rpx; |
| | | } |
| | | .container .logo_wrap { |
| | |
| | | } |
| | | .container .product_video .video_wrap .play { |
| | | width: 60rpx; |
| | | height: 60rpx; |
| | | position: absolute; |
| | | top: 50%; |
| | | left: 50%; |
| | |
| | | z-index: 1; |
| | | } |
| | | .container .product_video .video_wrap .img { |
| | | width: 100%; |
| | | width: 670rpx; |
| | | height: 376rpx; |
| | | } |
| | | .container .strategy { |
| | | padding: 80rpx 40rpx; |
| | |
| | | <image data-id="{{ item.iamId }}" bindtap="handleDetail" src="{{ item.imgurlFull ? item.imgurlFull : '../../static/images/default_avatar.png' }}" class="avatar"></image> |
| | | <view data-id="{{ item.iamId }}" bindtap="handleDetail" class="content"> |
| | | <view class="name">{{ item.name }}</view> |
| | | <view class="desc">导购|{{ info.jobDate || 5}}年经验</view> |
| | | <view class="desc">导购|{{ item.jobDate || 5}}年经验</view> |
| | | </view> |
| | | <view data-phone="{{ item.phone }}" bindtap="callPhone" class="btn">联系TA</view> |
| | | </view> |
| | |
| | | latitude: res.latitude, |
| | | longitude: res.longitude, |
| | | }) |
| | | this.getShops(res.latitude, res.longitude) |
| | | } |
| | | }) |
| | | }, |
| | |
| | | text-overflow: ellipsis; |
| | | } |
| | | image{ |
| | | width: 13rpx; |
| | | width: 14rpx; |
| | | height: 26rpx; |
| | | margin-left: 8rpx; |
| | | } |
| | | } |
| | |
| | | margin-right: 16rpx; |
| | | } |
| | | .name{ |
| | | font-size: 28rpx; |
| | | width: 120rpx; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; //文本溢出显示省略号 |
| | |
| | | } |
| | | .btn{ |
| | | text-align: center; |
| | | line-height: 62rpx; |
| | | line-height: 66rpx; |
| | | height: 66rpx; |
| | | font-weight: 500; |
| | | font-size: 26rpx; |
| | |
| | | <view class="address" data-id="{{ item.id }}" bindtap="handleDetail"> |
| | | <text class="text" wx:if="{{ item.distanceStr }}">{{ item.distanceStr }} | {{ item.address || '' }}</text> |
| | | <text wx:else>--</text> |
| | | <image src="../../static/icon/arrow_right.png" mode="widthFix"></image> |
| | | <image wx:if="{{ item.address }}" src="../../static/icon/arrow_right.png" ></image> |
| | | </view> |
| | | </view> |
| | | <view wx:if="{{ item.linkPhone }}" class="right"> |
| | |
| | | text-overflow: ellipsis; |
| | | } |
| | | .main_content .shops .shop .header .left .address image { |
| | | width: 13rpx; |
| | | width: 14rpx; |
| | | height: 26rpx; |
| | | margin-left: 8rpx; |
| | | } |
| | | .main_content .shops .shop .header .right { |
| | |
| | | margin-right: 16rpx; |
| | | } |
| | | .main_content .shops .shop .user_list .item .info .name { |
| | | font-size: 28rpx; |
| | | width: 120rpx; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | |
| | | } |
| | | .main_content .shops .shop .user_list .item .btn { |
| | | text-align: center; |
| | | line-height: 62rpx; |
| | | line-height: 66rpx; |
| | | height: 66rpx; |
| | | font-weight: 500; |
| | | font-size: 26rpx; |
| | |
| | | housearea: housearea || '', |
| | | housetype: houseType.val1 + '-' + houseType.val2 + '-' + houseType.val3 + '-' + houseType.val4 + '-' + houseType.val5 |
| | | }).then(res => { |
| | | wx.setStorageSync('member', res.data) |
| | | wx.showToast({ |
| | | title: '保存成功', |
| | | icon: 'none' |
| | |
| | | "query": "", |
| | | "launchMode": "default", |
| | | "scene": null |
| | | }, |
| | | { |
| | | "name": "", |
| | | "pathName": "pages/consult/detail", |
| | | "query": "id=1813577799402684418", |
| | | "launchMode": "default", |
| | | "scene": null |
| | | } |
| | | ] |
| | | } |
| | |
| | | const { info, path} = this.data |
| | | wx.navigateToMiniProgram({ |
| | | appId: 'wx208dd1edc0be24ee', |
| | | path: map[path], |
| | | envVersion: 'trial', |
| | | extraData: { |
| | | id: info.id, |
| | | origin: 'b' |
| | | } |
| | | path: `${map[path]}?origin=b&id=${info.id}`, |
| | | envVersion: 'trial' |
| | | }) |
| | | }, |
| | | handleEnjoy() { |
| | |
| | | onLoad(options) { |
| | | this.getCate() |
| | | }, |
| | | onPullDownRefresh: function () { |
| | | console.log('下拉刷新'); |
| | | this.setData({ dataList: [], pageNum: 1, total: 0 }) |
| | | this.getList() |
| | | }, |
| | | onReachBottom() { |
| | | console.log('触底事件'); |
| | | const { total, dataList, pageNum } = this.data |
| | |
| | | "usingComponents": { |
| | | "buoyClient": "../../components/buoyClient/index" |
| | | }, |
| | | "navigationBarTitleText": "资讯" |
| | | "navigationBarTitleText": "资讯", |
| | | "enablePullDownRefresh": true |
| | | } |
| | |
| | | handleDesign() { |
| | | wx.navigateToMiniProgram({ |
| | | appId: 'wx208dd1edc0be24ee', |
| | | path: '/pages/consult/detail', |
| | | envVersion: 'trial', |
| | | extraData: { |
| | | id: this.data.info.id, |
| | | origin: 'b' |
| | | } |
| | | path: `/pages/consult/detail?id=${this.data.info.id}&origin=b`, |
| | | envVersion: 'trial' |
| | | }) |
| | | }, |
| | | getDetail(id) { |
| | |
| | | } |
| | | |
| | | .img { |
| | | width: 100%; |
| | | width: 670rpx; |
| | | height: 376rpx; |
| | | } |
| | | } |
| | | |
| | |
| | | <image class="ar_right" src="../../static/icon/home_ar@2x.png"></image> |
| | | </view> |
| | | <view class="video_wrap"> |
| | | <image class="img" src="{{ productVideo[0].coverImage }}" mode="widthFix"></image> |
| | | <image class="img" src="{{ productVideo[0].coverImage }}" mode="aspectFill"></image> |
| | | <image bindtap="videoClick" data-videourl="{{ productVideo[0].videoUrl }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image> |
| | | </view> |
| | | </view> |
| | |
| | | z-index: 1; |
| | | } |
| | | .product_video .video_wrap .img { |
| | | width: 100%; |
| | | width: 670rpx; |
| | | height: 376rpx; |
| | | } |
| | | .consult_swiper { |
| | | width: 100%; |
| | |
| | | shopId: null, |
| | | shopInfo:{}, |
| | | shopList:[] |
| | | },buo |
| | | }, |
| | | |
| | | /** |
| | | * 生命周期函数--监听页面加载 |
| | |
| | | }, |
| | | onLoad(options) { |
| | | }, |
| | | onPullDownRefresh: function () { |
| | | console.log('下拉刷新'); |
| | | this.setData({ dataList: [], pageNum: 1, total: 0 }) |
| | | this.getList() |
| | | }, |
| | | onReachBottom() { |
| | | console.log('触底事件'); |
| | | const { total, dataList, pageNum } = this.data |
| | |
| | | { |
| | | "usingComponents": {}, |
| | | "navigationBarTitleText": "我收藏的" |
| | | "navigationBarTitleText": "我收藏的", |
| | | "enablePullDownRefresh": true |
| | | } |