347 lines
6.1 KiB
Vue
347 lines
6.1 KiB
Vue
<template>
|
||
<view class="">
|
||
<!-- 审核的信息 -->
|
||
<view class="shenghe_item" @click="gotoworkinfo">
|
||
<image v-if="page_type==2" src="../../../static/images/icon/pass.png" mode="" class="pass_unpass pass"></image>
|
||
<image v-if="page_type==3" src="../../../static/images/icon/unpass.png" mode="" class="pass_unpass unpass">
|
||
</image>
|
||
<view class="user_header">
|
||
<view class="">
|
||
<view class="user_img">
|
||
<image src="../../../static/images/icon/tu4-1.jpg" mode=""></image>
|
||
</view>
|
||
<view class="user_msg">
|
||
<h4>爱吃饭的小张</h4>
|
||
<p>11分钟前·南开大学</p>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="text_style">
|
||
|
||
</view>
|
||
</view>
|
||
<!-- 审核的文章标题 -->
|
||
<view class="shenghe_title">
|
||
<view class="lin1">
|
||
姓名:张三
|
||
</view>
|
||
<view class="lin1">
|
||
年级:2023级
|
||
</view>
|
||
<view class="lin2">
|
||
学号:96092394225
|
||
</view>
|
||
<view class="lin2">
|
||
系别:计算机与软件技术系
|
||
</view>
|
||
<view class="lin2">
|
||
学校:天津电子信息职业技术学院
|
||
</view>
|
||
</view>
|
||
<!-- 认证审核图片 -->
|
||
<image src="../../../static/images/icon/tu4-2.jpg" class="renzhen_image" mode=""></image>
|
||
|
||
<view>
|
||
|
||
</view>
|
||
|
||
|
||
|
||
|
||
<!-- 审核未通过的提示框 -->
|
||
<view class="tishi_box" v-if="page_type==3">
|
||
<h2>审核未通过</h2>
|
||
<p>未通过原因:存在敏感词“SB”</p>
|
||
</view>
|
||
</view>
|
||
|
||
|
||
<footer>
|
||
<view class="footer_top" v-if="page_type==1">
|
||
<view class="footer_btn footer_btn_left">
|
||
通过
|
||
</view>
|
||
<view class="footer_btn footer_btn_right" @click="show = true">
|
||
不通过
|
||
</view>
|
||
</view>
|
||
<view class="footer_bottom">
|
||
|
||
</view>
|
||
</footer>
|
||
<!-- 弹窗显示不通过原因 -->
|
||
|
||
<up-popup :show="show" @close="close" @open="open" mode="center" :round="12">
|
||
<view class="popup">
|
||
<!-- 标题 -->
|
||
<h4>未通过原因</h4>
|
||
<!-- 输入区域0 -->
|
||
<up-textarea v-model="value2" placeholder="请输入内容" count class="input_area"></up-textarea>
|
||
<view class="popup_btns">
|
||
<view class="popup_btns_left popup_btn" @click="close()">
|
||
取消
|
||
</view>
|
||
<view class="popup_btns_right popup_btn" @click="UNpass">
|
||
确认
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</up-popup>
|
||
|
||
|
||
</view>
|
||
</template>
|
||
|
||
<script setup>
|
||
import {
|
||
ref
|
||
} from 'vue';
|
||
var value2 = ref('')
|
||
//判断文章状态根据 1 2 3 v-if判断
|
||
var page_type = ref(1)
|
||
// 创建响应式数据
|
||
const show = ref(false);
|
||
|
||
// 定义方法 弹出打开
|
||
function open() {
|
||
// 打开逻辑,比如设置 show 为 true
|
||
show.value = true;
|
||
// console.log('open');
|
||
}
|
||
//弹出关闭
|
||
function close() {
|
||
// 关闭逻辑,设置 show 为 false
|
||
show.value = false;
|
||
// console.log('close');
|
||
}
|
||
// 未通过弹窗的确定点击事件
|
||
function UNpass() {
|
||
console.log(value2.value);
|
||
//close函数 在上传不通过原因当中上传文本
|
||
close()
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss" scoped>
|
||
page {
|
||
background-color: #fff;
|
||
}
|
||
|
||
.shenghe_item {
|
||
width: 750rpx;
|
||
background: #ffffff;
|
||
padding: 30rpx 32rpx 216rpx 32rpx;
|
||
position: relative;
|
||
}
|
||
|
||
.pass_unpass {
|
||
position: absolute;
|
||
right: 0;
|
||
|
||
}
|
||
|
||
.pass {
|
||
width: 263rpx;
|
||
height: 200rpx;
|
||
}
|
||
|
||
.unpass {
|
||
width: 230rpx;
|
||
height: 200rpx;
|
||
}
|
||
|
||
.user_header {
|
||
width: 100%;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
height: 84rpx;
|
||
|
||
.user_img {
|
||
width: 84rpx;
|
||
height: 84rpx;
|
||
margin-right: 19rpx;
|
||
|
||
image {
|
||
width: 84rpx;
|
||
height: 84rpx;
|
||
border-radius: 50%;
|
||
}
|
||
}
|
||
|
||
.user_msg {
|
||
h4 {
|
||
font-weight: 600;
|
||
width: 186rpx;
|
||
height: 31rpx;
|
||
font-size: 30rpx;
|
||
text-align: left;
|
||
color: #000000 100%;
|
||
margin-bottom: 18rpx;
|
||
}
|
||
|
||
p {
|
||
height: 30rpx;
|
||
font-size: 30rpx;
|
||
color: #999999;
|
||
}
|
||
}
|
||
|
||
.text_style {
|
||
|
||
|
||
right: 0;
|
||
font-weight: 400;
|
||
width: 84rpx;
|
||
height: 28rpx;
|
||
font-size: 28rpx;
|
||
text-align: left;
|
||
color: #6AA2FF;
|
||
}
|
||
}
|
||
|
||
.user_header>view {
|
||
display: flex;
|
||
|
||
}
|
||
|
||
.shenghe_title {
|
||
width: 100%;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
color: #333333;
|
||
.lin1{
|
||
width: 50%;
|
||
margin-top: 32rpx;
|
||
}
|
||
.lin2{
|
||
width: 100%;
|
||
margin-top: 24rpx;
|
||
}
|
||
}
|
||
|
||
.renzhen_image{
|
||
width: 686rpx;
|
||
height: 400rpx;
|
||
border-radius: 24rpx;
|
||
margin-top: 32rpx;
|
||
}
|
||
|
||
|
||
|
||
footer {
|
||
position: fixed;
|
||
bottom: 0px;
|
||
border-top: 4rpx solid #f6f6f6;
|
||
|
||
}
|
||
|
||
.footer_top {
|
||
width: 750rpx;
|
||
height: 94rpx;
|
||
background: #ffffff;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-around;
|
||
}
|
||
|
||
.footer_bottom {
|
||
width: 750rpx;
|
||
height: 68rpx;
|
||
background: #f6f6f6;
|
||
}
|
||
|
||
.footer_btn {
|
||
width: 300rpx;
|
||
height: 60rpx;
|
||
border-radius: 30rpx 30rpx 30rpx 30rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
color: #fff;
|
||
font-size: 28rpx;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.footer_btn_left {
|
||
background: #6aa2ff;
|
||
}
|
||
|
||
.footer_btn_right {
|
||
background: #fa3939;
|
||
}
|
||
|
||
.popup {
|
||
width: 600rpx;
|
||
height: 470rpx;
|
||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||
background: #ffffff;
|
||
|
||
}
|
||
|
||
.popup {}
|
||
|
||
.popup h4 {
|
||
font-weight: 600;
|
||
text-align: center;
|
||
height: 31rpx;
|
||
font-size: 30rpx;
|
||
color: #000000 100%;
|
||
margin-top: 32rpx;
|
||
}
|
||
|
||
.input_area {
|
||
width: 552rpx;
|
||
height: 246rpx;
|
||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||
background: #f4f5f6;
|
||
margin: 31rpx auto;
|
||
}
|
||
|
||
.popup_btns {
|
||
width: 100%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-around;
|
||
}
|
||
|
||
.popup_btn {
|
||
width: 180rpx;
|
||
height: 50rpx;
|
||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-around;
|
||
font-weight: 600;
|
||
font-size: 24rpx;
|
||
margin-top: 48rpx;
|
||
color: #FFFFFF;
|
||
}
|
||
|
||
.popup_btns_left {
|
||
background-color: #6AA2FF;
|
||
}
|
||
|
||
.popup_btns_right {
|
||
background-color: #FA3939;
|
||
}
|
||
|
||
.tishi_box {
|
||
width: 686rpx;
|
||
height: 134rpx;
|
||
border-radius: 24rpx 24rpx 24rpx 24rpx;
|
||
background: #ffffff;
|
||
box-shadow: 0rpx 0rpx 20rpx #ececed;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-direction: column;
|
||
color: #FA3939;
|
||
}
|
||
.tishi_box h2{
|
||
font-size: 36rpx;
|
||
}
|
||
.tishi_box p{
|
||
font-size: 24rpx;
|
||
margin-top: 16rpx;
|
||
}
|
||
</style> |