cyl/develop
wangxia 12 months ago
parent 150118f469
commit f33722e8ec

@ -4963,48 +4963,7 @@ Page({
refreshabel: true refreshabel: true
}) })
} }
// } else {
// }
}).exec() }).exec()
return
wx.createSelectorQuery()
.select("#sticky")
.fields({
scrollOffset: true,
size: true,
}, (e) => {
console.log('e', e);
// that.setData({
// outerScroll: true
// })
})
return true
}, },
handleInnerScroll (e) {
// console.log('handleInnerScroll', e);
let that = this
wx.createSelectorQuery()
.selectViewport("#sticky")
.scrollOffset((e) => {
console.log('e', e);
// if (e.changedTouches[0].pageY < 0) {
// that.setData({
// innerScroll: true
// })
// } else {
// that.setData({
// innerScroll: false
// })
// }
})
return false
}
}); });

@ -3,7 +3,7 @@
<view class="tabs daotian display-flex fw500" style="width:128px;text-align:center;padding-top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 4}}px;margin-top:{{}};font-size:34rpx;letter-spacing: 1px;">伯才供应链</view> <view class="tabs daotian display-flex fw500" style="width:128px;text-align:center;padding-top:{{statusBarHeight + ((navigationBarHeight - menuButtonHeight) / 2) + 4}}px;margin-top:{{}};font-size:34rpx;letter-spacing: 1px;">伯才供应链</view>
</view>--> </view>-->
<!-- bindrefresherrefresh="onScrollRefresh" refresher-triggered="{{isTrigger}}" refresher-enabled="{{true}}" --> <!-- bindrefresherrefresh="onScrollRefresh" refresher-triggered="{{isTrigger}}" refresher-enabled="{{true}}" -->
<scroll-view wx:if="{{appId == 'wxe431e0b3abd9ae0b' }}" reverse="{{true}}" refresher-enabled="{{false}}" bindrefresherrefresh="onScrollRefresh" scroll-top="{{topNum}}" enhanced decelerationDisabled="{{false}}" bounces="{{false}}" binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:100vh;display:flex;flex-direction:column" enable-passive scroll-x="false" scroll-y="{{true}}" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true" bindtouchmove="handleOuterScroll"> <scroll-view wx:if="{{appId == 'wxe431e0b3abd9ae0b' }}" refresher-enabled="{{false}}" bindrefresherrefresh="onScrollRefresh" scroll-top="{{topNum}}" enhanced decelerationDisabled="{{false}}" bounces="{{false}}" binddragstart="listTouchStart" bindscroll="listTouchMove" style="height:100vh;display:flex;flex-direction:column" enable-passive scroll-x="false" scroll-y="{{true}}" scroll-into-view="{{scrollTo}}" scroll-with-animation="false" enable-back-to-top="true" bindtouchmove="handleOuterScroll">
<view class hover-class="none" id="searchInputBox" hover-stop-propagation="false"> <view class hover-class="none" id="searchInputBox" hover-stop-propagation="false">
<view class="the_city v-center" style hover-class="thover" bindtap="goCity"> <view class="the_city v-center" style hover-class="thover" bindtap="goCity">
<view class="f16 fw500 dib oelps" style="width:36px">{{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}}</view> <view class="f16 fw500 dib oelps" style="width:36px">{{searchCityParamStorage.name == '' ? '全国' : searchCityParamStorage.shortName}}</view>
@ -62,23 +62,7 @@
<view class="fsa" hover-class="none" hover-stop-propagation="false"> <view class="fsa" hover-class="none" hover-stop-propagation="false">
<view wx:for="{{tabGroup}}" class="tarbar" style="margin-right: 24px;" data-item="{{item}}" bindtap="collectChange"> <view wx:for="{{tabGroup}}" class="tarbar" style="margin-right: 24px;" data-item="{{item}}" bindtap="collectChange">
<view class="tarbarText {{choiceCollect == item.key?'collectActive':''}}">{{item.name}}</view> <view class="tarbarText {{choiceCollect == item.key?'collectActive':''}}">{{item.name}}</view>
<!-- <image wx:if="{{toped == '1'}}" src="../../assets/images/border-circle.svg" class="tarbarImg"></image> -->
</view>
<!-- <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1">
<view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">甄选</view>
</view>
<view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="2">
<view class="tarbarText {{choiceCollect == '2'?'collectActive':''}}">三方</view>
</view>-->
<!-- <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1">
<view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">附近</view>
</view> </view>
<view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="2">
<view class="tarbarText {{choiceCollect == '2'?'collectActive':''}}">最新</view>
</view>-->
<!-- <view class="tarbar" style="margin-left: 24px;" bindtap="collectChange" data-id="1">
<view class="tarbarText {{choiceCollect == '1'?'collectActive':''}}">收藏</view>
</view>-->
</view> </view>
<view class="xgxg" id="menu"> <view class="xgxg" id="menu">
<view class="fsa" style="justify-content:space-beteween; height: 44px"> <view class="fsa" style="justify-content:space-beteween; height: 44px">
@ -251,18 +235,6 @@
</view> </view>
</view> </view>
</view> </view>
<!-- catchtap="golistSharePage" -->
<!-- wx:if="{{false}}" -->
<!-- <view class="f14" catchtap="golistSharePage" style="text-decoration:underline;color:#576B95" hover-class="none" hover-stop-propagation="false">批量分享</view> -->
<!-- <view class="typeChange" hover-class="none" hover-stop-propagation="false">
<image class catchtap="choosenTop" data-id="{{toped == 2 ? 1 : 2}}" style="width:60px;height: 32px;" src="{{toped == 1 ? '../../assets/images/biao.svg' : '../../assets/images/jian.svg'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror bindload></image>
</view>-->
<!-- <view class="flex-1">
<view class="newSearch" catchtap="goSearch">
<i class="iconfont icon-sousuo11 mr8"></i>搜索
</view>
</view>-->
<!-- </view> -->
<view class="fss" style="width:100vw" hover-class="none" hover-stop-propagation="false" wx:if="{{selectBrandList.length > 0 || selectJobList.length > 0 || sexid != '-1' ||(storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != '')}}"> <view class="fss" style="width:100vw" hover-class="none" hover-stop-propagation="false" wx:if="{{selectBrandList.length > 0 || selectJobList.length > 0 || sexid != '-1' ||(storeJobListSearchForm.ageRangeStr && storeJobListSearchForm.ageRangeStr != '')}}">
<scroll-view class="filterTag bt1" scroll-x="{{true}}" scroll-y="{{false}}" enable-flex> <scroll-view class="filterTag bt1" scroll-x="{{true}}" scroll-y="{{false}}" enable-flex>
<view class="fss" hover-class="none" hover-stop-propagation="false"> <view class="fss" hover-class="none" hover-stop-propagation="false">

@ -2147,8 +2147,8 @@ Page({
if (this.data.checkedList.length > 0) { if (this.data.checkedList.length > 0) {
let str = ""; let str = "";
this.data.checkedList.forEach((item, index) => { this.data.checkedList.forEach((item, index) => {
console.log(item.jobDesp); // console.log(item.jobInfoWithoutReturnFee);
str += item.jobDesp + (this.data.userInfo.agencyStatus == 1 ? (this.data.userInfo.noticeEndStr ? this.data.userInfo.noticeEndStr : "详情咨询:" + this.data.userInfo.tel) : "详情咨询:" + (this.data.serviceInfo.userName || "") + (this.data.serviceInfo.workPhone || "-")) + (index < this.data.checkedList.length - 1 ? "\n\n\n" : ""); str += (item.jobInfoWithoutReturnFee || '暂无详单') + (this.data.userInfo.agencyStatus == 1 ? (this.data.userInfo.noticeEndStr ? this.data.userInfo.noticeEndStr : "详情咨询:" + this.data.userInfo.tel) : "详情咨询:" + (this.data.serviceInfo.userName || "") + (this.data.serviceInfo.workPhone || "-")) + (index < this.data.checkedList.length - 1 ? "\n\n\n" : "");
}); });
wx.setClipboardData({ wx.setClipboardData({
data: str, data: str,

Loading…
Cancel
Save