素质测评,生涯规划,个人档案,职业库功能完成

This commit is contained in:
2025-11-05 11:09:27 +08:00
parent 328721e6e9
commit 17f393df45
54 changed files with 18573 additions and 17 deletions

386
packageCa/job/details.vue Normal file
View File

@@ -0,0 +1,386 @@
<template>
<view class="specialtyItem">
<view class="content">
<view class="head">
<view class="h3">
{{jobDetailData.Name}}
</view>
<view class="h2">所属大类<text>{{jobDetailData.BigCategoryName}}</text></view>
<view class="h2">所属中类<text>{{jobDetailData.MidCategoryName}}</text></view>
<view class="h2">所属小类<text>{{jobDetailData.SmallCategoryName}}</text></view>
<view class="intention-btn" v-if="jobDetailData.ShowIntention" v-text="jobDetailData.IsIntention?'取消意向':'加入意向'" @click="changeIntention"></view>
</view>
<view class="txt-content">
<view class="article-item" v-if="jobDetailData.VideoUrl">
<text class="h4">职业新说</text>
<video :src="jobDetailData.VideoUrl"></video>
</view>
<view class="article-item" v-if="jobDetailData.TopIntroduction">
<text class="h4">职业说明</text>
<view class="article-content" v-html="jobDetailData.TopIntroduction"></view>
</view>
<view class="article-item" v-if="jobDetailData.TopWorkContent">
<text class="h4">工作内容</text>
<view class="article-content" v-html="jobDetailData.TopWorkContent"></view>
</view>
<view class="article-item" v-if="jobDetailData.QualityRequirements">
<text class="h4">从业要求</text>
<view class="article-content" v-html="jobDetailData.QualityRequirements"></view>
</view>
<view class="article-item" v-if="jobDetailData.AbilityRequirements">
<text class="h4">能力要求</text>
<view class="article-content" v-html="jobDetailData.AbilityRequirements"></view>
</view>
<view class="article-item" v-if="jobDetailData.SalaryStr">
<text class="h4">薪资范围</text>
<view class="article-content" v-html="jobDetailData.SalaryStr"></view>
</view>
<view class="article-item" v-if="jobDetailData.CareerProspects">
<text class="h4">就业前景</text>
<view class="article-content" v-html="jobDetailData.CareerProspects"></view>
</view>
<view class="article-item" v-if="listOne.length > 0">
<text class="h4">职业技能</text>
<view class="attr-wrap">
<view class="row" v-for="(item,index) in listOne" :key="index">
<view class="name">
<text class="label">{{index + 1}}</text>{{item.Name}}
</view>
<view class="desc">
{{item.Explain}}
</view>
</view>
</view>
</view>
<view class="article-item" v-if="listTwo.length > 0">
<text class="h4">职业能力</text>
<view class="attr-wrap">
<view class="row" v-for="(item,index) in listTwo" :key="index">
<view class="name">
<text class="label">{{index + 1}}</text>{{item.Name}}
</view>
<view class="desc">
{{item.Explain}}
</view>
</view>
</view>
</view>
<view class="article-item" v-if="listThree.length > 0">
<text class="h4">具备知识</text>
<view class="attr-wrap">
<view class="row" v-for="(item,index) in listThree" :key="index">
<view class="name">
<text class="label">{{index + 1}}</text>{{item.Name}}
</view>
<view class="desc">
{{item.Explain}}
</view>
</view>
</view>
</view>
<view class="article-item" v-if="listFour.length > 0">
<text class="h4">职业素养</text>
<view class="attr-wrap">
<view class="row" v-for="(item,index) in listFour" :key="index">
<view class="name">
<text class="label">{{index + 1}}</text>{{item.Name}}
</view>
<view class="desc">
{{item.Explain}}
</view>
</view>
</view>
</view>
<view class="article-item" v-if="listFive.length > 0">
<text class="h4">职业活动</text>
<view class="attr-wrap">
<view class="row" v-for="(item,index) in listFive" :key="index">
<view class="name">
<text class="label">{{index + 1}}</text>{{item.Name}}
</view>
<view class="desc">
{{item.Explain}}
</view>
</view>
</view>
</view>
<view class="article-item" v-if="jobDetailData.DevelopmentPath">
<text class="h4">发展路径</text>
<view class="article-content" v-html="jobDetailData.DevelopmentPath"></view>
</view>
<view class="article-item" v-if="jobDetailData.SpecialtyList != null && jobDetailData.SpecialtyList.length > 0">
<text class="h4">推荐专业</text>
<view class="sp-wrap">
<view class="item" v-for="(item,index) in jobDetailData.SpecialtyList":key="index">
{{item.Name}}
</view>
</view>
</view>
</view>
</view>
<view class="fiexd-visitor" v-if="isVisitor">
<navigator class="btn" url="/pagesUserInfo/binding/binding?routeType=6">请先登录</navigator>
</view>
<!-- <u-modal :show="showLogin" content='观看完整内容,请先登录' width='500rpx' @confirm="showLogin=false"></u-modal> -->
</view>
</template>
<script>
import api from "@/apiCa/job.js"
import api1 from "@/apiCa/user.js"
export default {
data() {
return {
showLogin: false,
isVisitor: false, //游客
user: uni.getStorageSync("CAuserInfo").user,
id: 0,
jobDetailData: {
Name: "",
BigCategoryName: "",
MidCategoryName: "",
SmallCategoryName: "",
VideoUrl: "",
TopIntroduction: "",
TopWorkContent: "",
QualityRequirements: "",
},
listOne: [],//职业技能
listTwo: [],//职业能力
listThree: [],//具备知识
listFour: [],//职业素养
listFive: [],//职业活动
}
},
onLoad(e) {
if(this.user == undefined || this.user == null){
this.isVisitor = true;
}else {
this.isVisitor = false;
}
this.id = e.id;
this.queryJobDetailById();
},
methods: {
showConfirmInfor(){
uni.showModal({
content:"观看完整内容,请先登录",
confirmText:"确认",
confirmColor:"#1677ff",
showCancel:false
})
},
changeIntention(){
uni.showLoading({
title: "加载中"
})
let isIntention = this.jobDetailData.IsIntention;
api1.doIntention(2,this.id,isIntention?1:0).then((res)=>{
uni.hideLoading();
if(res.Result == 1){
this.jobDetailData.IsIntention = !this.jobDetailData.IsIntention;
}
})
},
// 获取专业信息
queryJobDetailById(){
uni.showLoading({
title:"加载中"
})
api.queryJobDetailById(this.id).then((res) => {
uni.hideLoading();
if(res.Result == 1){
this.jobDetailData = res.Data;
let attList = res.Data.AttList;
if(attList != null){
let listOne = [],//职业技能
listTwo = [],//职业能力
listThree = [],//具备知识
listFour = [],//职业素养
listFive = [];//职业活动
attList.forEach(item => {
switch(item.Identify){
case 1 :{
listOne.push(item);
break;
}
case 2 :{
listTwo.push(item);
break;
}
case 3 :{
listThree.push(item);
break;
}
case 5 :{
listFour.push(item);
break;
}
case 6 :{
listFive.push(item);
break;
}
}
});
this.listOne = listOne;
this.listTwo = listTwo;
this.listThree = listThree;
this.listFour = listFour;
this.listFive = listFive;
}
}
})
},
}
}
</script>
<style lang="scss" scoped>
.specialtyItem {
// background-color: #f6f6f6;
padding-bottom: 150rpx;
.head {
position: relative;
padding: 20rpx 30rpx 20rpx;
display: flex;
width: 690rpx;
background-color: #ffffff;
justify-content: center;
flex-direction: column;
border-bottom: 20rpx solid #f6f6f6;
.intention-btn {
position: absolute;
right: 30rpx;
top: 10rpx;
width: 160rpx;
height: 60rpx;
line-height: 60rpx;
border-radius: 8rpx;
font-size: 24rpx;
background: #1676FF;
color: #fff;
text-align: center;
}
.h3 {
display: flex;
align-items: center;
height: 60rpx;
font-size: 36rpx;
font-weight: 600;
color: #525252;
margin-bottom: 10rpx;
}
.h2{
font-size: 24rpx;
color: #999;
margin-bottom: 10rpx;
text {
color: #333;
}
}
}
.txt-content {
position: relative;
overflow: auto;
background: #fff;
padding: 34rpx 30rpx 60rpx 30rpx;
border-bottom-left-radius: 20rpx;
border-bottom-right-radius: 20rpx;
.article-item {
margin-bottom: 32rpx;
padding-bottom: 40rpx;
border-bottom: 2rpx solid #f6f6f6;
.h4 {
display: flex;
align-items: center;
font-size: 32rpx;
color: #323233;
font-weight: 500;
margin-bottom: 34rpx;
}
video {
width: 100%;
}
.article-content {
line-height: 46rpx;
font-size: 28rpx;
color: #969799;
}
.attr-wrap {
.row {
margin-bottom: 25rpx;
.name {
display: flex;
align-items: center;
font-size: 28rpx;
color: #20b664;
margin-bottom: 18rpx;
.label {
display: block;
width: 64rpx;
height: 32rpx;
line-height: 32rpx;
margin-right: 20rpx;
background: #FF8A00;
border-radius: 12rpx;
color: #fff;
font-size: 24rpx;
text-align: center;
}
}
.desc {
font-size: 28rpx;
color: #969799;
line-height: 42rpx;
}
}
}
.sp-wrap {
display: flex;
flex-wrap: wrap;
.item {
display: block;
border: 2rpx solid #1677ff;
border-radius: 8rpx;
height: 52rpx;
margin-right: 20rpx;
line-height: 52rpx;
padding: 0 15rpx;
font-size: 28rpx;
margin-bottom: 20rpx;
color: #1677ff;
}
}
}
}
.fiexd-visitor {
position: fixed;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 150rpx;
background: rgba(255, 255, 255, 0.9);
z-index: 99;
border-top: 1px solid #eee;
.btn {
width: 300rpx;
height: 80rpx;
border-radius: 40rpx;
line-height: 80rpx;
background: #1677ff;
font-size: 28rpx;
text-align: center;
color: #fff;
}
}
}
</style>
<style>
page {
overflow-y: scroll;
}
</style>

566
packageCa/job/index.vue Normal file
View File

@@ -0,0 +1,566 @@
<template>
<view class="jobIndex">
<view class="searchbox">
<view class="input-wrap">
<view class="school-tip" @click="showTipLayer()">
<view class="txt">职业</view>
<view class="txt">1639</view>
<view class="icon"></view>
</view>
<text class="icon icon-search"></text>
<input type="search" v-model="kw" placeholder="请输入职业名称" @input="inputKeywrok"/>
<view class="list-wrap" v-show="kw != ''">
<navigator class="link" :url="'/packageCa/job/details?id='+item.Id" v-for="(item, index) in jobDataList" :key="index">{{item.Name}}</navigator>
</view>
</view>
</view>
<!-- :style="{height: winHeight - barHeight - loginHeight + 'px'}" -->
<view class="u-menu-wrap" >
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop" :scroll-into-view="itemId">
<view v-for="(item,index) in jobList" :key="index" class="u-tab-item"
:class="[current == index ? 'u-tab-item-active' : '']" @tap.stop="swichMenu(index)">
<text class="u-line-3">{{item.Name}}</text>
</view>
</scroll-view>
<scroll-view :scroll-top="scrollRightTop" scroll-y scroll-with-animation class="right-box" @scroll="rightScroll">
<view class="page-view">
<view class="class-item" :id="'item' + index" v-for="(item , index) in jobList" :key="index">
<view class="item-title">
<text>{{item.Name}}</text>
</view>
<view class="item-container">
<view class="thumb-box" v-for="(item1, index1) in item.SubList" :key="index1" >
<navigator class="item-menu-name" :url="`/packageCa/job/midList?code=${item1.Code}&name=${item1.Name}`" >{{item1.Name}}</navigator>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<view class="fiexd-visitor" v-if="isVisitor">
<navigator class="btn" url="/packageB/pagesUserInfo/binding/binding?routeType=6">请先登录</navigator>
</view>
<!-- <u-modal :show="showTip" @confirm="showTip=false" @cancel="showTip=false" confirmText="我明白了">
<view class="slot-content">
<view class="tip-layer">
<view class="title">{{layerTitile}}</view>
<view class="desc" v-html="layerDesc"></view>
</view>
</view>
</u-modal> -->
</view>
</template>
<script>
import api from "@/apiCa/job.js"
import jobList from "@/packageCa/job/jobList.json";
export default {
data() {
return {
kw: "", //搜索关键
user: uni.getStorageSync("CAuserInfo").user,
isVisitor: false, //游客
barHeight: wx.getWindowInfo().statusBarHeight,
winHeight: wx.getWindowInfo().windowHeight,
jobDataList: [],
jobList,
scrollTop: 0, //tab标题的滚动条位置
oldScrollTop: 0, // tab标题的滚动条旧位置
current: 0, // 预设当前项的值
menuHeight: 0, // 左边菜单的高度
menuItemHeight: 0, // 左边菜单item的高度
itemId: '', // 栏目右边scroll-view用于滚动的id
arr: [], // 储存距离顶部高度的数组
scrollRightTop: 0, // 右边栏目scroll-view的滚动条高度
timer: null, // 定时器
showTip: false, //数据弹窗
layerTitile: "",
layerDesc: "",
loginHeight:99,
}
},
onLoad(e) {
if(this.user == undefined || this.user == null){
this.isVisitor = true;
this.loginHeight=99;
}else {
this.isVisitor = false;
this.loginHeight=0;
}
this.scrollRightTop = 1;
},
methods: {
showTipLayer(){
this.layerTitile = "数据说明";
this.layerDesc = "共1639个职业数据来源《中华人民共和国职业分类大典(2022年版)》如有变更以官方最新公布为准。部分职业详情页中提供与职业相关的3-5分钟介绍视频截至2025年10月职业介绍视频共计200个。";
uni.showModal({
title:this.layerTitile,
content:this.layerDesc,
confirmText:"我明白了",
confirmColor:"#1677ff",
showCancel:false
})
//this.showTip = true;
},
// 滚动新旧值
getElRect(elClass, dataVal) {
new Promise((resolve, reject) => {
const query = uni.createSelectorQuery().in(this);
query.select('.' + elClass).fields({
size: true
}, res => {
// 如果节点尚未生成res值为null循环调用执行
if (!res) {
setTimeout(() => {
this.getElRect(elClass);
}, 10);
return;
}
this[dataVal] = res.height;
resolve();
}).exec();
})
},
//滚动位置
getMenuItemTop() {
new Promise(resolve => {
let selectorQuery = uni.createSelectorQuery();
selectorQuery.selectAll('.class-item').boundingClientRect((rects) => {
// 如果节点尚未生成rects值为[](因为用selectAll所以返回的是数组),循环调用执行
if (!rects.length) {
setTimeout(() => {
this.getMenuItemTop();
}, 10);
return;
}
rects.forEach((rect) => {
// 视情况而定这里减去rects[0].top是因为第一项顶部可能不是贴到导航栏(比如有个搜索框的情况)
// this.arr.push(rect.top - rects[0].top);
this.arr.push(rect.top - rects[0].top)
resolve();
})
}).exec()
})
},
/**
* 观测元素相交状态
* 检测右边scroll-view的id为itemxx的元素与right-box的相交状态
* 如果跟.right-box底部相交就动态设置左边栏目的活动状态
*/
async observer() {
this.tabbar.map((val, index) => {
let observer = uni.createIntersectionObserver(this);
observer.relativeTo('.right-box', {
top: 0
}).observe('#item' + index, res => {
if (res.intersectionRatio > 0) {
let id = res.id.substring(4);
this.leftMenuStatus(id);
}
})
})
},
/**
* 设置左边菜单的滚动状态
* @index 传入的 ID
*/
async leftMenuStatus(index) {
this.current = index;
// 如果为0意味着尚未初始化
if (this.menuHeight == 0 || this.menuItemHeight == 0) {
await this.getElRect('menu-scroll-view', 'menuHeight');
await this.getElRect('u-tab-item', 'menuItemHeight');
}
// 将菜单活动item垂直居中
this.scrollTop = index * this.menuItemHeight + this.menuItemHeight / 2 - this.menuHeight / 2;
},
/**
* 点击左边的栏目切换
* @index 传入的 ID
*/
async swichMenu(index) {
if (this.arr.length == 0) {
await this.getMenuItemTop();
}
if (index == this.current) return;
this.scrollRightTop = this.oldScrollTop;
this.$nextTick(()=> {
this.scrollRightTop = this.arr[index];
this.current = index;
this.leftMenuStatus(index);
})
},
/**
* 右边菜单滚动
* 如果不存在height2意味着数据循环已经到了最后一个设置左边菜单为最后一项即可
*/
async rightScroll(e) {
this.oldScrollTop = e.detail.scrollTop;
if (this.arr.length == 0) {
await this.getMenuItemTop();
}
if (this.timer) return;
if (!this.menuHeight) {
await this.getElRect('menu-scroll-view', 'menuHeight');
}
setTimeout(() => { // 节流
this.timer = null;
// scrollHeight为右边菜单垂直中点位置
// let scrollHeight = e.detail.scrollTop + this.menuHeight / 2;
// scrollHeight为右边菜单头部位置
let scrollHeight = e.detail.scrollTop + 20;
for (let i = 0; i < this.arr.length; i++) {
let height1 = this.arr[i];
let height2 = this.arr[i + 1];
if (!height2 || scrollHeight >= height1 && scrollHeight < height2) {
this.leftMenuStatus(i);
return;
}
}
}, 10)
},
inputKeywrok(){
if(this.user == undefined || this.user == null){
return;
}
if(this.kw.trim() == ''){
return;
}
api.queryJobListByParentCode(this.kw.trim(),"").then((res) => {
if(res.Result == 1){
this.jobDataList = res.Data.List;
}
})
},
// 查询专业
bindSearchList() {
if(this.user == undefined || this.user == null){
return uni.showToast({
title: "请先登录",
icon: "none"
})
}
if(this.kw == ""){
return uni.showToast({
title: "请输入搜索内容",
icon: "none"
})
}
uni.navigateTo({
url: "/packageCa/job/smallList?name=" + this.kw.trim()
})
},
}
}
</script>
<style lang="scss" scoped>
.tip-layer {
.title {
font-size: 36rpx;
color: #333;
text-align: center;
font-weight: 600;
margin-bottom: 30rpx;
}
.desc {
font-size: 28rpx;
color: #666666;
margin-bottom: 20rpx;
&:last-child {
margin-bottom: 0;
}
}
}
.jobIndex {
position: relative;
padding-top: 0;
height: 100vh;
.u-menu-wrap {
display: flex;
height: calc(100vh - 100rpx);
overflow: auto;
padding-top: 100rpx;
.u-tab-view {
width: 350rpx;
height: 100%;
border-radius: 0rpx 40rpx 0rpx 0rpx;
background-color: #F7FAFF;
.u-tab-item {
padding-left: 34rpx;
padding-right: 10rpx;
height: 160rpx;
background: #F7FAFF;
box-sizing: border-box;
display: flex;
align-items: center;
font-size: 26rpx;
color: #444;
font-weight: 400;
}
.u-tab-item-active {
position: relative;
color: #fff;
font-size: 26rpx;
font-weight: 500;
background: #1677ff;
border-radius:5px;
}
.u-tab-item-active::before {
content: "";
position: absolute;
border-left: 6rpx solid #1677ff;
border-radius: 8rpx;
height: 28rpx;
left: 16rpx;
top: 50%;
transform: translateY(-50%);
}
}
.right-box {
.page-view {
padding: 24rpx 24rpx 1200rpx;
}
.class-item {
margin-bottom: 20rpx;
background-color: #fff;
.item-title {
font-size: 28rpx;
color: #333;
margin-bottom: 25rpx;
font-weight: 600;
}
.item-container {
display: flex;
flex-wrap: wrap;
}
.item-menu-name {
display: flex;
align-items: center;
justify-content: center;
width: 420rpx;
height: 80rpx;
padding: 0 20rpx;
line-height: 40rpx;
margin-bottom: 25rpx;
background: #FFF;
border-radius: 12rpx;
font-size: 24rpx;
color: #333;
&:nth-child(2n){
margin-right: 0;
}
&.sel {
background: #E7F1FF;
color: #1677ff;
}
}
.thumb-box {
display: flex;
justify-content: center;
flex-direction: column;
.row {
display: flex;
flex-wrap: wrap;
margin-bottom: 25rpx;
}
}
}
}
}
}
.searchbox {
position: absolute;
left: 0;
top: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100rpx;
background-color: #fff;
.input-wrap {
position: relative;
width: 544rpx;
height: 76rpx;
background: #F8F8F8;
border-radius: 12rpx;
font-size: 28rpx;
margin-left: 130rpx;
.school-tip {
position: absolute;
left: -142rpx;
top: 0;
padding-left: 10rpx;
padding-top: 6rpx;
width: 110rpx;
height: 70rpx;
background: #E7F1FF;
border-radius: 8rpx 8rpx 8rpx 8rpx;
font-size: 24rpx;
color: #1677ff;
}
.icon {
position: absolute;
right: 12rpx;
top: 8rpx;
width: 29rpx;
height: 29rpx;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAKDSURBVEiJtZXBceJAEEVfDxyo4aIQ5AzYCAwZmAiML6hUPtiKwHYE8p5U8gUcgTeDZSMwGaAMrAsqDlbPHjyqpUDCXPZX6aCemf49Pd2/hRPIsiwExiJyLSIBEPqlElgDf6qqWiZJUnb5kC7HvV7vwTk386Y1UPgPEQmcc+OGUESW2+02aSM6Isjz/ApYAIGILOu6forjuOgKxBhzDdx7000URb86CfI8fwAegbWqTrscdxC9ASPgMYqipyMCH/mbiCzn8/nNOY73kaZpMBwOU5/WaXMTaRattRugqKpq0vVoaZoGg8Eg2O12ZdeePM/fgVBVf8RxXBiA4XCYAqjqtO1glmWzPM831toPY8zGWrvx6TyCqk6BoNfrPQCIj/7jMHd7zsfGmN++gn56852voNYzLy8vC+fcTFUvjLV25plf2yIyxtwBfH5+TqMoeo6i6FlVJ375qu1MXdcN6dgAl0DRVTEiEojI6vb2dt3Ydrtdk8aw7Yz3tRaR6z4wEpFV20aA+Xw+ObRZa+88+br10BcKEQkNEDjnOlv9EFmWjfnqlaKu61PlXABh/1zHfD3eyDn3BhSqOjmnEfsN0zkEzrkFEDQ1fmqv16vS+PScReD3dRbEQTBjYC1Zls2MMQtVvThXe76D16YNkPSBFYDvvM5H8w35LiJFW2XtwyssVVUtTRzHhYgsnXMzP2BaMRgMRkDonBunaRqcih64F5FlkiSl4V/nlV5yWxHH8QqYqupJMWx8bLfbhC657ppO36HRoCO53iP5fwPn4CYL//usqq+nRube7C6/HZkNDqYTXldWe5IS+m+EH/pds7uVYJ/Iy/mld9ZUT+GcK51zr8DqVCr/AulAaepbjIRGAAAAAElFTkSuQmCC") center no-repeat;
background-size: 100%;
}
input {
width: 400rpx;
height: 100%;
margin-left: 90rpx;
outline: none;
background: transparent;
border: none;
}
.icon-search {
position: absolute;
left: 30rpx;
top: 50%;
transform: translateY(-50%);
width: 30rpx;
height: 30rpx;
background-image: url("data:image/gif;base64,R0lGODlhHgAeAKIAAMfHx6WlpbS0tNPT0+Tk5J2dnZaWlvHx8SwAAAAAHgAeAAADv3i6SiChhCAGu5gRYbr3AZCNB/CdX0CQDOcVAiC778rSIeacdjZ4Ahah8CIRDUGWIuARYVwB5YJQu1A7Uoap41xsk1kF6OKyhBW03oFpMJ+3bcZRnf113AcPXWo3dA9HeFlweGyCUmktHWBhRwZWHQVnJUAYR4xKjod9fyRwmAtscSxwfiNXXKc0kYcKfQYwAAMDMyhNp462HzK7JKu2BWarrQ0CuR05DKKjJLMyA3sHQx/Ek9MekyTXj9mnEQAJADs=");
background-size: 100%;
}
.list-wrap {
position: absolute;
left: 0;
top: 70rpx;
width: 480rpx;
height: 350rpx;
background: #fff;
overflow: auto;
box-shadow: 0 0 4rpx 2rpx #f2f2f2;
border-radius: 8rpx;
z-index: 90;
.link {
display: flex;
align-items: center;
height: 60rpx;
border-bottom: 2rpx solid #f2f2f2;
padding-left: 20rpx;
color: #333;
font-size: 24rpx;
}
}
}
.icon-search {
position: absolute;
left: 30rpx;
top: 50%;
transform: translateY(-50%);
width: 30rpx;
height: 30rpx;
background-image: url("data:image/gif;base64,R0lGODlhHgAeAKIAAMfHx6WlpbS0tNPT0+Tk5J2dnZaWlvHx8SwAAAAAHgAeAAADv3i6SiChhCAGu5gRYbr3AZCNB/CdX0CQDOcVAiC778rSIeacdjZ4Ahah8CIRDUGWIuARYVwB5YJQu1A7Uoap41xsk1kF6OKyhBW03oFpMJ+3bcZRnf113AcPXWo3dA9HeFlweGyCUmktHWBhRwZWHQVnJUAYR4xKjod9fyRwmAtscSxwfiNXXKc0kYcKfQYwAAMDMyhNp462HzK7JKu2BWarrQ0CuR05DKKjJLMyA3sHQx/Ek9MekyTXj9mnEQAJADs=");
background-size: 100%;
}
input {
width: 70%;
height: 100%;
margin-left: 90rpx;
outline: none;
background: transparent;
border: none;
}
}
.specialty-index-main {
padding-top: 110rpx;
}
.specialty-index-con {
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
.specialty-index-left,
.specialty-index-right {
position: absolute;
bottom: 0;
overflow-y: auto;
top: 0;
-webkit-overflow-scrolling: touch;
}
.specialty-index-left {
left: 0;
width: 40%;
z-index: 2;
background: #fff;
border-right: 1px solid #ddd;
.ul {
.li {
position: relative;
padding: 35rpx 19rpx;
font-size: 26rpx;
line-height: 46rpx;
&.sel {
background: #fff;
box-shadow: 4rpx 0 6px #ccc;
&:before {
content: "";
display: block;
width: 8rpx;
height: 100%;
background: #1677ff;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
}
}
}
}
.specialty-index-right {
right: 0;
width: 60%;
background: #fff;
padding-bottom: 30rpx;
background: #f6f6f6;
.link {
display: block;
font-size: 26rpx;
background-color: #ffff;
padding: 32rpx 25rpx;
border-bottom: 2rpx solid #f1f1f1;
text {
color: #333;
}
}
}
}
.fiexd-visitor {
position: fixed;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 150rpx;
background: rgba(255, 255, 255, 0.9);
z-index: 99;
border-top: 1px solid #eee;
.btn {
width: 300rpx;
height: 80rpx;
border-radius: 40rpx;
line-height: 80rpx;
background: #1677ff;
font-size: 28rpx;
text-align: center;
color: #fff;
}
}
</style>

284
packageCa/job/jobList.json Normal file
View File

@@ -0,0 +1,284 @@
[
{
"Name": "党的机关、国家机关、群众团体和社会组织、企事业单位负责人",
"Code": 1,
"SubList": [{
"Name": "中国共产党机关负责人",
"Code": "1-01"
}, {
"Name": "国家机关负责人",
"Code": "1-02"
}, {
"Name": "民主党派和工商联负责人",
"Code": "1-03"
}, {
"Name": "人民团体和群众团体、社会组织及其他成员组织负责人",
"Code": "1-04"
}, {
"Name": "基层群众自治组织负责人",
"Code": "1-05"
}, {
"Name": "企事业单位负责人",
"Code": "1-06"
}]
},
{
"Name": "专业技术人员",
"Code": 2,
"SubList": [{
"Name": "科学研究人员",
"Code": "2-01"
}, {
"Name": "工程技术人员",
"Code": "2-02"
}, {
"Name": "农业技术人员",
"Code": "2-03"
}, {
"Name": "飞机和船舶技术人员",
"Code": "2-04"
}, {
"Name": "卫生专业技术人员",
"Code": "2-05"
}, {
"Name": "经济和金融专业人员",
"Code": "2-06"
}, {
"Name": "监察、法律、社会和宗教专业人员",
"Code": "2-07"
}, {
"Name": "教学人员",
"Code": "2-08"
}, {
"Name": "文学艺术、体育专业人员",
"Code": "2-09"
}, {
"Name": "新闻出版、文化专业人员",
"Code": "2-10"
}, {
"Name": "其他专业技术人员",
"Code": "2-11"
}]
},
{
"Name": "办事人员和有关人员",
"Code": 3,
"SubList": [{
"Name": "行政办事及辅助人员",
"Code": "3-01"
}, {
"Name": "安全和消防及辅助人员",
"Code": "3-02"
}, {
"Name": "法律事务及辅助人员",
"Code": "3-03"
}, {
"Name": "其他办事人员和有关人员",
"Code": "3-04"
}]
},
{
"Name": "社会生产服务和生活服务人员",
"Code": 4,
"SubList": [{
"Name": "批发与零售服务人员",
"Code": "4-01"
}, {
"Name": "交通运输、仓储物流和邮政业服务人员",
"Code": "4-02"
}, {
"Name": "住宿和餐饮服务人员",
"Code": "4-03"
}, {
"Name": "信息传输、软件和信息技术服务人员",
"Code": "4-04"
}, {
"Name": "金融服务人员",
"Code": "4-05"
}, {
"Name": "房地产服务人员",
"Code": "4-06"
}, {
"Name": "租赁和商务服务人员",
"Code": "4-07"
}, {
"Name": "技术辅助服务人员",
"Code": "4-08"
}, {
"Name": "水利、环境和公共设施管理服务人员",
"Code": "4-09"
}, {
"Name": "居民服务人员",
"Code": "4-10"
}, {
"Name": "电力、燃气及水供应服务人员",
"Code": "4-11"
}, {
"Name": "修理及制作服务人员",
"Code": "4-12"
}, {
"Name": "文化和教育服务人员",
"Code": "4-13"
}, {
"Name": "健康、体育和休闲服务人员",
"Code": "4-14"
}, {
"Name": "其他社会生产服务和生活服务人员",
"Code": "4-15"
}]
},
{
"Name": "农、林、牧、渔业生产及辅助人员",
"Code": 5,
"SubList": [{
"Name": "农业生产人员",
"Code": "5-01"
}, {
"Name": "林业生产人员",
"Code": "5-02"
},
{
"Name": "畜牧业生产人员",
"Code": "5-03"
},
{
"Name": "渔业生产人员",
"Code": "5-04"
},
{
"Name": "农、林、牧、渔业生产辅助人员",
"Code": "5-05"
}, {
"Name": "其他农、林、牧、渔业生产及辅助人员",
"Code": "5-06"
}
]
},
{
"Name": "生产制造及有关人员",
"Code": 6,
"SubList": [{
"Name": "农副产品加工人员",
"Code": "6-01"
},{
"Name": "食品、饮料生产加工人员",
"Code": "6-02"
},{
"Name": "烟草及其制品加工人员",
"Code": "6-03"
},{
"Name": "纺织、针织、印染人员",
"Code": "6-04"
},{
"Name": "纺织品、服装和皮革、毛皮制品加工制作人员",
"Code": "6-05"
},{
"Name": "木材加工、家具与木制品制作人员",
"Code": "6-06"
},{
"Name": "纸及纸制品生产加工人员",
"Code": "6-07"
},{
"Name": "印刷和记录媒介复制人员",
"Code": "6-08"
},{
"Name": "文教、工美、体育和娱乐用品制造人员",
"Code": "6-09"
},{
"Name": "石油加工和炼焦、煤化工生产人员",
"Code": "6-10"
},{
"Name": "化学原料和化学制品制造人员",
"Code": "6-11"
},{
"Name": "医药制造人员",
"Code": "6-12"
},{
"Name": "化学纤维制造人员",
"Code": "6-13"
},{
"Name": "橡胶和塑料制品制造人员",
"Code": "6-14"
},{
"Name": "非金属矿物制品制造人员",
"Code": "6-15"
},{
"Name": "采矿人员",
"Code": "6-16"
},{
"Name": "金属冶炼和压延加工人员",
"Code": "6-17"
},{
"Name": "机械制造基础加工人员",
"Code": "6-18"
},{
"Name": "金属制品制造人员",
"Code": "6-19"
},{
"Name": "通用设备制造人员",
"Code": "6-20"
},{
"Name": "专用设备制造人员",
"Code": "6-21"
},{
"Name": "汽车制造人员",
"Code": "6-22"
},{
"Name": "铁路、船舶、航空设备制造人员",
"Code": "6-23"
},{
"Name": "电气机械和器材制造人员",
"Code": "6-24"
},{
"Name": "计算机、通信和其他电子设备制造人员",
"Code": "6-25"
},{
"Name": "仪器仪表制造人员",
"Code": "6-26"
},{
"Name": "再生资源综合利用人员",
"Code": "6-27"
},{
"Name": "电力、热力、气体、水生产和输配人员",
"Code": "6-28"
},{
"Name": "建筑施工人员",
"Code": "6-29"
},{
"Name": "运输设备和通用工程机械操作人员及有关人员",
"Code": "6-30"
},{
"Name": "生产辅助人员",
"Code": "6-31"
},{
"Name": "其他生产制造及有关人员",
"Code": "6-32"
}]
},
{
"Name": "军队人员",
"Code": 7,
"SubList": [{
"Name": "军官 (警官)",
"Code": "7-01"
}, {
"Name": "军士 (警士)",
"Code": "7-02"
}, {
"Name": "义务兵",
"Code": "7-03"
}, {
"Name": "文职人员",
"Code": "7-04"
}]
},
{
"Name": "不便分类的其他从业人员",
"Code": 8,
"SubList": [{
"Name": "不便分类的其他从业人员",
"Code": "8-01"
}]
}
]

275
packageCa/job/midList.vue Normal file
View File

@@ -0,0 +1,275 @@
<template>
<view class="specialtylist">
<view class="content">
<view class="xx-title" v-html="name">
</view>
<view class="introduce-wrap" v-if="summary != '' && videoUrl != ''">
<view class="item" v-if="summary != ''">
<view class="title">
概述
</view>
<view class="txt" v-html="summary"></view>
</view>
<view class="item video-wrap" v-if="videoUrl != ''">
<view class="title">
介绍视频
</view>
<view class="mask" v-if="isVisitor" @click="showConfirmInfor">请先登录</view>
<video :src="videoUrl" style="width: 100%;"></video>
</view>
</view>
<view class="link-wrap">
<view class="link" :class="(isVisitor && index >2)?'visitor':''" @click="navSmallList(item,index)" v-for="(item, index) in jobList" :key="index">
<view class="head">
<view class="title">{{item.Name}}
<text class="label" v-if="item.HasVideo">视频</text>
<text class="label" v-if="item.ExistPower">职业能力</text>
</view>
</view>
<view class="desc" v-if="item.Introduction != ''" v-html="item.Introduction"></view>
</view>
</view>
</view>
<view class="fiexd-visitor" v-if="isVisitor">
<navigator class="btn" url="/pagesUserInfo/binding/binding?routeType=6">请先登录</navigator>
</view>
<!-- <u-modal :show="showLogin" content='观看完整内容,请先登录' width='500rpx' @confirm="showLogin=false"></u-modal> -->
</view>
</template>
<script>
import api from "@/apiCa/job.js"
export default {
data() {
return {
showLogin: false,
isVisitor: false, //游客
user: uni.getStorageSync("CAuserInfo").user,
name: "",
code: "",
jobList: [],
summary: "",
videoUrl: "",
}
},
onLoad(e) {
if(this.user == undefined || this.user == null){
this.isVisitor = true;
}else {
this.isVisitor = false;
}
this.name =e.name;
this.code = e.code;
this.queryJobDictionaryListByParentCode();
},
methods: {
showConfirmInfor(){
uni.showModal({
content:"观看完整内容,请先登录",
confirmText:"确认",
confirmColor:"#1677ff",
showCancel:false
})
},
navSmallList(item,index){
if(this.vipType==0&&index>0){
this.showVIP = true;
}else{
if(this.isVisitor && index > 2){
this.showConfirmInfor();
//this.showLogin = true;
}else {
uni.navigateTo({
url: `/packageCa/job/smallList?code=${item.Code}&name=${item.Name}`
})
}
}
},
// 获取职业信息
queryJobDictionaryListByParentCode(){
uni.showLoading({
title:"加载中"
})
api.queryJobDictionaryListByParentCode(this.code).then((res) => {
uni.hideLoading();
if(res.Result == 1){
this.summary = res.Data.CategoryIntroduction;
this.videoUrl = res.Data.CategoryVideo;
this.jobList = res.Data.List;
}
})
},
}
}
</script>
<style lang="scss" scoped>
.tip-layer {
.title {
font-size: 36rpx;
color: #000000;
text-align: center;
font-weight: 600;
margin-bottom: 30rpx;
}
.desc {
font-size: 28rpx;
color: #666666;
margin-bottom: 20rpx;
&:last-child {
margin-bottom: 0;
}
}
}
.specialtylist {
background-color: #f6f6f6;
.content {
background: #fff;
padding-bottom: 150rpx;
.xx-title {
background: #1676FF;
color: #fff;
padding: 20rpx 30rpx;
font-size: 32rpx;
}
.introduce-wrap {
padding: 10rpx 30rpx 0;
.item {
position: relative;
padding-top: 20rpx;
padding-bottom: 30rpx;
border-bottom: 2rpx solid #ebedf0;
.title {
font-size: 32rpx;
color: #333;
font-weight: 600;
margin-bottom: 20rpx;
}
.txt {
font-size: 28rpx;
line-height: 40rpx;
color: #999 !important;
text-indent: 2em;
}
&.video-wrap {
position: relative;
.mask {
position: absolute;
left: 0;
top: 84rpx;
width: 690rpx;
height: 450rpx;
background: rgba(0, 0, 0, 0.6);
z-index: 9;
display: flex;
align-items: center;
justify-content: center;
font-size: 36rpx;
color: #fff;
}
}
}
}
.link-wrap {
padding: 0 30rpx 50rpx;
.link {
padding: 36rpx 0;
display: flex;
flex-direction: column;
border-bottom: 1rpx solid #f2f2f2;
&:visited,
&:link,
&:active {
color: #333;
}
&.visitor {
position: relative;
&::after {
position: absolute;
left: 0;
top: 0;
content: "";
display: block;
width: 100%;
height: calc(100% + 2rpx);
z-index: 9;
background: rgba(0, 0, 0, 0.6);
}
}
.head {
display: flex;
align-items: center;
.title {
display: flex;
flex-wrap: wrap;
font-size: 32rpx;
color: #323232;
font-weight: 600;
.label {
display: inline-block;
color: #20b664;
font-size: 24rpx;
line-height: 38rpx;
padding: 0 8rpx;
border: 2rpx solid #20b664;
margin-left: 20rpx;
}
.vip-container {
width: 54rpx;
height: 40rpx;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAAA8CAMAAAApO6aAAAAAOVBMVEUAAAD6UDr8UDz4UDz8UDv8UDv9UDz7UDv3UDj6UD3/UED8UDz8UDz9UD36UDr/UDj7UDz7UD38UDx6NEBaAAAAEnRSTlMAYL9A359/cCBQEK/vjzAgz4+7n+EJAAAB9UlEQVRYw+1W25aDIAxckIsoatv//9g9gnaADLXn7D46T4JJOmQm2J8bN27c+AqD2jGyV2N6NeyPIT8lTKpGGNYqzb92LKyiTa/s/pie9MHhJaHV9E4LaWdmFHPwuNPKP4sMCaPOvC2vSUWVfwu0PE7F4M7EmJakokkvAmiFvL+8OhiOxEdabVKygrwvM+ZeRVP1P3R08QWtCRTKNk2rMhVJj0yqyw5ddia+dUdRI6WzbUV/bIPW48hm8cO5CbEfXJdB0lohLDCdhkV4bAoG9Bp2LOgoRkB/EntGHmgJ3YFYzolFCNFF2lEQwCmggTiGQ6e5Hal5XdWyhesiaWk2tep9Cog9iwCkzR07AhZN2lGnw9EKy8Jf1L4GJXDEqdUlpp1rO6LtDeWVXLXtlHA7Tk84I8O1QQYBHTv64UTwS8wFn60ODmuMlKTlunfZ0SSIbZku39+Opvr41XfF2GrvhB0l9Ci1j0IXakdD6ynqz03qQqakLRaN9rkh0k6h1eXSjhwo4mtdAExp853lwA8vUhdJS0F3CX6nW7i1b8dV1qCDLnWRtCzugI+Y33GqbBqhpWG0LnClLs45A9m5HdGfa7EB6AJaUvdrsQHV/XBucMUFYjv0f7Bj859QTsRW7gXofgU16wO2iV/T7jmiaTH+3Lhx43/wC+JRSzKfwZ9vAAAAAElFTkSuQmCC');
background-repeat: no-repeat;
background-size: 100%;
margin-left: 20rpx;
}
}
}
.desc {
margin-top: 8rpx;
font-size: 28rpx;
color: #969799;
// overflow: hidden;
// display: -webkit-box;
// -webkit-line-clamp: 2;
// /*! autoprefixer: ignore next */
// -webkit-box-orient: vertical;
text {
margin-bottom: 10rpx;
line-height: 40rpx;
}
}
}
}
}
.fiexd-visitor {
position: fixed;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 150rpx;
background: rgba(255, 255, 255, 0.9);
z-index: 99;
border-top: 1px solid #eee;
.btn {
width: 300rpx;
height: 80rpx;
border-radius: 40rpx;
line-height: 80rpx;
background: #1677ff;
font-size: 28rpx;
text-align: center;
color: #fff;
}
}
}
</style>
<style>
page {
overflow-y: scroll;
}
</style>

272
packageCa/job/smallList.vue Normal file
View File

@@ -0,0 +1,272 @@
<template>
<view class="specialtylist">
<view class="content">
<view class="xx-title" v-html="name">
</view>
<view class="introduce-wrap">
<view class="item">
<view class="title">
概述
</view>
<view class="txt" v-html="summary"></view>
</view>
<view class="item video-wrap" v-if="videoUrl != '' && videoUrl != undefined">
<view class="title">
介绍视频
</view>
<view class="mask" v-if="isVisitor" @click="showConfirmInfor">请先登录</view>
<video :src="videoUrl" style="width: 100%;"></video>
</view>
</view>
<view class="link-wrap">
<view class="link" :class="(isVisitor && index >2)?'visitor':''" @click="navDetails(item,index)" v-for="(item, index) in jobList" :key="index">
<view class="head">
<view class="title">{{item.Name}}<text class="label" v-if="item.HasVideo">视频</text><text class="label" v-if="item.ExistPower">职业能力</text> </view>
</view>
<view class="desc" v-if="item.TopIntroduction != ''" v-html="item.TopIntroduction"></view>
</view>
</view>
</view>
<view class="fiexd-visitor" v-if="isVisitor">
<navigator class="btn" url="/pagesUserInfo/binding/binding?routeType=6">请先登录</navigator>
</view>
<!-- <u-modal :show="showLogin" content='观看完整内容,请先登录' width='500rpx' @confirm="showLogin=false"></u-modal> -->
</view>
</template>
<script>
import api from "@/apiCa/job.js"
export default {
data() {
return {
showLogin: false,
isVisitor: false, //游客
user: uni.getStorageSync("CAuserInfo").user,
name: "",
code: "",
jobList: [],
summary: "",
videoUrl: "",
}
},
onLoad(e) {
if(this.user == undefined || this.user == null){
this.isVisitor = true;
}else {
this.isVisitor = false;
}
this.name =e.name;
this.code = e.code || "";
this.queryJobListByParentCode();
},
methods: {
showConfirmInfor(){
uni.showModal({
content:"观看完整内容,请先登录",
confirmText:"确认",
confirmColor:"#1677ff",
showCancel:false
})
},
navDetails(item,index){
if(this.isVisitor && index > 2){
this.showConfirmInfor();
//this.showLogin = true;
}else {
uni.navigateTo({
url: `/packageCa/job/details?id=${item.Id}&name=${item.Name}`
})
}
},
// 获取职业信息
queryJobListByParentCode(){
uni.showLoading({
title:"加载中"
})
let name = "";
if(!this.code){
name = this.name
}
api.queryJobListByParentCode(name,this.code).then((res) => {
uni.hideLoading();
if(res.Result == 1){
this.jobList = res.Data.List;
this.summary = res.Data.CategoryIntroduction;
this.videoUrl = res.Data.CategoryVideo;
}
})
},
}
}
</script>
<style lang="scss" scoped>
.tip-layer {
.title {
font-size: 36rpx;
color: #000000;
text-align: center;
font-weight: 600;
margin-bottom: 30rpx;
}
.desc {
font-size: 28rpx;
color: #666666;
margin-bottom: 20rpx;
&:last-child {
margin-bottom: 0;
}
}
}
.specialtylist {
background-color: #f6f6f6;
.content {
background: #fff;
padding-bottom: 150rpx;
.xx-title {
background: #1676FF;
color: #fff;
padding: 20rpx 30rpx;
font-size: 32rpx;
}
.introduce-wrap {
padding: 10rpx 30rpx 0;
.item {
padding-top: 20rpx;
padding-bottom: 30rpx;
border-bottom: 2rpx solid #ebedf0;
.title {
font-size: 32rpx;
color: #333;
font-weight: 600;
margin-bottom: 20rpx;
}
.txt {
font-size: 28rpx;
line-height: 40rpx;
color: #999 !important;
text-indent: 2em;
}
&.video-wrap {
position: relative;
.mask {
position: absolute;
left: 0;
top: 84rpx;
width: 690rpx;
height: 450rpx;
background: rgba(0, 0, 0, 0.6);
z-index: 9;
display: flex;
align-items: center;
justify-content: center;
font-size: 36rpx;
color: #fff;
}
}
}
}
.link-wrap {
padding: 0 30rpx 50rpx;
.link {
padding: 36rpx 0;
display: flex;
flex-direction: column;
border-bottom: 1rpx solid #f2f2f2;
&:visited,
&:link,
&:active {
color: #333;
}
&.visitor {
position: relative;
&::after {
position: absolute;
left: 0;
top: 0;
content: "";
display: block;
width: 100%;
height: calc(100% + 2rpx);
z-index: 9;
background: rgba(0, 0, 0, 0.6);
}
}
.head {
display: flex;
align-items: center;
.title {
display: flex;
flex-wrap: wrap;
font-size: 32rpx;
color: #323232;
font-weight: 600;
.label {
display: inline-block;
color: #20b664;
font-size: 24rpx;
line-height: 38rpx;
padding: 0 8rpx;
border: 2rpx solid #20b664;
margin-left: 20rpx;
}
.vip-container {
width: 54rpx;
height: 40rpx;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAAA8CAMAAAApO6aAAAAAOVBMVEUAAAD6UDr8UDz4UDz8UDv8UDv9UDz7UDv3UDj6UD3/UED8UDz8UDz9UD36UDr/UDj7UDz7UD38UDx6NEBaAAAAEnRSTlMAYL9A359/cCBQEK/vjzAgz4+7n+EJAAAB9UlEQVRYw+1W25aDIAxckIsoatv//9g9gnaADLXn7D46T4JJOmQm2J8bN27c+AqD2jGyV2N6NeyPIT8lTKpGGNYqzb92LKyiTa/s/pie9MHhJaHV9E4LaWdmFHPwuNPKP4sMCaPOvC2vSUWVfwu0PE7F4M7EmJakokkvAmiFvL+8OhiOxEdabVKygrwvM+ZeRVP1P3R08QWtCRTKNk2rMhVJj0yqyw5ddia+dUdRI6WzbUV/bIPW48hm8cO5CbEfXJdB0lohLDCdhkV4bAoG9Bp2LOgoRkB/EntGHmgJ3YFYzolFCNFF2lEQwCmggTiGQ6e5Hal5XdWyhesiaWk2tep9Cog9iwCkzR07AhZN2lGnw9EKy8Jf1L4GJXDEqdUlpp1rO6LtDeWVXLXtlHA7Tk84I8O1QQYBHTv64UTwS8wFn60ODmuMlKTlunfZ0SSIbZku39+Opvr41XfF2GrvhB0l9Ci1j0IXakdD6ynqz03qQqakLRaN9rkh0k6h1eXSjhwo4mtdAExp853lwA8vUhdJS0F3CX6nW7i1b8dV1qCDLnWRtCzugI+Y33GqbBqhpWG0LnClLs45A9m5HdGfa7EB6AJaUvdrsQHV/XBucMUFYjv0f7Bj859QTsRW7gXofgU16wO2iV/T7jmiaTH+3Lhx43/wC+JRSzKfwZ9vAAAAAElFTkSuQmCC');
background-repeat: no-repeat;
background-size: 100%;
margin-left: 20rpx;
}
}
}
.desc {
margin-top: 8rpx;
font-size: 28rpx;
color: #969799;
// overflow: hidden;
// display: -webkit-box;
// -webkit-line-clamp: 2;
// /*! autoprefixer: ignore next */
// -webkit-box-orient: vertical;
text {
margin-bottom: 10rpx;
line-height: 40rpx;
}
}
}
}
}
.fiexd-visitor {
position: fixed;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 150rpx;
background: rgba(255, 255, 255, 0.9);
z-index: 99;
border-top: 1px solid #eee;
.btn {
width: 300rpx;
height: 80rpx;
border-radius: 40rpx;
line-height: 80rpx;
background: #1677ff;
font-size: 28rpx;
text-align: center;
color: #fff;
}
}
}
</style>
<style>
page {
overflow-y: scroll;
}
</style>