You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
20 KiB
1 lines
20 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/life/goodsDetails/index.vue?903a","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/life/goodsDetails/index.vue?f8ba","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/life/goodsDetails/index.vue?9ba4","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/life/goodsDetails/index.vue?e331","uni-app:///pages/life/goodsDetails/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/life/goodsDetails/index.vue?20c8","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/life/goodsDetails/index.vue?cd97"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,yG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACc;;;AAGlE;AACmN;AACnN,gBAAgB,iNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAk1B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC+Et2B,oD;AACA,U;AACA;AACA;AACA,iCADA,EADA;;AAIA,MAJA,kBAIA;AACA;AACA;AACA,cADA;AAEA,YAFA;AAGA,YAHA;AAIA,cAJA,EADA;;AAOA,mBAPA;AAQA,uBARA;AASA,iBATA;AAUA,qBAVA;AAWA,4BAXA;AAYA,uBAZA;AAaA,uBAbA;AAcA,kBAdA;AAeA,cAfA;;AAiBA,GAtBA;AAuBA,QAvBA,kBAuBA,OAvBA,EAuBA;AACA;AACA;AACA;AACA,GA3BA;AA4BA;AACA,UADA,oBACA;AACA;AACA,KAHA;AAIA,QAJA,kBAIA;AACA;AACA;AACA,KAPA;AAQA,WARA,qBAQA;AACA;AACA,KAVA;AAWA,WAXA,mBAWA,CAXA,EAWA;AACA,qCADA;AAEA,uBAFA,SAEA,eAFA;AAGA;AACA;AACA,gCADA,EADA;;;AAKA,qCARA;AASA,KApBA;AAqBA,kBArBA,4BAqBA;AACA;AACA,KAvBA;AAwBA,iBAxBA,2BAwBA;AACA;AACA;AACA;AACA,oCADA;;AAGA,iBALA,EAKA,IALA,GADA;AAOA,KA/BA;AAgCA,QAhCA,kBAgCA;AACA;AACA,KAlCA;;AAoCA,QApCA,kBAoCA;AACA;AACA,KAtCA;;AAwCA,QAxCA,kBAwCA;AACA;AACA,KA1CA;;AA4CA,UA5CA,kBA4CA,CA5CA,EA4CA;AACA;AADA;;;AAKA,sBALA,CAGA,IAHA,qBAGA,IAHA,CAIA,KAJA,qBAIA,KAJA;AAMA,wBANA,CAMA;AACA;AACA,KApDA;;AAsDA,kBAtDA,0BAsDA,CAtDA,EAsDA;AACA;AACA,KAxDA;;AA0DA,iBA1DA,2BA0DA;AACA;AACA;AACA;AACA,SAHA;;AAKA,KAhEA;;AAkEA,SAlEA,iBAkEA,CAlEA,EAkEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBADA;;AAGA,WAPA,MAOA;AACA;AACA,kFADA;;AAGA;AACA,SAfA;;AAiBA,KApFA;;AAsFA,SAtFA,mBAsFA;AACA;AACA;AACA;AACA,SAHA;;AAKA,KA5FA;;AA8FA,gBA9FA,0BA8FA;AACA;AACA,KAhGA;;AAkGA,cAlGA,wBAkGA;AACA;AACA;AACA;AACA,wBADA;;AAGA,KAxGA;;AA0GA,eA1GA,yBA0GA;AACA;AACA;AACA;AACA,kBADA;AAEA,sBAFA;AAGA;AACA;AACA,WALA;;AAOA,OARA;;AAUA,KAtHA,EA5BA,E;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAA6hD,CAAgB,m4CAAG,EAAC,C;;;;;;;;;;;ACAjjD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/life/goodsDetails/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/life/goodsDetails/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=df4b64ce&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/life/goodsDetails/index.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=df4b64ce&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"index-box\">\n\t\t<!-- \n\t\t 更多api,请前往:https://developers.weixin.qq.com/miniprogram/dev/api/media/editor/EditorContext.html \n\t\t 字体图标,微信小程序官方的确没有给出名称\n\t\t-->\n\t\t<view class=\"container\">\n\t\t\t<editor id=\"editor\" show-img-size :read-only=\"isEdit\" show-img-resize show-img-toolbar class=\"ql-container\"\n\t\t\t :placeholder=\"placeholder\" @statuschange=\"onStatusChange\" @ready=\"onEditorReady\">\n\t\t\t</editor>\n\t\t</view>\n\n\t\t<view class=\"toolbar\" @touchend.stop=\"format\" :style=\"'bottom: ' + (isIOS ? keyboardHeight : 0) + 'px'\">\n\t\t\t<i class=\"iconfont icon-charutupian\" @touchend.stop=\"insertImage\"></i>\n\t\t\t<i :class=\"'iconfont icon-format-header-1 ' + (formats.header === 1 ? 'ql-active' : '')\" data-name=\"header\"\n\t\t\t :data-value=\"1\"></i>\n\t\t\t<i :class=\"'iconfont icon-format-header-2 ' + (formats.header === 2 ? 'ql-active' : '')\" data-name=\"header\"\n\t\t\t :data-value=\"2\"></i>\n\t\t\t<i :class=\"'iconfont icon-format-header-3 ' + (formats.header === 3 ? 'ql-active' : '')\" data-name=\"header\"\n\t\t\t :data-value=\"3\"></i>\n\t\t\t<!-- <i :class=\"'iconfont icon-format-header-4 ' + (formats.header === 4 ? 'ql-active' : '')\" data-name=\"header\" :data-value=\"4\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-format-header-5 ' + (formats.header === 5 ? 'ql-active' : '')\" data-name=\"header\" :data-value=\"5\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-format-header-6 ' + (formats.header === 6 ? 'ql-active' : '')\" data-name=\"header\" :data-value=\"6\"></i>-->\n\t\t\t<i :class=\"'iconfont icon-zitijiacu ' + (formats.bold ? 'ql-active' : '')\" data-name=\"bold\"></i>\n\t\t\t<i :class=\"'iconfont icon-zitishanchuxian ' + (formats.strike ? 'ql-active' : '')\" data-name=\"strike\"></i>\n\t\t\t<i :class=\"'iconfont icon-zitixieti ' + (formats.italic ? 'ql-active' : '')\" data-name=\"italic\"></i>\n\t\t\t<i :class=\"'iconfont icon-zuoduiqi ' + (formats.align === 'left' ? 'ql-active' : '')\" data-name=\"align\" data-value=\"left\"></i>\n\t\t\t<i :class=\"'iconfont icon-juzhongduiqi ' + (formats.align === 'center' ? 'ql-active' : '')\" data-name=\"align\"\n\t\t\t data-value=\"center\"></i>\n\t\t\t<i :class=\"'iconfont icon-youduiqi ' + (formats.align === 'right' ? 'ql-active' : '')\" data-name=\"align\" data-value=\"right\"></i>\n\t\t\t<i :class=\"'iconfont icon-zuoyouduiqi ' + (formats.align === 'justify' ? 'ql-active' : '')\" data-name=\"align\"\n\t\t\t data-value=\"justify\"></i>\n\t\t\t<i :class=\"'iconfont icon-line-height ' + (formats.lineHeight ? 'ql-active' : '')\" data-name=\"lineHeight\" data-value=\"2\"></i>\n\t\t\t<!-- <i :class=\"'iconfont icon-Character-Spacing ' + (formats.letterSpacing ? 'ql-active' : '')\" data-name=\"letterSpacing\"\n\t\t\t data-value=\"2em\"></i>\n\t\t\t<i :class=\"'iconfont icon-722bianjiqi_duanqianju ' + (formats.marginTop ? 'ql-active' : '')\" data-name=\"marginTop\"\n\t\t\t data-value=\"20px\"></i>\n\t\t\t<i :class=\"'iconfont icon-723bianjiqi_duanhouju ' + (formats.micon-previewarginBottom ? 'ql-active' : '')\" data-name=\"marginBottom\"\n\t\t\t data-value=\"20px\"></i> -->\n\t\t\t<i class=\"iconfont icon-clearedformat\" @tap=\"removeFormat\"></i>\n\t\t\t<i :class=\"'iconfont icon-font ' + (formats.fontFamily ? 'ql-active' : '')\" data-name=\"fontFamily\" data-value=\"Pacifico\"></i>\n\t\t\t<i :class=\"'iconfont icon-fontsize ' + (formats.fontSize === '24px' ? 'ql-active' : '')\" data-name=\"fontSize\"\n\t\t\t data-value=\"24px\"></i>\n\t\t\t<i :class=\"'iconfont icon-text_color ' + (formats.color === fontColor ? 'ql-active' : '')\" data-name=\"color\"\n\t\t\t :data-value=\"fontColor\" @tap=\"open\"></i>\n\t\t\t<i :class=\"'iconfont icon-fontbgcolor ' + (formats.backgroundColor === '#00ff00' ? 'ql-active' : '')\" data-name=\"backgroundColor\"\n\t\t\t data-value=\"#00ff00\"></i>\n\t\t\t<!-- 引用黄河浪的color取色器 -->\n\t\t\t<i class=\"iconfont icon-date\" @tap=\"insertDate\"></i>\n\t\t\t<!-- <i class=\"iconfont icon-undo\" @tap=\"undo\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-redo\" @tap=\"redo\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-zitixiahuaxian ' + (formats.underline ? 'ql-active' : '')\" data-name=\"underline\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon--checklist\" data-name=\"list\" data-value=\"check\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-youxupailie ' + (formats.list === 'ordered' ? 'ql-active' : '')\" data-name=\"list\" data-value=\"ordered\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-wuxupailie ' + (formats.list === 'bullet' ? 'ql-active' : '')\" data-name=\"list\" data-value=\"bullet\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-outdent\" data-name=\"indent\" data-value=\"-1\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-indent\" data-name=\"indent\" data-value=\"+1\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-fengexian\" @tap=\"insertDivider\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-preview\" @tap=\"store\" id=\"2\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-zitixiabiao ' + (formats.script === 'sub' ? 'ql-active' : '')\" data-name=\"script\"\n\t\t\t data-value=\"sub\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-zitishangbiao ' + (formats.script === 'super' ? 'ql-active' : '')\" data-name=\"script\"\n\t\t\t data-value=\"super\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-quanping\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-shanchu\" @tap=\"clear\"></i> -->\n\t\t\t<!-- <i :class=\"'iconfont icon-direction-rtl ' + (formats.direction === 'rtl' ? 'ql-active' : '')\" data-name=\"direction\"\n\t\t\t data-value=\"rtl\"></i> -->\n\t\t\t<!-- <i class=\"iconfont icon-baocun\" @tap=\"store\" id=\"1\"></i> -->\n\t\t</view>\n\t\t<t-color-picker ref=\"colorPicker\" :color=\"color\" @confirm=\"confirm\" @cancel=\"cancel\"></t-color-picker>\n\t\t<view class=\"btn-box\">\n\t\t\t<view class=\"preview-btn\" @tap=\"store\" id=\"2\">预览</view>\n\t\t\t<view class=\"preview-btn\" @tap=\"store\" id=\"1\">保存</view>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport tColorPicke from '@/components/t-color-picker.vue';\n\timport { chooseImage } from \"@/utils\"\n\tvar _self;\n\texport default {\n\t\tcomponents: {\n\t\t\t't-color-picker': tColorPicke\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tcolor: {\n\t\t\t\t\tr: 255,\n\t\t\t\t\tg: 0,\n\t\t\t\t\tb: 0,\n\t\t\t\t\ta: 0.6\n\t\t\t\t},\n\t\t\t\tisEdit: false,\n\t\t\t\tfontColor: '#000',\n\t\t\t\tformats: {},\n\t\t\t\treadOnly: false,\n\t\t\t\tplaceholder: '开始输入...',\n\t\t\t\teditorHeight: 300,\n\t\t\t\tkeyboardHeight: 0,\n\t\t\t\tisIOS: false,\n\t\t\t\tdesc: ''\n\t\t\t};\n\t\t},\n\t\tonLoad(options) {\n\t\t\t_self = this;\n\t\t\tthis.desc = decodeURIComponent(options.desc)\n\t\t\tconsole.log(options.desc,'options.desc')\n\t\t},\n\t\tmethods: {\n\t\t\tcancel() {\n\t\t\t\tthis.isEdit = false;\n\t\t\t},\n\t\t\topen() {\n\t\t\t\tthis.$refs.colorPicker.open();\n\t\t\t\tthis.isEdit = true;\n\t\t\t},\n\t\t\thideKey() {\n\t\t\t\tuni.hideKeyboard();\n\t\t\t},\n\t\t\tasync confirm(e) {\n\t\t\t\tthis.isEdit = false;\n\t\t\t\tthis.fontColor = await e.hex;\n\t\t\t\tthis.onStatusChange({\n\t\t\t\t\tdetail: {\n\t\t\t\t\t\tcolor: e.hex\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.$forceUpdate();\n\t\t\t},\n\t\t\treadOnlyChange() {\n\t\t\t\tthis.readOnly = !this.readOnly\n\t\t\t},\n\t\t\tasync onEditorReady() {\n\t\t\t\tuni.createSelectorQuery().select('#editor').context(function(res) {\n\t\t\t\t\t_self.editorCtx = res.context;\n\t\t\t\t\t_self.editorCtx.setContents({ \n html: _self.desc \n\t\t\t\t\t}) \n\t\t\t\t}).exec();\n\t\t\t},\n\t\t\tundo() {\n\t\t\t\tthis.editorCtx.undo();\n\t\t\t},\n\n\t\t\tredo() {\n\t\t\t\tthis.editorCtx.redo();\n\t\t\t},\n\n\t\t\tblur() {\n\t\t\t\tthis.editorCtx.blur();\n\t\t\t},\n\n\t\t\tformat(e) {\n\t\t\t\t// this.hideKey();\n\t\t\t\tlet {\n\t\t\t\t\tname,\n\t\t\t\t\tvalue\n\t\t\t\t} = e.target.dataset;\n\t\t\t\tif (!name) return; // console.log('format', name, value)\n\t\t\t\tthis.editorCtx.format(name, value);\n\t\t\t},\n\n\t\t\tonStatusChange(e) {\n\t\t\t\tthis.formats = e.detail;\n\t\t\t},\n\n\t\t\tinsertDivider() {\n\t\t\t\tthis.editorCtx.insertDivider({\n\t\t\t\t\tsuccess: function() {\n\t\t\t\t\t\tconsole.log('insert divider success');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tstore(e) {\n\t\t\t\tthis.editorCtx.getContents({\n\t\t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\tconsole.log(res.html,'res.html')\n\t\t\t\t\t\tif(e.currentTarget.id == 1){\n\t\t\t\t\t\t\tlet pages = getCurrentPages()\n\t\t\t\t\t\t\tlet page = pages[pages.length - 2]\n\t\t\t\t\t\t\tpage.$vm.description = res.html\n\t\t\t\t\t\t\tuni.navigateBack({\n\t\t\t\t\t\t\t\tdelta:1\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\turl: `../preview/preview?rich=${encodeURIComponent(res.html)}`\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tclear() {\n\t\t\t\tthis.editorCtx.clear({\n\t\t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\tconsole.log(\"clear success\");\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tremoveFormat() {\n\t\t\t\tthis.editorCtx.removeFormat();\n\t\t\t},\n\n\t\t\tinsertDate() {\n\t\t\t\tconst date = new Date();\n\t\t\t\tconst formatDate = `${date.getFullYear()}/${date.getMonth() + 1}/${date.getDate()}`;\n\t\t\t\tthis.editorCtx.insertText({\n\t\t\t\t\ttext: formatDate\n\t\t\t\t});\n\t\t\t},\n\n\t\t\tinsertImage() {\n\t\t\t\t// const that = this;\n\t\t\t\tchooseImage((img)=>{\n\t\t\t\t\t_self.editorCtx.insertImage({\n\t\t\t\t\t\tsrc: img,\n\t\t\t\t\t\twidth: '80%',\n\t\t\t\t\t\tsuccess: function() {\n\t\t\t\t\t\t\tconsole.log('insert image success');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t})\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t};\n</script>\n<style lang=\"less\">\n\t@import \"./editor.css\";\n\t.index-box{\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\t.btn-box{\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: space-around;\n\t\tposition: fixed;\n\t\tbottom: 0;\n\t\t.preview-btn{\n\t\t\twidth: 230rpx;\n\t\t\theight: 80rpx;\n\t\t\tbackground: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);\n\t\t\ttext-align: center;\n\t\t\tline-height: 80rpx;\n\t\t\tfont-size: 38rpx;\n\t\t\tfont-weight: 500;\n\t\t\tborder-radius: 40rpx;\n\t\t\tcolor: #fff;\n\t\t\tmargin: 32rpx auto;\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=less&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1635513141642\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |