4 changed files with 642 additions and 116 deletions
@ -0,0 +1,631 @@ |
|||||
|
<template> |
||||
|
<div class="project-handle"> |
||||
|
<div style="width: 100%; height: 100%;"> |
||||
|
<div class="project-detail"> |
||||
|
<div class="project-detail-tip">议题详情</div> |
||||
|
<el-form label-position="right" |
||||
|
label-width="120px"> |
||||
|
<el-form-item label="议题内容:" |
||||
|
prop="eventContent"> |
||||
|
<div>{{dataForm.itemContent}}</div> |
||||
|
<el-image v-for="url in dataForm.images" |
||||
|
style="width: 100px; height: 100px; margin-right: 10px" |
||||
|
:key="url" |
||||
|
:src="url" |
||||
|
:preview-src-list="previewImgList" |
||||
|
@click="clickImg(url)"> |
||||
|
</el-image> |
||||
|
<div v-if="dataForm.voice"> |
||||
|
<audio controls style="height: 30px;"> |
||||
|
<source :src="dataForm.voice" > |
||||
|
</audio> |
||||
|
</div> |
||||
|
</el-form-item> |
||||
|
<el-form-item v-if="dataForm.groupName && dataForm.groupName.length > 0" |
||||
|
label="项目来源:" |
||||
|
prop="ownGrid"> |
||||
|
<div>{{dataForm.groupName}}</div> |
||||
|
</el-form-item> |
||||
|
<el-form-item label="上报时间:" |
||||
|
prop="distributeTime"> |
||||
|
<div>{{dataForm.distributeTime}}</div> |
||||
|
</el-form-item> |
||||
|
<el-form-item label="上报人:" |
||||
|
prop="nickName"> |
||||
|
<div>{{dataForm.nickName}}</div> |
||||
|
</el-form-item> |
||||
|
<el-form-item label="电话:" |
||||
|
prop="mobile"> |
||||
|
<div>{{dataForm.mobile}}</div> |
||||
|
</el-form-item> |
||||
|
<el-form-item label="所属类别:" |
||||
|
prop="categoryName"> |
||||
|
<div>{{dataForm.categoryName}}</div> |
||||
|
</el-form-item> |
||||
|
<el-form-item label="项目态度:"> |
||||
|
<span>表达态度 {{dataForm.approveNum + dataForm.opposeNum + dataForm.commentNum}}</span> |
||||
|
<span>评论 {{dataForm.commentNum}}</span> |
||||
|
<span>支持 {{dataForm.approveNum}}</span> |
||||
|
<span>不支持 {{dataForm.opposeNum}}</span> |
||||
|
</el-form-item> |
||||
|
<el-form-item label="项目评论:"> |
||||
|
<el-button type="text" |
||||
|
@click="innerVisible = true">查看评论</el-button> |
||||
|
</el-form-item> |
||||
|
</el-form> |
||||
|
<div class="container"> |
||||
|
<div class="location"><span style="font-weight: bold;color: #606266">上报位置:</span> {{dataForm.issueAddress}}</div> |
||||
|
<div id="map"></div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="project-progress"> |
||||
|
<div class="project-progress-tip">处理进展</div> |
||||
|
<el-timeline> |
||||
|
<el-timeline-item v-for="(item, index) in timeLineList" |
||||
|
:key="item.id" |
||||
|
:color="item.type === 'init' ? 'red' : item.type === 'project' ? '#009688' : '#ffa546'"> |
||||
|
<div :id="`content${index}`" |
||||
|
style="line-height:25px; "> |
||||
|
<div :style="{ marginBottom: '10px', width: '35px', height: '20px', fontSize: '12px', borderRadius: '4px', background: item.type === 'project' ? '#009688': item.type === 'issue' || item.type === 'issue-project' ? '#ffa546' : '', color: '#fff', textAlign: 'center', lineHeight: '20px'}" |
||||
|
v-if="item.type !== 'init'"> |
||||
|
{{item.type === 'project' ? '项目': item.type === 'issue' || item.type === 'issue-project' ? '议题' : ''}} |
||||
|
</div> |
||||
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">[{{item | formatState}}]</span> {{item.createdTime}}</div> |
||||
|
<div v-if="item.state === 3"> |
||||
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">来源社群:</span>{{item.groupName}}</div> |
||||
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理人:</span>{{item.handlerDept}}</div> |
||||
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理人电话:</span>{{item.mobile}}</div> |
||||
|
</div> |
||||
|
<div v-if="item.state !== 3"> |
||||
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理部门:</span>{{item.handlerDept}}</div> |
||||
|
</div> |
||||
|
<div v-if="item.itemDeptDTOS && item.itemDeptDTOS.length > 0" |
||||
|
style="width: 100%; display: flex;"> |
||||
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">被吹哨部门:</span> </div> |
||||
|
<div> |
||||
|
<span v-for="(csDept, index1) in item.itemDeptDTOS" |
||||
|
:key="index1"> |
||||
|
{{ csDept.deptName }}<br /> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理意见:</span> {{item.advice}}</div> |
||||
|
<div style="display: flex;"> |
||||
|
<el-image v-for="url in item.images" |
||||
|
style="width: 60px; height: 60px; object-fit: cover; margin-right: 8px; border-radius: 2px;" |
||||
|
:key="url" |
||||
|
:src="url" |
||||
|
:preview-src-list="previewImgList" |
||||
|
alt="处理图片" |
||||
|
@click="clickImg(url)"> |
||||
|
</el-image> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</el-timeline-item> |
||||
|
</el-timeline> |
||||
|
</div> |
||||
|
<div class="handle-operation"> |
||||
|
<div class="handle-operation-tip">处理操作</div> |
||||
|
<el-form ref="dataForm" |
||||
|
label-width="120px" |
||||
|
label-position="right" |
||||
|
style="width: 720px;" |
||||
|
:model="dataForm" |
||||
|
:rules="dataRule"> |
||||
|
|
||||
|
<el-form-item label="审批" |
||||
|
prop="checkFlag" label-width="120px"> |
||||
|
<el-radio-group v-model="postDataForm.checkFlag"> |
||||
|
<el-radio :label="0">同意</el-radio> |
||||
|
<el-radio :label="1">驳回</el-radio> |
||||
|
</el-radio-group> |
||||
|
</el-form-item> |
||||
|
|
||||
|
<el-form-item label="意见:" prop="outHandleAdvice"> |
||||
|
<el-input v-model="postDataForm.outHandleAdvice" |
||||
|
type="textarea" |
||||
|
maxlength="100" |
||||
|
show-word-limit |
||||
|
placeholder="请输入"></el-input> |
||||
|
</el-form-item> |
||||
|
|
||||
|
<el-form-item style="float: right;"> |
||||
|
<el-button size="small" |
||||
|
type="primary" |
||||
|
:disabled="isAble" |
||||
|
style="width: 95px" |
||||
|
@click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
||||
|
<el-button size="small" |
||||
|
style="width: 95px" |
||||
|
@click="backToItemDeal">返回</el-button> |
||||
|
</el-form-item> |
||||
|
</el-form> |
||||
|
</div> |
||||
|
</div> |
||||
|
<el-dialog width="90%" |
||||
|
title="评论" |
||||
|
:visible.sync="innerVisible" |
||||
|
append-to-body> |
||||
|
<el-table :data="commentsDTOs" |
||||
|
border |
||||
|
style="width: 100%;"> |
||||
|
<el-table-column prop="user.userName" |
||||
|
label="发言人" |
||||
|
header-align="center" |
||||
|
align="center"></el-table-column> |
||||
|
<el-table-column prop="commentTime" |
||||
|
label="发言时间" |
||||
|
header-align="center" |
||||
|
align="center"></el-table-column> |
||||
|
<el-table-column prop="content" |
||||
|
label="发言内容" |
||||
|
header-align="center" |
||||
|
align="center"></el-table-column> |
||||
|
<el-table-column prop="replyComment.userName" |
||||
|
label="被回复人" |
||||
|
header-align="center" |
||||
|
align="center"></el-table-column> |
||||
|
<el-table-column prop="replyComment.content" |
||||
|
label="被回复内容" |
||||
|
header-align="center" |
||||
|
align="center"></el-table-column> |
||||
|
<el-table-column :label="$t('handle')" |
||||
|
header-align="center" |
||||
|
align="center" |
||||
|
width="150"> |
||||
|
<template slot-scope="scope"> |
||||
|
<el-button v-if="scope.row.shieldFlag === '0'" |
||||
|
type="button" |
||||
|
size="small" |
||||
|
@click="deleteComment(scope.row.commentId)">屏蔽</el-button> |
||||
|
<el-button v-if="scope.row.shieldFlag === '1'" |
||||
|
type="text" |
||||
|
size="small">已屏蔽</el-button> |
||||
|
</template> |
||||
|
</el-table-column> |
||||
|
</el-table> |
||||
|
<el-pagination :current-page="pageIndex" |
||||
|
:page-sizes="[10, 20, 50, 100]" |
||||
|
:page-size="limitVal" |
||||
|
:total="total" |
||||
|
layout="total, sizes, prev, pager, next, jumper" |
||||
|
@size-change="pageSizeChangeHandleNew" |
||||
|
@current-change="pageCurrentChangeHandleNew"> |
||||
|
</el-pagination> |
||||
|
</el-dialog> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import BMap from 'BMap' |
||||
|
import 'element-ui/lib/theme-chalk/timeline.css' |
||||
|
import 'element-ui/lib/theme-chalk/timeline-item.css' |
||||
|
import 'element-ui/lib/theme-chalk/image.css' |
||||
|
import debounce from 'lodash/debounce' |
||||
|
import 'quill/dist/quill.snow.css' |
||||
|
export default { |
||||
|
name: 'itemDealDetailView', |
||||
|
data () { |
||||
|
return { |
||||
|
map: '', |
||||
|
innerVisible: false, |
||||
|
dataForm: { |
||||
|
id: '', |
||||
|
nickName: '', |
||||
|
distributeTime: '', |
||||
|
itemContent: '', |
||||
|
images: [], |
||||
|
issueAddress: '', |
||||
|
handleProgressResultDTOS: [], |
||||
|
issueProgressResultDTOS: [], |
||||
|
outHandleAdvice: '', |
||||
|
issueLatitude: '', |
||||
|
issueLongitude: '', |
||||
|
voice: '' |
||||
|
}, |
||||
|
isAble: false, |
||||
|
previewImgList: [], |
||||
|
commentsDTOs: [], |
||||
|
pageIndex: 0, |
||||
|
limitVal: 10, |
||||
|
total: null, |
||||
|
postDataForm: { |
||||
|
itemId: '', |
||||
|
checkFlag: 3, |
||||
|
outHandleAdvice: '' |
||||
|
}, |
||||
|
timeLineList: [], |
||||
|
options: [] |
||||
|
} |
||||
|
}, |
||||
|
mounted () { |
||||
|
this.dataForm.id = this.$route.query.id |
||||
|
this.init() |
||||
|
}, |
||||
|
filters: { |
||||
|
formatState (item) { |
||||
|
if (item.type === 'project') { |
||||
|
if (item.state === 0 && item.itemDeptDTOS && item.itemDeptDTOS.length > 0) { |
||||
|
return '吹哨' |
||||
|
} else if (item.state === 0 && item.itemDeptDTOS && item.itemDeptDTOS.length === 0) { |
||||
|
return '办理' |
||||
|
} else if (item.state === 12) { |
||||
|
return '响应拟办' |
||||
|
} else if (item.state === 13) { |
||||
|
return '直接办理' |
||||
|
} else if (item.state === 5) { |
||||
|
return '不予受理' |
||||
|
} else if (item.state === 10) { |
||||
|
return '结案' |
||||
|
} else if (item.state === 11) { |
||||
|
return '结案申请' |
||||
|
} else if (item.state === 15) { |
||||
|
return '上报网格化平台' |
||||
|
} else if (item.state === 20) { |
||||
|
return '网格化平台-受理' |
||||
|
} else if (item.state === 25) { |
||||
|
return '网格化平台-立案' |
||||
|
} else if (item.state === 30) { |
||||
|
return '网格化平台-派遣' |
||||
|
} else if (item.state === 35) { |
||||
|
return '网格化平台-中间再派' |
||||
|
} else if (item.state === 40) { |
||||
|
return '网格化平台-接单' |
||||
|
} else if (item.state === 45) { |
||||
|
return '网格化平台-处理' |
||||
|
} else if (item.state === 50) { |
||||
|
return '网格化平台-中间督办' |
||||
|
} else if (item.state === 55) { |
||||
|
return '网格化平台-催办' |
||||
|
} else if (item.state === 60) { |
||||
|
return '网格化平台-结案' |
||||
|
} else if (item.state === 85) { |
||||
|
return '项目延期-审核通过' |
||||
|
} else if (item.state === 90) { |
||||
|
return '项目熔断-审核通过' |
||||
|
} |
||||
|
} else if (item.type === 'issue' || item.type === 'init') { |
||||
|
if (item.state === 0) { |
||||
|
return '审核通过' |
||||
|
} else if (item.state === 1) { |
||||
|
return '回应' |
||||
|
} else if (item.state === 2) { |
||||
|
return '关闭' |
||||
|
} else if (item.state === 3) { |
||||
|
return '转议题' |
||||
|
} |
||||
|
} else if (item.type === 'issue-project') { |
||||
|
return '转项目' |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
computed: { |
||||
|
dataRule () { |
||||
|
return { |
||||
|
checkFlag: [ |
||||
|
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } |
||||
|
], |
||||
|
outHandleAdvice: [ |
||||
|
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } |
||||
|
] |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
methods: { |
||||
|
|
||||
|
backToItemDeal () { |
||||
|
this.$parent.selectComponent = 'ItemExamine' |
||||
|
}, |
||||
|
|
||||
|
initBmap (latitude, longitude) { |
||||
|
this.map = new BMap.Map('map') |
||||
|
const point = new BMap.Point(longitude, latitude) |
||||
|
var marker = new BMap.Marker(point) |
||||
|
this.map.addOverlay(marker) |
||||
|
this.map.centerAndZoom(point, 13) |
||||
|
this.map.enableScrollWheelZoom(true) |
||||
|
}, |
||||
|
init () { |
||||
|
this.isAble = false |
||||
|
this.$nextTick(() => { |
||||
|
if (this.dataForm.id) { |
||||
|
this.getInfo() |
||||
|
this.getCommentList() |
||||
|
} |
||||
|
}) |
||||
|
}, |
||||
|
clickImg (url) { |
||||
|
this.previewImgList = [] |
||||
|
this.previewImgList.push(url) |
||||
|
}, |
||||
|
// 获取信息 |
||||
|
getInfo () { |
||||
|
this.$http.get(`/events/item/${this.dataForm.id}`).then(({ data: res }) => { |
||||
|
if (res.code !== 0) { |
||||
|
return this.$message.error(res.msg) |
||||
|
} |
||||
|
this.dataForm = { |
||||
|
...this.dataForm, |
||||
|
...res.data |
||||
|
} |
||||
|
this.dataForm.handleProgressResultDTOS.forEach((item, index, arr) => { |
||||
|
if (index === arr.length - 1) { |
||||
|
item.type = 'issue-project' |
||||
|
} else { |
||||
|
item.type = 'project' |
||||
|
} |
||||
|
}) |
||||
|
this.dataForm.issueProgressResultDTOS.forEach((item, index, arr) => { |
||||
|
if (index === arr.length - 1) { |
||||
|
item.type = 'init' |
||||
|
} else { |
||||
|
item.type = 'issue' |
||||
|
} |
||||
|
}) |
||||
|
this.timeLineList = [...this.dataForm.handleProgressResultDTOS, ...this.dataForm.issueProgressResultDTOS] |
||||
|
this.$nextTick(() => { |
||||
|
this.timeLineList.forEach((item, index) => { |
||||
|
const oDiv = document.getElementById(`content${index}`) |
||||
|
const oBorder = oDiv.parentNode.parentNode.parentNode.firstChild |
||||
|
if (item.type === 'issue' || item.type === 'issue-project') { |
||||
|
oBorder.style.borderLeft = '1px solid #ffa546' |
||||
|
} else if (item.type === 'project') { |
||||
|
oBorder.style.borderLeft = '1px solid #009688' |
||||
|
} |
||||
|
}) |
||||
|
}) |
||||
|
this.initBmap(this.dataForm.issueLatitude, this.dataForm.issueLongitude) |
||||
|
}).catch(() => { }) |
||||
|
}, |
||||
|
deleteComment (val) { |
||||
|
this.$confirm('确定要屏蔽该评论吗?屏蔽后不可恢复。', '提示', { |
||||
|
confirmButtonText: '确定', |
||||
|
cancelButtonText: '取消', |
||||
|
type: 'warning' |
||||
|
}).then(() => { |
||||
|
this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => { |
||||
|
if (res.code !== 0) { |
||||
|
return this.$message.error(res.msg) |
||||
|
} |
||||
|
this.$message({ |
||||
|
message: this.$t('prompt.success'), |
||||
|
type: 'success', |
||||
|
duration: 500, |
||||
|
onClose: () => { |
||||
|
this.getCommentList() |
||||
|
} |
||||
|
}) |
||||
|
}).catch(() => { }) |
||||
|
}).catch(() => { |
||||
|
|
||||
|
}) |
||||
|
}, |
||||
|
pageSizeChangeHandleNew (val) { |
||||
|
this.pageIndex = 1 |
||||
|
this.limitVal = val |
||||
|
this.getCommentList() |
||||
|
}, |
||||
|
pageCurrentChangeHandleNew (val) { |
||||
|
this.pageIndex = val |
||||
|
this.getCommentList() |
||||
|
}, |
||||
|
// 评论 |
||||
|
getCommentList () { |
||||
|
this.$http.get('/events/item/comments', { params: { id: this.dataForm.id, order: this.order, orderField: this.orderField, page: this.pageIndex, limit: this.limitVal } |
||||
|
}).then(({ data: res }) => { |
||||
|
if (res.code !== 0) { |
||||
|
this.commentsDTOs = [] |
||||
|
this.total = 0 |
||||
|
return this.$message.error(res.msg) |
||||
|
} |
||||
|
this.commentsDTOs = res.data.list |
||||
|
this.total = res.data.total |
||||
|
}).catch(() => { }) |
||||
|
}, |
||||
|
// 表单提交 |
||||
|
dataFormSubmitHandle: debounce(function () { |
||||
|
this.postDataForm.itemId = this.dataForm.id |
||||
|
console.log(this.postDataForm.checkFlag) |
||||
|
if (this.postDataForm.checkFlag === 3) { |
||||
|
return this.$message({ |
||||
|
message: '请选择审批结果', |
||||
|
type: 'error', |
||||
|
duration: 2000, |
||||
|
onClose: () => { |
||||
|
return false |
||||
|
} |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
if (!this.postDataForm.outHandleAdvice) { |
||||
|
return this.$message({ |
||||
|
message: '请填写意见', |
||||
|
type: 'error', |
||||
|
duration: 2000, |
||||
|
onClose: () => { |
||||
|
return false |
||||
|
} |
||||
|
}) |
||||
|
} |
||||
|
|
||||
|
this.isAble = true |
||||
|
// 将对象遍历成数组 |
||||
|
this.$http['post']( |
||||
|
'/events/item/examineCase', this.postDataForm).then(({ data: res }) => { |
||||
|
if (res.code !== 0) { |
||||
|
this.isAble = false |
||||
|
return this.$message.error(res.msg) |
||||
|
} |
||||
|
this.$message({ |
||||
|
message: this.$t('prompt.success'), |
||||
|
type: 'success', |
||||
|
duration: 500, |
||||
|
onClose: () => { |
||||
|
this.visible = false |
||||
|
this.$emit('refreshDataList') |
||||
|
} |
||||
|
}) |
||||
|
this.$parent.selectComponent = 'ItemExamine' |
||||
|
}).catch(() => { }) |
||||
|
}, 1000, { 'leading': true, 'trailing': false }) |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style> |
||||
|
.hide .el-upload--picture-card { |
||||
|
display: none; |
||||
|
} |
||||
|
</style> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.project-handle { |
||||
|
.el-timeline { |
||||
|
padding-left: 9px; |
||||
|
font-size: 13px; |
||||
|
} |
||||
|
.el-textarea { |
||||
|
width: 600px !important; |
||||
|
} |
||||
|
.el-input { |
||||
|
width: 600px !important; |
||||
|
} |
||||
|
} |
||||
|
.el-form-item__label { |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
</style> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
.project-handle { |
||||
|
width: 100%; |
||||
|
height: calc(100vh - 120px); |
||||
|
background: #ffffff; |
||||
|
box-sizing: border-box; |
||||
|
padding: 10px; |
||||
|
.project-detail { |
||||
|
width: 79%; |
||||
|
height: 49%; |
||||
|
border: 2px solid #ccc; |
||||
|
box-sizing: border-box; |
||||
|
padding: 10px; |
||||
|
padding-top: 20px; |
||||
|
float: left; |
||||
|
margin-bottom: 1%; |
||||
|
position: relative; |
||||
|
.project-detail-tip { |
||||
|
position: absolute; |
||||
|
top: 0; |
||||
|
left: 0; |
||||
|
width: 80px; |
||||
|
height: 30px; |
||||
|
line-height: 30px; |
||||
|
color: #ffffff; |
||||
|
background: #4ac38b; |
||||
|
text-align: center; |
||||
|
} |
||||
|
.el-form { |
||||
|
width: 58%; |
||||
|
height: 100%; |
||||
|
float: left; |
||||
|
overflow-y: auto; |
||||
|
&::-webkit-scrollbar { |
||||
|
width: 5px; |
||||
|
height: 1px; |
||||
|
} |
||||
|
&::-webkit-scrollbar-thumb { |
||||
|
border-radius: 5px; |
||||
|
background: #aaa; |
||||
|
} |
||||
|
&::-webkit-scrollbar-track { |
||||
|
border-radius: 10px; |
||||
|
background: #fff; |
||||
|
} |
||||
|
} |
||||
|
.container { |
||||
|
width: 40%; |
||||
|
height: 100%; |
||||
|
float: right; |
||||
|
.location { |
||||
|
height: 30px; |
||||
|
line-height: 30px; |
||||
|
} |
||||
|
#map { |
||||
|
width: 100%; |
||||
|
height: calc(100% - 30px); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
.project-progress { |
||||
|
width: 20%; |
||||
|
height: 100%; |
||||
|
float: right; |
||||
|
border: 2px solid #ccc; |
||||
|
box-sizing: border-box; |
||||
|
margin-left: 1%; |
||||
|
padding-top: 40px; |
||||
|
overflow-y: auto; |
||||
|
position: relative; |
||||
|
.project-progress-tip { |
||||
|
position: absolute; |
||||
|
top: 0; |
||||
|
left: 0; |
||||
|
width: 80px; |
||||
|
height: 30px; |
||||
|
line-height: 30px; |
||||
|
color: #ffffff; |
||||
|
background: #0098ff; |
||||
|
text-align: center; |
||||
|
} |
||||
|
&::-webkit-scrollbar { |
||||
|
width: 5px; |
||||
|
height: 1px; |
||||
|
} |
||||
|
&::-webkit-scrollbar-thumb { |
||||
|
border-radius: 5px; |
||||
|
background: #aaa; |
||||
|
} |
||||
|
&::-webkit-scrollbar-track { |
||||
|
border-radius: 10px; |
||||
|
background: #ccc; |
||||
|
} |
||||
|
} |
||||
|
.handle-operation { |
||||
|
padding-top: 20px; |
||||
|
box-sizing: border-box; |
||||
|
width: 79%; |
||||
|
height: 49%; |
||||
|
box-sizing: border-box; |
||||
|
border: 2px solid #ccc; |
||||
|
float: left; |
||||
|
overflow-y: auto; |
||||
|
position: relative; |
||||
|
&::-webkit-scrollbar { |
||||
|
width: 5px; |
||||
|
height: 1px; |
||||
|
} |
||||
|
&::-webkit-scrollbar-thumb { |
||||
|
border-radius: 5px; |
||||
|
background: #aaa; |
||||
|
} |
||||
|
&::-webkit-scrollbar-track { |
||||
|
border-radius: 10px; |
||||
|
background: #ccc; |
||||
|
} |
||||
|
.handle-operation-tip { |
||||
|
position: absolute; |
||||
|
top: 0; |
||||
|
left: 0; |
||||
|
width: 80px; |
||||
|
height: 30px; |
||||
|
line-height: 30px; |
||||
|
color: #ffffff; |
||||
|
background: #ff7600; |
||||
|
text-align: center; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</style> |
Loading…
Reference in new issue