1 line
44 KiB
Plaintext
1 line
44 KiB
Plaintext
{"version":3,"sources":["webpack:///D:/lananWork/detection-business/components/Rboy-editor/Rboy-editor.vue?f0d7","webpack:///D:/lananWork/detection-business/components/Rboy-editor/Rboy-editor.vue?0d2a","webpack:///D:/lananWork/detection-business/components/Rboy-editor/Rboy-editor.vue?8e70","webpack:///D:/lananWork/detection-business/components/Rboy-editor/Rboy-editor.vue?bea9","uni-app:///components/Rboy-editor/Rboy-editor.vue","webpack:///D:/lananWork/detection-business/components/Rboy-editor/Rboy-editor.vue?8951","webpack:///D:/lananWork/detection-business/components/Rboy-editor/Rboy-editor.vue?f33e","uni-app:///main.js","webpack:///D:/lananWork/detection-business/pages/release/release.vue?858e","webpack:///D:/lananWork/detection-business/pages/release/release.vue?6d09","webpack:///D:/lananWork/detection-business/pages/release/release.vue?b0da","webpack:///D:/lananWork/detection-business/pages/release/release.vue?5238","uni-app:///pages/release/release.vue","webpack:///D:/lananWork/detection-business/pages/release/release.vue?2799","webpack:///D:/lananWork/detection-business/pages/release/release.vue?734b"],"names":["name","props","count","type","default","newsContent","data","editorCtx","placeholder","created","mounted","uni","console","that","onShow","methods","editor_getcontents","success","resove","editor_setContents","html","editor_setContentsNew","editor_format_btn","editor_insertImage","editor_img_btn","wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","baseUrl","one","two","three","show","guige","msg","tapnum","value5","tian","skuName","price","fileList4","fileList6","taplist","Text","fenlist","ftitle","releasebox","title","goodsCategoryId","partnerId","image","imageList","isListing","isSpecial","isAttend","goodsDesc","orderNum","skuList","onLoad","fenlei","uploadFile","url","filePath","src","alt","getgoods","icon","method","res","duration","setTimeout","getxz","guigeadd","skuname","getdeletesku","getone","gettwo","getthree","gettapindex","getback","getyes","open","close","deletePic","afterRead","lists","fileListLen","item","i","result","status","message","uploadFilePromise","deletePic1","afterRead1","uploadFilePromise1"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoI;AACpI;AAC+D;AACL;AACsC;;;AAGhG;AAC4K;AAC5K,gBAAgB,sLAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,kGAAM;AACR,EAAE,2GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sGAAU;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;AAAqpB,CAAgB,kqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCqBzqB;EACAA;EACAC;IACAC;MACAC;MACAC;IACA;IACAC;MACAF;MACAC;IACA;EACA;EACAE;IACA;MACAC;MACAC;IACA;EACA;EACAC,6BACA;EACAC;IACA;IACAC;MACAC;MACAC;IACA;IACAD;EACA;EACAE,2BAEA;EACAC;IACA;IACAC;MAAA;MACA;QACA;UACAC;YACAC;UACA;QACA;MACA;IACA;IACA;IACAC;MACAP;MACAA;MACA;QACA;UACAQ;QACA;MACA;IAEA;IACA;IACAC;MACAT;MACAA;MACA;QACA;UACAQ;QACA;MACA;IAEA;IACA;IACAE;MACA;IACA;IACA;IACAC;MACA;MACA;IACA;IACA;IACAC;MAAA;MACAb;QACAT;QAAA;QACAC;QACAc;UAAA;YAAA;cAAA;gBAAA;kBAAA;oBACA;kBAAA;kBAAA;oBAAA;gBAAA;cAAA;YAAA;UAAA,CACA;UAAA;YAAA;UAAA;UAAA;QAAA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACzGA;AAAA;AAAA;AAAA;AAA4tC,CAAgB,8qCAAG,EAAC,C;;;;;;;;;;;ACAhvC;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;;;;ACNL;AAGA;AACA;AAHA;AACAQ,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,gBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC4K;AAC5K,gBAAgB,sLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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,aAAa,sTAEN;AACP,KAAK;AACL;AACA,aAAa,6SAEN;AACP,KAAK;AACL;AACA,aAAa,0HAEN;AACP,KAAK;AACL;AACA,aAAa,6SAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AChDA;AAAA;AAAA;AAAA;AAAipB,CAAgB,8pBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACwIrqB;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA,eACA;EACAvB;IACA;MACAwB;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACA/B;MACAgC;MACAC;MACAC;QACAC;QAAA;QACAC;MACA;;MACAC;MACAC;MACAC,UACA;QAAAC;MAAA,GACA;QAAAA;MAAA,EACA;MACAC;MACAC;MACAC;QACAC;QAAA;QACAC;QAAA;QACAC;QAAA;QACAV;QAAA;QACAW;QAAA;QACAC;QAAA;QACAC;QAAA;QACAC;QAAA;QACAC;QAAA;QACAC;QAAA;QACAC;QAAA;QACAC,UACA;UAAAnB;UAAAC;QAAA,GACA;UAAAD;UAAAC;QAAA,GACA;UAAAD;UAAAC;QAAA;MAEA;IACA;EACA;EACAmB;IACAhD;IACA;EAEA;EACAE;IACA;EACA;EAEAC;IACA8C;MACA;IAEA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAjD;gBACAD;gBACA;gBACA;kBACA;kBACA;oBACAmD;oBACAC;kBACA;oBACApD;oBACAC;sBACAoD;sBACAC;oBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAEAvD;gBAAA,MACA;kBAAA;kBAAA;gBAAA;gBACAD;kBACAsC;kBACAmB;gBACA;gBAAA;cAAA;gBAGA;gBACA;gBACA;gBAAA;gBAAA,OACA;cAAA;gBAAA;gBAEA;gBAAA;gBAAA,OACA;kBACAL;kBACAM;kBACA/D;gBACA;cAAA;gBAJAgE;gBAKA1D;gBACA;kBACAD;oBACAsC;oBACAsB;kBACA;kBACA;oBACAtB;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAV;oBAAA;oBACAW;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC;oBAAA;oBACAC,UACA;sBAAAnB;sBAAAC;oBAAA,GACA;sBAAAD;sBAAAC;oBAAA,GACA;sBAAAD;sBAAAC;oBAAA;kBAEA;kBACA+B;oBACA7D;sBACAoD;oBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAGA;IACAU;MACA;MACA7D;MACA;IACA;IACA;IACA8D;MACA;QACAC;QACAlC;MACA;MACA;MAEA7B;IACA;IACA;IACAgE;MACA;IACA;IACAC;MACA;MACA;QACA;MACA;MACA;QACA;MACA;IACA;IACAC;MACA;MACA;QACA;MACA;MACA;QACA;MACA;IACA;IACAC;MACA;MACA;QACA;MACA;MACA;QACA;MACA;IACA;IACAC;MACA;IACA;IACAC;MACAtE;IACA;IACAuE;MACA;IACA;IACAC;MACA;MACAvE;IACA;IACAwE;MACA;MACA;IACA;IACA;IACA;IACAC;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACA;gBACAC;gBACAC;gBACAD;kBACA,6DACAE,MAEA;gBACA;gBACAC;cAAA;gBAAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAC;gBACAF;gBACA;kBACAG;kBACAC;kBACA9B;gBACA;gBACAyB;cAAA;gBARAE;gBAAA;gBAAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAUA;IACAI;MAAA;MACAlF;MACA;QACAmD;QACAC;MACA;QAEApD;QACA;QACAA;MACA;IAEA;IACA;IACAmF;MACA;IACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACA;gBACAT;gBACAC;gBACAD;kBACA,6DACAE,MAEA;gBACA;gBACAC;cAAA;gBAAA;kBAAA;kBAAA;gBAAA;gBAAA;gBAAA,OACA;cAAA;gBAAAC;gBACAF;gBACA;kBACAG;kBACAC;kBACA9B;gBACA;gBACAyB;cAAA;gBARAE;gBAAA;gBAAA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAUA;IACAO;MAAA;MACArF;MACA;QACAmD;QACAC;MACA;QACApD;QACA;MACA;IAEA;EAEA;AACA;AAAA,2B;;;;;;;;;;;;;AC5aA;AAAA;AAAA;AAAA;AAAwvC,CAAgB,ysCAAG,EAAC,C;;;;;;;;;;;ACA5wC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/release/release.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./Rboy-editor.vue?vue&type=template&id=2f077174&scoped=true&\"\nvar renderjs\nimport script from \"./Rboy-editor.vue?vue&type=script&lang=js&\"\nexport * from \"./Rboy-editor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Rboy-editor.vue?vue&type=style&index=0&id=2f077174&scoped=true&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../software/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 \"2f077174\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/Rboy-editor/Rboy-editor.vue\"\nexport default component.exports","export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./Rboy-editor.vue?vue&type=template&id=2f077174&scoped=true&\"","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 \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./Rboy-editor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./Rboy-editor.vue?vue&type=script&lang=js&\"","<template>\r\n\t<div>\r\n\t\r\n\t\t<view class=\"fu_box\">\r\n\t\t\t<editor style=\"border: none;\" id=\"editor\" :show-img-toolbar=\"true\" :show-img-resize=\"true\" :show-img-size=\"true\" class=\"\"\r\n\t\t\t\t:placeholder=\"placeholder\"></editor>\r\n\t\t</view>\r\n\t\t<view class=\"icons_box\">\r\n\t\t\t<text class=\"iconfont icon-zuoduiqi\" @click=\"editor_format_btn('align','left')\"></text>\r\n\t\t\t<text class=\"iconfont icon-juzhongduiqi\" @click=\"editor_format_btn('align','center')\"></text>\r\n\t\t\t<text class=\"iconfont icon-youduiqi\" @click=\"editor_format_btn('align','right')\"></text>\r\n\t\t\t<text class=\"iconfont icon-zuoyouduiqi\" @click=\"editor_format_btn('align','justify')\">\r\n\t\t\t</text>\r\n\t\t\t<text class=\"iconfont icon-zitijiacu\" @click=\"editor_format_btn('bold')\"></text>\r\n\t\t\t<text class=\"iconfont icon-zitixieti\" @click=\"editor_format_btn('italic')\"></text>\r\n\t\t\t<text class=\"iconfont icon-charutupian\" @click=\"editor_img_btn\"></text>\r\n\t\t</view>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: \"Rboy-editor\",\r\n\t\tprops: {\r\n\t\t\tcount: {\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 6\r\n\t\t\t},\r\n\t\t\tnewsContent:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:''\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\teditorCtx: '',\r\n\t\t\t\tplaceholder:'请输入详情'\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t},\r\n\t\tmounted() {\r\n\t\tlet that = this\r\n\t uni.createSelectorQuery().in(this).select('#editor').context((res2) => {\r\n\t \tconsole.log(res2)\r\n\t \tthat.editorCtx = res2.context\r\n\t }).exec()\r\n\t\tconsole.log('111')\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 获取内容\r\n\t\t\teditor_getcontents() {\r\n\t\t\t\treturn new Promise((resove, reject) => {\r\n\t\t\t\t\tthis.editorCtx.getContents({\r\n\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\tresove(res.html)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// 设置内容\r\n\t\t\teditor_setContents() {\r\n\t\t\t\tconsole.log(this.newsContent)\r\n\t\t\t\tconsole.log(this.editorCtx);\r\n\t\t\t\tif(this.editorCtx){\r\n\t\t\t\t\tthis.editorCtx.setContents({\r\n\t\t\t\t\t\thtml: this.newsContent //this.EditGoodsDetail.content为赋值内容。 \r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\r\n\t\t\t},\r\n\t\t\t// 设置内容\r\n\t\t\teditor_setContentsNew(content) {\r\n\t\t\t\tconsole.log(content)\r\n\t\t\t\tconsole.log(this.editorCtx);\r\n\t\t\t\tif(this.editorCtx){\r\n\t\t\t\t\tthis.editorCtx.setContents({\r\n\t\t\t\t\t\thtml: content //this.EditGoodsDetail.content为赋值内容。 \r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t},\r\n\t\t\t// 设置属性\r\n\t\t\teditor_format_btn(name, value) {\r\n\t\t\t\tthis.editorCtx.format(name, value)\r\n\t\t\t},\r\n\t\t\t// 设置图片\r\n\t\t\teditor_insertImage(data) {\r\n\t\t\t\tif (!data) return false\r\n\t\t\t\tthis.editorCtx.insertImage(data)\r\n\t\t\t},\r\n\t\t\t// 上传图片\r\n\t\t\teditor_img_btn() {\r\n\t\t\t\tuni.chooseImage({\r\n\t\t\t\t\tcount: this.count || 6, // 控制上传图片的数量 默认 6\r\n\t\t\t\t\ttype: 'image',\r\n\t\t\t\t\tsuccess: async (res) => {\r\n\t\t\t\t\t\tthis.$emit(\"uploadFile\", res)\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t@import './editor-icon.css';\r\n\r\n\t.fu_box {\r\n\t\tmin-height: 35px !important;\r\n\t\tborder:none;\r\n\t\tborder-radius: 4px;\r\n\t\tfont-size: 14px;\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\ttext-align: left;\r\n\t\tcolor: #333;\r\n\t\tpadding: 7px;\r\n\r\n\t\teditor {\r\n\t\t\twidth: 100%;\r\n\t\t}\r\n\t}\r\n\r\n\r\n\t.icons_box {\r\n\t\tfont-size: 18px;\r\n\t\t.iconfont {\r\n\t\t\tmargin: 5rpx 10rpx;\r\n\t\t\t\tfont-size: 24px !important;\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./Rboy-editor.vue?vue&type=style&index=0&id=2f077174&scoped=true&lang=less&\"; export default mod; export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./Rboy-editor.vue?vue&type=style&index=0&id=2f077174&scoped=true&lang=less&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1728093144837\n var cssReload = require(\"D:/software/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 ","import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/release/release.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./release.vue?vue&type=template&id=0766b1d4&scoped=true&\"\nvar renderjs\nimport script from \"./release.vue?vue&type=script&lang=js&\"\nexport * from \"./release.vue?vue&type=script&lang=js&\"\nimport style0 from \"./release.vue?vue&type=style&index=0&id=0766b1d4&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../software/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 \"0766b1d4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/release/release.vue\"\nexport default component.exports","export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=template&id=0766b1d4&scoped=true&\"","var components\ntry {\n components = {\n uniIcons: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-icons/components/uni-icons/uni-icons\" */ \"@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue\"\n )\n },\n uUpload: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-upload/u-upload\" */ \"@/uni_modules/uview-ui/components/u-upload/u-upload.vue\"\n )\n },\n RboyEditor: function () {\n return import(\n /* webpackChunkName: \"components/Rboy-editor/Rboy-editor\" */ \"@/components/Rboy-editor/Rboy-editor.vue\"\n )\n },\n uPicker: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-picker/u-picker\" */ \"@/uni_modules/uview-ui/components/u-picker/u-picker.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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 \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=script&lang=js&\"","<!-- 新增-->\r\n<template>\r\n\t<view class=\"content\">\r\n\t\t\t<view style=\"width: 100%; height: 44px;\"></view>\r\n\t\t\t<view class=\"top-heder\">\r\n\t\t\t\t<view class=\"t-left\" @click=\"getback()\">\r\n\t\t\t\t\t<uni-icons type=\"left\" size=\"18\"></uni-icons>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"t-title\">\r\n\t\t\t\t\t<text>添加商品</text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"t-you\"></view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\t<view class=\"mub\">\r\n\t\t\t<view class=\"top-ail\">\r\n\t\t\t<view class=\"box-ltopt\">\r\n\t\t\t\t<u-upload\r\n\t\t\t\t\t:fileList=\"fileList6\"\r\n\t\t\t\t\t@afterRead=\"afterRead1\"\r\n\t\t\t\t\t@delete=\"deletePic1\"\r\n\t\t\t\t\tname=\"6\"\r\n\t\t\t\t\tmultiple\r\n\t\t\t\t\t:maxCount=\"1\"\r\n\t\t\t\t\twidth=\"345px\"\r\n\t\t\t\t\theight=\"126px\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<image src=\"../../static/detection/tjspfmt.png\" style=\"width: 345px;height: 126px;\"></image>\r\n\t\t\t\t</u-upload>\r\n\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t<!-- 上传 -->\r\n\t\t\t\t<view class=\"box-list\">\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t<!-- <view class=\"list-box\">\r\n\t\t\t\t\t\t<view class=\"l-left\">商品类别</view>\r\n\t\t\t\t\t\t<view class=\"l-right\" @click=\"fenlei()\">\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t<text v-if=\"!ftitle\">选择商品分类</text>\r\n\t\t\t\t\t\t\t<text v-if=\"ftitle\">{{ftitle}}</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t<!-- \t<view class=\"list-box\">\r\n\t\t\t\t\t\t<view class=\"l-left\">价格(单位)元</view>\r\n\t\t\t\t\t\t<view class=\"l-right\">\r\n\t\t\t\t\t\t\t<input type=\"text\" v-model=\"releasebox.price\" placeholder=\"请输入价格\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t\t<view class=\"list-box\">\r\n\t\t\t\t\t\t<view class=\"l-left\">序号</view>\r\n\t\t\t\t\t\t<view class=\"l-right\">\r\n\t\t\t\t\t\t\t<input type=\"number\" v-model=\"releasebox.orderNum\" placeholder=\"请输入排序的序号\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t<!-- \t<view class=\"list-box\">\r\n\t\t\t\t\t\t<view class=\"l-left\">安检价格:</view>\r\n\t\t\t\t\t\t<view class=\"l-right\">\r\n\t\t\t\t\t\t\t<input type=\"number\" v-model=\"releasebox.skuList[0].price\" placeholder=\"请输入安检价格\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"list-box\">\r\n\t\t\t\t\t\t<view class=\"l-left\">环检价格:</view>\r\n\t\t\t\t\t\t<view class=\"l-right\">\r\n\t\t\t\t\t\t\t<input type=\"number\" v-model=\"releasebox.skuList[1].price\" placeholder=\"请输入环检价格\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"list-box\">\r\n\t\t\t\t\t\t<view class=\"l-left\">环检+安检:</view>\r\n\t\t\t\t\t\t<view class=\"l-right\">\r\n\t\t\t\t\t\t\t<input type=\"number\" v-model=\"releasebox.skuList[2].price\" placeholder=\"请输入总和的价格\">\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view> -->\r\n\t\t\t\t\r\n\t\t\t\t\t<view class=\"thui\">商品图片</view>\r\n\t\t\t\t\t<view class=\"imgs\">\r\n\t\t\t\t\t\t<u-upload\r\n\t\t\t\t\t\t\t:fileList=\"fileList4\"\r\n\t\t\t\t\t\t\t@afterRead=\"afterRead\"\r\n\t\t\t\t\t\t\t@delete=\"deletePic\"\r\n\t\t\t\t\t\t\tname=\"4\"\r\n\t\t\t\t\t\t\tmultiple\r\n\t\t\t\t\t\t\t:maxCount=\"5\"\r\n\t\t\t\t\t\t></u-upload>\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t</view>\r\n\t\t\t\r\n\t\t\t\t<!-- 是否上架 -->\r\n\t\t\t<!-- \t<view class=\"bottom-di\">\r\n\t\t\t\t\t<view class=\"b-left\">是否上架</view>\r\n\t\t\t\t\t<view class=\"b-right\">\r\n\t\t\t\t\t\t\t<switch @change=\"getone()\" :checked=\"one\" color=\"#FFCC33\" style=\"transform:scale(0.7)\"/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view> -->\r\n\t\t\t\t<!-- 是否特价 -->\r\n\t\t\t\t<!-- <view class=\"bottom-di\">\r\n\t\t\t\t\t<view class=\"b-left\">是否特价</view>\r\n\t\t\t\t\t<view class=\"b-right\">\r\n\t\t\t\t\t\t\t<switch @change=\"gettwo()\" :checked=\"two\" color=\"#FFCC33\" style=\"transform:scale(0.7)\"/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view> -->\r\n\t\t\t\t<!-- 是否特价 -->\r\n\t\t\t\t<!-- <view class=\"bottom-di\">\r\n\t\t\t\t\t<view class=\"b-left\">是否参与优惠</view>\r\n\t\t\t\t\t<view class=\"b-right\">\r\n\t\t\t\t\t\t\t<switch @change=\"getthree()\" :checked=\"three\" color=\"#FFCC33\" style=\"transform:scale(0.7)\"/>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view> -->\r\n\t\t\t\t<view class=\"box-list\">\r\n\t\t\t\t\r\n\t\t\t\t\t<!-- \t<view class=\"\">\r\n\t\t\t\t\t\t\t<u--textarea v-model=\"releasebox.goodsDesc\" placeholder=\"请输入内容\" border=\"none\"></u--textarea>\r\n\t\t\t\t\t\t</view> -->\r\n\t\t\t\t\t\t<Rboy-editor ref=\"RboyEditor\" @uploadFile=\"uploadFile\" :newsContent=\"releasebox.goodsDesc\" :count=\"6\"></Rboy-editor>\r\n\t\t\t\t</view>\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t<view class=\"dlanniu\" @click=\"getgoods()\" >\r\n\t\t\t\t\t<text>提交</text>\r\n\t\t\t\t</view>\r\n\t\t\t\r\n\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t\r\n\t\t\r\n\t\r\n\t\t <u-picker @change=\"getxz\" @confirm=\"getyes()\" @cancel=\"getyes()\" :show=\"show\" :columns=\"fenlist\" keyName=\"categoryName\"></u-picker>\r\n\t\t<!-- 底部 -->\r\n\t\t\r\n\t\t\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t\timport RboyEditor from \"@/components/Rboy-editor/Rboy-editor\"\r\n\timport config from '@/config';\r\n\timport request from '../../utils/request';\r\n\timport upload from '@/utils/upload.js'\r\nimport code from '../../uni_modules/uview-ui/libs/config/props/code';\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tbaseUrl:this.$baseUrl,\r\n\t\t\t\tone:false,\r\n\t\t\t\ttwo:false,\r\n\t\t\t\tthree:false,\r\n\t\t\t\tshow:false,\r\n\t\t\t\tguige:false,\r\n\t\t\t\tmsg:'3',\r\n\t\t\t\tnewsContent:'',\r\n\t\t\t\ttapnum:0,\r\n\t\t\t\tvalue5:'',\r\n\t\t\t\ttian:{\r\n\t\t\t\t\tskuName:'',//规格名称\r\n\t\t\t\t\tprice:''//规格价格\r\n\t\t\t\t},\r\n\t\t\t\tfileList4:[],\r\n\t\t\t\tfileList6:[],\r\n\t\t\t\ttaplist:[\r\n\t\t\t\t\t{Text:'已发布'},\r\n\t\t\t\t\t{Text:'待上架'},\r\n\t\t\t\t],\r\n\t\t\t\tfenlist:[],\r\n\t\t\t\tftitle:null,\r\n\t\t\t\treleasebox:{\r\n\t\t\t\t\ttitle:'', //标题\r\n\t\t\t\t\tgoodsCategoryId:'',//商品分类id\r\n\t\t\t\t\tpartnerId:'',//合作商id\r\n\t\t\t\t\tprice:'',//价格,单位为:分\r\n\t\t\t\t\timage:'',//封面图\r\n\t\t\t\t\timageList:[], //商品图片\r\n\t\t\t\t\tisListing:'0',//01上架下架\r\n\t\t\t\t\tisSpecial:'0',//01是否特价\r\n\t\t\t\t\tisAttend:\"0\",//是否参与优惠0不参与1参与\r\n\t\t\t\t\tgoodsDesc:'',//详细描述\r\n\t\t\t\t\torderNum:'', //排序\r\n\t\t\t\t\tskuList:[\r\n\t\t\t\t\t\t{skuName:'安检',price:''},\r\n\t\t\t\t\t\t{skuName:'环检',price:''},\r\n\t\t\t\t\t\t{skuName:'安检+环检',price:''},\t\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(e) {\r\n\t\t\tconsole.log(e);\r\n\t\t\tthis.releasebox.goodsCategoryId = e.id\r\n\t\t\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\tthis.releasebox.partnerId = uni.getStorageSync('partnerId')\r\n\t\t},\r\n\t\t\r\n\t\tmethods: {\r\n\t\t\tfenlei(){\r\n\t\t\t\tthis.show = true\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t// 上传图片\r\n\t\t\tasync uploadFile(event) {\r\n\t\t\t\tlet that = this\r\n\t\t\t\tconsole.log(event);\r\n\t\t\t // event 选择的图片\r\n\t\t\t for (var item in event.tempFilePaths) {\r\n\t\t\t // uploadFileApi 为上传到服务端的接口 count大于1 使用 await \r\n\t\t\t\t\tupload({\r\n\t\t\t\t\t\turl:'/common/upload',\r\n\t\t\t\t\t\tfilePath: event.tempFilePaths[item],\t\t\t\t\r\n\t\t\t\t\t}).then((res)=>{\r\n\t\t\t\t\t\tconsole.log(res)\r\n\t\t\t\t\tthat.$refs.RboyEditor.editor_insertImage({\r\n\t\t\t\t\t src: this.baseUrl + res.fileName,\r\n\t\t\t\t\t alt: \"图像\",\r\n\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t }\r\n\t\t\t\t},\r\n\t\t\t// async getindex(){\r\n\t\t\t// \t// 获取分类信息 \r\n\t\t\t// \tlet res = await request({\r\n\t\t\t// \t\turl:'/system/shopInspectionCategory/list',\r\n\t\t\t// \t\tmethod: 'get',\r\n\t\t\t// \t})\r\n\t\t\t// \tlet arr = res.rows\r\n\t\t\t// \tthis.ftitle = res.rows[0].categoryName\r\n\t\t\t// \t// this.releasebox.goodsCategoryId = res.rows[0].id\r\n\t\t\t// \tthis.fenlist.push(arr)\r\n\r\n\t\t\t// \tconsole.log('获取分类信息',this.fenlist);\r\n\t\t\t// },\r\n\t\t\tasync getgoods(){\r\n\t\t\t\r\n\t\t\t\tconsole.log(this.releasebox);\r\n\t\t\t\tif(this.releasebox.partnerId == \"\" ||this.releasebox.image == \"\" ||this.releasebox.imageList == \"\" ){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:\"以上均为必填项!!!\",\r\n\t\t\t\t\t\ticon:\"none\"\r\n\t\t\t\t\t})\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\t\t\tthis.releasebox.skuList[0].price = this.releasebox.skuList[0].price * 100\r\n\t\t\tthis.releasebox.skuList[1].price = this.releasebox.skuList[1].price * 100\r\n\t\t\tthis.releasebox.skuList[2].price = this.releasebox.skuList[2].price * 100\r\n\t\t\tthis.releasebox.goodsDesc = await this.$refs.RboyEditor.editor_getcontents()\r\n\t\t\r\n\t\t\tthis.releasebox.images = this.releasebox.imageList.join(\",\")\r\n\t\t\t\tlet res = await request({\r\n\t\t\t\t\turl:'/partnerOwn/partner/addGoods',\r\n\t\t\t\t\tmethod: 'post',\r\n\t\t\t\t\tdata : this.releasebox\r\n\t\t\t\t})\r\n\t\t\t\tconsole.log(res);\r\n\t\t\t\tif(res.code == 200){\r\n\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\ttitle:\"发布成功\",\r\n\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t})\r\n\t\t\t\t\tthis.releasebox = {\r\n\t\t\t\t\t\ttitle:'', //标题\r\n\t\t\t\t\t\tgoodsCategoryId:'',//商品分类id\r\n\t\t\t\t\t\tpartnerId:'',//合作商id\r\n\t\t\t\t\t\tprice:'',//价格,单位为:分\r\n\t\t\t\t\t\timage:'',//封面图\r\n\t\t\t\t\t\timageList:[], //商品图片\r\n\t\t\t\t\t\tisListing:'0',//01上架下架\r\n\t\t\t\t\t\tisSpecial:'0',//01是否特价\r\n\t\t\t\t\t\tisAttend:\"0\",//是否参与优惠0不参与1参与\r\n\t\t\t\t\t\tgoodsDesc:'',//详细描述\r\n\t\t\t\t\t\torderNum:'', //排序\r\n\t\t\t\t\t\tskuList:[\r\n\t\t\t\t\t\t\t{skuName:'aj',price:''},\r\n\t\t\t\t\t\t\t{skuName:'hj',price:''},\r\n\t\t\t\t\t\t\t{skuName:'ahj',price:''},\t\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t uni.redirectTo({\r\n\t\t\t\t\t \turl: '/pages/index/index'\r\n\t\t\t\t\t });\r\n\t\t\t\t\t}, 1000);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tgetxz(e){\r\n\t\t\t\tthis.releasebox.goodsCategoryId = e.value[0].id\r\n\t\t\t\tconsole.log( e) \r\n\t\t\t\tthis.ftitle = e.value[0].categoryName\r\n\t\t\t},\r\n\t\t\t// 添加规格\r\n\t\t\tguigeadd(){\r\n\t\t\t\tlet obj = {\r\n\t\t\t\t\tskuname:this.tian.skuname,\r\n\t\t\t\t\tprice:this.tian.price\r\n\t\t\t\t}\r\n\t\t\t\tthis.releasebox.skuList.push(obj)\r\n\t\t\t\t\r\n\t\t\t\tconsole.log(this.releasebox.skuList);\r\n\t\t\t},\r\n\t\t\t// 删除\r\n\t\t\tgetdeletesku(index){\r\n\t\t\t\tthis.releasebox.skuList.splice(index,1)\r\n\t\t\t},\r\n\t\t\tgetone(){\r\n\t\t\t\tthis.one =! this.one\r\n\t\t\t\tif(this.one == false){\r\n\t\t\t\t\tthis.releasebox.isListing = 0\r\n\t\t\t\t}\r\n\t\t\t\tif(this.one == true){\r\n\t\t\t\t\tthis.releasebox.isListing = 1\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tgettwo(){\r\n\t\t\t\tthis.two =! this.two\r\n\t\t\t\tif(this.two == false){\r\n\t\t\t\t\tthis.releasebox.isSpecial = 0\r\n\t\t\t\t}\r\n\t\t\t\tif(this.two == true){\r\n\t\t\t\t\tthis.releasebox.isSpecial = 1\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tgetthree(){\r\n\t\t\t\tthis.three =! this.three\r\n\t\t\t\tif(this.three == false){\r\n\t\t\t\t\tthis.releasebox.isAttend = 0\r\n\t\t\t\t}\r\n\t\t\t\tif(this.three == true){\r\n\t\t\t\t\tthis.releasebox.isAttend = 1\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tgettapindex(index){\r\n\t\t\t\tthis.tapnum = index\r\n\t\t\t},\r\n\t\t\tgetback(){\r\n\t\t\t\tuni.navigateBack()\r\n\t\t\t},\r\n\t\t\tgetyes(){\r\n\t\t\t\tthis.show = false\r\n\t\t\t},\r\n\t\t\topen() {\r\n\t\t\t\t// this.guige = true\r\n\t\t\t console.log('open');\r\n\t\t\t },\r\n\t\t\tclose() {\r\n\t\t\t this.guige = false\r\n\t\t\t // console.log('close');\r\n\t\t\t },\r\n\t\t\t\t// 以下均为图片方法----------------------\r\n\t\t\t\t\t// 删除图片\r\n\t\t\t\t\t\t\tdeletePic(event) {\r\n\t\t\t\t\t\t\t\tthis[`fileList${event.name}`].splice(event.index, 1)\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t// 新增图片\r\n\t\t\t\t\t\t\tasync afterRead(event) {\r\n\t\t\t\t\t\t\t\t// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式\r\n\t\t\t\t\t\t\t\tlet lists = [].concat(event.file)\r\n\t\t\t\t\t\t\t\tlet fileListLen = this[`fileList${event.name}`].length\r\n\t\t\t\t\t\t\t\tlists.map((item) => {\r\n\t\t\t\t\t\t\t\t\tthis[`fileList${event.name}`].push({\r\n\t\t\t\t\t\t\t\t\t\t...item,\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\tfor (let i = 0; i < lists.length; i++) {\r\n\t\t\t\t\t\t\t\t\tconst result = await this.uploadFilePromise(lists[i].url)\r\n\t\t\t\t\t\t\t\t\tlet item = this[`fileList${event.name}`][fileListLen]\r\n\t\t\t\t\t\t\t\t\tthis[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {\r\n\t\t\t\t\t\t\t\t\t\tstatus: 'success',\r\n\t\t\t\t\t\t\t\t\t\tmessage: '',\r\n\t\t\t\t\t\t\t\t\t\turl: result\r\n\t\t\t\t\t\t\t\t\t}))\r\n\t\t\t\t\t\t\t\t\tfileListLen++\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tuploadFilePromise(url) {\r\n\t\t\t\t\t\t\t\tconsole.log(url);\r\n\t\t\t\t\t\t\t\tupload({\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\turl:'/common/upload',\r\n\t\t\t\t\t\t\t\t\tfilePath: url,\t\t\t\t\r\n\t\t\t\t\t\t\t\t}).then((res)=>{\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tconsole.log(res.fileName);\r\n\t\t\t\t\t\t\t\t\tthis.releasebox.imageList.push(res.data.url)\r\n\t\t\t\t\t\t\t\t\tconsole.log(this.releasebox.imageList);\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t// 第二遍\r\n\t\t\t\t\t\t\tdeletePic1(event) {\r\n\t\t\t\t\t\t\t\tthis[`fileList${event.name}`].splice(event.index, 1)\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t// 新增图片\r\n\t\t\t\t\t\t\tasync afterRead1(event) {\r\n\t\t\t\t\t\t\t\t// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式\r\n\t\t\t\t\t\t\t\tlet lists = [].concat(event.file)\r\n\t\t\t\t\t\t\t\tlet fileListLen = this[`fileList${event.name}`].length\r\n\t\t\t\t\t\t\t\tlists.map((item) => {\r\n\t\t\t\t\t\t\t\t\tthis[`fileList${event.name}`].push({\r\n\t\t\t\t\t\t\t\t\t\t...item,\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\tfor (let i = 0; i < lists.length; i++) {\r\n\t\t\t\t\t\t\t\t\tconst result = await this.uploadFilePromise1(lists[i].url)\r\n\t\t\t\t\t\t\t\t\tlet item = this[`fileList${event.name}`][fileListLen]\r\n\t\t\t\t\t\t\t\t\tthis[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {\r\n\t\t\t\t\t\t\t\t\t\tstatus: 'success',\r\n\t\t\t\t\t\t\t\t\t\tmessage: '',\r\n\t\t\t\t\t\t\t\t\t\turl: result\r\n\t\t\t\t\t\t\t\t\t}))\r\n\t\t\t\t\t\t\t\t\tfileListLen++\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tuploadFilePromise1(url) {\r\n\t\t\t\t\t\t\t\tconsole.log(url);\r\n\t\t\t\t\t\t\t\tupload({\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\turl:'/common/upload',\r\n\t\t\t\t\t\t\t\t\tfilePath: url,\t\t\t\t\r\n\t\t\t\t\t\t\t\t}).then((res)=>{\r\n\t\t\t\t\t\t\t\t\tconsole.log('封面图',res.fileName);\r\n\t\t\t\t\t\t\t\t\tthis.releasebox.image = res.data.url\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n\t/deep/uni-view uni-scroll-view uni-swiper-item {\r\n\t\twidth: 100% !important;\r\n\t}\r\n\t.content {\r\n\t\tbox-sizing: border-box;\r\n\t\twidth: 100%;\r\n\t\theight: calc(100vh);\r\n\t\tbackground: white;\r\n\t}\r\n\t\r\n\t.top-heder{\r\n\t\twidth: 100%;\r\n\t\theight: 46px;\r\n\t\tbackground: white;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 5px 15px;\r\n\t}\r\n\t.t-title{\r\n\t\tfont-size: 17px;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #333333;\r\n\t}\r\n\t.t-left{\r\n\t\twidth: 10%;\r\n\t}\r\n\t.t-you{\r\n\t\theight: 100%;\r\n\t\twidth: 20%;\r\n\t}\r\n\t.t-input{\r\n\t\twidth: 80%;\r\n\t\theight: 36px;\r\n\t\tbackground: #F0F0F0;\r\n\t\tborder-radius: 50px;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 0 15px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\t\r\n\t}\r\n\t.top-ail{\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 15px;\r\n\t\tbackground-color: #F4F4F4;\r\n\t\t// height: calc(100vh);\r\n\t}\r\n\t.mub{\r\n\t\tbackground-color: #F4F4F4;\r\n\t\theight: calc(100vh);\r\n\t}\r\n\t.dix{\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\t.upimg{\r\n\t\twidth: 100%;\r\n\t\theight: 126px;\r\n\t\tborder-radius: 8px;\r\n\t\tbox-sizing: border-box;\r\n\t\t\r\n\t\tbackground-color: white;\r\n\t\timage{\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\r\n\t}\r\n\t.box-ltopt{\r\n\t\twidth: 100%;\r\n\t\tborder-radius: 8px;\r\n\t\tbox-sizing: border-box;\r\n\t\t// padding: 10px;\r\n\t\r\n\t\tmargin: 10px auto;\r\n\t}\r\n\t.box-list{\r\n\t\twidth: 100%;\r\n\t\tborder-radius: 8px;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 10px;\r\n\t\tbackground-color: white;\r\n\t\tmargin: 10px auto;\r\n\t}\r\n\t.list-box{\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: space-between;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 15px 5px;\r\n\t\tborder-bottom: 1px solid #EEEEEE;\r\n\t}\r\n\t.l-left{\r\n\t\tfont-size: 16px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #333333;\r\n\t}\r\n\t.l-right{\r\n\t\tfont-size: 16px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #999999;\r\n\t\ttext-align: right;\r\n\t}\r\n\t.xiaolan{\r\n\t\t// width: 109px;\r\n\t\t// height: 30px;\r\n\t\tbackground: #E2EAFF;\r\n\t\tborder-radius: 50px;\r\n\t\tdisplay: flex;\r\n\t\talign-content: center;\r\n\t\tjustify-self: center;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 5px;\r\n\t\tfont-size: 14px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #0D2E8D;\r\n\t}\r\n\t.xiaohui{\r\n\t\t// width: 141px;\r\n\t\t// height: 30px;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 0px 10px;\r\n\t\tbackground: #F7F7F7;\r\n\t\tborder-radius: 50px ;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tmargin: 10px ;\r\n\t\r\n\t}\r\n\t.hui-right{\r\n\t\tborder-left:1px solid #DDDDDD;\r\n\t\tpadding: 5px;\r\n\t\tmargin-left: 5px;\r\n\t}\r\n\t.wrap-box{\r\n\t\twidth: 100%;\r\n\t\tbox-sizing: border-box;\r\n\t\tdisplay: flex;\r\n\t\tflex-wrap: wrap;\r\n\t}\r\n\t.bottom-di{\r\n\t\twidth: 100%;\r\n\t\theight: 56px;\r\n\t\tbackground: #FFFFFF;\r\n\t\tborder-radius: 8px;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 0px 20px;\r\n\t\tmargin-bottom: 10px;\r\n\t}\r\n\t.thui{\r\n\t\tfont-size: 16px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #666666;\r\n\t\tmargin-top: 10px;\r\n\t\tmargin-left: 8px;\r\n\t}\r\n\t.imgs{\r\n\t\tbox-sizing: border-box;\r\n\t\tmargin-top: 20px;\r\n\t}\r\n\t.p-box{\r\n\t\tborder-radius: 10px;\r\n\t\toverflow: hidden;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 20px;\r\n\t\twidth: 100%;\r\n\t\tbackground-color: white;\r\n\t}\r\n\t.p-top{\r\n\t\twidth: 100%;\r\n\t\ttext-align: center;\r\n\t\tfont-size: 17px;\r\n\t\tfont-weight: bold;\r\n\t\tcolor: #000000;\r\n\t\tmargin-bottom: 20px;\r\n\t}\r\n\t.on-input{\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tbox-sizing: border-box;\r\n\t\r\n\t}\r\n\t.ipt-kuang{\r\n\t\twidth: 70%;\r\n\t\theight: 30px;\r\n\t\tbackground: #FFFFFF;\r\n\t\tborder-radius: 8px 8px 8px 8px;\r\n\t\topacity: 1;\r\n\t\tborder: 1px solid #DDDDDD;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tmargin: 10px auto;\r\n\t\tbox-sizing: border-box;\r\n\t\tpadding: 0px 10px;\r\n\t}\r\n\t.t-left{\r\n\t\twidth: 20%;\r\n\t\tfont-size: 14px;\r\n\t\tfont-weight: 400;\r\n\t\tcolor: #000000;\r\n\t}\r\n\t.dlanniu{\r\n\t\twidth: 80%;\r\n\t\theight: 45px;\r\n\t\tbackground: linear-gradient(180deg, #3F61C0 0%, #0D2E8D 100%);\r\n\t\tborder-radius: 50px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tmargin: 20px auto;\r\n\t\tcolor: white;\r\n\t}\r\n\t.da{\r\n\t\tfont-size: 16px;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=style&index=0&id=0766b1d4&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../software/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./release.vue?vue&type=style&index=0&id=0766b1d4&scoped=true&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1728093146025\n var cssReload = require(\"D:/software/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":""} |