-
-
\ No newline at end of file
+
+
diff --git a/public/cdn/normalize.css b/public/cdn/normalize.css
index c45a85f..a6f35ff 100644
--- a/public/cdn/normalize.css
+++ b/public/cdn/normalize.css
@@ -21,6 +21,8 @@
*/
body {
+ font : 14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
+ color : rgba(0, 0, 0, 0.85);
margin: 0;
}
diff --git a/source/scss/form/_index.scss b/source/scss/form/_index.scss
new file mode 100644
index 0000000..d53fae3
--- /dev/null
+++ b/source/scss/form/_index.scss
@@ -0,0 +1 @@
+@import './ul-form-basic';
\ No newline at end of file
diff --git a/source/scss/form/_ul-form-basic.scss b/source/scss/form/_ul-form-basic.scss
new file mode 100644
index 0000000..9894824
--- /dev/null
+++ b/source/scss/form/_ul-form-basic.scss
@@ -0,0 +1,38 @@
+/* 简约风格Form */
+.ul-form-basic {
+ .layui-form-item {
+ clear: unset;
+ }
+
+ .layui-form-label {
+ float : unset;
+ width : unset;
+ text-align: left;
+ padding : 5px 0;
+ font-size : 14px;
+ color : #000;
+ }
+
+ .layui-input-block {
+ margin-left: unset;
+ }
+
+ .layui-input {
+ padding: 4px 11px;
+ height : unset;
+ }
+
+ .layui-form-mid {
+ padding: 4px 0 !important
+ }
+
+ .layui-form-select dl {
+ top: 28px;
+ }
+
+ .layui-form-select dl dd,
+ .layui-form-select dl dt {
+ height: 30px
+ }
+
+}
\ No newline at end of file
diff --git a/source/scss/layui-ul.scss b/source/scss/layui-ul.scss
index 7a9437d..0dab867 100644
--- a/source/scss/layui-ul.scss
+++ b/source/scss/layui-ul.scss
@@ -1,6 +1,7 @@
@import './common';
@import './list/index';
@import './nav/index';
+@import './form/index';
/* 头部开始 */
diff --git a/view/admin/post/edit.html b/view/admin/post/edit.html
index 7514da4..d8017eb 100644
--- a/view/admin/post/edit.html
+++ b/view/admin/post/edit.html
@@ -240,25 +240,25 @@
quill.on('selection-change', function (range, oldRange, source) {
if (range) {
if (range.length == 0) {
- console.log('User cursor is on', range.index);
+ // console.log('User cursor is on', range.index);
} else {
var text = quill.getText(range.index, range.length);
- console.log('User has highlighted', text);
+ // console.log('User has highlighted', text);
}
currentRange = range;
- console.log(currentRange);
+ // console.log(currentRange);
} else {
- console.log('Cursor not in the editor');
+ // console.log('Cursor not in the editor');
}
});
quill.on('text-change', function (delta, oldDelta, source) {
currentRange.index = delta.ops[0].retain
if (source == 'api') {
- console.log("An API call triggered this change.");
+ // console.log("An API call triggered this change.");
} else if (source == 'user') {
- console.log("A user action triggered this change.");
+ // console.log("A user action triggered this change.");
}
if (currentSecond - lastUpdateSecond > 30) {
@@ -335,7 +335,7 @@
formData.content = quill.getContents().ops
formData.content_html = $('#editor .ql-editor').html()
- console.log(formData);
+ // console.log(formData);
$.post('{:url("update")}', formData, function (result) {
diff --git a/view/index/common/_require.html b/view/index/common/_require.html
index fbd89de..5e34bfc 100644
--- a/view/index/common/_require.html
+++ b/view/index/common/_require.html
@@ -3,7 +3,7 @@
-
+