整合样式,BUG 59
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row type="flex" align="middle" class="notice fill">
|
<el-row type="flex" align="middle" class="notice fill">
|
||||||
<el-button type="primary" icon="iconfont iconNotice">通知公告</el-button>
|
<el-button type="primary" icon="iconfont iconNotice">通知公告</el-button>
|
||||||
<div class="notice-content nowarp-text fill">
|
<div class="notice-content nowrap-text fill">
|
||||||
<el-carousel ref="noticeCarousel" height="32px" direction="vertical" indicator-position="none">
|
<el-carousel ref="noticeCarousel" height="32px" direction="vertical" indicator-position="none">
|
||||||
<template v-if="noticeList.length">
|
<template v-if="noticeList.length">
|
||||||
<el-carousel-item v-for="(notice,i) in noticeList" :key="i">
|
<el-carousel-item v-for="(notice,i) in noticeList" :key="i">
|
||||||
@@ -124,10 +124,10 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #content>
|
<template #content>
|
||||||
<div class="unread-message-list">
|
<div class="unread-message-list">
|
||||||
<li v-for="(msg,i) in msgList" :key="i" class="nowarp-text">
|
<li v-for="(msg,i) in msgList" :key="i" class="nowrap-text">
|
||||||
<div class="list-type"> </div>
|
<div class="list-type"> </div>
|
||||||
<div style="width: calc(100% - 16px)">
|
<div style="width: calc(100% - 16px)">
|
||||||
<p class="nowarp-text">{{ msg.content }}</p>
|
<p class="nowrap-text">{{ msg.content }}</p>
|
||||||
<span style="color: #26f" v-text="`[${msg.title}]`"/><span style="color:#999" v-text="msg.receiveTime"/>
|
<span style="color: #26f" v-text="`[${msg.title}]`"/><span style="color:#999" v-text="msg.receiveTime"/>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -26,19 +26,20 @@
|
|||||||
<div class="rightZone">
|
<div class="rightZone">
|
||||||
<ai-card title="办理进度">
|
<ai-card title="办理进度">
|
||||||
<template #content>
|
<template #content>
|
||||||
<el-steps direction="vertical" :active="1">
|
<el-steps direction="vertical">
|
||||||
<el-step v-for="(item, i) in processList" :key="i"
|
<el-step v-for="(item, i) in processList" :key="i" :title="item.systemExplain" :description="item.doTime">
|
||||||
:title="item.systemExplain" :description="item.doTime">
|
|
||||||
<template #title>
|
<template #title>
|
||||||
<h2 class="step-title" style="font-weight: 500; font-size: 14px;">
|
<div flex>
|
||||||
{{ item.user }}
|
<ai-avatar type="circle">{{ item.user }}</ai-avatar>
|
||||||
{{ item.title }}
|
<div class="fill mar-l8">
|
||||||
</h2>
|
<h2 class="step-title" v-text="item.title"/>
|
||||||
|
<p class="color-999 font-14">{{ item.doTime }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #description>
|
<template #description>
|
||||||
<p style="color: #888; margin: 0 4px 10px 0; font-size: 14px;">{{ item.doTime }}</p>
|
<div class="color-444 mar-b10" v-if="item.doExplain" v-text="item.doExplain"/>
|
||||||
<div style="color: #444;margin-bottom: 10px;" v-if="item.doExplain">{{ item.doExplain }}</div>
|
<ai-uploader :instance="instance" disabled v-model="item.files"/>
|
||||||
<ai-uploader :instance="instance" disabled v-model="item.files"></ai-uploader>
|
|
||||||
</template>
|
</template>
|
||||||
</el-step>
|
</el-step>
|
||||||
</el-steps>
|
</el-steps>
|
||||||
@@ -153,6 +154,7 @@ export default {
|
|||||||
|
|
||||||
.step-title {
|
.step-title {
|
||||||
color: #555;
|
color: #555;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-content__wrapper {
|
.detail-content__wrapper {
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
:label="item.label"
|
:label="item.label"
|
||||||
:align="item.align"
|
:align="item.align"
|
||||||
:width="item.width">
|
:width="item.width">
|
||||||
<div class="nowarp-text" slot-scope="{row}">
|
<div class="nowrap-text" slot-scope="{row}">
|
||||||
{{ row[item.prop] || "-" }}
|
{{ row[item.prop] || "-" }}
|
||||||
</div>
|
</div>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -17,11 +17,20 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
|
|||||||
/**
|
/**
|
||||||
常用内外边距样式
|
常用内外边距样式
|
||||||
*/
|
*/
|
||||||
@each $v in (8, 10, 16, 20, 32, 48, 56, 64, 80) {
|
@each $v in (333, 666, 888, 999, '26f', 'f46') {
|
||||||
|
.color-#{$v} {
|
||||||
|
color: \##{$v};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@each $v in (8, 10, 12, 14, 16, 20, 32, 48, 56, 64, 80) {
|
||||||
//gap
|
//gap
|
||||||
.gap-#{$v} {
|
.gap-#{$v} {
|
||||||
gap: #{$v}px
|
gap: #{$v}px
|
||||||
}
|
}
|
||||||
|
.font-#{$v} {
|
||||||
|
font-size: #{$v}px;
|
||||||
|
}
|
||||||
@each $padMar, $pm in (mar:margin, pad:padding) {
|
@each $padMar, $pm in (mar:margin, pad:padding) {
|
||||||
.#{$padMar}-#{$v} {
|
.#{$padMar}-#{$v} {
|
||||||
#{$pm}: #{$v}px
|
#{$pm}: #{$v}px
|
||||||
@@ -58,7 +67,7 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
|
|||||||
/**
|
/**
|
||||||
不换行文本
|
不换行文本
|
||||||
*/
|
*/
|
||||||
.nowarp-text {
|
.nowrap-text {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<i style="font-size: 16px" class="iconfont iconLocation"/>
|
<i style="font-size: 16px" class="iconfont iconLocation"/>
|
||||||
切换地区
|
切换地区
|
||||||
</div>
|
</div>
|
||||||
<div class="content nowarp-text fill" v-text="fullName"/>
|
<div class="content nowrap-text fill" v-text="fullName"/>
|
||||||
<i class="iconfont iconChange pad-r10"/>
|
<i class="iconfont iconChange pad-r10"/>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="AiAvatar">
|
<section class="AiAvatar">
|
||||||
<el-row type="flex">
|
<el-row type="flex" v-if="type=='rect'">
|
||||||
<div class="image-box">
|
<div class="image-box">
|
||||||
<el-image v-if="value" :src="value" :preview-src-list="preview?[value]:null"></el-image>
|
<el-image v-if="value" :src="value" :preview-src-list="preview?[value]:null"/>
|
||||||
<div style="margin: 36px auto;" v-else>
|
<div style="margin: 36px auto;" v-else>
|
||||||
<i class="iconfont iconProfile_Picture"></i>
|
<i class="iconfont iconProfile_Picture"></i>
|
||||||
<div style="color: #666;font-size: 12px;">暂无照片</div>
|
<div style="color: #666;font-size: 12px;">暂无照片</div>
|
||||||
@@ -17,6 +17,9 @@
|
|||||||
</el-upload>
|
</el-upload>
|
||||||
</div>
|
</div>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
<el-avatar v-else-if="type=='circle'" :src="value">
|
||||||
|
<slot v-if="!value"/>
|
||||||
|
</el-avatar>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -32,7 +35,8 @@ export default {
|
|||||||
instance: Function,
|
instance: Function,
|
||||||
editable: {type: Boolean, default: true},
|
editable: {type: Boolean, default: true},
|
||||||
bid: String,
|
bid: String,
|
||||||
preview: {type: Boolean, default: true}
|
preview: {type: Boolean, default: true},
|
||||||
|
type: {default: "rect"}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -48,7 +52,6 @@ export default {
|
|||||||
formData.append('bizId', this.bid)
|
formData.append('bizId', this.bid)
|
||||||
formData.append('bizType', '2')
|
formData.append('bizType', '2')
|
||||||
formData.append('file', this.file)
|
formData.append('file', this.file)
|
||||||
console.log(this.file)
|
|
||||||
this.instance.post("/admin/file/add", formData).then(res => {
|
this.instance.post("/admin/file/add", formData).then(res => {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
const fileInfo = res.data[0]
|
const fileInfo = res.data[0]
|
||||||
@@ -73,6 +76,10 @@ export default {
|
|||||||
color: #89b;
|
color: #89b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.el-avatar) {
|
||||||
|
background: #26f;
|
||||||
|
}
|
||||||
|
|
||||||
.image-box {
|
.image-box {
|
||||||
width: 104px !important;
|
width: 104px !important;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
//设置代理,可解决跨5
|
//设置代理,可解决跨5
|
||||||
'/lan': {
|
'/lan': {
|
||||||
target: 'http://192.168.1.87:39010',
|
target: 'http://192.168.1.87:9000',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
//地址重写
|
//地址重写
|
||||||
|
|||||||
Reference in New Issue
Block a user