cyl/master-apply
wangxia 3 months ago
parent a009f59346
commit ee3e52487b

@ -37,7 +37,11 @@ export default {
that.G.watchUserPage(args.url);
},
});
//
if (uni.getStorageSync("apply-token")) {
// console.log("app.vue IM");
that.checkAndReconnectIM();
}
uni.$on("isGlogin", function (data) {
// console.log("app.vue ", data);
if (uni.getStorageSync("apply-token")) {
@ -91,11 +95,6 @@ export default {
}, 15 * 1000);
}
//
if (uni.getStorageSync("apply-token")) {
// console.log("app.vue IM");
that.checkAndReconnectIM();
}
const updateManager = uni.getUpdateManager();
updateManager.onCheckForUpdate(function (res) {
console.log("检测是否有新版本:", res.hasUpdate);
@ -175,7 +174,7 @@ export default {
// console.log("IM...");
that.reconnectIM();
}
} else if (uni.getStorageSync("apply-token") && uni.getStorageSync("apply-uid")) {
} else if (uni.getStorageSync("apply-token") ) {
// console.log("IM SDK...");
that.initWyyx();
}
@ -551,11 +550,10 @@ page {
padding-top: 90px;
}
.g-rh-login-false-list{
.bocai_btn_type_primary{
.g-rh-login-false-list {
.bocai_btn_type_primary {
background-color: #00b666 !important;
border: 1px solid #00b666 !important;
}
}
</style>

@ -2,15 +2,17 @@
<view class="g-components-yi-list-job g_bg_f_5">
<g-loading paddingBottom="g_pb_120" v-if="loading && speed == -1" />
<!-- loading && speed == -1 -->
<view
v-if="!loading && speed == 0"
style="width: calc(100% - 20px); margin: 0 auto"
class="g_h_all g_flex_row_center"
>
<rh-login-false-list />
<view v-if="!loading && speed == 0" style="width: calc(100% - 20px); margin: 0 auto" class="g_h_all g_flex_row_center">
<!-- <view class="g_h_all" style="" v-if="!isLogin">
<unloginInfo></unloginInfo>
</view> -->
<rh-empty :text="emptyText" style="margin-top: 30px" />
<view class="g_mt_32" v-if="isShowLoginBtn">
<rh-button :btnText="'登录查看'" type="primary" @clickBtn="goLogin" />
</view>
</view>
<view v-if="speed > 0" class="link">
<block class="" v-for="(item, index) in jobArray" :key="index" >
<block class="" v-for="(item, index) in jobArray" :key="index">
<view class="item g_position_rela g_mb_10 g_ml_12 g_mr_12 g_bg_f g_radius_8 g_border_e_b" :class="from == 'share' ? 'g_pl_32' : ''" hover-class="thover">
<view class="g_p_10 g_position_rela" style="" @click="handleCard(item, index)">
<i class="iconfont icon-yitingzhao" v-if="item.recruitment == 2 && from != 'mine'" style="position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); color: #ff4d4f; font-size: 80px; z-index: 1"></i>
@ -119,7 +121,7 @@
</view>
</view>
<view class="g_flex_row_end flex_center" v-if="from == 'chat'">
<rh-button primaryColor='#00b666' btnText="发送" fontSize="14" type="primary" size="mini" @clickBtn="sendJob(item)" />
<rh-button primaryColor="#00b666" btnText="发送" fontSize="14" type="primary" size="mini" @clickBtn="sendJob(item)" />
<!-- <view class="checkBox g_c_main g_fs_14" hover-class="none" @click.stop="sendJob(item)"> 发送 </view> -->
</view>
</view>
@ -162,10 +164,10 @@
<script>
import quickLogin from "../../components/quickLogin.vue";
// import unloginInfo from "@/components/unloginInfo.vue";
import unloginInfo from "@/components/unloginInfo.vue";
export default {
components: {
// unloginInfo,
unloginInfo,
quickLogin,
},
data() {

@ -11,7 +11,7 @@
<u-popup v-model="showPopFlag" mode="bottom" z-index="999999" border-radius="12" :closeable="true" :mask-close-able="true" @close="closePop">
<view class="g_p_12">
<view class="g_fs_16 g_fw_600 g_mb_16">选择时间</view>
<view class="g_p_12 g_border_e g_flex_row_center g_radius_6">
<view class="g_p_9 g_border_d9 g_flex_row_center g_radius_6">
<picker mode="multiSelector" class="g_flex_column_center flex_center3 g_w_all" :range="dateTimeArray" :value="dateTime" @change="changeDateTime" @columnchange="changeDateTimeColumn($event)" style="color: #333">
<view class="g_flex_row_center flex_center g_w_all">
<view class="g_fs_16">
@ -24,9 +24,11 @@
</picker>
</view>
<view class="g_flex_row_between g_mt_12" style="column-gap: 8px">
<view v-for="item in quickSelectTime" @click="quickSelect(item)" class="g_flex_row_center g_radius_6 g_border_e g_p_12 g_mb_12" style="width: calc(100% / 2 - 32px)" :class="[selectedTime === item.id ? 'active' : '']">
{{ item.label }}
<template v-for="item in quickSelectTime">
<view class="g_mb_12" style="width: calc((100% - 12px) / 2)">
<rh-button primaryColor="#00b666" mode="square" @clickBtn="quickSelect(item)" :btnText="item.label" :type="selectedTime === item.id ? 'default' : 'default_b'" size="small_auto"></rh-button>
</view>
</template>
</view>
<view class="g_h_32"></view>
<!-- <view class="g_flex_row_center g_mt_12">

@ -132,7 +132,7 @@
<u-checkbox @change="checkAllChange" shape="circle" active-color="#00B666" v-model="checkAll">
<div class="g_c_6 g_ml_8">全选</div>
</u-checkbox>
<rh-button primaryColor='#00b666' :btnText="`一键关注(${upInfo.num})`" type="primary" @clickBtn="submitInfo" />
<rh-button primaryColor="#00b666" :btnText="`一键关注(${upInfo.num})`" type="primary" @clickBtn="submitInfo" />
</div>
</div>
</u-popup>
@ -157,6 +157,7 @@ export default {
onLoad() {
let that = this;
that.navInfo = that.G.getNavInfo();
console.log('uni.getStorageSync("apply-token")', uni.getStorageSync("apply-token"));
that.isLogin = uni.getStorageSync("apply-token");
that.tabInfo.active = 0;

@ -132,7 +132,9 @@ export default {
}
uni.onAfterPageUnload(() => {
console.log("onAfterPageUnload");
setTimeout(() => {
uni.removeStorageSync("poster_img");
}, 5000);
});
},
onShow() {

@ -101,7 +101,7 @@
<script>
import { nationlist } from "../../utils/nation.js";
import dateUtil from "../../utils/dateUtil.js";
import AiApply from "./components/AiApply.vue";
import AiApply from "../../components/AiApply.vue";
export default {
components: {
AiApply,

@ -80,6 +80,9 @@ scroll-view::-webkit-scrollbar {
&_main {
border: 1rpx solid $main_color;
}
&_d9 {
border: 1rpx solid #d9d9d9;
}
&_f5 {
border: 1rpx solid #ededed;
&_t {

@ -32,6 +32,7 @@
* infro 信息按钮底色是灰色无法触发事件
* delete 删除按钮白底红色
* none 没有样式白底黑字
* default_b 灰色边框白底黑字灰框
* disabled 禁用白底黑字
* @params openType 开放类型
* @params openType 开放类型
@ -265,7 +266,7 @@ export default {
border-radius: 60px;
}
&_square {
border-radius: 10px;
border-radius: 6px;
}
}
.bocai_btn_type {
@ -281,6 +282,14 @@ export default {
opacity: 0.8;
}
}
&_default_b {
background-color: #fff;
color: #333;
border: 1rpx solid #d9d9d9;
&.thover {
opacity: 0.8;
}
}
&_infro {
pointer-events: none;
background: #ddd;

Loading…
Cancel
Save