1 line
56 KiB
JavaScript
1 line
56 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_release-index"],{"06e1":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5c47"),i("0506");var n=a(i("2634")),o=a(i("2fdc")),c=a(i("9b1b")),s=a(i("1ab3")),r=i("02aa"),d=i("672a"),u=i("8f59"),l=i("96e0"),f=a(i("283c")),h={props:{isCommuity:{type:Boolean,default:!1}},mixins:[s.default],components:{Verify:f.default},data:function(){return{phone:"",captcha:"",key:"",codeVal:"",popup:{show:!1}}},computed:(0,c.default)((0,c.default)({},(0,u.mapGetters)(["isLogin","viewColor"])),(0,l.configMap)(["wechat_phone_switch"])),onLoad:function(){},methods:{closePopup:function(){this.$emit("close")},editPwd:function(){var t=this;return t.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(t.phone)?t.captcha?void(0,r.bindingPhone)({phone:t.phone,sms_code:t.captcha}).then((function(e){return void 0!==e.data&&e.data.is_bind?uni.showModal({title:"是否绑定手机号",content:e.message,confirmText:"绑定",success:function(e){if(e.confirm)(0,r.bindingPhone)({phone:t.phone,captcha:t.captcha,step:1}).then((function(e){return t.$emit("close"),t.$util.Tips({title:e.message,icon:"success"})})).catch((function(e){return t.$util.Tips({title:e})}));else if(e.cancel)return t.$util.Tips({title:"您已取消绑定!"},{tab:5,url:"/pages/users/user_info/index"})}}):t.$emit("close"),t.$util.Tips({title:"绑定成功!",icon:"success"})})).catch((function(e){return t.$util.Tips({title:e})})):t.$util.Tips({title:"请填写验证码"}):t.$util.Tips({title:"请输入正确的手机号码!"}):t.$util.Tips({title:"请输入手机号码!"})},code:function(t){var e=this;return(0,o.default)((0,n.default)().mark((function i(){var a;return(0,n.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(a=e,a.phone){i.next=3;break}return i.abrupt("return",a.$util.Tips({title:"请填写手机号码!"}));case 3:if(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(a.phone)){i.next=5;break}return i.abrupt("return",a.$util.Tips({title:"请输入正确的手机号码!"}));case 5:return e.disabled=!0,i.next=8,(0,d.registerVerify)({phone:a.phone,key:a.key,code:a.captcha,type:"binding",captchaType:"blockPuzzle",captchaVerification:t.captchaVerification}).then((function(t){e.disabled=!1,a.$util.Tips({title:t.message}),a.sendCode()})).catch((function(t){return e.disabled=!1,a.$util.Tips({title:t})}));case 8:case"end":return i.stop()}}),i)})))()},success:function(t){this.$refs.verify.hide(),this.code(t)},handleVerify:function(){return this.phone?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.phone)?void this.$refs.verify.show():this.$util.Tips({title:"请输入正确的手机号码!"}):this.$util.Tips({title:"请填写手机号码!"})}}};e.default=h},"1ab3":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{disabled:!1,text:"获取验证码"}},methods:{sendCode:function(){var t=this;if(!this.disabled){this.disabled=!0;var e=60;this.text="剩余 "+e+"s";var i=setInterval((function(){e-=1,e<0&&clearInterval(i),t.text="剩余 "+e+"s",t.text<"剩余 0s"&&(t.disabled=!1,t.text="重新获取")}),1e3)}}}};e.default=a},"1d8c":function(t,e,i){var a=i("53307");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("2d9e0f28",a,!0,{sourceMap:!1,shadowMode:!1})},"204b":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.productSort[data-v-5f703dc9]{display:flex;flex-direction:column;width:100%;height:70vh;background:#fff;border-radius:%?16?% %?16?% 0 0}.productSort .title[data-v-5f703dc9]{text-align:center;padding:%?40?% 0;position:relative;color:#333;font-size:%?34?%;font-weight:700}.productSort .title .iconfont[data-v-5f703dc9]{color:#8a8a8a;font-size:%?28?%;position:absolute;right:%?30?%;top:%?42?%;font-weight:400}.productSort .con-box[data-v-5f703dc9]{flex:1;display:flex;overflow:hidden}.productSort .aside[data-v-5f703dc9]{overflow-y:auto;overflow-x:hidden;border-right:1px solid #eee;width:%?202?%;height:100%;overflow:hidden}.productSort .aside .item[data-v-5f703dc9]{line-height:%?100?%;width:100%;font-size:%?26?%;color:#666}.productSort .aside .item_text[data-v-5f703dc9]{padding-left:%?20?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.productSort .aside .item.on[data-v-5f703dc9]{width:100%;text-align:center;font-weight:700;color:#333}.productSort .conter[data-v-5f703dc9]{flex:1;height:100%;padding:0 %?30?%;background-color:#fff;margin-top:%?20?%}.productSort .conter .list[data-v-5f703dc9]{flex-wrap:wrap}.productSort .conter .list .item[data-v-5f703dc9]{margin-top:%?26?%;margin-bottom:%?40?%;align-items:center}.productSort .conter .list .item .picture[data-v-5f703dc9]{width:%?88?%;height:%?88?%;border-radius:100%;position:relative}.productSort .conter .list .item .picture.iconjing[data-v-5f703dc9]::before{content:"#";display:block;width:%?88?%;height:%?88?%;line-height:%?88?%;border-radius:100%;color:#fff;font-size:%?40?%;text-align:center;position:absolute;top:0;left:0;background:rgba(0,0,0,.3)}.productSort .conter .listw:first-child .picture[data-v-5f703dc9]::before{content:"\\\\";background:#d8d8d8}.productSort .conter .list .item .picture uni-image[data-v-5f703dc9]{width:100%;height:100%;border-radius:100%}.productSort .conter .list .name[data-v-5f703dc9]{margin-left:%?30?%;font-size:%?28?%;color:#282828;font-weight:700;max-width:%?300?%}',""]),t.exports=e},"259a":function(t,e){t.exports="data:image/png;base64,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"},"286e":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.containers[data-v-78bcc23f]{background:#fff;border-radius:%?16?% %?16?% 0 0;padding:%?40?% 0;position:relative}.containers .header[data-v-78bcc23f]{position:relative;padding:0 %?30?%}.containers .header .title[data-v-78bcc23f]{width:100%;text-align:center}.containers .header .title uni-text[data-v-78bcc23f]{position:relative;margin:0 %?50?%;color:#999;font-size:%?30?%}.containers .header .title uni-text.on[data-v-78bcc23f]{color:#333;font-weight:700;font-size:%?34?%}.containers .header .title uni-text.on[data-v-78bcc23f]::after{content:"";display:inline-block;width:%?40?%;height:%?5?%;background:var(--view-theme);position:absolute;bottom:%?-10?%;left:%?10?%}.containers .header .search[data-v-78bcc23f]{margin-top:%?44?%;background:#f5f5f5;border-radius:%?30?%;padding:%?12?% %?30?% %?12?% %?66?%;position:relative}.containers .header .search .iconfont[data-v-78bcc23f]{font-size:%?24?%;color:#939393;position:absolute;top:%?20?%;left:%?30?%}.containers .header .search .placeholder[data-v-78bcc23f]{color:#999;font-size:%?26?%}.containers .header .sub_title[data-v-78bcc23f]{color:#282828;font-size:%?26?%;margin-top:%?30?%}.containers .header .iconfont[data-v-78bcc23f]{color:#8a8a8a;font-size:%?28?%;position:absolute;top:0;right:%?30?%}.containers uni-scroll-view[data-v-78bcc23f]{height:%?650?%}.containers .main[data-v-78bcc23f]{height:%?650?%;margin:%?40?% 0 %?80?%;padding:0 %?30?%}.picTxt[data-v-78bcc23f]{width:100%;padding:%?25?% 0;position:relative;align-items:center;justify-content:space-between;margin-bottom:%?10?%}.picTxt .checkbox[data-v-78bcc23f]{margin-right:%?30?%}.picTxt .checkbox .iconfont[data-v-78bcc23f]{font-size:%?38?%;color:#ccc}.picTxt .checkbox .icon-xuanzhong1[data-v-78bcc23f]{color:var(--view-theme)}.picTxt .checkbox .disabled[data-v-78bcc23f]{pointer-events:none;cursor:default;opacity:.3}.picTxt .pictrue[data-v-78bcc23f]{width:%?160?%;height:%?160?%}.picTxt .pictrue uni-image[data-v-78bcc23f]{width:100%;height:100%;border-radius:%?8?%}.picTxt .text[data-v-78bcc23f]{width:%?430?%;margin-left:%?30?%;font-size:%?28?%;color:#282828;position:relative;height:%?160?%}.picTxt .text .name[data-v-78bcc23f]{color:#282828;font-size:%?28?%}.picTxt .text .money[data-v-78bcc23f]{position:absolute;bottom:0;left:0;color:var(--view-priceColor);font-size:%?22?%;font-weight:700}.picTxt .text .money uni-text[data-v-78bcc23f]{font-size:%?26?%}.foot_bar[data-v-78bcc23f]{width:100%;position:fixed;bottom:0;left:0;background:#fff;padding:%?20?% 0;z-index:5}.foot_bar .confirm_btn[data-v-78bcc23f]{width:%?710?%;height:%?86?%;line-height:%?86?%;color:#fff;text-align:center;font-size:%?32?%;background:var(--view-theme);border-radius:%?43?%;margin:0 auto}.empty[data-v-78bcc23f]{margin:%?130?% 0 %?150?%;text-align:center}.empty uni-image[data-v-78bcc23f], .empty uni-image[data-v-78bcc23f]{display:inline-block;width:%?414?%;height:%?305?%}.empty uni-text[data-v-78bcc23f]{display:block;color:#999;font-size:%?26?%}',""]),t.exports=e},"2b82":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"containers",style:t.viewColor},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",{class:0==t.isActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabs(0)}}},[t._v("已购")]),i("v-uni-text",{class:1==t.isActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabs(1)}}},[t._v("收藏")]),i("v-uni-text",{class:2==t.isActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabs(2)}}},[t._v("浏览")])],1),i("v-uni-view",{staticClass:"search"},[i("v-uni-text",{staticClass:"iconfont icon-xiazai5"}),i("v-uni-input",{attrs:{type:"text",placeholder:"请输入商品名称","confirm-type":"search","placeholder-class":"placeholder"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.setValue.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.searchBut()}},model:{value:t.searchVal,callback:function(e){t.searchVal=e},expression:"searchVal"}})],1),i("v-uni-view",{staticClass:"sub_title"},[t._v(t._s(0==t.isActive?"已购宝贝":1==t.isActive?"收藏宝贝":"浏览记录"))]),i("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"main"},[i("v-uni-scroll-view",{attrs:{"scroll-y":"true"}},[0==t.isActive?[t.bought.length?i("v-uni-view",{attrs:{id:"goods"},on:{touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchmove.apply(void 0,arguments)}}},t._l(t.bought,(function(e,a){return i("v-uni-view",{key:a,staticClass:"picTxt acea-row"},[i("v-uni-view",{staticClass:"checkbox"},[e.check?i("v-uni-text",{staticClass:"iconfont icon-xuanzhong1",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e,a)}}}):i("v-uni-text",{staticClass:"iconfont icon-weixuanzhong",class:{disabled:t.disabled},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e,a)}}})],1),i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line2 name"},[t._v(t._s(e.store_name))]),i("v-uni-view",{staticClass:"money"},[t._v("¥"),i("v-uni-text",[t._v(t._s(e.price))])],1)],1)],1)})),1):i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/no_thing.png"}}),i("v-uni-text",[t._v("暂无内容哦~")])],1)]:t._e(),1==t.isActive?[t.collect.length?i("v-uni-view",{attrs:{id:"collect"},on:{touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchmove1.apply(void 0,arguments)}}},t._l(t.collect,(function(e,a){return i("v-uni-view",{key:a,staticClass:"picTxt acea-row"},[i("v-uni-view",{staticClass:"checkbox"},[e.check?i("v-uni-text",{staticClass:"iconfont icon-xuanzhong1",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e,a)}}}):i("v-uni-text",{staticClass:"iconfont icon-weixuanzhong",class:{disabled:t.disabled},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e,a)}}})],1),i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line2 name"},[t._v(t._s(e.store_name))]),i("v-uni-view",{staticClass:"money"},[t._v("¥"),i("v-uni-text",[t._v(t._s(e.price))])],1)],1)],1)})),1):i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/no_thing.png"}}),i("v-uni-text",[t._v("暂无内容哦~")])],1)]:t._e(),2==t.isActive?[t.browse.length?i("v-uni-view",{attrs:{id:"browse"},on:{touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchmove2.apply(void 0,arguments)}}},t._l(t.browse,(function(e,a){return i("v-uni-view",{key:a,staticClass:"picTxt acea-row"},[i("v-uni-view",{staticClass:"checkbox"},[e.check?i("v-uni-text",{staticClass:"iconfont icon-xuanzhong1",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e,a)}}}):i("v-uni-text",{staticClass:"iconfont icon-weixuanzhong",class:{disabled:t.disabled},on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e,a)}}})],1),i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line2 name"},[t._v(t._s(e.store_name))]),i("v-uni-view",{staticClass:"money"},[t._v("¥"),i("v-uni-text",[t._v(t._s(e.price))])],1)],1)],1)})),1):i("v-uni-view",{staticClass:"empty"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/no_thing.png"}}),i("v-uni-text",[t._v("暂无内容哦~")])],1)]:t._e()],2),i("v-uni-view",{staticClass:"foot_bar"},[i("v-uni-button",{staticClass:"confirm_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[t._v("确定("+t._s(t.checkedArr.length)+")")])],1)],1)],1)},n=[]},"2d6a":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"container"},[i("v-uni-view",{staticClass:"header"},[i("v-uni-text",{staticClass:"title"},[t._v("绑定手机号")]),i("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"main_counts"},[i("v-uni-form",{attrs:{"report-submit":"true"}},[i("v-uni-view",{staticClass:"ChangePassword"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-input",{attrs:{type:"number",placeholder:"输入手机号码","placeholder-class":"placeholder"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-input",{staticClass:"codeIput",attrs:{type:"number",placeholder:"输入验证码","placeholder-class":"placeholder"},model:{value:t.captcha,callback:function(e){t.captcha=e},expression:"captcha"}}),i("v-uni-button",{staticClass:"code",class:!0===t.disabled?"on":"",attrs:{disabled:t.disabled},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleVerify.apply(void 0,arguments)}}},[t._v(t._s(t.text))])],1)],1),i("v-uni-button",{staticClass:"confirmBnt",attrs:{"form-type":"submit"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.editPwd.apply(void 0,arguments)}}},[t._v("确认绑定")])],1)],1)],1)],1),i("Verify",{ref:"verify",attrs:{captchaType:"blockPuzzle",imgSize:{width:"330px",height:"155px"}},on:{success:function(e){arguments[0]=e=t.$handleEvent(e),t.success.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.popup.show},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closePopup.apply(void 0,arguments)}}})],1)},n=[]},"2ec5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"3fac":function(t,e,i){"use strict";i.r(e);var a=i("e637"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"422e":function(t,e,i){"use strict";var a=i("a447"),n=i.n(a);n.a},"440c":function(t,e,i){"use strict";var a=i("ee6d"),n=i.n(a);n.a},53307:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-64035da5]{background:#f5f5f5}body.?%PAGE?%[data-v-64035da5]{background:#f5f5f5}.crop_btn[data-v-64035da5]{line-height:%?90?%;height:%?90?%;height:calc(90rpx+ constant(safe-area-inset-bottom));height:calc(%?90?% + env(safe-area-inset-bottom))}.container[data-v-64035da5]{position:fixed;top:0;left:0;z-index:20;width:%?750?%;height:100vh}.release_content[data-v-64035da5]{margin:%?30?% %?20?% 0}.release_content .release_tab[data-v-64035da5]{border-radius:%?16?% %?16?% 0 0;border-bottom:%?1?% solid #e4e4e4;background:#fff;align-items:center;justify-content:center;height:%?86?%}.release_content .release_tab .tab_item[data-v-64035da5]{margin:0 %?40?%;font-size:%?32?%;color:#999;position:relative;line-height:%?86?%;cursor:pointer}.release_content .release_tab .tab_item.on[data-v-64035da5]{color:#e93323}.release_content .release_tab .tab_item.on[data-v-64035da5]::after{content:"";display:inline-block;width:100%;height:%?3?%;background:#e93323;position:absolute;bottom:%?2?%;left:0}.release_content .release_tab .tab_item .iconfont[data-v-64035da5]{margin-right:%?10?%;font-size:%?32?%}.release_content .release_item[data-v-64035da5]{background:#fff;padding:0 %?30?%;border-radius:%?10?%}.release_content .photo_count[data-v-64035da5]{padding:%?30?% 0}[data-v-64035da5] .input_photo .easy-loadimage,[data-v-64035da5] .input_photo uni-image,[data-v-64035da5] .input_photo uni-image{width:%?202?%;height:%?202?%;border-radius:%?12?%!important}.input_photo .pictrue[data-v-64035da5]{width:%?202?%;height:%?202?%;border-radius:%?12?%!important;margin-right:%?20?%;position:relative;overflow:hidden}.input_photo .pictrue[data-v-64035da5]:nth-child(3n){margin-right:0}.input_photo .pictrue .close_btn[data-v-64035da5]{width:%?30?%;height:%?30?%;background:rgba(0,0,0,.6);border-radius:0 %?12?% 0 %?12?%;position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;z-index:10}.input_photo .pictrue .close_btn .iconfont[data-v-64035da5]{color:#fff;font-size:%?12?%}.input_photo .pictrue .cover_text[data-v-64035da5]{display:flex;width:%?58?%;height:%?29?%;background:#e93323;border-radius:0 %?12?% 0 %?12?%;position:absolute;left:0;bottom:0;z-index:10;align-items:center;justify-content:center;font-size:%?18?%;color:#fff}[data-v-64035da5] .loading-img{width:%?180?%;height:%?180?%;border-radius:%?12?%}.input_photo .pictrue[data-v-64035da5]{margin-bottom:%?20?%}.input_photo .pictrue .videoHover[data-v-64035da5]{width:%?204?%;height:%?204?%;display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0}.input_photo .pictrue .videoHover > uni-view[data-v-64035da5]{width:%?50?%;height:%?50?%;background:#000;border-radius:%?50?%;display:flex;align-items:center;justify-content:center}.input_photo .pictrue .videoHover > uni-view .iconfont[data-v-64035da5]{color:#fff;font-size:%?21?%}.input_photo .pictrue .video-text[data-v-64035da5]{display:block;width:%?180?%;text-align:center;color:#fff;font-size:%?18?%;z-index:13;position:absolute;bottom:%?20?%}.input_photo .pictrue uni-video[data-v-64035da5]{width:%?180?%;height:%?180?%;border-radius:%?12?%}.input_photo .add[data-v-64035da5]{background:#f6f6f6;color:#666}.input_photo .add .iconfont[data-v-64035da5]{font-size:%?50?%}.input_photo .add .text[data-v-64035da5]{margin-top:%?20?%;font-size:%?27?%}.textarea uni-textarea[data-v-64035da5]{font-size:%?28?%;padding-bottom:%?38?%;width:100%;box-sizing:border-box;height:%?400?%;overflow:hidden}.textarea .placeholder[data-v-64035da5]{color:#bbb}.release_item .item[data-v-64035da5]{height:%?106?%;border-bottom:%?1?% solid #eee;position:relative;font-size:%?30?%}.release_item .item[data-v-64035da5]:last-child{border-bottom:none}.release_item .item .name[data-v-64035da5]{color:#333}.release_item .item .name .iconfont[data-v-64035da5]{margin-right:%?10?%;font-size:%?28?%}.release_item .item .select[data-v-64035da5]{color:#bbb}.release_item .item .select .select_count[data-v-64035da5]{display:flex;align-items:center}.release_item .item .select .text[data-v-64035da5]{margin-right:%?15?%;display:flex;align-items:center}.release_item .item .select .text .image[data-v-64035da5], .release_item .item .select .text uni-image[data-v-64035da5], .release_item .item .select .text uni-image[data-v-64035da5]{width:%?60?%;height:%?60?%;margin-right:%?5?%}.release_item .item .select .iconfont[data-v-64035da5]{font-size:%?24?%}.release_item .item .select .text_name[data-v-64035da5]{color:var(--view-theme);padding:%?5?% %?12?%;background:var(--view-minorColor);border-radius:%?23?%;font-size:%?24?%;margin-right:%?10?%}.release_item .item .select .text_name .icon[data-v-64035da5]{color:var(--view-theme);font-weight:700;font-size:%?24?%}.release_item .item .select .text_name .title[data-v-64035da5]{margin:0 %?10?%}.release_item .item .select .text_name .iconfont[data-v-64035da5]{font-size:%?16?%}.button[data-v-64035da5]{width:%?710?%;height:%?86?%;line-height:%?86?%;color:#fff;text-align:center;font-size:%?32?%;background:var(--view-theme);border-radius:%?43?%}.release_btn[data-v-64035da5]{margin:0 auto;position:fixed;bottom:%?40?%;left:0;z-index:80;left:%?20?%}.video-count[data-v-64035da5]{position:fixed;width:%?600?%;height:%?500?%;top:50%;left:50%;margin-left:%?-300?%;margin-top:%?-250?%;z-index:90;display:flex;align-items:center;justify-content:center}.video-count .videoLink[data-v-64035da5]{width:%?600?%;height:%?500?%}.mask[data-v-64035da5]{z-index:80}',""]),t.exports=e},"571d":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.container[data-v-2b4be284]{background-color:#fff;border-radius:%?16?% %?16?% 0 0;position:relative;padding-bottom:%?30?%}.container .header[data-v-2b4be284]{position:relative;padding:%?40?% %?30?%;text-align:center}.container .header .title[data-v-2b4be284]{color:#282828;font-size:%?32?%}.container .header .iconfont[data-v-2b4be284]{color:#8a8a8a;font-size:%?28?%;position:absolute;top:0;right:0}.container .header .icon-guanbi5[data-v-2b4be284]{right:%?20?%;color:#8a8a8a;font-size:%?30?%;line-height:%?30?%;top:%?20?%;background-color:initial;font-weight:400}.ChangePassword[data-v-2b4be284]{padding:0 %?30?% %?100?%}.ChangePassword .phone[data-v-2b4be284]{font-size:%?32?%;font-weight:700;text-align:center;margin-top:%?55?%}.ChangePassword .list .item[data-v-2b4be284]{height:%?86?%;margin-bottom:%?30?%;flex-direction:row}.ChangePassword .list .item uni-input[data-v-2b4be284]{height:100%;font-size:%?32?%;border:1px solid #dcdcdc;border-radius:%?43?%;padding:0 %?40?%}.ChangePassword .list .item .placeholder[data-v-2b4be284]{color:#b9b9bc}.ChangePassword .list .item uni-input.codeIput[data-v-2b4be284]{max-width:%?400?%}.ChangePassword .list .item .code[data-v-2b4be284]{font-size:%?28?%;background-color:var(--view-minorColor);color:var(--view-theme);width:%?230?%;height:%?86?%;border-radius:%?43?%;display:flex;align-items:center;justify-content:center}.ChangePassword .list .item .code.on[data-v-2b4be284]{color:#b9b9bc}.ChangePassword .confirmBnt[data-v-2b4be284]{font-size:%?32?%;width:%?580?%;height:%?90?%;border-radius:%?45?%;color:#fff;margin:%?60?% auto 0 auto;text-align:center;line-height:%?90?%;background-color:var(--view-theme)}.getPhoneBtn[data-v-2b4be284]{font-size:%?32?%;width:%?580?%;height:%?90?%;border-radius:%?45?%;border:1px solid #3cb625;color:#3cb625;margin:%?40?% auto 0 auto;text-align:center;line-height:%?90?%}.getPhoneBtn .iconfont[data-v-2b4be284]{font-size:%?32?%;margin-right:%?12?%}[data-v-2b4be284] .verifybox{top:auto!important}',""]),t.exports=e},"5e73":function(t,e,i){"use strict";var a=i("1d8c"),n=i.n(a);n.a},6641:function(t,e,i){"use strict";i.r(e);var a=i("06e1"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"6d20":function(t,e,i){"use strict";var a=i("8ba0"),n=i.n(a);n.a},"6fbe":function(t,e,i){"use strict";i.r(e);var a=i("2d6a"),n=i("6641");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("71de");var c=i("828b"),s=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"2b4be284",null,!1,a["a"],void 0);e["default"]=s.exports},"71de":function(t,e,i){"use strict";var a=i("7b68"),n=i.n(a);n.a},"7b68":function(t,e,i){var a=i("571d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("18f31f19",a,!0,{sourceMap:!1,shadowMode:!1})},"85aa":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,".Loads[data-v-6be7644b]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-6be7644b]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-6be7644b{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-6be7644b{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-6be7644b]{-webkit-animation:load-data-v-6be7644b 3s linear 1s infinite;animation:load-data-v-6be7644b 3s linear 1s infinite}.loading[data-v-6be7644b]{-webkit-animation:load-data-v-6be7644b linear 1s infinite;animation:load-data-v-6be7644b linear 1s infinite}",""]),t.exports=e},"8ba0":function(t,e,i){var a=i("286e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("938f1c02",a,!0,{sourceMap:!1,shadowMode:!1})},"9c1d":function(t,e,i){"use strict";i.r(e);var a=i("c80a"),n=i("c2fc");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("422e");var c=i("828b"),s=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"5f703dc9",null,!1,a["a"],void 0);e["default"]=s.exports},a447:function(t,e,i){var a=i("204b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("4a96f9a8",a,!0,{sourceMap:!1,shadowMode:!1})},ab9a:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var n=a(i("b7c7")),o=i("edc0b"),c=(getApp(),{data:function(){return{navlist:[],productList:[],navActive:0,childList:[]}},watch:{},mounted:function(){this.productList.length||this.getAllCategory()},methods:{close:function(){this.$emit("close")},tap:function(t,e){this.navActive=t,this.childList=this.productList[t].children},getAllCategory:function(){var t=this;(0,o.getTopicList)().then((function(e){var i=[{category_id:"",count_use:0,count_view:0,pic:null,topic_id:"",topic_name:"不添加任何话题"}];t.productList=e.data,t.productList[0].children&&t.productList[0].children.length>0?t.productList[0].children=[].concat(i,(0,n.default)(t.productList[0].children)):t.productList[0].children=i,t.childList=t.productList[0].children}))},confirmTopic:function(t){this.$emit("getTopic",t)}}});e.default=c},af69:function(t,e,i){"use strict";i.r(e);var a=i("f69f"),n=i("c216");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("440c");var c=i("828b"),s=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"6be7644b",null,!1,a["a"],void 0);e["default"]=s.exports},ba71:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=a},c216:function(t,e,i){"use strict";i.r(e);var a=i("ba71"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},c2fc:function(t,e,i){"use strict";i.r(e);var a=i("ab9a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},c80a:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"productSort"},[i("v-uni-view",{staticClass:"title"},[t._v("参与话题"),i("v-uni-text",{staticClass:"iconfont icon-guanbi5",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"con-box"},[i("v-uni-view",{staticClass:"aside"},[i("v-uni-scroll-view",{staticStyle:{height:"100%",overflow:"hidden"},attrs:{"scroll-y":"true"}},t._l(t.productList,(function(e,a){return i("v-uni-view",{key:e.category_id},[i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.children&&e.children.length>0,expression:"item.children && item.children.length > 0"}],staticClass:"item acea-row row-center-wrapper",class:a==t.navActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tap(a,"b"+a)}}},[i("v-uni-text",{staticClass:"item_text"},[t._v(t._s(e.cate_name))])],1)],1)})),1)],1),i("v-uni-view",{staticClass:"conter"},[i("v-uni-scroll-view",{staticStyle:{height:"100%",overflow:"hidden"},attrs:{"scroll-y":"true"}},t._l(t.childList,(function(e,a){return i("v-uni-view",{key:e.topic_id},[i("v-uni-view",{staticClass:"list",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.confirmTopic(e)}}},[i("v-uni-view",{staticClass:"item acea-row"},[i("v-uni-view",{staticClass:"picture",class:{iconjing:!e.pic}},[i("v-uni-image",{attrs:{src:e.pic}})],1),i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.topic_name))])],1)],1)],1)})),1)],1)],1)],1)},n=[]},c83a:function(t,e,i){"use strict";i.r(e);var a=i("f94a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},cc26:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={easyLoadimage:i("23ab").default,uniPopup:i("8d5d").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{style:t.viewColor},[a("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"release_content"},[a("v-uni-view",[a("v-uni-view",{staticClass:"release_item"},[a("v-uni-view",{staticClass:"photo_count"},[a("v-uni-view",{staticClass:"input_photo acea-row row-middle"},[2==t.tabLength||3==t.tabLength?[t.formData.video_link?a("v-uni-view",{staticClass:"pictrue"},[a("v-uni-image",{staticClass:"video-bg",attrs:{mode:"widthFix",src:i("259a")}}),a("v-uni-view",{staticClass:"videoHover",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.videoshow.apply(void 0,arguments)}}},[a("v-uni-view",[a("v-uni-text",{staticClass:"iconfont icon-24gf-play"})],1)],1),a("v-uni-text",{staticClass:"video-text"},[t._v("点击可预览视频")]),a("v-uni-view",{staticClass:"close_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deleteLink.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-guanbi4"})],1)],1):!t.formData.video_link&&t.formData.image.length<=1?a("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column add",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadVideo.apply(void 0,arguments)}}},[a("v-uni-view",[a("v-uni-text",{staticClass:"iconfont icon-tianjiashipin"})],1),a("v-uni-view",{staticClass:"text"},[t._v("添加视频")])],1):t._e(),3==t.tabLength&&t.formData.video_link||2==t.tabLength?[t.formData.image.length<1?a("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column add",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clk(1)}}},[a("v-uni-view",[a("v-uni-text",{staticClass:"iconfont icon-fengmian"})],1),a("v-uni-view",{staticClass:"text"},[t._v("添加图片")])],1):t._e()]:t._e()]:t._e(),t._l(t.formData.image,(function(e,i){return a("v-uni-view",{key:i,staticClass:"pictrue"},[a("easy-loadimage",{attrs:{mode:"widthFix","image-src":e}}),0==i?a("v-uni-text",{staticClass:"cover_text"},[t._v("封面")]):t._e(),a("v-uni-view",{staticClass:"close_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.DelPic(i)}}},[a("v-uni-text",{staticClass:"iconfont icon-guanbi4"})],1)],1)})),1==t.tabLength&&!t.formData.video_link||3==t.tabLength&&!t.formData.video_link?[t.formData.image.length<9?a("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column add",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.clk(9)}}},[a("v-uni-view",[a("v-uni-text",{staticClass:"iconfont icon-icon25201"})],1),a("v-uni-view",{staticClass:"text"},[t._v("添加图片")])],1):t._e()]:t._e()],2)],1),a("v-uni-view",{staticClass:"textarea"},[a("v-uni-textarea",{attrs:{placeholder:"分享使用体验和心得,获得更多点赞和关注哦~(1000字以内)",name:"comment","placeholder-class":"placeholder",maxlength:"1000"},model:{value:t.formData.content,callback:function(e){t.$set(t.formData,"content",e)},expression:"formData.content"}})],1)],1),a("v-uni-view",{staticClass:"release_item"},[a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[a("v-uni-text",{staticClass:"iconfont icon-baobeilianjie"}),t._v("添加宝贝("+t._s(t.productList.length)+")")],1),a("v-uni-view",{staticClass:"select"},[a("v-uni-view",{staticClass:"select_count",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.addProduct.apply(void 0,arguments)}}},[0==t.productList.length?a("v-uni-text",{staticClass:"text"},[t._v("选择商品")]):a("v-uni-view",{staticClass:"text"},t._l(t.productList,(function(t,e){return a("v-uni-image",{key:e,staticClass:"image",attrs:{src:t.image||t.spu&&t.spu.image}})})),1),a("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1)],1)],1),a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"name"},[a("v-uni-text",{staticClass:"iconfont icon-canyuhuati"}),t._v("参与话题")],1),a("v-uni-view",{staticClass:"select"},[a("v-uni-view",{staticClass:"select_count",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addTopic.apply(void 0,arguments)}}},[t.topicName.topic_name?a("v-uni-text",{staticClass:"text_name",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.deleteTopic.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"icon"},[t._v("#")]),a("v-uni-text",{staticClass:"title"},[t._v(t._s(t.topicName.topic_name))]),a("v-uni-text",{staticClass:"iconfont icon-guanbi5"})],1):a("v-uni-text",{staticClass:"text"},[t._v("选择话题")]),a("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1)],1)],1)],1)],1),a("v-uni-button",{staticClass:"release_btn button",attrs:{"form-type":"submit"}},[t._v("发布")])],1)],1),t.showVideo?a("v-uni-view",{staticClass:"video-count"},[a("v-uni-video",{staticClass:"videoLink",attrs:{id:"myVideo",autoplay:!0,loop:!0,src:t.formData.video_link}})],1):t._e(),a("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.showVideo},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showVideo=!1}}}),a("avatar",{ref:"avatar",attrs:{quality:"1",selWidth:"250upx",selHeight:"250upx"},on:{upload:function(e){arguments[0]=e=t.$handleEvent(e),t.doUpload.apply(void 0,arguments)},getName:function(e){arguments[0]=e=t.$handleEvent(e),t.getImgName.apply(void 0,arguments)}}}),a("uni-popup",{ref:"associated",attrs:{type:"bottom"}},[a("associated",{attrs:{checkedObj:t.productList},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},getProduct:function(e){arguments[0]=e=t.$handleEvent(e),t.getProduct.apply(void 0,arguments)}}})],1),a("uni-popup",{ref:"participateTopic",attrs:{type:"bottom"}},[a("participate-topic",{on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)},getTopic:function(e){arguments[0]=e=t.$handleEvent(e),t.getTopic.apply(void 0,arguments)}}})],1),a("uni-popup",{ref:"bindmobile",attrs:{type:"bottom"}},[a("bindmobile",{attrs:{isCommuity:!0},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closepoup.apply(void 0,arguments)}}})],1)],1)},o=[]},d4d6:function(t,e,i){"use strict";i.r(e);var a=i("cc26"),n=i("3fac");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("5e73");var c=i("828b"),s=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"64035da5",null,!1,a["a"],void 0);e["default"]=s.exports},e637:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("fd3c"),i("aa9c"),i("c223"),i("dd2b");var n=a(i("b7c7")),o=a(i("9b1b")),c=a(i("39d8")),s=i("8f59"),r=a(i("9706")),d=a(i("f2d2")),u=a(i("9c1d")),l=a(i("6fbe")),f=i("aa10"),h=i("e44d"),p=i("edc0b"),v=i("672a"),m=i("c25d"),g=a(i("23ab")),b=i("96e0"),w=a(i("eaf5")),_={components:{avatar:r.default,associated:d.default,participateTopic:u.default,bindmobile:l.default,easyLoadimage:g.default},data:function(){return(0,c.default)({formData:{image:[],content:"",topic_id:"",spu_id:[],video_link:""},imageSrc:"",productList:[],topicName:{},isUpload:!0,showCd:!1,id:"",order_id:"",imgName:"",upload_max:50,uploadUrl:"".concat(f.HTTP_REQUEST_URL,"/api/upload/video"),tabList:[{name:"图文",value:1,icon:"icon-tuwen"},{name:"视频",value:2,icon:"icon-shipin"}],tabActive:1,tabLength:3,isPlay:!1,videoContext:"",video_link:"",showVideo:!1,videoplay:!1},"videoContext","")},computed:(0,o.default)((0,o.default)((0,o.default)({},(0,s.mapGetters)(["isLogin","viewColor","uid"])),(0,b.configMap)({community_app_switch:[],community_auth:0})),{},{videoHtml:function(){return'<video autoplay loop muted controls="controls" width="100%" height="500rpx"><source src="'.concat(this.formData.video_link,'" type="video/mp4"></video>')}}),watch:{},mounted:function(){this.videoContext=uni.createVideoContext("myVideo",this)},onLoad:function(t){this.id=t.id,this.order_id=t.order_id,1==this.community_app_switch.length?1==this.community_app_switch[0]?this.tabLength=1:this.tabLength=2:0==this.community_app_switch.length&&(this.tabLength=1),this.isLogin?(this.id?this.getDetail():2==this.tabLength||3==this.tabLength?(this.formData.video_link=(0,m.getStorage)("video_link")||"",2==this.tabLength?this.formData.image=(0,m.getStorage)("imageArr")&&(0,m.getStorage)("imageArr").length>0?[(0,m.getStorage)("imageArr")[0]]:[]:this.formData.image=(0,m.getStorage)("imageArr")||[]):this.formData.image=(0,m.getStorage)("imageArr")||[],this.order_id&&this.getOrderGoods()):(0,h.toLogin)(),this.videoContext=uni.createVideoContext("myvideo",this)},methods:{getDetail:function(){var t=this;(0,p.plantDetailApi)(t.id).then((function(e){t.formData=e.data,t.productList=e.data.relevance||[],t.topicName=e.data.topic||{}})).catch((function(e){return t.$util.Tips({title:e})}))},getOrderGoods:function(){var t=this;(0,p.orderAssociatePlantApi)(t.order_id).then((function(e){t.productList=e.data||[],t.formData.spu_id=e.data.map((function(t){return t.spu_id}))})).catch((function(e){return t.$util.Tips({title:e})}))},deleteTopic:function(){this.formData.topic={},this.topicName={}},deleteLink:function(){this.formData.video_link="",this.showVideo=!1,(0,m.setStorage)("video_link","")},clk:function(t){var e=this;e.$util.uploadImageOne({url:"upload/image",count:t},(function(i){if(1==t)e.formData.image=[i.data.path];else{var a=[];i.map((function(t){a.push(t)})),e.formData.image=[].concat((0,n.default)(e.formData.image),a),e.formData.image.length>=9&&(e.formData.image.length=9)}(0,m.setStorage)("imageArr",e.formData.image)}))},doUpload:function(t){var e=this;uni.uploadFile({url:f.HTTP_REQUEST_URL+"/api/upload/image/field",filePath:t,name:"field",formData:{filename:t,name:e.imgName},header:(0,c.default)({},f.TOKENNAME,"Bearer "+w.default.state.app.token),success:function(t){var i=JSON.parse(t.data);i.data.path&&(e.formData.image.push(i.data.path),uni.hideLoading())},complete:function(t){}})},uploadVideo:function(){var t=this;uni.chooseVideo({sourceType:["camera","album"],success:function(e){uni.showLoading({title:"视频上传中"}),Math.ceil(e.size/1024)<1024*t.upload_max?uni.uploadFile({url:t.uploadUrl,filePath:e.tempFilePath,name:"file",formData:{user:"test"},header:(0,c.default)({},f.TOKENNAME,"Bearer "+w.default.state.app.token),success:function(e){uni.hideLoading();var i=JSON.parse(e.data);t.formData.video_link=i.data.src,(0,m.setStorage)("video_link",t.formData.video_link)},complete:function(t){uni.hideLoading()},fail:function(e){uni.hideLoading(),t.Tips({title:e.message})}}):(uni.hideLoading(),uni.showModal({title:"提示",content:"视频超出限制".concat(t.upload_max,"MB")}))},fail:function(e){t.$util.Tips({title:e})}})},getImgName:function(t){this.imgName=t},DelPic:function(t){this.formData.image.splice(t,1),(0,m.setStorage)("imageArr",this.formData.image)},addProduct:function(){this.$refs.associated.open()},addTopic:function(){this.$refs.participateTopic.open()},close:function(){this.$refs.associated.close(),this.$refs.participateTopic.close()},videoshow:function(){var t=this;this.showVideo=!0,this.videoContext=uni.createVideoContext("myVideo",this),this.$nextTick((function(){t.videoContext.play()}))},screenChange:function(t){var e=t.detail.fullScreen;e||(this.videoplay=!1)},getProduct:function(t){this.productList=t,this.formData.spu_id=t.map((function(t){return t.spu_id})),this.$refs.associated.close()},getTopic:function(t){t.topic_id?this.topicName=t:this.topicName={},this.formData.topic_id=t.topic_id,this.$refs.participateTopic.close()},formSubmit:function(t){var e=this;0==e.community_auth?e.submitData():(0,v.getUserInfo)().then((function(t){t.data.phone?e.submitData():e.$refs.bindmobile.open()}))},closepoup:function(){this.$refs.bindmobile.close()},submitData:function(){var t=this,e=t.formData;if(t.tabActive=t.formData.video_link?2:1,t.isLogin){if(0==e.image.length)return t.$util.Tips({title:"请添加话题图片"});if(!e.content)return t.$util.Tips({title:"请分享使用心得和体会"});if(2==t.tabLength&&!e.video_link)return t.$util.Tips({title:"请添加话题视频"});t.id&&e.relevance.length&&(e.spu_id=e.relevance.map((function(t){return t.spu&&t.spu.spu_id||t.spu_id}))),e.order_id=t.order_id,e.is_type=t.tabActive,uni.showLoading({title:"保存中",mask:!0}),t.id?(0,p.updatePlantApi)(t.id,e).then((function(e){uni.hideLoading(),t.$util.Tips({title:e.messge,icon:"success"}),(0,m.setStorage)("video_link",""),(0,m.setStorage)("imageArr",[]),2==t.tabActive?uni.navigateTo({url:"/pages/short_video/nvueSwiper/index?id="+e.data.community_id+"&user=1&uid="+t.uid}):uni.redirectTo({url:"/pages/plantGrass/plant_detail/index?id="+e.data.community_id+"&type="+t.tabActive})})).catch((function(e){return t.$util.Tips({title:e})})):(0,p.createPlantApi)(e).then((function(e){uni.hideLoading(),t.$util.Tips({title:e.messge,icon:"success"}),(0,m.setStorage)("video_link",""),(0,m.setStorage)("imageArr",[]),2==t.tabActive?uni.navigateTo({url:"/pages/short_video/nvueSwiper/index?id="+e.data.community_id+"&user=1&uid="+t.uid}):uni.redirectTo({url:"/pages/plantGrass/plant_detail/index?id="+e.data.community_id+"&type="+t.tabActive})})).catch((function(e){return t.$util.Tips({title:e})}))}else(0,h.toLogin)()}}};e.default=_},edc0b:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.boughtLstApi=function(t){return n.default.get("community/pay_product/lst",t)},e.browseLstApi=function(t){return n.default.get("community/hist_product/lst",t)},e.collectLstApi=function(t){return n.default.get("community/rela_product/lst",t)},e.createPlantApi=function(t){return n.default.post("community/create",t)},e.deletePlantApi=function(t){return n.default.post("community/delete/".concat(t))},e.focusArticleLst=function(t){return n.default.get("community/focuslst",t,{noAuth:!0})},e.followAuthorApi=function(t,e){return n.default.post("community/fans/".concat(t),e)},e.getTopicList=function(){return n.default.get("community/category/lst",{},{noAuth:!0})},e.getVideoCode=function(t,e){return n.default.get("community/qrcode/".concat(t),e,{noAuth:!0})},e.graphicLstApi=function(t){return n.default.get("community/lst",t,{noAuth:!0})},e.graphicProApi=function(t){return n.default.get("product/spu/get/".concat(t),{},{noAuth:!0})},e.graphicStartApi=function(t,e){return n.default.post("community/start/".concat(t),e)},e.hotSearchLst=function(){return n.default.get("common/commuunity/hot_keyword",{},{noAuth:!0})},e.myFansLst=function(t){return n.default.get("community/fans/lst",t)},e.myFocusLst=function(t){return n.default.get("community/focus/lst",t)},e.myVideoList=function(t,e){return n.default.get("community/user/community_video/".concat(t),e,{noAuth:!0})},e.orderAssociatePlantApi=function(t){return n.default.get("community/order/".concat(t),{},{noAuth:!0})},e.plantDetailApi=function(t){return n.default.get("community/show/".concat(t),{},{noAuth:!0})},e.replyCreateApi=function(t,e){return n.default.post("community/reply/create/".concat(t),e)},e.replyLstApi=function(t,e){return n.default.get("community/".concat(t,"/reply"),e,{noAuth:!0})},e.starArticleLst=function(t){return n.default.get("community/start/lst",t)},e.starCommentApi=function(t,e){return n.default.post("community/reply/start/".concat(t),e)},e.updatePlantApi=function(t,e){return n.default.post("community/update/".concat(t),e)},e.userArticleLst=function(t,e){return n.default.get("community/user/community/".concat(t),e)},e.userInfoApi=function(t){return n.default.get("community/user/info/".concat(t))},e.videoList=function(t){return n.default.get("community/video_lst",t,{noAuth:!0})};var n=a(i("fea3"))},ee6d:function(t,e,i){var a=i("85aa");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("31a45329",a,!0,{sourceMap:!1,shadowMode:!1})},f2d2:function(t,e,i){"use strict";i.r(e);var a=i("2b82"),n=i("c83a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6d20");var c=i("828b"),s=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"78bcc23f",null,!1,a["a"],void 0);e["default"]=s.exports},f69f:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[this.loading&&!this.loaded?e("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?e("v-uni-view",[e("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):e("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},n=[]},f94a:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("5c47"),i("bf0f"),i("2797"),i("aa9c"),i("bd06"),i("dd2b");var n=a(i("af69")),o=i("edc0b"),c=i("8f59"),s=i("aa10"),r={props:{checkedObj:{type:Array,default:[]}},computed:(0,c.mapGetters)(["viewColor"]),components:{Loading:n.default},data:function(){return{domain:s.HTTP_REQUEST_URL,isActive:0,loadedb:!1,loadingb:!1,loadedc:!1,loadingc:!1,loadeds:!1,loadings:!1,whereb:{page:1,limit:10,keyword:""},wherec:{page:1,limit:10,keyword:""},wheres:{page:1,limit:10,keyword:""},searchVal:"",checked:[],list:[],collect:[],bought:[],browse:[],checkedArr:this.checkedObj,disabled:!1}},watch:{},mounted:function(){this.checkedArr=this.checkedObj,this.getBounht(),this.getCollect(),this.getBrowse()},methods:{close:function(){this.$emit("close")},tabs:function(t){this.isActive=t,this.$set(this.whereb,"keyword",""),this.$set(this.wherec,"keyword",""),this.$set(this.wheres,"keyword",""),this.searchVal="",this.searchBut()},onTouchmove:function(t){var e=this;if(!this.loadendb&&!this.loadingb){var i=uni.createSelectorQuery().in(this);i.select("#goods").boundingClientRect((function(t){t.bottom<1500&&t.top<0&&e.getBounht()})).exec()}},onTouchmove1:function(t){var e=this;if(!this.loadendc&&!this.loadingc){var i=uni.createSelectorQuery().in(this);i.select("#collect").boundingClientRect((function(t){t.bottom<1500&&t.top<0&&e.getCollect()})).exec()}},onTouchmove2:function(t){var e=this;if(!this.loadends&&!this.loadings){var i=uni.createSelectorQuery().in(this);i.select("#browse").boundingClientRect((function(t){t.bottom<1500&&t.top<0&&e.getBrowse()})).exec()}},setValue:function(t){this.$set(this.whereb,"keyword",t.detail.value),this.$set(this.wherec,"keyword",t.detail.value),this.$set(this.wheres,"keyword",t.detail.value)},searchBut:function(){this.loadingb=this.loadingc=this.loadings=this.loadedb=this.loadedc=this.loadeds=!1,this.whereb.page=this.wherec.page=this.wheres.page=1,this.bought=this.collect=this.browse=[],0==this.isActive?this.getBounht():1==this.isActive?this.getCollect():this.getBrowse()},getBounht:function(){var t=this;t.loadingb||t.loadedb||(t.loadingb=!0,(0,o.boughtLstApi)(t.whereb).then((function(e){t.loadingb=!1,e.data.list.forEach((function(t,e){t.check=!1})),t.loadedb=e.data.list.length<t.whereb.limit,t.bought.push.apply(t.bought,e.data.list),t.whereb.page=t.whereb.page+1,t.getInitchecked(t.bought)}),(function(e){t.$util.Tips({title:e.msg})})))},getCollect:function(){var t=this;t.loadingc||t.loadedc||(t.loadingc=!0,(0,o.collectLstApi)(t.wherec).then((function(e){t.loadingc=!1,e.data.list.forEach((function(t,e){t.check=!1})),t.loadedc=e.data.list.length<t.wherec.limit,t.collect.push.apply(t.collect,e.data.list),t.wherec.page=t.wherec.page+1,t.getInitchecked(t.collect)}),(function(e){t.$util.Tips({title:e.msg})})))},getBrowse:function(){var t=this;t.loadings||t.loadeds||(t.loadings=!0,(0,o.browseLstApi)(t.wheres).then((function(e){t.loadings=!1,e.data.list.forEach((function(t,e){t.check=!1})),t.loadeds=e.data.list.length<t.wheres.limit,t.browse.push.apply(t.browse,e.data.list),t.wheres.page=t.wheres.page+1,t.getInitchecked(t.browse)}),(function(e){t.$util.Tips({title:e.msg})})))},getInitchecked:function(t){var e=this;t.forEach((function(t,i){e.$set(t,"check",!1),e.checkedArr.forEach((function(i,a){t.spu_id!=(i.spu&&i.spu.spu_id)&&t.spu_id!=i.spu_id||e.$set(t,"check",!0)}))}))},goodsCheck:function(t,e){if(!(this.checkedArr.length>4)||t.check){if(t.check){this.$set(t,"check",!1);var i=this.checkedArr.findIndex((function(e){return e.spu_id==t.spu_id}));this.checkedArr.splice(i,1)}else this.$set(t,"check",!0),this.checkedArr.push(t);this.disabled=this.checkedArr.length>4}},submit:function(){this.$emit("getProduct",this.checkedArr)}}};e.default=r}}]); |