forked from github/dataease
refactor: 开启移动端设置
This commit is contained in:
parent
3bc9e0561a
commit
601f9e4dcc
@ -11,6 +11,9 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="toolbar">
|
<div v-else class="toolbar">
|
||||||
|
<el-tooltip :content="$t('panel.mobile_layout')">
|
||||||
|
<el-button class="icon iconfont-tb icon-yidongduan" size="mini" circle @click="openMobileLayout" />
|
||||||
|
</el-tooltip>
|
||||||
<el-tooltip v-if="!canvasStyleData.auxiliaryMatrix" :content="$t('panel.new_element_distribution')+':'+$t('panel.suspension')">
|
<el-tooltip v-if="!canvasStyleData.auxiliaryMatrix" :content="$t('panel.new_element_distribution')+':'+$t('panel.suspension')">
|
||||||
<el-button class="icon iconfont-tb icon-xuanfuanniu" size="mini" circle @click="auxiliaryMatrixChange" />
|
<el-button class="icon iconfont-tb icon-xuanfuanniu" size="mini" circle @click="auxiliaryMatrixChange" />
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -1426,7 +1426,9 @@ export default {
|
|||||||
video_add_tips: 'Please Add Video Info...',
|
video_add_tips: 'Please Add Video Info...',
|
||||||
panel_view_result_show: 'View Result Show',
|
panel_view_result_show: 'View Result Show',
|
||||||
panel_view_result_tips: 'Chose "Panel" Will Overwrite View`s Result,Range 1~10000',
|
panel_view_result_tips: 'Chose "Panel" Will Overwrite View`s Result,Range 1~10000',
|
||||||
timeout_refresh: 'Timeout,Will Refresh...'
|
timeout_refresh: 'Timeout,Will Refresh...',
|
||||||
|
mobile_layout: 'Mobile Layout',
|
||||||
|
component_hidden: 'Component Hidden'
|
||||||
},
|
},
|
||||||
plugin: {
|
plugin: {
|
||||||
local_install: 'Local installation',
|
local_install: 'Local installation',
|
||||||
|
@ -1429,7 +1429,9 @@ export default {
|
|||||||
video_add_tips: '請點擊添加配置視頻信息...',
|
video_add_tips: '請點擊添加配置視頻信息...',
|
||||||
panel_view_result_show: '視圖結果展示',
|
panel_view_result_show: '視圖結果展示',
|
||||||
panel_view_result_tips: '選擇儀表板會覆蓋視圖的結果展示數量,取值範圍1~10000',
|
panel_view_result_tips: '選擇儀表板會覆蓋視圖的結果展示數量,取值範圍1~10000',
|
||||||
timeout_refresh: '请求超时,稍后刷新...'
|
timeout_refresh: '请求超时,稍后刷新...',
|
||||||
|
mobile_layout: '移动端布局',
|
||||||
|
component_hidden: '隐藏的组件'
|
||||||
},
|
},
|
||||||
plugin: {
|
plugin: {
|
||||||
local_install: '本地安裝',
|
local_install: '本地安裝',
|
||||||
|
@ -1437,7 +1437,9 @@ export default {
|
|||||||
video_add_tips: '请点击添加配置视频信息...',
|
video_add_tips: '请点击添加配置视频信息...',
|
||||||
panel_view_result_show: '视图结果展示',
|
panel_view_result_show: '视图结果展示',
|
||||||
panel_view_result_tips: '选择仪表板会覆盖视图的结果展示数量,取值范围1~10000',
|
panel_view_result_tips: '选择仪表板会覆盖视图的结果展示数量,取值范围1~10000',
|
||||||
timeout_refresh: '请求超时,稍后刷新...'
|
timeout_refresh: '请求超时,稍后刷新...',
|
||||||
|
mobile_layout: '移动端布局',
|
||||||
|
component_hidden: '隐藏的组件'
|
||||||
},
|
},
|
||||||
plugin: {
|
plugin: {
|
||||||
local_install: '本地安装',
|
local_install: '本地安装',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-row class="component-wait">
|
<el-row class="component-wait">
|
||||||
<el-row class="component-wait-title">
|
<el-row class="component-wait-title">
|
||||||
隐藏的组件
|
{{ $t('panel.component_hidden') }}
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row class="component-wait-main">
|
<el-row class="component-wait-main">
|
||||||
<component-wait-item
|
<component-wait-item
|
||||||
@ -73,6 +73,8 @@ export default {
|
|||||||
.component-wait-title {
|
.component-wait-title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
color: #FFFFFF;
|
||||||
|
vertical-align: center;
|
||||||
background-color: #9ea6b2;
|
background-color: #9ea6b2;
|
||||||
border-bottom: 1px black;
|
border-bottom: 1px black;
|
||||||
}
|
}
|
||||||
|
@ -113,7 +113,7 @@
|
|||||||
<el-col :span="8" class="this_mobile_canvas_cell">
|
<el-col :span="8" class="this_mobile_canvas_cell">
|
||||||
<div
|
<div
|
||||||
v-proportion="2.5"
|
v-proportion="2.5"
|
||||||
:style="customCanvasStyle"
|
:style="customCanvasMobileStyle"
|
||||||
class="this_mobile_canvas"
|
class="this_mobile_canvas"
|
||||||
@drop="handleDrop"
|
@drop="handleDrop"
|
||||||
@dragover="handleDragOver"
|
@dragover="handleDragOver"
|
||||||
@ -331,6 +331,11 @@ export default {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
customCanvasMobileStyle() {
|
||||||
|
return {
|
||||||
|
padding: this.componentGap + 'px'
|
||||||
|
}
|
||||||
|
},
|
||||||
customCanvasStyle() {
|
customCanvasStyle() {
|
||||||
let style = {
|
let style = {
|
||||||
padding: this.componentGap + 'px'
|
padding: this.componentGap + 'px'
|
||||||
|
Loading…
Reference in New Issue
Block a user