bgu
This commit is contained in:
		| @@ -86,4 +86,4 @@ | |||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
| @@ -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"> | ||||||
|   | |||||||
| @@ -3,10 +3,10 @@ | |||||||
|     /* project id 1862352 */ |     /* project id 1862352 */ | ||||||
|     src: url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.eot'); |     src: url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.eot'); | ||||||
|     src: url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.eot?#iefix') format('embedded-opentype'), |     src: url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.eot?#iefix') format('embedded-opentype'), | ||||||
|     url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.woff2') format('woff2'), |         url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.woff2') format('woff2'), | ||||||
|     url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.woff') format('woff'), |         url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.woff') format('woff'), | ||||||
|     url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.ttf') format('truetype'), |         url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.ttf') format('truetype'), | ||||||
|     url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.svg#iconfont') format('svg'); |         url('https://at.alicdn.com/t/font_1862352_i00id3q02qr.svg#iconfont') format('svg'); | ||||||
| } | } | ||||||
|  |  | ||||||
| .iconfont { | .iconfont { | ||||||
| @@ -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,11 +1,12 @@ | |||||||
| <!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"> | ||||||
|   <meta name="viewport" |   <meta name="viewport" | ||||||
|         content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> |     content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||||||
|   <meta name="format-detection" content="telephone=yes"/> |   <meta name="format-detection" content="telephone=yes" /> | ||||||
|   <title>企微应用产品库</title> |   <title>企微应用产品库</title> | ||||||
|   <!-- 正式发布的时候使用,开发期间不启用。↓ --> |   <!-- 正式发布的时候使用,开发期间不启用。↓ --> | ||||||
|   <!-- <script src="/h5/touch-emulator.js"></script> |   <!-- <script src="/h5/touch-emulator.js"></script> | ||||||
| @@ -35,21 +36,28 @@ if (document.documentElement.clientWidth > 1024) { | |||||||
|     // 	document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' |     // 	document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' | ||||||
|     // }) |     // }) | ||||||
|   </script> |   </script> | ||||||
|   <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css"/> |   <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" /> | ||||||
|   <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js" referrerpolicy="origin"></script> |   <script src="https://res.wx.qq.com/open/js/jweixin-1.2.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://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,并非应用入口。 --> | ||||||
| <!-- 请勿在此文件编写页面代码或直接运行此文件。 --> |   <!-- 请勿在此文件编写页面代码或直接运行此文件。 --> | ||||||
| <!-- 详见文档:https://uniapp.dcloud.io/collocation/manifest?id=h5-template --> |   <!-- 详见文档:https://uniapp.dcloud.io/collocation/manifest?id=h5-template --> | ||||||
| <noscript> |   <noscript> | ||||||
|   <strong>Please enable JavaScript to continue.</strong> |     <strong>Please enable JavaScript to continue.</strong> | ||||||
| </noscript> |   </noscript> | ||||||
| <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