检测文档更新
This commit is contained in:
parent
cdd6ca0354
commit
b1bbe479ec
@ -2,6 +2,7 @@
|
||||
|
||||
<template>
|
||||
<view class="content">
|
||||
<u-loading-page :loading="isLoading"></u-loading-page>
|
||||
<view class="top-heder">
|
||||
<view class="t-left" @click="getback()">
|
||||
<uni-icons type="left" size="18"></uni-icons>
|
||||
@ -26,7 +27,7 @@
|
||||
<image src="../../static/imgs/wenjianjia.png" mode=""></image>
|
||||
</view> -->
|
||||
<view style="width: 100%; display: flex; justify-content: center;">
|
||||
<text > + 新增文件</text>
|
||||
<text> + 新增文件</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bjimg" v-if="arrlist == ''">
|
||||
@ -34,21 +35,22 @@
|
||||
</view>
|
||||
<view class="wrap-box">
|
||||
|
||||
<view class="w-box" v-for="(item,index) in arrlist" :key="index" >
|
||||
<view class="w-box" v-for="(item,index) in arrlist" :key="index">
|
||||
<view class=" wimg" v-if="item.type=='1'" @click="enrtryFile(item.id)">
|
||||
<image src="../../static/imgs/wenjianjia.png" mode=""></image>
|
||||
</view>
|
||||
<view class="wimg" v-else>
|
||||
<image src="../../static/imgs/wenjian.png" mode=""></image>
|
||||
</view>
|
||||
<view class="">{{item.fileName}}</view>
|
||||
<view class="" v-if="item.warnTime">{{item.warnTime}}</view>
|
||||
<view class="" v-if="!item.warnTime" style=" visibility: hidden;">{{'1'}}</view>
|
||||
<view class="" v-if="item.count">文件数:{{item.count}}</view>
|
||||
<view class="" v-if="!item.count" style=" visibility: hidden;">{{'1'}}</view>
|
||||
<view class="">{{ item.fileName }}</view>
|
||||
<view class="" v-if="item.warnTime">{{ item.warnTime }}</view>
|
||||
<view class="" v-if="!item.warnTime" style=" visibility: hidden;">{{ '1' }}</view>
|
||||
<view class="" v-if="item.count">文件数:{{ item.count }}</view>
|
||||
<view class="" v-if="!item.count" style=" visibility: hidden;">{{ '1' }}</view>
|
||||
<view class="bsd-dis">
|
||||
<view class="bianji" v-if="item.type == '2'" @click="viewFile(item.filePath)">预览</view>
|
||||
<view class="bianji" @click="editFile(item.id)">编辑</view>
|
||||
<view class="bianji" @click="showHistory(item.id)">历史版本</view>
|
||||
<view class="sanchu" @click="delFile(item.id)">删除</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -59,27 +61,56 @@
|
||||
</view>
|
||||
|
||||
|
||||
<u-popup :show="isShow" mode="bottom" @close="isShow = false">
|
||||
<view>
|
||||
<!-- 弹出层 -->
|
||||
<view v-if="isShow" class="popup">
|
||||
<view class="popup-content">
|
||||
<view class="popup-title">修改记录</view>
|
||||
|
||||
<!-- 步骤条 -->
|
||||
<view class="steps">
|
||||
<view v-for="(item, index) in drawerData" :key="index" class="step">
|
||||
<view class="step-index">{{ index + 1 }}</view>
|
||||
<view class="step-content">
|
||||
<text class="step-file-name">📄 文件名称:{{ item.fileName }}</text>
|
||||
<text class="step-time">🕒 修改时间:{{ formatDate(item.createTime) }}</text>
|
||||
<text class="step-time">🕒 提醒时间:{{ item.warnTime != null ? formatDate(item.warnTime) : '' }}</text>
|
||||
<text class="step-download" @click="viewFile(item.filePath)" v-if="item.type == '2'">📂 预览文件</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- <button class="close-btn" @click="isShow = false">关闭</button>-->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import config from '@/config'
|
||||
import request from '../../utils/request';
|
||||
import config from '@/config'
|
||||
import request from '../../utils/request';
|
||||
import {formatDate} from "@/utils/utils";
|
||||
|
||||
export default{
|
||||
data(){
|
||||
return{
|
||||
arrlist:[],
|
||||
fileId:null,
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
arrlist: [],
|
||||
fileId: null,
|
||||
pageNum: 1,//第几页
|
||||
pageSize: 20,//一页多少张
|
||||
totalPages: 0,//总数
|
||||
nowFile:{},
|
||||
fileName: null
|
||||
nowFile: {},
|
||||
fileName: null,
|
||||
isShow: false,
|
||||
drawerData: [],
|
||||
isLoading:false
|
||||
}
|
||||
},
|
||||
|
||||
onLoad(){
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
onShow() {
|
||||
@ -98,36 +129,49 @@
|
||||
this.getlist()
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
async getlist(){
|
||||
methods: {
|
||||
formatDate,
|
||||
async getlist() {
|
||||
let res = await request({
|
||||
url: '/inspectionFile/inspectionFile/list',
|
||||
method: 'get',
|
||||
data: {
|
||||
pageSize:this.pageSize,
|
||||
pageNum:this.pageNum,
|
||||
fatherId:this.fileId,
|
||||
pageSize: this.pageSize,
|
||||
pageNum: this.pageNum,
|
||||
fatherId: this.fileId,
|
||||
fileName: this.fileName,
|
||||
}
|
||||
})
|
||||
if (this.pageNum != 1){
|
||||
this.arrlist = this.arrlist.concat(res.rows)
|
||||
}else{
|
||||
this.arrlist = res.rows
|
||||
if (this.pageNum != 1) {
|
||||
this.arrlist = this.arrlist.concat(res.data)
|
||||
} else {
|
||||
this.arrlist = res.data
|
||||
}
|
||||
let total = res.total
|
||||
this.totalPages = Math.ceil(total / this.pageSize);
|
||||
this.getCountByDirectory()
|
||||
},
|
||||
getCountByDirectory(){
|
||||
if (this.arrlist && this.arrlist.length > 0){
|
||||
showHistory(id) {
|
||||
this.isShow = true
|
||||
this.isShow = true
|
||||
request({
|
||||
url: '/system/fileRecord/get/' + id,
|
||||
method: 'get',
|
||||
}).then(res => {
|
||||
if (res && res.data) {
|
||||
this.drawerData = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
getCountByDirectory() {
|
||||
if (this.arrlist && this.arrlist.length > 0) {
|
||||
const ids = this.arrlist.filter(item => (item.type === '1' && !item.count)).map(item => item.id)
|
||||
if (ids && ids.length > 0){
|
||||
if (ids && ids.length > 0) {
|
||||
request({
|
||||
url: '/inspectionFile/inspectionFile/getCountByIds?ids=' + ids,
|
||||
method: 'get',
|
||||
}).then(res => {
|
||||
if (res && res.data){
|
||||
if (res && res.data) {
|
||||
const map = new Map(Object.entries(res.data))
|
||||
this.arrlist.filter(item => (item.type === '1' && !item.count)).forEach(item => {
|
||||
this.$set(item, 'count', map.get(item.id + ''))
|
||||
@ -137,17 +181,17 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
async getback(){
|
||||
if(!this.fileId){
|
||||
async getback() {
|
||||
if (!this.fileId) {
|
||||
uni.navigateBack()
|
||||
}else{
|
||||
} else {
|
||||
let res = await request({
|
||||
url: '/inspectionFile/inspectionFile/'+this.fileId,
|
||||
url: '/inspectionFile/inspectionFile/' + this.fileId,
|
||||
method: 'get',
|
||||
})
|
||||
this.nowFile = res.data
|
||||
this.arrlist=[]
|
||||
this.pageNum =1
|
||||
this.arrlist = []
|
||||
this.pageNum = 1
|
||||
this.fileId = this.nowFile.fatherId
|
||||
this.getlist()
|
||||
|
||||
@ -155,47 +199,60 @@
|
||||
}
|
||||
|
||||
},
|
||||
addwenjian(){
|
||||
addwenjian() {
|
||||
uni.navigateTo({
|
||||
url:'/pages/manage/deviceAdd?fileId='+this.fileId+'&type=add'
|
||||
url: '/pages/manage/deviceAdd?fileId=' + this.fileId + '&type=add'
|
||||
})
|
||||
},
|
||||
enrtryFile(fileId){
|
||||
enrtryFile(fileId) {
|
||||
this.fileId = fileId
|
||||
this.arrlist=[]
|
||||
this.pageNum =1
|
||||
this.arrlist = []
|
||||
this.pageNum = 1
|
||||
this.getlist()
|
||||
},
|
||||
viewFile(filePath){
|
||||
viewFile(filePath) {
|
||||
this.isLoading = true;
|
||||
|
||||
uni.downloadFile({
|
||||
url: this.$baseImageUrl+'/'+filePath,
|
||||
success: function (res) {
|
||||
url: this.$baseImageUrl + '/' + filePath,
|
||||
success: (res) => { // 使用箭头函数
|
||||
var filePath = res.tempFilePath;
|
||||
console.log('看看执行了吗');
|
||||
this.isLoading = false;
|
||||
console.log('目前的loading', this.isLoading); // this 现在指向 Vue 实例
|
||||
|
||||
uni.openDocument({
|
||||
filePath: filePath,
|
||||
showMenu: true,
|
||||
success: function (res) {
|
||||
}
|
||||
});
|
||||
success: (res) => {
|
||||
console.log("文件打开成功");
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error("文件打开失败", err);
|
||||
}
|
||||
});
|
||||
},
|
||||
editFile(fileId){
|
||||
fail: (err) => {
|
||||
console.error("文件下载失败", err);
|
||||
}
|
||||
});
|
||||
},
|
||||
editFile(fileId) {
|
||||
uni.navigateTo({
|
||||
url:'/pages/manage/deviceAdd?fileId='+fileId+'&type=edit'
|
||||
url: '/pages/manage/deviceAdd?fileId=' + fileId + '&type=edit'
|
||||
})
|
||||
},
|
||||
delFile(fileId){
|
||||
delFile(fileId) {
|
||||
let that = this
|
||||
uni.showModal({
|
||||
title: '确认',
|
||||
content: '是否确认删除',
|
||||
success: function (res) {
|
||||
if (res.confirm){
|
||||
if (res.confirm) {
|
||||
request({
|
||||
url: '/inspectionFile/inspectionFile/del/'+fileId,
|
||||
url: '/inspectionFile/inspectionFile/del/' + fileId,
|
||||
method: 'post'
|
||||
}).then(res=>{
|
||||
}).then(res => {
|
||||
that.getlist()
|
||||
})
|
||||
}
|
||||
@ -203,19 +260,19 @@
|
||||
});
|
||||
|
||||
},
|
||||
gostaff(){
|
||||
gostaff() {
|
||||
uni.navigateTo({
|
||||
url:'/pages/manage/staffManage'
|
||||
url: '/pages/manage/staffManage'
|
||||
})
|
||||
},
|
||||
goinformation(){
|
||||
goinformation() {
|
||||
uni.navigateTo({
|
||||
url:'/pages/manage/informationManage'
|
||||
url: '/pages/manage/informationManage'
|
||||
})
|
||||
},
|
||||
godevice(){
|
||||
godevice() {
|
||||
uni.navigateTo({
|
||||
url:'/pages/manage/deviceManage'
|
||||
url: '/pages/manage/deviceManage'
|
||||
})
|
||||
},
|
||||
|
||||
@ -223,21 +280,23 @@
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.content{
|
||||
.content {
|
||||
width: 100%;
|
||||
height: calc(100vh);
|
||||
background-color: #F6F6F6;
|
||||
box-sizing: border-box;
|
||||
// padding-top: 45px;
|
||||
}
|
||||
.top-icon{
|
||||
}
|
||||
|
||||
.top-icon {
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
.q-fab{
|
||||
}
|
||||
|
||||
.q-fab {
|
||||
position: fixed;
|
||||
bottom: 50px;
|
||||
right: 15px;
|
||||
@ -245,12 +304,14 @@
|
||||
height: 55px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.fab-z1{
|
||||
}
|
||||
|
||||
.fab-z1 {
|
||||
position: fixed;
|
||||
bottom: 115px;
|
||||
right: 15px;
|
||||
@ -258,12 +319,14 @@
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.fab-z2{
|
||||
}
|
||||
|
||||
.fab-z2 {
|
||||
position: fixed;
|
||||
bottom: 50px;
|
||||
right: 80px;
|
||||
@ -271,12 +334,14 @@
|
||||
height: 50px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.c-tap{
|
||||
}
|
||||
|
||||
.c-tap {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
box-sizing: border-box;
|
||||
@ -284,25 +349,29 @@
|
||||
display: flex;
|
||||
background-color: white;
|
||||
align-items: center;
|
||||
}
|
||||
.c-top{
|
||||
}
|
||||
|
||||
.c-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.c-title{
|
||||
}
|
||||
|
||||
.c-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold
|
||||
}
|
||||
.cont{
|
||||
}
|
||||
|
||||
.cont {
|
||||
width: 100%;
|
||||
padding: 15px;
|
||||
padding-top: 0px ;
|
||||
padding-top: 0px;
|
||||
box-sizing: border-box;
|
||||
background-color: #F6F6F6;
|
||||
|
||||
}
|
||||
.hongdian{
|
||||
}
|
||||
|
||||
.hongdian {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background-color: crimson;
|
||||
@ -312,8 +381,9 @@
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
z-index: 9999;
|
||||
}
|
||||
.c-box{
|
||||
}
|
||||
|
||||
.c-box {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 10px;
|
||||
@ -325,34 +395,40 @@
|
||||
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
.c-b-top{
|
||||
}
|
||||
|
||||
.c-b-top {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.t-left{
|
||||
}
|
||||
|
||||
.t-left {
|
||||
width: 40%;
|
||||
height: 100px;
|
||||
border-radius: 7px;
|
||||
margin-right: 10px;
|
||||
overflow: hidden;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
}
|
||||
.t-right{
|
||||
}
|
||||
|
||||
.t-right {
|
||||
width: 60%;
|
||||
}
|
||||
.t-tilte{
|
||||
}
|
||||
|
||||
.t-tilte {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
@ -360,8 +436,9 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
}
|
||||
.tw-tilte{
|
||||
}
|
||||
|
||||
.tw-tilte {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
font-size: 16px;
|
||||
@ -371,8 +448,9 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
}
|
||||
.t-zi{
|
||||
}
|
||||
|
||||
.t-zi {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #666666;
|
||||
@ -382,70 +460,84 @@
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
|
||||
}
|
||||
.bjimg{
|
||||
}
|
||||
|
||||
.bjimg {
|
||||
width: 255px;
|
||||
height: 236px;
|
||||
margin: 0px auto;
|
||||
margin-top: 100px;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.c-b-bom{
|
||||
}
|
||||
|
||||
.c-b-bom {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.b-left{
|
||||
}
|
||||
|
||||
.b-left {
|
||||
color: #0D2E8D;
|
||||
font-size: 14px;
|
||||
}
|
||||
.b-right{
|
||||
}
|
||||
|
||||
.b-right {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.z-lv{
|
||||
}
|
||||
|
||||
.z-lv {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #0D2E8D;
|
||||
font-size: 15px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.y-hong{
|
||||
}
|
||||
|
||||
.y-hong {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #fa3534;
|
||||
font-size: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
.z-img{
|
||||
}
|
||||
|
||||
.z-img {
|
||||
width: 20px;
|
||||
height: 15px;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
margin-right: 2px;
|
||||
}
|
||||
.tap-box{
|
||||
}
|
||||
|
||||
.tap-box {
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.gang{
|
||||
}
|
||||
|
||||
.gang {
|
||||
height: 4px;
|
||||
background: #0D2E8D;
|
||||
width: 80%;
|
||||
margin: 0px auto;
|
||||
}
|
||||
.lan{
|
||||
}
|
||||
|
||||
.lan {
|
||||
color: #0D2E8D;
|
||||
}
|
||||
.top-heder{
|
||||
}
|
||||
|
||||
.top-heder {
|
||||
width: 100%;
|
||||
height: 68px;
|
||||
background: white;
|
||||
@ -455,28 +547,33 @@
|
||||
box-sizing: border-box;
|
||||
padding: 5px 15px;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
.t-title{
|
||||
}
|
||||
|
||||
.t-title {
|
||||
font-size: 17px;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
}
|
||||
.t-left{
|
||||
}
|
||||
|
||||
.t-left {
|
||||
width: 20%;
|
||||
height: 20px;
|
||||
}
|
||||
.t-you{
|
||||
}
|
||||
|
||||
.t-you {
|
||||
width: 20%;
|
||||
height: 20px;
|
||||
}
|
||||
.wrap-box{
|
||||
}
|
||||
|
||||
.wrap-box {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.w-box{
|
||||
}
|
||||
|
||||
.w-box {
|
||||
width: 48%;
|
||||
background-color: white;
|
||||
margin-top: 10px;
|
||||
@ -485,23 +582,27 @@
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
.wimg{
|
||||
}
|
||||
|
||||
.wimg {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
image{
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.bsd-dis{
|
||||
}
|
||||
|
||||
.bsd-dis {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.bianji{
|
||||
}
|
||||
|
||||
.bianji {
|
||||
width: 50px;
|
||||
height: 24px;
|
||||
color: #0D2E8D;
|
||||
@ -510,8 +611,9 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.sanchu{
|
||||
}
|
||||
|
||||
.sanchu {
|
||||
width: 50px;
|
||||
height: 24px;
|
||||
color: #FF571A;
|
||||
@ -520,9 +622,9 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.t-input{
|
||||
.t-input {
|
||||
width: 75%;
|
||||
height: 36px;
|
||||
background: #F0F0F0;
|
||||
@ -531,18 +633,113 @@
|
||||
padding: 0 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.sou{
|
||||
.sou {
|
||||
width: 10%;
|
||||
margin-left: 5px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.searchContent{
|
||||
.searchContent {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* 弹出层背景 */
|
||||
.popup {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
/* 弹出层内容 */
|
||||
.popup-content {
|
||||
width: 90%;
|
||||
background: #fff;
|
||||
border-radius: 10px 10px 0 0;
|
||||
padding: 20px;
|
||||
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* 标题 */
|
||||
.popup-title {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* 步骤条 */
|
||||
.steps {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* 单个步骤 */
|
||||
.step {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* 序号样式 */
|
||||
.step-index {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
background: #007aff;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
/* 步骤内容 */
|
||||
.step-content {
|
||||
flex: 1;
|
||||
background: #f8f8f8;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* 文字样式 */
|
||||
.step-file-name {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.step-time {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
display: block;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.step-download {
|
||||
font-size: 14px;
|
||||
color: #007aff;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* 关闭按钮 */
|
||||
.close-btn {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background: #007aff;
|
||||
color: white;
|
||||
text-align: center;
|
||||
border-radius: 5px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user