You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
apply-assistant-v3/uni_modules/rh-ui/components/rh-unlogininfo/rh-unlogininfo.vue

84 lines
2.3 KiB
Vue

<template>
<div class="g-rh-rh-unlogininfo">
<view class="g_flex_column_between g_flex_1" style="background-color: #ededed; height: 100%; padding-top: 100px">
<view class="g_flex_column_start flex_center">
<view class="iconfont icon-info-circle-fill g_c_027" style="font-size: 80px"> </view>
<view class="g_fs_17 g_mb_16 g_mt_16"> 温馨提示 </view>
<view class="g_fs_13 g_c_9 g_mb_32 g_text_c g_ml_20 g_mr_20"> {{ !isLogin ? "相关功能仅对注册用户开放,请注册登录后查看。" : "平台仅面向企业用户开放,您需完成企业认证后使用。" }} </view>
</view>
<view class="" style="margin-bottom: 80px">
<rh-button :btnText="!isLogin ? '登录查看' : '马上认证'" type="primary" @clickBtn="goPage('/root/other/tobeAgencyChoose')" />
<view class="g_c_sub g_flex_row_center flex_center g_fs_14 g_mt_32" @click="serverPopShow = true"> <i class="iconfont icon-kefu"> </i>联系客服 </view>
<!-- <view class="g_c_sub g_flex_row_center flex_center g_fs_14 g_mt_32" @click="kefu"> <i class="iconfont icon-kefu"> </i>联系客服 </view> -->
</view>
</view>
<rh-serverpopup
:show="serverPopShow"
@updateShow="
(e) => {
serverPopShow = e;
}
"
></rh-serverpopup>
</div>
</template>
<script>
export default {
data() {
return {
userInfo: {},
isLogin: false,
serverPopShow: false,
serviceInfo: {},
};
},
created() {
let that = this;
that.userInfo = uni.getStorageSync("apply-userinfo");
that.isLogin = uni.getStorageSync("apply-token") ? true : false;
this.serviceInfo = uni.getStorageSync("bc-server");
},
methods: {
kefu(e) {
console.log("kefu");
var that = this;
let url = "https://work.weixin.qq.com/kfid/kfcb8c9f18988b03371";
if (url != "") {
that.agencyId = uni.getStorageSync("apply-agencyId");
uni.openCustomerServiceChat({
extInfo: {
url,
},
corpId: "wwc227639d3a136c8d",
success(res) {},
fail(err) {},
});
} else {
uni.showToast({
title: "该岗位暂无客服",
icon: "none",
duration: 2000,
});
}
},
kefuPhone() {
uni.makePhoneCall({
phoneNumber: "19036980065",
});
},
goPage(url) {
this.G.isLogin();
if (this.G.isLogin()) {
uni.navigateTo({
url,
});
}
},
},
};
</script>
<style></style>