This commit is contained in:
2025-06-13 20:46:10 +08:00
parent e285692d9c
commit 52e34ffd7c
322 changed files with 3383 additions and 6322 deletions
-1
View File
@@ -1 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/editor/editor"],{"46db":function(n,e,t){"use strict";(function(n,e){var u=t("47a9");t("7bfe"),t("861b");u(t("3240"));var i=u(t("71c5"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"595a":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return u}));var u={uniSection:function(){return t.e("uni_modules/uni-section/components/uni-section/uni-section").then(t.bind(null,"d2d3"))},uniEasyinput:function(){return t.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(t.bind(null,"1986"))},uniFilePicker:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker")]).then(t.bind(null,"0b52"))},cuEditor:function(){return Promise.all([t.e("common/vendor"),t.e("components/cu-editor/cu-editor")]).then(t.bind(null,"72af"))}},i=function(){var n=this.$createElement;this._self._c},o=[]},"71c5":function(n,e,t){"use strict";t.r(e);var u=t("595a"),i=t("ebce");for(var o in i)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(o);t("85ee");var c=t("828b"),r=Object(c["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);e["default"]=r.exports},"85ee":function(n,e,t){"use strict";var u=t("c2e7"),i=t.n(u);i.a},c2e7:function(n,e,t){},cc4a:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={components:{cuEditor:function(){Promise.all([t.e("common/vendor"),t.e("components/cu-editor/cu-editor")]).then(function(){return resolve(t("72af"))}.bind(null,t)).catch(t.oe)}},data:function(){return{}},methods:{}};e.default=u},ebce:function(n,e,t){"use strict";t.r(e);var u=t("cc4a"),i=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(o);e["default"]=i.a}},[["46db","common/runtime","common/vendor"]]]);
@@ -1,9 +0,0 @@
{
"navigationBarTitleText": "编辑文章",
"usingComponents": {
"uni-section": "/uni_modules/uni-section/components/uni-section/uni-section",
"uni-easyinput": "/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
"uni-file-picker": "/uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker",
"cu-editor": "/components/cu-editor/cu-editor"
}
}
@@ -1 +0,0 @@
<view style="padding-bottom:100rpx;"><uni-section class="mb-10" vue-id="663426c0-1" type="line" title="文章标题" bind:__l="__l"></uni-section><uni-easyinput bind:input="__e" vue-id="663426c0-2" autoHeight="{{true}}" placeholder="请输入内容" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l"></uni-easyinput><uni-section class="mb-10" vue-id="663426c0-3" type="line" title="文章封面" bind:__l="__l"></uni-section><uni-file-picker vue-id="663426c0-4" limit="1" title="最多选择1张图片,作为文章封面" bind:__l="__l"></uni-file-picker><uni-section class="mb-10" vue-id="663426c0-5" type="line" title="文章简介" bind:__l="__l"></uni-section><uni-easyinput bind:input="__e" style="margin:30rpx;" vue-id="663426c0-6" autoHeight="{{true}}" placeholder="请输入内容" type="textarea" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:__l="__l"></uni-easyinput><uni-section class="mb-10" vue-id="663426c0-7" type="line" title="文章内容" bind:__l="__l"></uni-section><cu-editor vue-id="663426c0-8" bind:__l="__l"></cu-editor></view>
@@ -1 +0,0 @@
.example-body{display:flex;flex-direction:row;justify-content:flex-start;padding:10rpx}.cu-editor-input:focus{border-color:#00f;outline:none}.editor-container{border:3rpx solid rgba(51,85,85,.3333333333333333);border-radius:20rpx;margin:20rpx}
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/preview/preview"],{"648d":function(t,e,n){"use strict";n.r(e);var c=n("7342"),a=n.n(c);for(var i in c)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(i);e["default"]=a.a},"68ce":function(t,e,n){"use strict";var c=n("d5ad"),a=n.n(c);a.a},7342:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{templateSrc:"",musicSrc:"",html:""}},methods:{toIndex:function(){t.navigateTo({url:"/pages/articleContentDetail/articleContentDetail"})},onEditorReady:function(){var e=this;t.createSelectorQuery().in(this).select("#editor").context((function(t){e.editorCtx=t.context,e.setValue()})).exec()},setValue:function(){this.editorCtx&&this.editorCtx.setContents({html:this.html,success:function(){}})}},onLoad:function(t){console.log(t)},mounted:function(){this.templateSrc="https://env-00jxt5y29hrd.normal.cloudstatic.cn/static/bg.jpg?expire_at=1741101988&er_sign=c9732cddaaead925cf110d9a11751231",this.musicSrc=t.getStorageSync("musicSrc"),this.html=t.getStorageSync("html");var e=t.createInnerAudioContext();e.src=this.musicSrc,e.autoplay=!0,e.play()}};e.default=n}).call(this,n("df3c")["default"])},"8b5a":function(t,e,n){"use strict";(function(t,e){var c=n("47a9");n("7bfe"),n("861b");c(n("3240"));var a=c(n("aac3"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(a.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"8e93":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var c=function(){var t=this.$createElement;this._self._c},a=[]},aac3:function(t,e,n){"use strict";n.r(e);var c=n("8e93"),a=n("648d");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("68ce");var r=n("828b"),o=Object(r["a"])(a["default"],c["b"],c["c"],!1,null,"48b72238",null,!1,c["a"],void 0);e["default"]=o.exports},d5ad:function(t,e,n){}},[["8b5a","common/runtime","common/vendor"]]]);
@@ -1,4 +0,0 @@
{
"navigationBarTitleText": "preview",
"usingComponents": {}
}
@@ -1 +0,0 @@
<view class="v-preview data-v-48b72238"><image class="img data-v-48b72238" src="{{templateSrc}}" alt mode="widthFix"></image><view class="btn-area data-v-48b72238"><view class="red-btn-area data-v-48b72238"><button class="red-btn data-v-48b72238">老兵直播</button><button class="red-btn data-v-48b72238">老兵故事</button><button class="red-btn data-v-48b72238">在线注册</button></view><view class="red-btn-plain-area data-v-48b72238"><view data-event-opts="{{[['tap',[['toIndex']]]]}}" class="red-btn-plain data-v-48b72238" bindtap="__e">新四军</view><view class="red-btn-plain data-v-48b72238">抗美援朝</view><view class="red-btn-plain data-v-48b72238">抗美援越</view><view class="red-btn-plain data-v-48b72238">对越自卫反击战</view><view class="red-btn-plain data-v-48b72238">和平时期退役兵</view></view></view><editor class="cu-editor data-v-48b72238" id="editor" placeholder read-only="{{true}}" show-img-size="{{false}}" show-img-toolbar="{{false}}" show-img-resize="{{false}}" data-event-opts="{{[['ready',[['onEditorReady',['$event']]]],['input',[['onEditorInput',['$event']]]]]}}" bindready="__e" bindinput="__e"></editor></view>
File diff suppressed because one or more lines are too long