赞
踩
<template> <div ref="center"> <div style=" border: 1px solid #bac6e7; padding-left: 5px; padding-right: 5px; display: flex; justify-content: space-between; " > <div style="display: flex; align-items: center"> <eye-outlined class="icon_hover" @click="isPreview = true" title="预览JSON配置" /> <div style="height: 18px; border: 1px solid #858585; margin: 0 3px"></div> <tool-outlined class="icon_hover" @click="prettyFormat(viewJsonStr)" title="格式化" /> <div style="height: 18px; border: 1px solid #858585; margin: 0 3px"></div> <line-outlined class="icon_hover" @click="viewJsonStr = viewJsonStr.replace(/\s+/g, '')" title="去除空格" /> <div style=" display: flex; align-items: center; border-left: 2px solid #858585; height: 18px; margin: 0 3px; padding: 0 3px; " > <fullscreen-outlined v-if="!isFullScreen" class="icon_hover" @click="fullScreen" title="全屏" /> <fullscreen-exit-outlined v-else class="icon_hover" @click="fullScreen" title="退出" /> </div> </div> <div> <check-circle-outlined title="格式正确" v-if="isPass" style="color: #63ca31" /> <info-circle-outlined title="格式错误" v-else style="color: red" /> </div> </div> <div class="edit-container"> <textarea wrap="off" cols="1" id="leftNum" disabled onscroll="document.getElementById('rightNum').scrollTop = this.scrollTop;" &
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。