cyl/master-0822
wangxia 3 months ago
parent c24e765514
commit 01809ade83

@ -10,7 +10,7 @@
<!-- `calc(${navInfo.windowHeight}px - ${navInfo.navigationBarHeight + navInfo.statusBarHeight}px)` -->
<scroll-view class="m-list" id="listBox" :scroll-into-view="scrollTo" :style="{ height: `calc(100vh - ${tabbarHeight}px)` }" :scroll-y="true" refresher-background="#ededed" :refresher-enabled="true" :refresher-triggered="isTrigger" @refresherrefresh="refreshJobList" @scrolltolower="reachBottom" @scroll="checkScroll">
<div class="g_h_all" hover-class="none" hover-stop-propagation="false">
<div class="g_position_rela g_flex_row_between flex_center g_ml_10 g_mr_10">
<div class="g_position_rela g_flex_row_between flex_center g_ml_10 g_mr_10" id="topId">
<div class="the_city g_flex_column_center" style hover-class="thover" @click="goCity">
<div class="g_flex_row_center">
<div class="g_fs_16 g_fw_600" style="min-width: 36px; display: inline-block">{{ selectedCity }}</div>
@ -102,6 +102,11 @@
</div>
</div>
</scroll-view>
<div hover-class="none" class="iconfont icon-huidaodingbu g_bg_f g_fs_32 g_w_48 g_h_48 g_radius_50 g_text_c" style="position: fixed; right: 20px; bottom: 180px; z-index: 0; box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1); line-height: 48px" hover-stop-propagation="false" @click="backToTop">
<!-- <g-panel-image :url="cdnBaseImg + 'quick_application0610.svg'" size="96" /> -->
</div>
<div hover-class="none" style="position: fixed; right: 20px; bottom: 120px; z-index: 0" hover-stop-propagation="false" @click="toRecord" v-if="isLogin && userInfo.agencyId">
<g-panel-image :url="cdnBaseImg + 'quick_application0610.svg'" size="96" />
</div>
@ -398,8 +403,16 @@ export default {
}
}
},
backToTop() {
this.scrollTo = "topId";
// uni.pageScrollTo({
// scrollTop: 0,
// duration: 300, // ms
// });
},
checkScroll() {
let that = this;
this.scrollTo = "";
uni
.createSelectorQuery()
.select("#tttop")

@ -255,7 +255,7 @@
<view class="g_flex_row_start" style="height: 26px;overflow: hidden;" v-if="JSON.parse(props.msg.attachment.raw).label.length > 0">
<view v-for="(item, index) in JSON.parse(props.msg.attachment.raw).label"
:style="{ color: `${labelColor[index % labelColor.length]}`, 'background-color': `${bgColor[index % bgColor.length]}` }"
class="g_mr_8 g_mb_8 g_pl_4 g_pr_4" style="font-size: 14px;">
class="g_mr_8 g_mb_10 g_pl_4 g_pr_4" style="font-size: 14px;">
{{ item }}
</view>
</view>
@ -296,7 +296,7 @@
<view class="g_flex_row_start" style="height: 26px;overflow: hidden;" v-if="JSON.parse(props.msg.attachment.raw).obj.jobRequestLabelNames.length > 0">
<view v-for="(item, index) in JSON.parse(props.msg.attachment.raw).obj.jobRequestLabelNames.split(', ')"
:style="{ color: `${labelColor[index % labelColor.length]}`, 'background-color': `${bgColor[index % bgColor.length]}` }"
class="g_mr_8 g_mb_8 g_pl_4 g_pr_4" style="font-size: 14px;">
class="g_mr_8 g_mb_10 g_pl_4 g_pr_4" style="font-size: 14px;">
{{ item }}
</view>
</view>

Loading…
Cancel
Save