Browse Source

fix-更新一下 首页情报板

wangqin
IAMHERE 11 months ago
parent
commit
842c065db0
  1. 44
      ruoyi-ui/src/views/boardView/addinfo.vue
  2. 79
      ruoyi-ui/src/views/boardView/editInfo.vue
  3. 256
      ruoyi-ui/src/views/index.vue
  4. 3
      ruoyi-ui/src/views/map/index.vue

44
ruoyi-ui/src/views/boardView/addinfo.vue

@ -56,15 +56,6 @@
<el-radio-button :label="2">左右居中</el-radio-button>
<el-radio-button :label="3">右对齐</el-radio-button>
</el-radio-group>
<!-- <el-button type="primary" @click="alignment(1)" size="mini"
>左对齐</el-button
>
<el-button type="primary" @click="alignment(2)" size="mini"
>左右居中</el-button
>
<el-button type="primary" @click="alignment(3)" size="mini"
>右对齐</el-button
> -->
</el-col>
</el-row>
@ -75,6 +66,23 @@
<el-input type="textarea" clearable id="textContent" placeholder="详细内容" v-model="dataForm.CONTENT" @keyup.native="keyDown($event)"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="screenSize" label="屏幕尺寸">
<el-select v-model="dataForm.screenSize" filterable placeholder="请选择" v-if="!devicePixelBoolean">
<el-option v-for="item in screenSizeOptions" :key="item.device_pixel" :label="item.device_pixel" :value="item.device_pixel" @click.native="changeScreenSize(item.device_pixel)">
</el-option>
</el-select>
<el-input disabled v-model="dataForm.screenSize" v-if="devicePixelBoolean"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ACTION" label="入屏方式">
<el-select v-model="dataForm.ACTION" filterable placeholder="请选择">
<el-option v-for="item in inScreenModeOptions" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="COLOR" label="字体颜色">
<el-select v-model="dataForm.COLOR" filterable placeholder="请选择">
@ -105,23 +113,6 @@
<el-input-number :min="0" controls-position="right" v-model="dataForm.STAY" style="width: 100%" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ACTION" label="入屏方式">
<el-select v-model="dataForm.ACTION" filterable placeholder="请选择">
<el-option v-for="item in inScreenModeOptions" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="screenSize" label="屏幕尺寸">
<el-select v-model="dataForm.screenSize" filterable placeholder="请选择" v-if="!devicePixelBoolean">
<el-option v-for="item in screenSizeOptions" :key="item.device_pixel" :label="item.device_pixel" :value="item.device_pixel" @click.native="changeScreenSize(item.device_pixel)">
</el-option>
</el-select>
<el-input disabled v-model="dataForm.screenSize" v-if="devicePixelBoolean"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
@ -537,6 +528,7 @@ export default {
} else if (!this.dataForm.category && this.infoType == 2) {
return this.$modal.msgError('情报板所属类别不能为空')
}
this.$emit('addInfo', this.dataForm)
//
/*checkIotBoardContent(this.dataForm.CONTENT).then(response => {
if (response.data == 0) {

79
ruoyi-ui/src/views/boardView/editInfo.vue

@ -10,6 +10,9 @@
<div class="blackBoard1" v-on:ondragenter="ondragenter" v-on:drop="faceDrop" v-on:dragover="allowDrop" :style="{
width: getDevicePixel(boardWidth, 0),
height: getDevicePixel(boardHeight, 1),
position: 'relative',
lineHeight:boardHeight + 'px',
textAlign: getTextAlign(dataForm.formatStyle)
}">
<span class="textBoard1 boardTextStyle" :style="{
color: getColorStyle(dataForm.COLOR),
@ -68,6 +71,35 @@
<el-input type="textarea" clearable id="textContent" placeholder="详细内容" v-model="dataForm.CONTENT" @keyup.native="keyDown($event)"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="screenSize" label="屏幕尺寸">
<el-input disabled v-model="dataForm.screenSize"></el-input>
<!-- <el-select
@change="resolvingPowerType"
v-model="dataForm.screenSize"
filterable
placeholder="请选择"
disabled
>
<el-option
v-for="item in screenSizeOptions"
:key="item.type"
:label="item.type"
:value="item.type"
>
</el-option>
</el-select> -->
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ACTION" label="入屏方式">
<el-select v-model="dataForm.ACTION" filterable placeholder="请选择">
<el-option v-for="item in inScreenModeOptions" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="COLOR" label="字体颜色">
<el-select v-model="dataForm.COLOR" filterable placeholder="请选择">
@ -121,34 +153,7 @@
<el-input-number :min="0" controls-position="right" v-model="dataForm.STAY" style="width: 100%" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ACTION" label="入屏方式">
<el-select v-model="dataForm.ACTION" filterable placeholder="请选择">
<el-option v-for="item in inScreenModeOptions" :key="item.dictValue" :label="item.dictLabel" :value="item.dictValue">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="screenSize" label="屏幕尺寸">
<el-input disabled v-model="dataForm.screenSize"></el-input>
<!-- <el-select
@change="resolvingPowerType"
v-model="dataForm.screenSize"
filterable
placeholder="请选择"
disabled
>
<el-option
v-for="item in screenSizeOptions"
:key="item.type"
:label="item.type"
:value="item.type"
>
</el-option>
</el-select> -->
</el-form-item>
</el-col>
<!-- <el-col :span="6">
<el-form-item prop="remark" label="备注">
<el-input v-model="dataForm.remark" style="width: 100%" />
@ -551,6 +556,7 @@ export default {
var textTop = this.addZero(textBoard1[0].offsetTop)
this.dataForm.COORDINATE = textLeft + textTop
this.dataForm.formatStyle = alignmentNum
},
addZero(num) {
if (num < 0) {
@ -580,6 +586,15 @@ export default {
keyDown(ev) {
this.alignment(this.alignmentNum)
},
getTextAlign(font) {
if (font == '0') {
return 'left'
} else if (font == '1') {
return 'right'
} else {
return 'center'
}
},
//
dataFormSubmitHandle() {
console.log(this.dataForm.type, 'this.dataForm.type')
@ -587,14 +602,15 @@ export default {
return this.$modal.msgError('当前输入内容为空')
}
this.loading = true
console.log(this.dataForm, '点击修改 表单')
// console.log(' ', this.dataForm)
this.$emit('receiveForm', this.dataForm)
this.loading = false
this.isAdd = false
if (this.dataForm.type == 1) {
this.dataForm.STAY = Number(this.dataForm.STAY) * 100
this.$emit('receiveForm', this.dataForm)
console.log(this.dataForm, 'this.dataForm修改后给父组件传表单内容')
console.log('this.dataForm修改后给父组件传表单内容', this.dataForm)
} else {
const tcontent = {
content: this.dataForm.CONTENT,
@ -649,7 +665,8 @@ export default {
fontSpacing: this.dataForm.SPEED,
coordinate: this.dataForm.COORDINATE,
id: this.dataForm.tcontentsId,
templateId: this.dataForm.id
templateId: this.dataForm.id,
formatStyle: this.dataForm.formatStyle
})
var params = {

256
ruoyi-ui/src/views/index.vue

@ -19,15 +19,15 @@
</div>
<div class="dialog_info_left_show">
<div v-if="dialogInfoList.length > 0" class="dialog_info_left_show_box" style="height: 100%;">
<div class="dialog_info_left_show_box_item" v-for="item in dialogInfoList" :key="item.id">
<div class="dialog_info_left_show_box_item" v-for="i in dialogInfoList" :key="i.id">
<div class="dialog_info_left_show_l">
<div class="dialog_info_left_show_l_xsq" :style="{'width':item.w / getScrollSz(item.w)+'px','height':item.h / getScrollSz(item.w)+'px',}">
<div class="dialog_info_left_show_l_xsq_txt" :style="{'font-size':item.fz / getScrollSz(item.w)+'px',color:item.col}" v-html="item.txt"></div>
<div class="dialog_info_left_show_l_xsq" :style="{'width':processString(i.screenSize,'w') / getScrollSz(processString(i.screenSize,'w'))+'px','height':processString(i.screenSize,'h') / getScrollSz(processString(i.screenSize,'w'))+'px','padding-left':processStrNum(i.tcontents[0].coordinate,'l') / getScrollSz(processString(i.screenSize,'w'))+'px','padding-top':processStrNum(i.tcontents[0].coordinate,'t') / getScrollSz(processString(i.screenSize,'w'))+'px'}">
<div class="dialog_info_left_show_l_xsq_txt" :style="{'font-size':i.tcontents[0].fontSize / getScrollSz(processString(i.screenSize,'w'))+'px','color':i.tcontents[0].fontColor,'font-family':i.tcontents[0].fontType}" v-html="i.tcontents[0].content"></div>
</div>
</div>
<div class="dialog_info_left_show_r">
<div @click="editOutline(item)" class="show_r_btn dialog_info_left_show_r_btn1"></div>
<div @click="delMoFn(item)" class="show_r_btn dialog_info_left_show_r_btn2"></div>
<div @click="editOutline(i)" class="show_r_btn dialog_info_left_show_r_btn1"></div>
<div @click="delMoFn(i)" class="show_r_btn dialog_info_left_show_r_btn2"></div>
</div>
</div>
</div>
@ -49,7 +49,7 @@
</div>
<div class="dialog_info_left_show_bottom_btn">
<div class="show_bottom_btn_add" @click="addMoDataInfoFn(2,2)">添加信息</div>
<div class="show_bottom_btn_del">信息发布</div>
<div class="show_bottom_btn_del" @click="InformationReleaseFn">信息发布</div>
</div>
<div class="dialog_info_left_show_ce" @click="showCeInfoFn">
<img class="show_ce_img" src="@/assets/screen/xtb/leftd.png" alt="" :style="{'transform':dialogInfoRight ? 'rotate(0deg)': 'rotate(180deg)'}">
@ -60,13 +60,13 @@
<transition name="el-zoom-in-center">
<div v-if="dialogInfoRight" class="dialog_info_right">
<el-collapse v-model="activeNames" @change="panelChangeFn">
<el-collapse-item v-for="item in moBanDataList" :key="item.id" :title="item.bt" :name="item.id">
<el-collapse-item v-for="item in moBanList" :key="item.dictCode" :title="item.dictLabel" :name="item.dictCode">
<div class="dialog_info_right_show">
<div class="dialog_info_left_show_box" style="overflow-y: visible;">
<div class="dialog_info_left_show_box_item" v-for="i in item.mbList" :key="i.id">
<div class="dialog_info_left_show_l" style="width:17vw;">
<div class="dialog_info_left_show_l_xsq" :style="{'width':i.w / getScrollSz(i.w)+'px','height':i.h / getScrollSz(i.w)+'px',}">
<div class="dialog_info_left_show_l_xsq_txt" :style="{'font-size':i.fz / getScrollSz(i.w)+'px',color:i.col}" v-html="i.txt"></div>
<div class="dialog_info_left_show_l" style="width:16vw;">
<div class="dialog_info_left_show_l_xsq" :style="{'width':processString(i.screenSize,'w') / getScrollSz(processString(i.screenSize,'w'))+'px','height':processString(i.screenSize,'h') / getScrollSz(processString(i.screenSize,'w'))+'px','padding-left':processStrNum(i.tcontents[0].coordinate,'l') / getScrollSz(processString(i.screenSize,'w'))+'px','padding-top':processStrNum(i.tcontents[0].coordinate,'t') / getScrollSz(processString(i.screenSize,'w'))+'px'}">
<div class="dialog_info_left_show_l_xsq_txt" :style="{'font-size':i.tcontents[0].fontSize / getScrollSz(processString(i.screenSize,'w'))+'px','color':i.tcontents[0].fontColor,'font-family':i.tcontents[0].fontType}" v-html="i.tcontents[0].content"></div>
</div>
</div>
<div class="dialog_info_left_show_r" style="width: 3.5vw;">
@ -78,24 +78,6 @@
</el-collapse-item>
</el-collapse>
<!-- <div v-for="item in moBanDataList" :key="item.id">
<div class="dialog_info_right_tit">{{ item.bt }}</div>
<div class="dialog_info_right_show">
<div class="dialog_info_left_show_box">
<div class="dialog_info_left_show_box_item" v-for="i in item.mbList" :key="i.id">
<div class="dialog_info_left_show_l" style="width:17vw;">
<div class="dialog_info_left_show_l_xsq" :style="{'width':i.w / getScrollSz(i.w)+'px','height':i.h / getScrollSz(i.w)+'px',}">
<div class="dialog_info_left_show_l_xsq_txt" :style="{'font-size':i.fz / getScrollSz(i.w)+'px',color:i.col}" v-html="i.txt"></div>
</div>
</div>
<div class="dialog_info_left_show_r" style="width: 3.5vw;">
<div @click="putLeftFn(i)" class="show_r_btn dialog_info_left_show_r_btn3"></div>
</div>
</div>
</div>
</div>
</div> -->
</div>
</transition>
</div>
@ -189,11 +171,15 @@ import GaoDeMap from '@/views/map/index.vue'
import carECharts from '@/views/echarts/carECharts.vue'
import addBoard from '@/views/boardView/addinfo.vue'
import editBoard from '@/views/boardView/editInfo.vue'
import { invokedFunction } from '@/api/device/device.js'
import { getAllVmsTemplate, deleteTemplate } from '@/api//board/template.js'
import { getDicts } from '@/api/system/dict/data.js'
export default {
name: 'indexView',
data() {
return {
activeNames: [1001, 1002, 1003, 1004, 1005, 1006],
screenDataSize: '',
activeNames: [],
showEmit: false,
boardEmitItem: {}, //
activeName: 'first',
@ -232,22 +218,24 @@ export default {
{ id: 39, name: '合流区', state: 0, imgList: [require('@/assets/screen/xtb/lcsb/hlq.png'), require('@/assets/screen/xtb/lcsb/hl.png')] }
],
dialogInfoList: [],
moBanList: [],
moBanDataHandList: [],
moBanDataList: [
{
id: 1001,
bt: '日常通用',
mbList: [
{ id: 305, txt: '谨慎驾驶 注意安全', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' },
{ id: 306, txt: '谨慎驾驶 注意安全', w: 768, h: 160, col: '#03FF00', fz: 60, align: 'center' },
{ id: 307, txt: '谨慎驾驶 注意安全', w: 768, h: 160, col: '#FF0000', fz: 60, align: 'center' },
{ id: 308, txt: '谨慎驾驶, <br/> 注意安全', w: 768, h: 160, col: '#03FF00', fz: 60, align: 'center' }
{ id: 305, txt: '谨慎驾驶', w: 768, h: 64, col: '#FFFF00', fz: 48, pdl: 288, pdt: 8, fm: '黑体' },
{ id: 306, txt: '谨慎驾驶 注意安全', w: 768, h: 160, col: '#03FF00', fz: 60, pdl: 0, pdt: 0, fm: '黑体' },
{ id: 307, txt: '谨慎驾驶 注意安全', w: 768, h: 160, col: '#FF0000', fz: 60, pdl: 0, pdt: 0, fm: '黑体' },
{ id: 308, txt: '谨慎驾驶, <br/> 注意安全', w: 768, h: 160, col: '#03FF00', fz: 60, pdl: 0, pdt: 0, fm: '黑体' }
]
},
{ id: 1002, bt: '施工管控', mbList: [{ id: 309, txt: '道路施工, <br/> 谨慎驾驶', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] },
{ id: 1003, bt: '恶劣天气', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] },
{ id: 1004, bt: '交通拥堵', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] },
{ id: 1005, bt: '突发事件', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] },
{ id: 1006, bt: '警情播报', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, align: 'center' }] }
{ id: 1002, bt: '施工管控', mbList: [{ id: 309, txt: '道路施工, <br/> 谨慎驾驶', w: 768, h: 160, col: '#FFFF00', fz: 60, pdl: 0, pdt: 0, fm: '黑体' }] },
{ id: 1003, bt: '恶劣天气', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, pdl: 0, pdt: 0, fm: '黑体' }] },
{ id: 1004, bt: '交通拥堵', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, pdl: 0, pdt: 0, fm: '黑体' }] },
{ id: 1005, bt: '突发事件', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, pdl: 0, pdt: 0, fm: '黑体' }] },
{ id: 1006, bt: '警情播报', mbList: [{ id: 309, txt: '救援 拨打96659', w: 768, h: 160, col: '#FFFF00', fz: 60, pdl: 0, pdt: 0, fm: '黑体' }] }
],
tabInfoList: [
@ -267,7 +255,10 @@ export default {
//
computed: {},
//
created() {},
created() {
this.getTemplateHeaderFn()
// this.getTemplateFn()
},
//
// watch: {
// data: {
@ -288,18 +279,61 @@ export default {
mapClickEvent(e) {
console.log('父组件地图点位', e)
this.dialogInfoLeft = true
this.screenDataSize = e.target._opts.extData.screenSize
this.getTemplateHeaderFn()
// this.mapDialogTop = e.pixel.y + 'px'
// this.mapDialogLeft = e.pixel.x + 'px'
// this.$refs.mapDialog.style.top = e.pixel.y + 'px'
// this.$refs.mapDialog.style.left = e.pixel.x + 'px'
// console.log(this.$refs.mapDialog)
},
//
InformationReleaseFn() {
invokedFunction('65', '').then(res => {
console.log(res)
})
},
//
getTemplateHeaderFn() {
this.moBanList = []
getDicts('iot_template_category').then(res => {
this.moBanDataHandList = res.data
this.activeNames = res.data.map(item => {
return item.dictCode
})
this.getTemplateFn()
})
},
//
getTemplateFn() {
getAllVmsTemplate({ devicePixel: this.screenDataSize }).then(res => {
this.moBanList = this.moBanDataHandList.map((item, index) => {
if (item.dictSort === index) {
return {
...item,
mbList: res.data[index]
}
}
})
})
},
panelChangeFn(val) {
console.log(val)
},
//
addInfo(form) {
console.log(form, '待发新增')
console.log('待发新增', form)
this.dialogInfoList.push({
...form,
id: Math.floor(Math.random() * 10000000000000000),
txt: form.CONTENT,
fz: parseInt(form.FONT_SIZE.replace(/\D/g, '')),
fm: form.FONT,
...this.processString(form.screenSize),
...this.processStrNum(form.COORDINATE)
})
this.getTemplateHeaderFn()
console.log(this.dialogInfoList)
// form.ID = this.contentList.length
// this.contentList.push(deepClone(form))
// this.$message.success('')
@ -311,43 +345,49 @@ export default {
},
//
editOutline(item, index, type) {
// this.index = index
// this.editType = type
// console.log(item, '')
// this.boardEmitItem = {
// FONT_SIZE: item.tcontents[0].fontSize + 'px',
// COLOR: item.tcontents[0].fontColor,
// CONTENT: item.tcontents[0].content,
// COORDINATE: item.tcontents[0].coordinate,
// FONT: this.getFont(item.tcontents[0].fontType),
// SPEED: item.tcontents[0].fontSpacing,
// ACTION: item.inScreenMode, //
// STAY: item.stopTime, //
// type: type,
// screenSize: item.screenSize,
// category: item.category,
// id: item.id,
// tcontentsId: item.tcontents[0].id
// }
this.index = index
this.editType = type
console.log(item, '修改弹窗')
this.boardEmitItem = {
FONT_SIZE: item.tcontents[0].fontSize + 'px',
COLOR: item.tcontents[0].fontColor,
CONTENT: item.tcontents[0].content,
COORDINATE: item.tcontents[0].coordinate,
FONT: this.getFont(item.tcontents[0].fontType),
SPEED: item.tcontents[0].fontSpacing,
ACTION: item.inScreenMode, //
STAY: item.stopTime, //
type: type,
screenSize: item.screenSize,
category: item.category,
id: item.id,
tcontentsId: item.tcontents[0].id
}
this.showEmit = true
},
//
openQbbDrawer(item, index, type) {
// this.index_ = index
// console.log(item)
// this.boardEmitItem = item
// this.boardEmitItem.screenSize = this.form.devicePixel
// this.boardEmitItem.deviceId = this.deviceId
// this.boardEmitItem.type = type
// // //
// openQbbDrawer(item, index, type) {
// this.index_ = index
// console.log(item)
// this.boardEmitItem = item
// this.boardEmitItem.screenSize = this.form.devicePixel
// this.boardEmitItem.deviceId = this.deviceId
// this.boardEmitItem.type = type
this.showEmit = true
},
// this.showEmit = true
// },
// form
receiveForm(form) {
console.log(form, '接收子组件form表单 修改')
// this.contentList.splice(this.index_, 1, form)
// this.$forceUpdate()
// this.allVmsTemplate('no')
console.log('接收子组件form表单 修改111111111', form)
console.log('开始的数据', this.dialogInfoList)
this.dialogInfoList = this.dialogInfoList.map(item => {
if (item.id === form.id) {
return { ...item, tcontents: [{ ...item.tcontents[0], ...form, content: form.CONTENT }] }
}
return item
})
this.getTemplateHeaderFn()
this.$forceUpdate()
},
dialogClose() {
this.showEmit = false
@ -357,15 +397,21 @@ export default {
// }, 500)
},
delMoFn(item) {
this.$confirm('确认要删除吗?')
.then(_ => {
this.removeItemById(this.dialogInfoList, item.id)
this.$message({
message: '删除成功!',
type: 'success'
})
})
.catch(_ => {})
console.log(item)
// deleteTemplate(item.tcontents[0].templateId)
this.removeItemById(this.dialogInfoList, item.id)
// this.$confirm('')
// .then(_ => {
// console.log(item)
// // deleteTemplate(item.tcontents[0].templateId)
// this.removeItemById(this.dialogInfoList, item.id)
// this.$message({
// message: '!',
// type: 'success'
// })
// })
// .catch(_ => {})
},
putLeftFn(item) {
console.log('点击事件', item)
@ -398,6 +444,44 @@ export default {
} else if (w > 191) {
return 1
}
},
processString(str, x) {
const parts = str.split('*') // '*'
const w = parseInt(parts[0]) //
const h = parseInt(parts[1]) //
if (x === 'w') {
return w
} else if (x === 'h') {
return h
} else {
return { w, h } // w h
}
},
processStrNum(str, x) {
const pdl = parseInt(str.slice(0, 3)) //
const pdt = parseInt(str.slice(3)) //
if (x === 'l') {
return pdl
} else if (x === 't') {
return pdt
} else {
return { pdl, pdt } // pdl pdt
}
},
getFont(font) {
if (font == 'KaiTi' || font == 'k') {
return '楷体'
} else if (font == 'SimSun' || font == 's') {
return '宋体'
} else if (font == 'SimHei' || font == 'h') {
return '黑体'
} else if (font == 'FangSong' || font == 'f') {
return '仿宋'
} else if (font == 'LiSu' || font == 'l') {
return '隶书'
} else {
return font
}
}
}
}
@ -819,6 +903,7 @@ export default {
padding: 0.2vh 0;
display: flex;
justify-content: center;
align-items: center;
}
.dialog_info_left_show_r {
width: 5vw;
@ -833,11 +918,12 @@ export default {
height: 100%;
font-size: 18px;
color: #ff0000;
text-align: center;
background-color: #000;
display: flex;
justify-content: center;
align-items: center;
line-height: 1;
// text-align: center;
// display: flex;
// justify-content: center;
// align-items: center;
}
.show_r_btn {

3
ruoyi-ui/src/views/map/index.vue

@ -20,6 +20,7 @@ export default {
tit: '服务区',
longitude: 116.86532,
latitude: 36.57979,
screenSize: '768*64',
imgUrl: require('@/assets/screen/xtb/fwqdot.png')
},
{
@ -27,6 +28,7 @@ export default {
tit: '立交',
longitude: 116.665377,
latitude: 36.396199,
screenSize: '192*160',
imgUrl: require('@/assets/screen/xtb/ljdot.png')
},
{
@ -34,6 +36,7 @@ export default {
tit: '收费站',
longitude: 116.500411,
latitude: 36.297617,
screenSize: '480*48',
imgUrl: require('@/assets/screen/xtb/sfzdot.png')
}
]

Loading…
Cancel
Save