培训机构评价机构
This commit is contained in:
469
packageB/notice/trainingAnnouncement/postedEdit.vue
Normal file
469
packageB/notice/trainingAnnouncement/postedEdit.vue
Normal file
@@ -0,0 +1,469 @@
|
||||
<template>
|
||||
<div style="height: 90vh;overflow-y: auto;">
|
||||
<view class="content">
|
||||
<view class="content-input">
|
||||
<view class="input-titile"><text class="input-required">*</text>标题</view>
|
||||
<input class="input-con" v-model="fromValue.title" placeholder="请输入标题" />
|
||||
</view>
|
||||
<view class="content-input">
|
||||
<view class="input-titile"><text class="input-required">*</text>联系人</view>
|
||||
<!-- <input class="input-con" v-model="fromValue.contactName" placeholder="请输入联系人" /> -->
|
||||
<unieditor @init-data="receiveInitData"/>
|
||||
</view>
|
||||
<view class="content-input">
|
||||
<view class="input-titile">备注</view>
|
||||
<textarea auto-height class="input-con" v-model="fromValue.remark" placeholder="请输入备注" />
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="footer">
|
||||
<view class="footerBtn" @click="confirm()">保存</view>
|
||||
</view>
|
||||
<SelectPopup ref="selectPopupRef"></SelectPopup>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { reactive, inject, watch, ref, onMounted, onUnmounted } from 'vue';
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
const { $api, navTo, navBack, checkingPhoneRegExp,config } = inject('globalFunction');
|
||||
import { storeToRefs } from 'pinia';
|
||||
import useUserStore from '@/stores/useUserStore';
|
||||
import useDictStore from '@/stores/useDictStore';
|
||||
import SelectPopup from '@/components/selectPopup/selectPopup.vue';
|
||||
import unieditor from '../../components/unieditor.vue'
|
||||
const { userInfo } = storeToRefs(useUserStore());
|
||||
const { getUserResume } = useUserStore();
|
||||
const dictStore = useDictStore();
|
||||
const { dictLabel, oneDictData, complete: dictComplete, getDictSelectOption } = dictStore;
|
||||
|
||||
let fromValue = reactive({
|
||||
title: '',
|
||||
content:'',
|
||||
remark:'',
|
||||
entProvince:'',
|
||||
entCounty:'',
|
||||
entCity:'',
|
||||
status:'0',
|
||||
});
|
||||
let type=ref('add')
|
||||
onLoad((options = {}) => {
|
||||
|
||||
});
|
||||
|
||||
// 监听页面显示,接收从技能查询页面返回的数据
|
||||
onShow(() => {
|
||||
getDetail()
|
||||
// 通过事件总线接收技能选择结果
|
||||
// uni.$on('skillSelected', handleSkillSelected);
|
||||
});
|
||||
|
||||
// 页面卸载时移除事件监听
|
||||
// onUnmounted(() => {
|
||||
// uni.$off('skillSelected', handleSkillSelected);
|
||||
// });
|
||||
// 监听字典数据加载完成,自动更新学历显示
|
||||
|
||||
const receiveInitData = (initData) => {
|
||||
fromValue.content=initData.value;
|
||||
console.log('子组件初始化数据:', initData)
|
||||
}
|
||||
function getDetail(){
|
||||
// if(userInfo.userId){
|
||||
$api.myRequest("/train/public/train/organ/getTrainByUnifiedSocialCreditCode", {
|
||||
tags: "913700001630477270",
|
||||
}, "GET", 9100, {
|
||||
Authorization: `Bearer ${uni.getStorageSync('token')}`,
|
||||
'Content-Type': "application/x-www-form-urlencoded"
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
fromValue.entProvince = res.data.organProvince;
|
||||
fromValue.entCounty = res.data.organCounty;
|
||||
fromValue.entCity = res.data.organCity;
|
||||
}
|
||||
})
|
||||
// }else{
|
||||
// $api.msg('请先登录');
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
const confirm = () => {
|
||||
if (!fromValue.title) {
|
||||
return $api.msg('请输入标题');
|
||||
}
|
||||
if (!fromValue.content) {
|
||||
return $api.msg('请输入内容');
|
||||
}
|
||||
const params = {
|
||||
...fromValue,
|
||||
};
|
||||
if(type.value=='add'){
|
||||
$api.myRequest('/train/public/announcement/add', {
|
||||
...fromValue,
|
||||
type:1
|
||||
}, 'post', 9100, {
|
||||
Authorization: `Bearer ${uni.getStorageSync('token')}`,
|
||||
'Content-Type': "application/x-www-form-urlencoded"
|
||||
}).then((resData) => {
|
||||
if(resData.code==200){
|
||||
$api.msg('新增成功');
|
||||
setTimeout(()=>{
|
||||
navBack();
|
||||
},2000)
|
||||
}
|
||||
});
|
||||
} else if (type.value=='edit'){
|
||||
$api.myRequest('/train/public/announcement/update', {
|
||||
...fromValue,
|
||||
type:1
|
||||
}, 'post', 9100, {
|
||||
Authorization: `Bearer ${uni.getStorageSync('token')}`,
|
||||
'Content-Type': "application/x-www-form-urlencoded"
|
||||
}).then((resData) => {
|
||||
if(resData.code==200){
|
||||
$api.msg('更新成功');
|
||||
setTimeout(()=>{
|
||||
navBack();
|
||||
},2000)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.btn{
|
||||
margin-top: -30rpx
|
||||
}
|
||||
.input-required{
|
||||
color: red
|
||||
}
|
||||
/* 上传按钮 */
|
||||
.upload-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10rpx;
|
||||
padding: 0 30rpx;
|
||||
background-color: #f5f7fa;
|
||||
color: #1677ff;
|
||||
border-radius: 8rpx;
|
||||
font-size: 26rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.upload-icon {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
|
||||
.reupload-text {
|
||||
font-size: 22rpx;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* 上传说明文字 */
|
||||
.upload-tip {
|
||||
font-size: 20rpx;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
/* 已上传文件信息 */
|
||||
.uploaded-file-info>view {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15rpx;
|
||||
padding: 15rpx 20rpx;
|
||||
background-color: #fafafa;
|
||||
border-radius: 8rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.file-icon {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
}
|
||||
|
||||
.file-name {
|
||||
font-size: 24rpx;
|
||||
color: #333;
|
||||
max-width: 400rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.delete-file-btn {
|
||||
padding: 0 15rpx;
|
||||
height: 36rpx;
|
||||
line-height: 36rpx;
|
||||
font-size: 22rpx;
|
||||
color: #ff4d4f;
|
||||
background-color: transparent;
|
||||
}
|
||||
.content{
|
||||
padding: 28rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start
|
||||
height: calc(100% - 120rpx)
|
||||
|
||||
}
|
||||
.footer{
|
||||
width: 100%;
|
||||
height: 120rpx;
|
||||
background: #fff;
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.footerBtn{
|
||||
width: 90%;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
text-align: center
|
||||
border-radius: 10rpx;
|
||||
color: #fff;
|
||||
background: #409EFF;
|
||||
}
|
||||
.content-input
|
||||
margin-bottom: 52rpx
|
||||
.input-titile
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #6A6A6A
|
||||
.input-con
|
||||
font-weight: 400;
|
||||
font-size: 32rpx;
|
||||
color: #333333;
|
||||
line-height: 80rpx;
|
||||
height: 80rpx;
|
||||
border-bottom: 2rpx solid #EBEBEB
|
||||
position: relative;
|
||||
.error-message
|
||||
color: #ff4757;
|
||||
font-size: 24rpx;
|
||||
margin-top: 10rpx;
|
||||
line-height: 1.4;
|
||||
.success-message
|
||||
color: #2ed573;
|
||||
font-size: 24rpx;
|
||||
margin-top: 10rpx;
|
||||
line-height: 1.4;
|
||||
.input-error
|
||||
.input-con
|
||||
border-bottom-color: #ff4757;
|
||||
.triangle::before
|
||||
position: absolute;
|
||||
right: 20rpx;
|
||||
top: calc(50% - 2rpx);
|
||||
content: '';
|
||||
width: 4rpx;
|
||||
height: 18rpx;
|
||||
border-radius: 2rpx
|
||||
background: #697279;
|
||||
transform: translate(0, -50%) rotate(-45deg) ;
|
||||
.triangle::after
|
||||
position: absolute;
|
||||
right: 20rpx;
|
||||
top: 50%;
|
||||
content: '';
|
||||
width: 4rpx;
|
||||
height: 18rpx;
|
||||
border-radius: 2rpx
|
||||
background: #697279;
|
||||
transform: rotate(45deg)
|
||||
.input-nx
|
||||
position: relative
|
||||
border-bottom: 2rpx solid #EBEBEB
|
||||
padding-bottom: 30rpx
|
||||
display: flex
|
||||
flex-wrap: wrap
|
||||
.nx-item
|
||||
padding: 16rpx 24rpx
|
||||
width: fit-content
|
||||
border-radius: 20rpx
|
||||
border: 2rpx solid #E8EAEE
|
||||
background-color: #f8f9fa
|
||||
margin-right: 16rpx
|
||||
margin-top: 16rpx
|
||||
font-size: 28rpx
|
||||
color: #333333
|
||||
transition: all 0.2s ease
|
||||
|
||||
&:hover
|
||||
background-color: #e9ecef
|
||||
border-color: #256bfa
|
||||
color: #256bfa
|
||||
.content-sex
|
||||
height: 110rpx;
|
||||
display: flex
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
border-bottom: 2rpx solid #EBEBEB
|
||||
margin-bottom: 52rpx
|
||||
.sex-titile
|
||||
line-height: 80rpx;
|
||||
.sext-ri
|
||||
display: flex
|
||||
align-items: center;
|
||||
.sext-box
|
||||
height: 76rpx;
|
||||
width: 152rpx;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
border-radius: 12rpx 12rpx 12rpx 12rpx
|
||||
border: 2rpx solid #E8EAEE;
|
||||
margin-left: 28rpx
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
.sext-boxactive
|
||||
color: #256BFA
|
||||
background: rgba(37,107,250,0.1);
|
||||
border: 2rpx solid #256BFA;
|
||||
.next-btn
|
||||
width: 100%;
|
||||
height: 90rpx;
|
||||
background: #256BFA;
|
||||
border-radius: 12rpx 12rpx 12rpx 12rpx;
|
||||
font-weight: 500;
|
||||
font-size: 32rpx;
|
||||
color: #FFFFFF;
|
||||
text-align: center;
|
||||
line-height: 90rpx
|
||||
|
||||
// 技能信息样式
|
||||
.content-skills
|
||||
margin-bottom: 52rpx
|
||||
|
||||
.skills-header
|
||||
display: flex
|
||||
justify-content: space-between
|
||||
align-items: center
|
||||
margin-bottom: 32rpx
|
||||
|
||||
.input-titile
|
||||
font-weight: 400
|
||||
font-size: 28rpx
|
||||
color: #6A6A6A
|
||||
|
||||
.add-skill-btn
|
||||
padding: 16rpx 32rpx
|
||||
background: #256BFA
|
||||
color: #FFFFFF
|
||||
border-radius: 8rpx
|
||||
font-size: 26rpx
|
||||
font-weight: 500
|
||||
transition: all 0.3s ease
|
||||
|
||||
&:active
|
||||
background: #1a5cd9
|
||||
transform: scale(0.98)
|
||||
|
||||
&.disabled
|
||||
background: #CCCCCC
|
||||
color: #999999
|
||||
cursor: not-allowed
|
||||
|
||||
&:active
|
||||
background: #CCCCCC
|
||||
transform: none
|
||||
|
||||
.skills-list
|
||||
.skill-item
|
||||
background: #FFFFFF
|
||||
border: 2rpx solid #E8EAEE
|
||||
border-radius: 12rpx
|
||||
padding: 24rpx
|
||||
margin-bottom: 24rpx
|
||||
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05)
|
||||
transition: all 0.3s ease
|
||||
|
||||
&:hover
|
||||
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1)
|
||||
border-color: #256BFA
|
||||
|
||||
.skill-header
|
||||
display: flex
|
||||
justify-content: space-between
|
||||
align-items: center
|
||||
margin-bottom: 20rpx
|
||||
|
||||
.skill-number
|
||||
font-weight: 500
|
||||
font-size: 28rpx
|
||||
color: #333333
|
||||
|
||||
.skill-actions
|
||||
.action-btn
|
||||
padding: 8rpx 16rpx
|
||||
border-radius: 6rpx
|
||||
font-size: 24rpx
|
||||
font-weight: 400
|
||||
transition: all 0.2s ease
|
||||
|
||||
&.delete-btn
|
||||
background: #FF4D4F
|
||||
color: #FFFFFF
|
||||
|
||||
&:active
|
||||
background: #D9363E
|
||||
transform: scale(0.95)
|
||||
|
||||
.skill-fields
|
||||
display: flex
|
||||
flex-direction: column
|
||||
gap: 20rpx
|
||||
|
||||
.skill-field
|
||||
.field-label
|
||||
font-weight: 400
|
||||
font-size: 26rpx
|
||||
color: #6A6A6A
|
||||
margin-bottom: 8rpx
|
||||
|
||||
.field-input
|
||||
font-weight: 400
|
||||
font-size: 28rpx
|
||||
color: #333333
|
||||
line-height: 72rpx
|
||||
height: 72rpx
|
||||
border: 2rpx solid #E8EAEE
|
||||
border-radius: 8rpx
|
||||
padding: 0 20rpx
|
||||
background: #F8F9FA
|
||||
transition: all 0.3s ease
|
||||
|
||||
&:focus
|
||||
border-color: #256BFA
|
||||
background: #FFFFFF
|
||||
|
||||
&.triangle::before
|
||||
right: 30rpx
|
||||
top: calc(50% - 2rpx)
|
||||
|
||||
&.triangle::after
|
||||
right: 30rpx
|
||||
top: 50%
|
||||
|
||||
.empty-skills
|
||||
text-align: center
|
||||
padding: 60rpx 0
|
||||
background: #F8F9FA
|
||||
border-radius: 12rpx
|
||||
border: 2rpx dashed #E8EAEE
|
||||
|
||||
.empty-text
|
||||
font-size: 28rpx
|
||||
color: #999999
|
||||
font-weight: 400
|
||||
</style>
|
||||
441
packageB/notice/trainingAnnouncement/postedList.vue
Normal file
441
packageB/notice/trainingAnnouncement/postedList.vue
Normal file
@@ -0,0 +1,441 @@
|
||||
<template>
|
||||
<div class="app-box">
|
||||
<div class="con-box">
|
||||
<!-- <view class="collection-search">
|
||||
<view class="search-content">
|
||||
<view class="header-input button-click">
|
||||
<uni-icons class="iconsearch" color="#6A6A6A" type="search" size="22"></uni-icons>
|
||||
<input
|
||||
class="input"
|
||||
v-model="searchKeyword"
|
||||
@confirm="searchVideo"
|
||||
placeholder="输入考试名称"
|
||||
placeholder-class="inputplace"
|
||||
/>
|
||||
<uni-icons
|
||||
v-if="searchKeyword"
|
||||
class="clear-icon"
|
||||
type="clear"
|
||||
size="24"
|
||||
color="#999"
|
||||
@click="clearSearch"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<scroll-view scroll-y class="main-scroll" @scrolltolower="handleScrollToLower">
|
||||
<div class="cards" v-for="(item,index) in dataList" :key="item.examPaperId">
|
||||
<div class="cardHead">
|
||||
<div class="cardHeadLeft">
|
||||
<div class="cardTitle">{{item.title}}</div>
|
||||
</div>
|
||||
<div class="rightBtn">
|
||||
<uni-tag :inverted="true" v-if="item.status==2" text="已发布" type="success" />
|
||||
<uni-tag :inverted="true" v-else-if="item.status==0" text="未发布" type="error" />
|
||||
<uni-tag :inverted="true" v-else text="失效" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="heng"></div>
|
||||
<div class="cardCon">
|
||||
<div class="conten">发布时间:{{item.publishTime}}</div>
|
||||
<div class="conten">审核状态:
|
||||
<uni-tag :inverted="true" size="mini" v-if="item.shenhe==1" text="已通过" type="success" />
|
||||
<uni-tag :inverted="true" size="mini" v-if="item.shenhe==2" text="未通过" type="error" />
|
||||
<uni-tag :inverted="true" size="mini" v-if="item.shenhe==0" text="待审核" />
|
||||
</div>
|
||||
<div class="flooter">
|
||||
<div v-if="item.status == '0' && item.shenhe == '1'" @click="handlePublishClick(scope.row,2)" >发布</div>
|
||||
<div v-else @click="handlePublishClick(item,0)" >取消发布</div>
|
||||
<div>查看</div>
|
||||
<div v-if="item.status == '0'" @click="handleEditClick(item)">编辑</div>
|
||||
<div v-if="item.status == '0'" @click="handleDeleteClick(item)">删除</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</scroll-view>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="footerBtn" @click="handleOperation()">新增</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { inject, ref, reactive } from 'vue';
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app';
|
||||
const { $api, navTo, navBack,urls } = inject('globalFunction');
|
||||
import config from "@/config.js"
|
||||
const userInfo = ref({});
|
||||
const Authorization = ref('');
|
||||
const searchKeyword = ref('');
|
||||
const dataList=ref([])
|
||||
const pageSize=ref(10)
|
||||
const pageNum=ref(1)
|
||||
const totalNum=ref(0)
|
||||
const baseUrl = config.imgBaseUrl
|
||||
const handleScrollToLower = () => {
|
||||
getDataList('add');
|
||||
};
|
||||
onLoad(() => {
|
||||
|
||||
});
|
||||
onShow(()=>{
|
||||
Authorization.value=uni.getStorageSync('Padmin-Token')||''
|
||||
getDataList('refresh');
|
||||
})
|
||||
// 搜索视频
|
||||
function searchVideo() {
|
||||
getDataList('refresh');
|
||||
}
|
||||
|
||||
// 清除搜索内容
|
||||
function clearSearch() {
|
||||
searchKeyword.value = '';
|
||||
getDataList('refresh');
|
||||
}
|
||||
|
||||
function getDataList(type = 'add') {
|
||||
let maxPage=Math.ceil(totalNum.value/pageSize.value)
|
||||
let params={}
|
||||
if (type === 'refresh') {
|
||||
pageNum.value = 1;
|
||||
params={
|
||||
title:"",
|
||||
pageSize:pageSize.value,
|
||||
pageNum:pageNum.value,
|
||||
type:1
|
||||
}
|
||||
$api.myRequest('/train/public/announcement/list', params).then((resData) => {
|
||||
if(resData.code==200){
|
||||
dataList.value=resData.rows
|
||||
totalNum.value=resData.total
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
if (type === 'add' && pageNum.value < maxPage) {
|
||||
pageNum.value += 1;
|
||||
params={
|
||||
address:"",
|
||||
pageSize:pageSize.value,
|
||||
pageNum:pageNum.value,
|
||||
type:1
|
||||
}
|
||||
$api.myRequest('/train/public/train/organ/table', params).then((resData) => {
|
||||
if(resData.code==200){
|
||||
dataList.value=dataList.value.concat(resData.rows)
|
||||
totalNum.value=resData.total
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
function handlePublishClick(row,status){
|
||||
if(status=='2'){
|
||||
$api.myRequest('/train/public/announcement/publish', {id: row.id},'get',9100).then((resData) => {
|
||||
if(resData.code==200){
|
||||
$api.msg('发布成功');
|
||||
getDataList('refresh');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$api.myRequest('/train/public/announcement/unpublish', {id: row.id},'get',9100).then((resData) => {
|
||||
if(resData.code==200){
|
||||
$api.msg('取消发布成功');
|
||||
getDataList('refresh');
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
// 删除通知公告
|
||||
function handleDeleteClick(row) {
|
||||
uni.showModal({
|
||||
title: '确认删除',
|
||||
content: '确认删除该通知公告吗?',
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
$api.myRequest('/train/public/announcement/delete', {id: row.id},'get',9100).then((resData) => {
|
||||
if(resData.code==200){
|
||||
$api.msg('已删除');
|
||||
getDataList('refresh');
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
function handleOperation(row) {
|
||||
navTo(`/packageB/notice/trainingAnnouncement/postedEdit`);
|
||||
// navTo(`/packageB/institution/trainingInstitutionDetail?organId=${row.organId}`);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.app-box{
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
position: relative;
|
||||
.con-box{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 92%;
|
||||
left: 0;
|
||||
top:0;
|
||||
z-index: 10;
|
||||
padding: 20rpx 28rpx;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
.collection-search{
|
||||
padding: 10rpx 20rpx;
|
||||
.search-content{
|
||||
position: relative
|
||||
display: flex
|
||||
align-items: center
|
||||
padding: 14rpx 0
|
||||
.header-input{
|
||||
padding: 0
|
||||
width: calc(100%);
|
||||
position: relative
|
||||
.iconsearch{
|
||||
position: absolute
|
||||
left: 30rpx;
|
||||
top: 50%
|
||||
transform: translate(0, -50%)
|
||||
z-index: 1
|
||||
}
|
||||
.input{
|
||||
padding: 0 80rpx 0 80rpx
|
||||
height: 80rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 75rpx 75rpx 75rpx 75rpx;
|
||||
border: 2rpx solid #ECECEC
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.clear-icon{
|
||||
position: absolute
|
||||
right: 30rpx;
|
||||
top: 50%
|
||||
transform: translate(0, -50%)
|
||||
z-index: 1
|
||||
cursor: pointer
|
||||
}
|
||||
.inputplace{
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #B5B5B5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.main-scroll {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.cards{
|
||||
width: 100%;
|
||||
min-height: 260rpx;
|
||||
height: auto;
|
||||
background: linear-gradient(0deg, #E3EFFF 0%, #FBFDFF 100%);
|
||||
// box-shadow: 0px 0px 6px 0px rgba(0,71,200,0.32);
|
||||
border-radius: 12rpx;
|
||||
border: 2px solid #EDF5FF;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 30rpx 40rpx 0;
|
||||
box-sizing: border-box
|
||||
.cardHead{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.cardHeadLeft{
|
||||
display: flex;
|
||||
align-items: center
|
||||
width: 70%;
|
||||
.cardTitle{
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #0069CB;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.titleType{
|
||||
border-radius: 4px;
|
||||
font-size: 22rpx;
|
||||
color: #157EFF;
|
||||
width: 100rpx;
|
||||
height: 38rpx;
|
||||
text-align: center;
|
||||
line-height: 38rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.heng{
|
||||
width: 30%;
|
||||
height: 4rpx;
|
||||
background: linear-gradient(88deg, #015EEA 0%, #00C0FA 100%);
|
||||
margin: 10rpx 0 20rpx;
|
||||
}
|
||||
.cardCon{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
.conten{
|
||||
width: 100%;
|
||||
font-size: 24rpx;
|
||||
color: #666666;
|
||||
display: flex;
|
||||
align-items: center
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.status-tags{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
.flooter{
|
||||
width: 100%;
|
||||
border-top: 1px solid #ccc;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
margin-top: 10rpx;
|
||||
view{
|
||||
font-size: 28rpx;
|
||||
margin-left: 30rpx;
|
||||
color: #2175F3;
|
||||
padding-top: 14rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.cards2{
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
z-index: 10000;
|
||||
padding: 100rpx 50rpx;
|
||||
box-sizing: border-box;
|
||||
.cardCon{
|
||||
height: 70%;
|
||||
background-color: #fff;
|
||||
padding: 20rpx;
|
||||
box-sizing: border-box;
|
||||
.cardHead{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.footer{
|
||||
width: 100%;
|
||||
height: 120rpx;
|
||||
background: #fff;
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.footerBtn{
|
||||
width: 90%;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
text-align: center
|
||||
border-radius: 10rpx;
|
||||
color: #fff;
|
||||
background: #409EFF;
|
||||
}
|
||||
}
|
||||
.titleType{
|
||||
display: inline-block
|
||||
border-radius: 4px;
|
||||
font-size: 22rpx;
|
||||
color: #157EFF;
|
||||
width: 100rpx;
|
||||
height: 38rpx;
|
||||
text-align: center;
|
||||
line-height: 38rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.primary{
|
||||
border: 1px solid #157EFF!important;
|
||||
color: #157EFF!important
|
||||
}
|
||||
.success{
|
||||
border: 1px solid #05A636!important;
|
||||
color: #05A636!important
|
||||
}
|
||||
.info{
|
||||
border: 1px solid #898989!important;
|
||||
color: #898989!important
|
||||
}
|
||||
.tertiary{
|
||||
border: 1px solid #E6A340!important;
|
||||
color: #E6A340!important
|
||||
}
|
||||
.primary2{
|
||||
border: 1px solid #F56C6C!important;
|
||||
color: #F56C6C!important
|
||||
}
|
||||
.rightBtn{
|
||||
width: 140rpx;
|
||||
height: 44rpx;
|
||||
line-height: 44rpx;
|
||||
// background: linear-gradient(90deg, #00C0FA 0%, #1271FF 100%);
|
||||
// border-radius: 4px;
|
||||
// color: #fff;
|
||||
// font-size: 24rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.detailTitle{
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
margin: 30rpx 0;
|
||||
}
|
||||
.detailCon{
|
||||
font-size: 28rpx;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
.exam-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 35rpx;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.info-item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
font-family: 'D-DIN-Medium';
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
color: #409EFF;
|
||||
margin-bottom: 8rpx;
|
||||
}
|
||||
|
||||
.info-label {
|
||||
font-size: 26rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.info-divider {
|
||||
width: 2px;
|
||||
background-color: #C3E1FF;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user