Merge branch 'master' of http://101.37.147.115:3000/mz666/apply-assistant-v3
commit
4d291805c0
@ -0,0 +1,47 @@
|
|||||||
|
<template>
|
||||||
|
<view class="g-rh-empty g-components-empty g_flex_column_center" style="min-height: 69px;">
|
||||||
|
<view class="btn" style="padding: 0 24px;line-height:1.3" @click="goLogin">
|
||||||
|
<u-empty
|
||||||
|
:text="text"
|
||||||
|
:src="image"
|
||||||
|
>
|
||||||
|
</u-empty>
|
||||||
|
<view class="g_text_c g_fs_13" style="color: #c0c4cc;" v-if="subText">{{subText}}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default{
|
||||||
|
props:{
|
||||||
|
image:{
|
||||||
|
default:()=>{
|
||||||
|
return 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/noData.svg'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
text:{
|
||||||
|
type:String,
|
||||||
|
default:()=>{
|
||||||
|
return "暂无数据"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
subText:{
|
||||||
|
type:String,
|
||||||
|
default:()=>{
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
goLogin(){
|
||||||
|
let that = this;
|
||||||
|
if(that.text == '请登录'){
|
||||||
|
that.$emit('exportEmptyEvent')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
@ -0,0 +1,64 @@
|
|||||||
|
<template>
|
||||||
|
<view
|
||||||
|
class="g-rh-image"
|
||||||
|
:style="{
|
||||||
|
'padding':pad + 'px',
|
||||||
|
'background-color':bg,
|
||||||
|
}"
|
||||||
|
:class="'g_radius_' + radius"
|
||||||
|
>
|
||||||
|
<img :src="url ? url : 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/pugongying/default.svg'"
|
||||||
|
:class="'g_radius_' + radius"
|
||||||
|
class=""
|
||||||
|
mode="aspectFill"
|
||||||
|
|
||||||
|
:style="{
|
||||||
|
'width':(size / 2) + 'px',
|
||||||
|
'height':(size / 2) + 'px',
|
||||||
|
}"
|
||||||
|
@click="handleClick"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
/* 默认头像
|
||||||
|
* @params url 图片路径
|
||||||
|
* @params size 尺寸
|
||||||
|
* @params radius 圆度值
|
||||||
|
*/
|
||||||
|
export default{
|
||||||
|
props:{
|
||||||
|
url:{
|
||||||
|
type:String,
|
||||||
|
default(){
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
size:{
|
||||||
|
default(){
|
||||||
|
return 48;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
radius:{
|
||||||
|
default(){
|
||||||
|
return 50;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
pad:{
|
||||||
|
default:0
|
||||||
|
},
|
||||||
|
bg:{
|
||||||
|
default:'none'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
handleClick(){
|
||||||
|
this.$emit('clickItem')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
@ -0,0 +1,62 @@
|
|||||||
|
<template>
|
||||||
|
<view
|
||||||
|
class="g-rh-loading g-components-loading g_w_all g_h_all g_flex_c"
|
||||||
|
:style="{
|
||||||
|
'min-height': minHeight ? minHeight + 'rpx' : '0rpx',
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
<view :class="paddingBottom">
|
||||||
|
<view class="g_flex_row_center">
|
||||||
|
<u-loading mode="circle" :size="size" :color="primaryColor"></u-loading>
|
||||||
|
</view>
|
||||||
|
<view class="g_fs_14 g_c_9 g_flex_row_center g_mt_10" v-if="text != 'empty'">{{ text }}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
/* 自定义loading */
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
loading: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => {
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
minHeight: {
|
||||||
|
default: () => {
|
||||||
|
return 500;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
text: {
|
||||||
|
default: () => {
|
||||||
|
return "加载中...";
|
||||||
|
},
|
||||||
|
},
|
||||||
|
paddingBottom: {
|
||||||
|
// 微调loading的位置
|
||||||
|
default: () => {
|
||||||
|
return 0;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
bg: {
|
||||||
|
default: () => {
|
||||||
|
return "auto";
|
||||||
|
},
|
||||||
|
},
|
||||||
|
size: {
|
||||||
|
default: () => {
|
||||||
|
return "34";
|
||||||
|
},
|
||||||
|
},
|
||||||
|
primaryColor:{
|
||||||
|
default:()=>{
|
||||||
|
return "#1890ff";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss"></style>
|
||||||
@ -0,0 +1,47 @@
|
|||||||
|
<template>
|
||||||
|
<div class="g-rh-login-false-list">
|
||||||
|
<div style="height: 130px;"></div>
|
||||||
|
<rh-empty :text="emptyText" :image='image' />
|
||||||
|
<div style="margin-top: 32px;"></div>
|
||||||
|
<div class="g_flex_row_center" style="width: 100vw;">
|
||||||
|
<rh-button :btnText="btnText" type="primary" :size="size" class="g_mt_32" @clickBtn="goLogin" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default{
|
||||||
|
props:{
|
||||||
|
image:{
|
||||||
|
default:()=>{
|
||||||
|
return 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/noData.svg'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
emptyText:{
|
||||||
|
default:()=>{
|
||||||
|
return '您还有没有登录,请登录后查看'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
btnText:{
|
||||||
|
default:()=>{
|
||||||
|
return '去登录'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
size:{
|
||||||
|
default:()=>{
|
||||||
|
return 'small'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
goLogin(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:'/root/person/loginIndex'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
@ -0,0 +1,86 @@
|
|||||||
|
<template>
|
||||||
|
<div class="g-rh-rh-quickconfirm">
|
||||||
|
<div class="choice_more c6" bindtap="showDropdown">
|
||||||
|
<slot name="title"></slot>
|
||||||
|
<div class="dropdown_box" @touchmove="modalMove" v-if="dropdownShow">
|
||||||
|
<div class="dropdown_mask" @click="hideDropdown"></div>
|
||||||
|
<div class="dropdown" style="z-index: 999" :style="{ width }">
|
||||||
|
<span class="sanjiao"></span>
|
||||||
|
<slot name="content"></slot>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
dropdownShow: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
width: {
|
||||||
|
type: String,
|
||||||
|
default: "144px",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
hideDropdown() {
|
||||||
|
console.log(123123);
|
||||||
|
console.log("this.$emit", this.$emit);
|
||||||
|
this.$emit("dropdownShow", false);
|
||||||
|
},
|
||||||
|
modalMove() {
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.choice_more {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.dropdown_box {
|
||||||
|
/* position: absolute; */
|
||||||
|
}
|
||||||
|
.dropdown_mask {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.dropdown {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 120%;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-shadow: 0px 0px 6px 0px rgba(148, 148, 148, 0.5);
|
||||||
|
}
|
||||||
|
.dropdown .sanjiao {
|
||||||
|
position: absolute;
|
||||||
|
width: 0px;
|
||||||
|
height: 0px;
|
||||||
|
top: -12px;
|
||||||
|
right: 24px;
|
||||||
|
border: 6px solid #fff;
|
||||||
|
border-top: 6px solid transparent;
|
||||||
|
border-left: 6px solid transparent;
|
||||||
|
border-right: 6px solid transparent;
|
||||||
|
}
|
||||||
|
.dropdown .sanjiao {
|
||||||
|
position: absolute;
|
||||||
|
width: 0px;
|
||||||
|
height: 0px;
|
||||||
|
top: -12px;
|
||||||
|
right: 8px;
|
||||||
|
border: 6px solid #fff;
|
||||||
|
border-top: 6px solid transparent;
|
||||||
|
border-left: 6px solid transparent;
|
||||||
|
border-right: 6px solid transparent;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -0,0 +1,83 @@
|
|||||||
|
<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>
|
||||||
@ -0,0 +1,107 @@
|
|||||||
|
{
|
||||||
|
"id": "rh-ui",
|
||||||
|
"displayName": "rh-ui",
|
||||||
|
"version": "1.0.908",
|
||||||
|
"description": "公司内部UI框架",
|
||||||
|
"keywords": [
|
||||||
|
"ui框架"
|
||||||
|
],
|
||||||
|
"repository": "",
|
||||||
|
"engines": {
|
||||||
|
"HBuilderX": "^3.1.0",
|
||||||
|
"uni-app": "^4.86",
|
||||||
|
"uni-app-x": ""
|
||||||
|
},
|
||||||
|
"dcloudext": {
|
||||||
|
"type": "component-vue",
|
||||||
|
"sale": {
|
||||||
|
"regular": {
|
||||||
|
"price": "0.00"
|
||||||
|
},
|
||||||
|
"sourcecode": {
|
||||||
|
"price": "0.00"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"contact": {
|
||||||
|
"qq": "3355927980@qq.com"
|
||||||
|
},
|
||||||
|
"declaration": {
|
||||||
|
"ads": "无",
|
||||||
|
"data": "插件不采集任何数据",
|
||||||
|
"permissions": "无"
|
||||||
|
},
|
||||||
|
"npmurl": "",
|
||||||
|
"darkmode": "x",
|
||||||
|
"i18n": "x",
|
||||||
|
"widescreen": "x"
|
||||||
|
},
|
||||||
|
"uni_modules": {
|
||||||
|
"dependencies": [],
|
||||||
|
"encrypt": [],
|
||||||
|
"platforms": {
|
||||||
|
"cloud": {
|
||||||
|
"tcb": "x",
|
||||||
|
"aliyun": "√",
|
||||||
|
"alipay": "x"
|
||||||
|
},
|
||||||
|
"client": {
|
||||||
|
"uni-app": {
|
||||||
|
"vue": {
|
||||||
|
"vue2": {
|
||||||
|
},
|
||||||
|
"vue3": {
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"web": {
|
||||||
|
"safari": "-",
|
||||||
|
"chrome": "-"
|
||||||
|
},
|
||||||
|
"app": {
|
||||||
|
"vue": {
|
||||||
|
},
|
||||||
|
"nvue": "-",
|
||||||
|
"android": {
|
||||||
|
"extVersion": "1.0.908",
|
||||||
|
"minVersion": "19"
|
||||||
|
},
|
||||||
|
"ios": {
|
||||||
|
"extVersion": "1.0.908",
|
||||||
|
"minVersion": "12"
|
||||||
|
},
|
||||||
|
"harmony": "-"
|
||||||
|
},
|
||||||
|
"mp": {
|
||||||
|
"weixin": {
|
||||||
|
},
|
||||||
|
"alipay": "-",
|
||||||
|
"toutiao": "-",
|
||||||
|
"baidu": "-",
|
||||||
|
"kuaishou": "-",
|
||||||
|
"jd": "-",
|
||||||
|
"harmony": "-",
|
||||||
|
"qq": "-",
|
||||||
|
"lark": "-"
|
||||||
|
},
|
||||||
|
"quickapp": {
|
||||||
|
"huawei": "-",
|
||||||
|
"union": "-"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"uni-app-x": {
|
||||||
|
"web": {
|
||||||
|
"safari": "-",
|
||||||
|
"chrome": "-"
|
||||||
|
},
|
||||||
|
"app": {
|
||||||
|
"android": "-",
|
||||||
|
"ios": "-",
|
||||||
|
"harmony": "-"
|
||||||
|
},
|
||||||
|
"mp": {
|
||||||
|
"weixin": "-"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue