|
|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
<template>
|
|
|
|
|
<view class="p-apply-inedx g_w_all g_h_all g_bg_f_5 g_kuaishou g-apply-tab">
|
|
|
|
|
<view class="p-apply-inedx g_w_all g_bg_page g_kuaishou g-apply-tab">
|
|
|
|
|
<!-- #ifdef MP-TOUTIAO -->
|
|
|
|
|
<view class="g_flex_row_center apply-header" v-if="isHaveOrder == 1">
|
|
|
|
|
<view class="g_flex_row_between box">
|
|
|
|
|
@ -12,10 +12,13 @@
|
|
|
|
|
|
|
|
|
|
<view class="">
|
|
|
|
|
<!-- #ifdef APP-PLUS || H5 || MP-KUAISHOU || MP-WEIXIN -->
|
|
|
|
|
<view class="" style="height: calc(58px + 48px)" v-if="from != 'chat'"></view>
|
|
|
|
|
<!-- <view class="" style="height: calc(58px + 48px)" v-if="from != 'chat'"></view> -->
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
<view class="">
|
|
|
|
|
<view class="m-box-fixed" :style="{ top: 0 }" v-if="isLogin">
|
|
|
|
|
<scroll-view class="m-list" :style="{ height: from != 'chat' ? `calc(100vh - ${tabbarHeight}px)` : `calc(95vh )` }" :scroll-y="true" @scrolltolower="reachBottom">
|
|
|
|
|
<!-- <view class=""> -->
|
|
|
|
|
<view>
|
|
|
|
|
<view :class="[from ? 'sticky' : '']" v-if="isLogin">
|
|
|
|
|
<div class="g_text_c g_h_24 g_pt_12 g_pb_12 g_bg_f" style="z-index: 100" v-if="from == 'chat'">发送工单</div>
|
|
|
|
|
<view style="background-color: #fff" class="">
|
|
|
|
|
<view class="m-select">
|
|
|
|
|
<view style="height: 52px" class="g_flex_column_center g_pt_8">
|
|
|
|
|
@ -32,8 +35,9 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 面板 -->
|
|
|
|
|
<g-list-apply from="home" @uploadList="getList('concat')" bg="" class="" :tabActive="tabActive" :loading="loading" :speed="speed" :isLogin="isLogin" :query.sync="query" :navInfo="navInfo" />
|
|
|
|
|
<g-list-apply :from="from" @uploadList="getList('concat')" bg="" class="" :tabActive="tabActive" :loading="loading" :speed="speed" :isLogin="isLogin" :query.sync="query" :navInfo="navInfo" />
|
|
|
|
|
</view>
|
|
|
|
|
</scroll-view>
|
|
|
|
|
</view>
|
|
|
|
|
<g-tabbar class="tabbar" v-if="from != 'chat'"></g-tabbar>
|
|
|
|
|
</view>
|
|
|
|
|
@ -54,7 +58,7 @@ export default {
|
|
|
|
|
props: {
|
|
|
|
|
from: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: "",
|
|
|
|
|
default: "home",
|
|
|
|
|
},
|
|
|
|
|
upAgencyId: {
|
|
|
|
|
type: Number,
|
|
|
|
|
@ -75,6 +79,7 @@ export default {
|
|
|
|
|
GZHInfo: 0,
|
|
|
|
|
cdnBaseImg: this.G.store().cdnBaseImg,
|
|
|
|
|
keyword: "",
|
|
|
|
|
tabbarHeight: uni.getStorageSync("TABBAR_HEIGHT"),
|
|
|
|
|
|
|
|
|
|
tabActive: 0,
|
|
|
|
|
tabTip: "",
|
|
|
|
|
@ -231,6 +236,16 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
reachBottom() {
|
|
|
|
|
let that = this;
|
|
|
|
|
this.G.isLogin();
|
|
|
|
|
if (this.G.isLogin()) {
|
|
|
|
|
if (that.query.isFinish == -1 || that.query.isFinish == that.query.size) {
|
|
|
|
|
that.query.page++;
|
|
|
|
|
that.getList("concat");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
getList($type = "init") {
|
|
|
|
|
let that = this;
|
|
|
|
|
console.log("是否登录", that.isLogin);
|
|
|
|
|
@ -531,4 +546,10 @@ export default {
|
|
|
|
|
z-index: 999;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.sticky {
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: 0px;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 100;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|