bgu
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<div v-if="!userSelect">
|
<div v-if="!userSelect">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<header><em>*</em>公告标题</header>
|
<header><em>*</em>公告标题</header>
|
||||||
<input v-model="form.title" placeholder="请输入" :maxlength="30">
|
<input :focus="true" v-model="form.title" placeholder="请输入" :maxlength="30">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="header-description">
|
<div class="header-description">
|
||||||
<u-form :model="forms" ref="uForm" label-width="auto" :border-bottom="false">
|
<u-form :model="forms" ref="uForm" label-width="auto" :border-bottom="false">
|
||||||
<u-form-item label="标题" prop="title" required :border-bottom="false" class="names">
|
<u-form-item label="标题" prop="title" required :border-bottom="false" class="names">
|
||||||
<u-input v-model="forms.title" placeholder="请输入标题" maxlength="30"/>
|
<u-input :focus="true" v-model="forms.title" placeholder="请输入标题" maxlength="30"/>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
|
|
||||||
<u-form-item label="发布组织" prop="publishUnitName" required :border-bottom="false" class="phones">
|
<u-form-item label="发布组织" prop="publishUnitName" required :border-bottom="false" class="phones">
|
||||||
|
|||||||
@@ -26,7 +26,12 @@ p {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul, li { padding: 0;margin: 0;list-style: none}
|
ul,
|
||||||
|
li {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
list-style: none
|
||||||
|
}
|
||||||
|
|
||||||
page {
|
page {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -259,3 +264,7 @@ input::-webkit-input-placeholder {
|
|||||||
z-index: 99;
|
z-index: 99;
|
||||||
width: 100%
|
width: 100%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
-webkit-user-select: text
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="AiEditor" @click="editing=true">
|
<div class="AiEditor" @click="editing=true">
|
||||||
<div ref="AiEditorInstance"/>
|
<div ref="AiEditorInstance" style="-webkit-user-select:text;"/>
|
||||||
<div class="bottomPanel" :class="{fixed:isFullScreen}">
|
<div class="bottomPanel" :class="{fixed:isFullScreen}">
|
||||||
<slot v-if="$slots.bottom" name="bottom"/>
|
<slot v-if="$slots.bottom" name="bottom"/>
|
||||||
<div v-else-if="maxlength" class="fontCount">{{ [editorText.length, maxlength].join(" / ") }}</div>
|
<div v-else-if="maxlength" class="fontCount">{{ [editorText.length, maxlength].join(" / ") }}</div>
|
||||||
@@ -230,6 +230,7 @@ export default {
|
|||||||
.w-e-text {
|
.w-e-text {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
word-break: break-all;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -3,9 +3,8 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<header><em>*</em>公告标题</header>
|
<header><em>*</em>公告标题</header>
|
||||||
<input v-model="form.title" placeholder="请输入" :maxlength="30">
|
<input v-model="form.title" :focus="true" placeholder="请输入" :maxlength="30">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<header><em>*</em>公告内容</header>
|
<header><em>*</em>公告内容</header>
|
||||||
<AiEditor v-model="form.content" placeholder="请输入,最多500字" :maxlength="500"/>
|
<AiEditor v-model="form.content" placeholder="请输入,最多500字" :maxlength="500"/>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
@@ -40,8 +41,14 @@ if (document.documentElement.clientWidth > 1024) {
|
|||||||
<script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js" referrerpolicy="origin"></script>
|
<script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js" referrerpolicy="origin"></script>
|
||||||
<!-- 测试使用-->
|
<!-- 测试使用-->
|
||||||
<script src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js"></script>
|
<script src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js"></script>
|
||||||
|
<script>
|
||||||
|
// init vConsole
|
||||||
|
var vConsole = new VConsole();
|
||||||
|
console.log('Hello world');
|
||||||
|
</script>
|
||||||
<!--end-->
|
<!--end-->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- 该文件为 H5 平台的模板 HTML,并非应用入口。 -->
|
<!-- 该文件为 H5 平台的模板 HTML,并非应用入口。 -->
|
||||||
<!-- 请勿在此文件编写页面代码或直接运行此文件。 -->
|
<!-- 请勿在此文件编写页面代码或直接运行此文件。 -->
|
||||||
@@ -52,4 +59,5 @@ if (document.documentElement.clientWidth > 1024) {
|
|||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
<!-- built files will be auto injected -->
|
<!-- built files will be auto injected -->
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user