shop-php/public/static/js/pages-trading_hall-transfer_goods-index.b33a1d8f.js
2024-03-18 11:51:41 +08:00

1 line
84 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-trading_hall-transfer_goods-index"],{"0745":function(t,e,i){"use strict";var n=i("a9de"),a=i.n(n);a.a},"0c4d":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{width:9,height:16},i=(0,a.default)(e.width,e.height),n=(0,a.default)(t.width,t.height);if(i>n){var o=e.height*n,r=e.height;return{width:o,height:r,left:(e.width-o)/2,top:0}}var s=e.width,c=e.width/n;return{width:s,height:c,left:0,top:(e.height-c)/2}};var a=n(i("7086"))},"0c68":function(t,e,i){"use strict";i.r(e);var n=i("cb9d"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"104c":function(t,e,i){"use strict";i.r(e);var n=i("1b25"),a=i("5bfe");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("0745");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"42119758",null,!1,n["a"],void 0);e["default"]=s.exports},1890:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-d2b50548]{background:#f5f5f5}body.?%PAGE?%[data-v-d2b50548]{background:#f5f5f5}.crop_btn[data-v-d2b50548]{line-height:%?90?%;height:%?90?%;height:calc(90rpx+ constant(safe-area-inset-bottom));height:calc(%?200?% + env(safe-area-inset-bottom))}.container[data-v-d2b50548]{position:fixed;top:0;left:0;z-index:20;width:%?750?%;height:100vh}.release_content[data-v-d2b50548]{margin-top:%?30?%;padding:0 %?20?%}.release_content .release_tab[data-v-d2b50548]{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-d2b50548]{margin:0 %?40?%;font-size:%?32?%;color:#999;position:relative;line-height:%?86?%;cursor:pointer}.release_content .release_tab .tab_item.on[data-v-d2b50548]{color:#e93323}.release_content .release_tab .tab_item.on[data-v-d2b50548]::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-d2b50548]{margin-right:%?10?%;font-size:%?32?%}.release_content .release_item[data-v-d2b50548]{background:#fff;padding:0 %?30?%;border-radius:%?10?%}.release_content .photo_count[data-v-d2b50548]{padding:%?30?% 0}[data-v-d2b50548] .input_photo .easy-loadimage,[data-v-d2b50548] .input_photo uni-image,[data-v-d2b50548] .input_photo uni-image{width:%?180?%;height:%?180?%;border-radius:%?12?%!important}.input_photo .pictrue[data-v-d2b50548]{width:%?180?%;height:%?180?%;border-radius:%?12?%!important;margin-right:%?11?%;position:relative;overflow:hidden}.input_photo .pictrue[data-v-d2b50548]:nth-child(3n){margin-right:0}.input_photo .pictrue .close_btn[data-v-d2b50548]{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:999}.input_photo .pictrue .close_btn .iconfont[data-v-d2b50548]{color:#fff;font-size:%?12?%}.input_photo .pictrue .cover_text[data-v-d2b50548]{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-d2b50548] .loading-img{width:%?180?%;height:%?180?%;border-radius:%?12?%}.input_photo .pictrue[data-v-d2b50548]{margin-bottom:%?20?%}.input_photo .pictrue .videoHover[data-v-d2b50548]{width:%?180?%;height:%?180?%;display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;z-index:10}.input_photo .pictrue .videoHover > uni-view[data-v-d2b50548]{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-d2b50548]{color:#fff;font-size:%?21?%}.input_photo .pictrue .video-text[data-v-d2b50548]{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-d2b50548]{width:%?180?%;height:%?180?%;border-radius:%?12?%}.input_photo .add[data-v-d2b50548]{background:#f6f6f6;color:#666}.input_photo .add .iconfont[data-v-d2b50548]{font-size:%?50?%}.input_photo .add .text[data-v-d2b50548]{margin-top:%?20?%;font-size:%?27?%}.textarea uni-textarea[data-v-d2b50548]{font-size:%?28?%;padding-bottom:%?38?%;width:100%;box-sizing:border-box;height:%?400?%;overflow:hidden}.textarea .placeholder[data-v-d2b50548]{color:#bbb}.release_item .item[data-v-d2b50548]{height:%?106?%;border-bottom:%?1?% solid #eee;position:relative;font-size:%?30?%}.release_item .item[data-v-d2b50548]:last-child{border-bottom:none}.release_item .item .name[data-v-d2b50548]{color:#333}.release_item .item .name .iconfont[data-v-d2b50548]{margin-right:%?10?%;font-size:%?28?%}.release_item .item .select[data-v-d2b50548]{color:#bbb}.release_item .item .select .select_count[data-v-d2b50548]{display:flex;align-items:center}.release_item .item .select .text[data-v-d2b50548]{margin-right:%?15?%;display:flex;align-items:center}.release_item .item .select .text .image[data-v-d2b50548],\r\n.release_item .item .select .text uni-image[data-v-d2b50548],\r\n.release_item .item .select .text uni-image[data-v-d2b50548]{width:%?60?%;height:%?60?%;margin-right:%?5?%}.release_item .item .select .text1[data-v-d2b50548]{width:%?308?%;height:%?70?%;line-height:%?70?%;background:#fff;border-radius:7px 7px 7px 7px;text-align:center;opacity:1;border:%?2?% solid #999;font-size:%?28?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#ccc}.release_item .item .select .iconfont[data-v-d2b50548]{font-size:%?24?%}.release_item .item .select .text_name[data-v-d2b50548]{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-d2b50548]{color:var(--view-theme);font-weight:700;font-size:%?24?%}.release_item .item .select .text_name .title[data-v-d2b50548]{margin:0 %?10?%}.release_item .item .select .text_name .iconfont[data-v-d2b50548]{font-size:%?16?%}.button[data-v-d2b50548]{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-d2b50548]{margin-top:%?100?%}.video-count[data-v-d2b50548]{position:fixed;width:%?600?%;height:%?500?%;top:50%;left:50%;margin-left:%?-300?%;margin-top:%?-250?%;z-index:100;display:flex;align-items:center;justify-content:center}.video-count .videoLink[data-v-d2b50548]{width:%?600?%;height:%?500?%}.popup_group[data-v-d2b50548]{background:#fff;margin:%?31?% auto;width:%?710?%;font-size:%?30?%;border-radius:%?10?%}.popup_group .popup_group_item[data-v-d2b50548]{padding:%?32?% %?30?%;display:flex;align-items:center;justify-content:space-between}.popup_group .popup_group_item .popup_group_item_value[data-v-d2b50548]{display:flex;align-items:center}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message[data-v-d2b50548]{margin-right:%?15?%;color:#bbb;max-width:%?400?%}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message_value[data-v-d2b50548]{display:inline-block;max-width:%?400?%;color:#000}.popup_group .popup_group_item .popup_group_item_value .iconfont[data-v-d2b50548]{color:#bbb}.popup_group .popup_group_item .popup_group_item_value uni-input[data-v-d2b50548]{text-align:right}.popup_group > uni-view[data-v-d2b50548]:not(:last-child){border-bottom:1px solid #eee}.radio[data-v-d2b50548]{padding:%?30?%}.radio_label[data-v-d2b50548]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.radio_label .select_check[data-v-d2b50548]{display:flex;align-items:center;justify-content:center;width:%?40?%;height:%?40?%;border:1px solid #ccc;border-radius:50%;margin-right:%?20?%}.radio_label .select_check .iconfont[data-v-d2b50548]{font-size:%?24?%}.radio_label .select[data-v-d2b50548]{background:#e93323;border:none}.radio_label .select .iconfont[data-v-d2b50548]{color:#fff}.radio .select_group[data-v-d2b50548]{display:flex}.radio .flex_start[data-v-d2b50548]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.radio_select[data-v-d2b50548]{display:flex;margin-right:%?110?%}',""]),t.exports=e},"1b25":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?i("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[t.isWeixin?i("v-uni-text",{staticClass:"title"},[t._v(t._s(t.isPay?"付款提醒":"授权提醒"))]):i("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?i("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.isPay?t.payInfo:"请授权头像等信息,以便为您提供更好的服务!"))]):i("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),i("v-uni-view",{staticClass:"bottom flex"},[t.isPay?i("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t._v("取消")]):i("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),i("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?i("v-uni-text",{staticClass:"text"},[t._v(t._s(t.isPay?"去支付":"去授权"))]):i("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},a=[]},"1bc5":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.containers[data-v-1ee10625]{background:#fff;border-radius:%?16?% %?16?% 0 0;padding:%?40?% 0;position:relative}.containers .header[data-v-1ee10625]{position:relative;padding:0 %?30?%}.containers .header .title[data-v-1ee10625]{width:100%;text-align:center}.containers .header .title uni-text[data-v-1ee10625]{position:relative;margin:0 %?50?%;color:#999;font-size:%?30?%}.containers .header .title uni-text.on[data-v-1ee10625]{color:#333;font-weight:700;font-size:%?34?%}.containers .header .title uni-text.on[data-v-1ee10625]::after{content:"";display:inline-block;width:%?40?%;height:%?5?%;background:var(--view-theme);position:absolute;bottom:%?-10?%;left:%?10?%}.containers .header .iconclose[data-v-1ee10625]{width:%?44?%;height:%?44?%;line-height:%?44?%;border-radius:50%;text-align:center;position:absolute;top:%?-150?%;right:%?30?%}.containers .header .iconclose uni-image[data-v-1ee10625]{width:100%;height:100%}.containers .header .search[data-v-1ee10625]{margin-top:%?44?%;background:#f5f5f5;border-radius:%?30?%;padding:%?12?% %?30?% %?12?% %?66?%;position:relative}.containers .header .search .iconfont[data-v-1ee10625]{font-size:%?24?%;color:#939393;position:absolute;top:%?20?%;left:%?30?%}.containers .header .search .placeholder[data-v-1ee10625]{color:#999;font-size:%?26?%}.containers .header .sub_title[data-v-1ee10625]{color:#282828;font-size:%?26?%;margin-top:%?30?%}.containers .header .iconfont[data-v-1ee10625]{color:#8a8a8a;font-size:%?28?%;position:absolute;top:0;right:%?30?%}.containers uni-scroll-view[data-v-1ee10625]{height:%?650?%}.containers .main[data-v-1ee10625]{height:%?650?%;margin:%?40?% 0 %?80?%;padding:0 %?30?%}.picTxt[data-v-1ee10625]{width:100%;padding:%?25?% 0;position:relative;align-items:center;justify-content:space-between;border-top:%?2?% solid #e7e6e4}.picTxt .picTxt_one[data-v-1ee10625]{white-space:nowrap;overflow:hidden}.picTxt .picTxt_one[data-v-1ee10625]{display:flex;margin-top:%?20?%}.picTxt .picTxt_one .slecte[data-v-1ee10625]{margin-right:%?30?%;width:%?280?%;height:%?60?%;line-height:%?60?%;text-align:center;font-size:%?28?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;color:#959595;background-color:#e7e6e4;border-radius:%?10?% %?10?% %?10?% %?10?%;white-space:nowrap;overflow:hidden}.picTxt .picTxt_price[data-v-1ee10625]{display:flex;margin-top:%?37?%;height:%?70?%;line-height:%?70?%}.picTxt .picTxt_price .price[data-v-1ee10625]{display:flex;margin-right:%?15?%}.picTxt .picTxt_price .price uni-input[data-v-1ee10625]{width:%?210?%;text-align:center;height:%?70?%;background:#f5f5f5;border-radius:%?7?% %?7?% %?7?% %?7?%;font-size:%?28?%;font-family:PingFang SC-Regular,PingFang SC;font-weight:400;margin-left:%?20?%}.picTxt .picTxt_price .price_num[data-v-1ee10625]{display:flex}.picTxt .checkbox[data-v-1ee10625]{margin-right:%?30?%}.picTxt .checkbox .iconfont[data-v-1ee10625]{font-size:%?38?%;color:#ccc}.picTxt .checkbox .icon-xuanzhong1[data-v-1ee10625]{color:var(--view-theme)}.picTxt .checkbox .disabled[data-v-1ee10625]{pointer-events:none;cursor:default;opacity:.3}.picTxt .pictrue[data-v-1ee10625]{width:%?160?%;height:%?160?%}.picTxt .pictrue uni-image[data-v-1ee10625]{width:100%;height:100%;border-radius:%?8?%}.picTxt .text[data-v-1ee10625]{width:%?430?%;margin-left:%?30?%;font-size:%?28?%;color:#282828;position:relative;height:%?160?%}.picTxt .text .name[data-v-1ee10625]{color:#282828;font-size:%?28?%}.picTxt .text .money[data-v-1ee10625]{position:absolute;bottom:0;left:0;color:var(--view-priceColor);font-size:%?22?%;font-weight:700}.picTxt .text .money uni-text[data-v-1ee10625]{font-size:%?26?%}.foot_bar[data-v-1ee10625]{width:100%;position:fixed;left:0;padding:%?20?% 0;z-index:5}.foot_bar .confirm_btn[data-v-1ee10625]{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-1ee10625]{margin:%?130?% 0 %?150?%;text-align:center}.empty uni-image[data-v-1ee10625],\r\n.empty uni-image[data-v-1ee10625]{display:inline-block;width:%?414?%;height:%?305?%}.empty uni-text[data-v-1ee10625]{display:block;color:#999;font-size:%?26?%}',""]),t.exports=e},"1c6c":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("3835")),o=n(i("2909")),r=n(i("c7eb")),s=n(i("1da1"));i("a9e3"),i("99af"),i("d3b7"),i("ac1f"),i("d9e2"),i("d401"),i("a630"),i("3ca3");var c=n(i("0c4d")),u=n(i("ff63")),d=n(i("5bdb")),l=n(i("63d5")),h=n(i("3648")),p=i("4cc2"),f=0,v=0,g=0,m=0,b=0,w=0,_=0,x=1,y=[],C=null,P={name:"bt-cropper",props:{imageSrc:{type:String,default:"",required:!0},fileType:{type:String,default:"jpg"},dWidth:{type:Number,default:0},ratio:{type:Number,default:0,validator:function(t){return"number"!==typeof t?((0,p.log)("裁剪框比例值必须是数字","error"),!1):!(t<0)||((0,p.log)("裁剪框比例值必须大于零","error"),!1)}},showGrid:{type:Boolean,default:!1},quality:{type:Number,default:1},initPosition:{type:Object,default:function(){return null}},compress:{type:Boolean,default:!1},autoZoom:{type:Boolean,default:!0}},data:function(){return{imageUrl:"",imageInfo:null,containerRect:"",offsetX:0,offsetY:0,changeWidth:0,changeHeight:0,windowWidth:375,dpr:2,forceChangeWidth:0,forceChangeHeight:0,animate:!1,imgScale:1,imgTranslateX:0,imgTranslateY:0,showCanvas:!1,cropperPosition:{left:0,top:0,width:0,height:0},imageBoundingRect:{left:0,top:0,width:0,height:0}}},watch:{imageSrc:{handler:function(t){var e=this;this.imageUrl=t,this.imageInfo=null,t&&this.getImageInfo(t).then((function(t){return e.imageInfo=t,e.getContainerRect()})).then((function(t){return e.containerRect=t,e.imageBoundingRect=e.getImageInitRect(),e.resetImage(),0==e.ratio&&(e.cropperPosition=e.getCropperInitPosition()),e.imageBoundingRect})).then((function(t){if(e.initPosition){var i=e.initPosition,n=i.left,a=i.top,o=i.width,r=i.height,s=e.imageBoundingRect.width/e.imageInfo.width;if(void 0!==n){var c=e.cropperPosition.left-t.left-n*s;e.cropperPosition.left-=c}if(void 0!==a){var u=e.cropperPosition.top-t.top-a*s;e.cropperPosition.top-=u}o&&(e.cropperPosition.width=e.initPosition.width*s),r&&(e.cropperPosition.height=e.initPosition.height*s)}e.$emit("load")})).catch((function(t){e.$emit("loadFail",t)}))},immediate:!0},ratio:{handler:function(t){this.resetCropper(),this.applyAnim()},immediate:!1}},computed:{showImagePath:function(){return this.imageInfo&&this.imageInfo.compressPath?this.imageInfo.compressPath:(null===(t=this.imageInfo)||void 0===t?void 0:t.path)||"";var t},dSize:function(){if(this.dWidth>0)return{width:this.dWidth,height:this.dWidth*(this.cropperPosition.height/this.cropperPosition.width)};var t=1;return this.imageInfo&&(t=this.imgScale*this.imageBoundingRect.width/this.imageInfo.width),{width:this.cropperPosition.width/t,height:this.cropperPosition.height/t}},imageStyle:function(){var t={left:this.imageBoundingRect.left+"px",top:this.imageBoundingRect.top+"px",width:this.imageBoundingRect.width+"px",height:this.imageBoundingRect.height+"px",transition:this.transition,transform:"matrix(".concat(this.imgScale,", 0, 0, ").concat(this.imgScale,", ").concat(this.imgTranslateX,", ").concat(this.imgTranslateY,") translateZ(0px)")};return t},transition:function(){return this.animate?"0.2s":"none"},controllerPosition:function(){var t=uni.upx2px(40),e=uni.upx2px(30),i=uni.upx2px(20),n=this.transition;return{left:{left:this.cropperPosition.left-e+"px",top:this.cropperPosition.top+this.cropperPosition.height/2-t+"px",transition:n},right:{left:this.cropperPosition.left+this.cropperPosition.width-i+"px",top:this.cropperPosition.top+this.cropperPosition.height/2-t+"px",transition:n},top:{left:this.cropperPosition.left+this.cropperPosition.width/2-t+"px",top:this.cropperPosition.top-e+"px",transition:n},bottom:{left:this.cropperPosition.left+this.cropperPosition.width/2-t+"px",top:this.cropperPosition.top+this.cropperPosition.height-i+"px",transition:n},leftTop:{left:this.cropperPosition.left-t+"px",top:this.cropperPosition.top-t+"px",transition:n},rightTop:{left:this.cropperPosition.left+this.cropperPosition.width-t+"px",top:this.cropperPosition.top-t+"px",transition:n},leftBottom:{left:this.cropperPosition.left-t+"px",top:this.cropperPosition.top+this.cropperPosition.height-t+"px",transition:n},rightBottom:{left:this.cropperPosition.left+this.cropperPosition.width-t+"px",top:this.cropperPosition.top+this.cropperPosition.height-t+"px",transition:n}}}},methods:{applyAnim:function(){var t=this;this.animate=!0,clearTimeout(C),C=setTimeout((function(){t.animate=!1}),200)},getContainerRect:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var i;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=uni.getSystemInfoSync(),t.windowWidth=i.windowWidth,t.dpr=i.pixelRatio,e.abrupt("return",new Promise((function(e){uni.createSelectorQuery().in(t).select(".mainContent").boundingClientRect((function(t){e(t)})).exec()})));case 4:case"end":return e.stop()}}),e)})))()},getImageInfo:function(t){return(0,s.default)((0,r.default)().mark((function e(){return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return uni.showLoading({title:"获取图片信息"}),e.abrupt("return",uni.getImageInfo({src:t}).then((function(t){var e,i=t[0];if(e=t[1],i)throw new Error(i);return uni.hideLoading(),e})).then((function(t){t.width,t.height;return t})).then((function(t){return t})).catch((function(t){throw uni.hideLoading(),uni.showToast({title:"图片加载失败",icon:"none"}),Error(t)})));case 2:case"end":return e.stop()}}),e)})))()},getImageInitRect:function(){return(0,c.default)(this.imageInfo,this.containerRect)},resetImage:function(){this.imgTranslateX=0,this.imgTranslateY=0,this.imgScale=1,this.resetCropper()},getCropperInitPosition:function(){return(0,d.default)(this.imageBoundingRect,{width:this.ratio||1,height:1})},resetRatio:function(){return(0,p.log)("本方法(resetRatio)已弃用,未来将删除,请用resetCropper代替","warn"),this.resetCropper()},resetCropper:function(){this.imageInfo&&0!==this.ratio&&(this.cropperPosition=this.getCropperInitPosition(),this.checkImagePosition())},onTouchStart:function(t){this.animate=!1,C&&clearTimeout(C),y=Array.from(t.touches),"image"===t.target.dataset.type?(f=this.imgTranslateX,v=this.imgTranslateY,2==t.touches.length&&(x=this.imgScale,g=h.default.apply(void 0,(0,o.default)((0,p.getTouchPoints)(y))))):(m=this.cropperPosition.left,b=this.cropperPosition.top,w=this.cropperPosition.width,_=this.cropperPosition.height)},onTouchEnd:function(){y=[],this.checkImagePosition(),this.autoZoom&&(clearTimeout(C),C=setTimeout(this.zoom,1e3)),this.reportChange()},getImagePosition:function(){return(0,u.default)(this.imageBoundingRect,{imgTranslateX:this.imgTranslateX,imgTranslateY:this.imgTranslateY,imgScale:this.imgScale})},getCropperPosition:function(){return(0,l.default)(this.cropperPosition)},checkImagePosition:function(){var t=this.getImagePosition(),e=this.getCropperPosition(),i=e.width/t.width,n=e.height/t.height,a=Math.max(i,n);a>1&&(this.imageZoom({left:e.left+e.width/2,top:e.top+e.height/2},a),this.applyAnim()),t.left>e.left?this.imgTranslateX=this.imgTranslateX-(t.left-e.left):t.right<e.right&&(this.imgTranslateX=this.imgTranslateX+(e.right-t.right)),t.top>e.top?this.imgTranslateY=this.imgTranslateY-(t.top-e.top):t.bottom<e.bottom&&(this.imgTranslateY=this.imgTranslateY+(e.bottom-t.bottom))},zoom:function(){var t=this.containerRect.width/this.containerRect.height,e=this.cropperPosition.width/this.cropperPosition.height,i=1;i=e>t?this.containerRect.width/this.cropperPosition.width:this.containerRect.height/this.cropperPosition.height,this.cropperPosition.width*=i,this.cropperPosition.height*=i,this.imageZoom({left:this.cropperPosition.left,top:this.cropperPosition.top},i);var n=(this.containerRect.height-this.cropperPosition.height)/2,a=n-this.cropperPosition.top,o=(this.containerRect.width-this.cropperPosition.width)/2,r=o-this.cropperPosition.left;this.cropperPosition.left=o,this.cropperPosition.top=n,this.imgTranslateX+=r,this.imgTranslateY+=a,this.checkImagePosition(),this.applyAnim()},reportChange:function(){var t=this.getImagePosition(),e=this.getCropperPosition(),i=this.imageBoundingRect.width/this.imageInfo.width*this.imgScale;this.$emit("change",{left:(e.left-t.left)/i,top:(e.top-t.top)/i,width:e.width/i,height:e.height/i})},imageZoom:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,top:0},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=this.getImagePosition();this.imgScale=this.imgScale*e;var n=(t.left-i.left)/i.width;this.imgTranslateX=this.imgTranslateX+i.width*(e-1)/2*(1-2*n);var a=(t.top-i.top)/i.height;this.imgTranslateY=this.imgTranslateY+i.height*(e-1)/2*(1-2*a)},onImageMove:function(t){if(2==t.touches.length&&2==y.length){var e=(0,p.getTouchPoints)(t.touches),i=x*h.default.apply(void 0,(0,o.default)(e))/g;this.imageZoom({left:this.cropperPosition.left+this.cropperPosition.width/2,top:this.cropperPosition.top+this.cropperPosition.height/2},i/this.imgScale)}else if(1==t.touches.length&&1==y.length){var n=(0,a.default)((0,p.getTouchPoints)(y)[0],2),r=n[0],s=n[1],c=(0,a.default)((0,p.getTouchPoints)(t.touches)[0],2),u=c[0],d=c[1];this.imgTranslateX=f+u-r,this.imgTranslateY=v+d-s}},onHandleResize:function(t,e,i){var n=(0,a.default)((0,p.getTouchPoints)(y)[0],2),o=n[0],r=n[1],s=(0,a.default)((0,p.getTouchPoints)(i.touches)[0],2),c=s[0],u=s[1],d=this.getCropperPosition(),l=this.getImagePosition(),h=c-o,f=u-r,v={width:uni.upx2px(100),height:uni.upx2px(100)},g=l.bottom-d.top,x=this.containerRect.bottom-d.top,C=Math.min(g,x),P=l.right-d.left,k=this.containerRect.right-d.left,T=Math.min(P,k),I=0;switch(t){case 1:I=w+h,I<T&&I>v.width&&(this.cropperPosition.width=I);break;case-1:var A=m+h,S=Math.min(l.left,d.left);I=w-h,A>S&&I>v.width&&(this.cropperPosition.left=A,this.cropperPosition.width=I);break;case 0:0!=this.ratio&&(this.cropperPosition.width=this.cropperPosition.height*this.ratio);break}switch(e){case 1:var $=_+f;$<C&&$>v.height&&(this.cropperPosition.height=$);break;case-1:var z=b+f,E=Math.min(l.top,d.top);if(z>E){var L=_-f;L>v.height&&(this.cropperPosition.top=z,this.cropperPosition.height=L)}break;case 0:0!=this.ratio&&(this.cropperPosition.height=this.cropperPosition.width/this.ratio);break}},crop:function(){var t=arguments,e=this;return(0,s.default)((0,r.default)().mark((function i(){return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(t.length>0&&void 0!==t[0]?t[0]:null,e.imageInfo){i.next=4;break}return uni.showToast({title:"图片尚未载入完成"}),i.abrupt("return",[new Error("图片尚未载入完成"),null]);case 4:return e.showCanvas=!0,e.$emit("cropStart"),i.abrupt("return",new Promise((function(t){e.$nextTick((function(){e.onCrop().then((function(e){t(e)}))}))})));case 7:case"end":return i.stop()}}),i)})))()},onCrop:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var i,n,o,s,c,u,d,l,h,f,v,g,m;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.imageInfo.path,n=uni.createCanvasContext("bt-canvas",t),c=t.getImagePosition(),u=t.getCropperPosition(),d=c.width/t.imageInfo.width,l=(u.left-c.left)/d,h=(u.top-c.top)/d,f=u.width/d,v=u.height/d,n.drawImage(i,l,h,f,v,0,0,t.dSize.width,t.dSize.height),e.next=12,new Promise((function(t){return n.draw(!0,t)}));case 12:return e.next=14,(0,p.sleep)(200);case 14:return e.next=16,new Promise((function(e){uni.canvasToTempFilePath({canvasId:"bt-canvas",fileType:t.fileType,destWidth:t.dSize.width,destHeight:t.dSize.height,quality:t.quality,success:function(t){e([null,t])},fail:function(t){e([t,null])},complete:function(){t.showCanvas=!1}})}));case 16:return g=e.sent,m=(0,a.default)(g,2),o=m[0],s=m[1],t.$emit("cropEnd",[o,s]),e.abrupt("return",[o,s]);case 22:case"end":return e.stop()}}),e)})))()}}};e.default=P},3648:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0],i=t[0],n=e[0],a=t[1],o=e[1];return Math.sqrt(Math.pow(i-n,2)+Math.pow(a-o,2))}},"38e2":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=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)},a=[]},3921:function(t,e,i){"use strict";i.r(e);var n=i("4cda"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"3fe7":function(t,e,i){"use strict";var n=i("b5d3"),a=i.n(n);a.a},4982:function(t,e,i){"use strict";var n=i("e319"),a=i.n(n);a.a},"4b42":function(t,e,i){"use strict";i.r(e);var n=i("6148"),a=i("eb62");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("4982");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"d2b50548",null,!1,n["a"],void 0);e["default"]=s.exports},"4cc2":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=null;return function(){null!==i&&clearTimeout(i),i=setTimeout(t.bind(this),e)}},e.getTouchPoints=function(t){return Array.from(t).map((function(t){return[t.clientX,t.clientY]}))},e.log=function(t){0},e.sleep=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return new Promise((function(e){setTimeout(e,t)}))},i("d81d"),i("a630"),i("3ca3"),i("d3b7")},"4cda":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var n={name:"uni-number-box",props:{isMax:{type:Boolean,default:!1},isMin:{type:Boolean,default:!1},index:{type:String,default:0},value:{type:Number,default:0},min:{type:Number,default:-1/0},max:{type:Number,default:1/0},step:{type:Number,default:1},disabled:{type:Boolean,default:!1}},data:function(){return{inputValue:this.value,minDisabled:!1,maxDisabled:!1}},created:function(){this.maxDisabled=this.isMax,this.minDisabled=this.isMin},computed:{},watch:{inputValue:function(t){var e={number:t,index:this.index};this.$emit("eventChange",e)}},methods:{_calcValue:function(t){var e=this._getDecimalScale(),i=this.inputValue*e,n=0,a=this.step*e;"subtract"===t?(n=i-a,n<=this.min&&(this.minDisabled=!0),n<this.min&&(n=this.min,this.$util.Tips({title:"达到最小值了",icon:"error"})),n<this.max&&!0===this.maxDisabled&&(this.maxDisabled=!1)):"add"===t&&(n=i+a,n>=this.max&&(this.maxDisabled=!0),n>this.max&&(this.$util.Tips({title:"达到最大值了",icon:"error"}),n=this.max),n>this.min&&!0===this.minDisabled&&(this.minDisabled=!1)),n!==i&&(this.inputValue=n/e,this.$emit("increment",this.inputValue))},_getDecimalScale:function(){var t=1;return~~this.step!==this.step&&(t=Math.pow(10,(this.step+"").split(".")[1].length)),t},_onBlur:function(t){var e=t.detail.value;e?(e=+e,e>this.max?e=this.max:e<this.min&&(e=this.min),this.inputValue=e):this.inputValue=0}}};e.default=n},"52dc":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.boughtLstApi=function(t){return a.default.get("community/pay_product/lst",t)},e.browseLstApi=function(t){return a.default.get("community/hist_product/lst",t)},e.collectLstApi=function(t){return a.default.get("community/rela_product/lst",t)},e.createPlantApi=function(t){return a.default.post("community/create",t)},e.deletePlantApi=function(t){return a.default.post("community/delete/".concat(t))},e.deoList=function(t){return a.default.get("community/show/".concat(t),{noAuth:!0})},e.focusArticleLst=function(t){return a.default.get("community/focuslst",t,{noAuth:!0})},e.followAuthorApi=function(t,e){return a.default.post("community/fans/".concat(t),e)},e.getTopicList=function(){return a.default.get("community/category/lst",{},{noAuth:!0})},e.getVideoCode=function(t,e){return a.default.get("community/qrcode/".concat(t),e,{noAuth:!0})},e.graphicLstApi=function(t){return a.default.get("community/lst",t,{noAuth:!0})},e.graphicProApi=function(t){return a.default.get("product/spu/get/".concat(t),{noAuth:!0})},e.graphicStartApi=function(t,e){return a.default.post("community/start/".concat(t),e)},e.hotSearchLst=function(){return a.default.get("common/commuunity/hot_keyword",{},{noAuth:!0})},e.myFansLst=function(t){return a.default.get("community/fans/lst",t)},e.myFocusLst=function(t){return a.default.get("community/focus/lst",t)},e.myVideoList=function(t,e){return a.default.get("community/user/community_video/".concat(t),e,{noAuth:!0})},e.orderAssociatePlantApi=function(t){return a.default.get("community/order/".concat(t),{},{noAuth:!0})},e.plantDetailApi=function(t){return a.default.get("community/show/".concat(t),{},{noAuth:!0})},e.replyCreateApi=function(t,e){return a.default.post("community/reply/create/".concat(t),e)},e.replyLstApi=function(t,e){return a.default.get("community/".concat(t,"/reply"),e,{noAuth:!0})},e.starArticleLst=function(t){return a.default.get("community/start/lst",t)},e.starCommentApi=function(t,e){return a.default.post("community/reply/start/".concat(t),e)},e.updatePlantApi=function(t,e){return a.default.post("community/update/".concat(t),e)},e.userArticleLst=function(t,e){return a.default.get("community/user/community/".concat(t),e)},e.userInfoApi=function(t){return a.default.get("community/user/info/".concat(t))},e.videoList=function(t){return a.default.get("community/video_lst",t,{noAuth:!0})};var a=n(i("df89"))},5492:function(t,e,i){"use strict";i.r(e);var n=i("f8f2"),a=i("3921");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("a541");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"98c8c3a6",null,!1,n["a"],void 0);e["default"]=s.exports},5600:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getCommunityList=function(t){return a.default.get("community/lst",t,{noAuth:!0})},e.getCommunityUpdate=function(t){return a.default.post("community/update",t,{login:!0})},e.getCommunityaddCart=function(t){return a.default.post("community/addCart",t,{noAuth:!0})},e.getCommunitycreate=function(t){return a.default.post("community/create",t,{login:!0})},e.getCommunitygetOrderList=function(t){return a.default.get("community/product/lst",t,{noAuth:!0})},e.getCommunityshow=function(t){return a.default.get("community/show/"+t,{},{noAuth:!0})},e.getProductDetail=function(t){return a.default.get("store/product/detail/"+t)},e.getresaleDetail=function(t){return a.default.get("community/resale/"+t)},e.getresaleEdit=function(t,e){return a.default.post("community/resale/edit/"+t,e)};var a=n(i("6860"))},"5bdb":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,i={left:0,right:0,top:0,bottom:0,width:0,height:0},n=(0,a.default)(e.width,e.height),c=(0,a.default)(t.width,t.height);n>c?(i.width=t.width,i.height=i.width/n,i.left=t.left,i.top=(t.height-i.height)/2+t.top):(i.height=t.height,i.width=i.height*n,i.left=(t.width-i.width)/2+t.left,i.top=t.top);return(0,o.default)(i)};var a=n(i("7086")),o=n(i("63d5")),r={left:0,top:0,width:9,height:16},s={width:2,height:1}},"5bfe":function(t,e,i){"use strict";i.r(e);var n=i("e40c"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},6148:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={easyLoadimage:i("3516").default,btCropper:i("6756").default,uniPopup:i("523b").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"release_content"},[i("v-uni-view",{staticClass:"release_tab acea-row"},t._l(t.tabList,(function(e,n){return i("v-uni-view",{key:e.value,staticClass:"tab_item",class:{on:t.tabActive==e.value},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeTab(e)}}},[i("v-uni-text",{staticClass:"iconfont",class:e.icon}),t._v(t._s(e.name))],1)})),1),i("v-uni-view",[i("v-uni-view",{staticClass:"release_item"},[i("v-uni-view",{staticClass:"photo_count"},[i("v-uni-view",{staticClass:"input_photo acea-row row-middle"},[2==t.tabActive?[t.formData.video_link?i("v-uni-view",{staticClass:"pictrue"},[t.videoplay?i("v-uni-view",[i("v-uni-video",{attrs:{controls:!0,id:"myvideo",src:t.video_link},on:{fullscreenchange:function(e){arguments[0]=e=t.$handleEvent(e),t.screenChange.apply(void 0,arguments)}}})],1):t._e(),i("v-uni-video",{staticClass:"pictrue",attrs:{src:t.formData.video_link}}),i("v-uni-image",{staticClass:"video-bg",attrs:{mode:"widthFix",src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/3/video_bg.png"}}),i("v-uni-view",{staticClass:"videoHover",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.videoshow.apply(void 0,arguments)}}},[i("v-uni-view",[i("v-uni-text",{staticClass:"iconfont icon-24gf-play"})],1)],1),i("v-uni-text",{staticClass:"video-text"},[t._v("点击可预览视频")]),i("v-uni-view",{staticClass:"close_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.delVideo.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-guanbi4"})],1)],1):i("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)}}},[i("v-uni-view",[i("v-uni-text",{staticClass:"iconfont icon-tianjiashipin"})],1),i("v-uni-view",{staticClass:"text"},[t._v("添加视频")])],1),t.formData.image.length<1?i("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.apply(void 0,arguments)}}},[i("v-uni-view",[i("v-uni-text",{staticClass:"iconfont icon-fengmian"})],1),i("v-uni-view",{staticClass:"text"},[t._v("添加封面")])],1):t._e()]:t._e(),t._l(t.formData.image,(function(e,n){return i("v-uni-view",{key:n,staticClass:"pictrue"},[i("easy-loadimage",{attrs:{mode:"widthFix","image-src":e}}),2==t.tabActive?i("v-uni-text",{staticClass:"cover_text"},[t._v("封面")]):t._e(),i("v-uni-view",{staticClass:"close_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.DelPic(n)}}},[i("v-uni-text",{staticClass:"iconfont icon-guanbi4"})],1)],1)})),1==t.tabActive?[t.formData.image.length<6?i("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.apply(void 0,arguments)}}},[i("v-uni-view",[i("v-uni-text",{staticClass:"iconfont icon-icon25201"})],1),i("v-uni-view",{staticClass:"text"},[t._v("添加图片")])],1):t._e()]:t._e(),t.showCd?i("v-uni-view",{staticClass:"container",attrs:{ratio:16/9}},[i("bt-cropper",{ref:"cropper",attrs:{imageSrc:t.imageSrc,dWidth:800,compress:!0},on:{cropEnd:function(e){arguments[0]=e=t.$handleEvent(e),t.loadImage.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"crop_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.crop.apply(void 0,arguments)}}},[t._v("裁切")])],1)],1):t._e()],2)],1),i("v-uni-view",{staticClass:"textarea"},[i("v-uni-textarea",{attrs:{placeholder:"请输入商品描述",name:"comment","placeholder-class":"placeholder",maxlength:"600"},model:{value:t.formData.content,callback:function(e){t.$set(t.formData,"content",e)},expression:"formData.content"}})],1)],1),i("v-uni-view",{staticClass:"release_item"},[i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"name"},[i("v-uni-text",{staticClass:"iconfont icon-baobeilianjie"}),t._v("添加产品("+t._s(t.productList.length)+")")],1),i("v-uni-view",{staticClass:"select"},[i("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?i("v-uni-text",{staticClass:"text"},[t._v("选择产品")]):i("v-uni-view",{staticClass:"text"},t._l(t.productList,(function(t,e){return i("v-uni-image",{key:e,staticClass:"image",attrs:{src:t.image||t.spu&&t.spu.image}})})),1),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1)],1)],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"name",staticStyle:{"font-size":"28rpx","rfont-family":"PingFang SC","font-weight":"400",color:"#F84221"}},[t._v("价格:¥"+t._s(t.price.toFixed(2)))])],1),this.formData.product_info?i("v-uni-view",{staticClass:"popup_group"},[this.formData.product_info.length>0?i("v-uni-view",{staticClass:"radio"},[i("v-uni-view",{staticClass:"radio_label "},[t._v("送货方式")]),i("v-uni-checkbox-group",{staticClass:"select_group flex_start",on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.deliveryWayChange.apply(void 0,arguments)}}},t._l(t.deliveryFreeList,(function(e,n){return i("v-uni-label",{key:e.value,staticClass:"radio_select"},[i("v-uni-view",[i("v-uni-checkbox",{attrs:{value:e.value,checked:t.delivery_way.includes(e.value)}})],1),i("v-uni-view",[t._v(t._s(e.name))])],1)})),1)],1):t._e()],1):t._e()],1)],1),i("v-uni-button",{staticClass:"release_btn button",attrs:{"form-type":"submit"}},[t._v("发布")])],1)],1),t.showVideo?i("v-uni-view",{staticClass:"video-count"},[i("v-uni-video",{staticClass:"videoLink",attrs:{id:"myVideo",autoplay:!0,loop:!0,muted:!0,src:t.formData.video_link}})],1):t._e(),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.showVideo},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showVideo=!1}}}),i("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)}}}),i("uni-popup",{ref:"associated",attrs:{type:"bottom"}},[i("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),i("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},o=[]},"63d5":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,a.default)((0,a.default)({},t),{},{right:t.left+t.width,bottom:t.top+t.height})};var a=n(i("5530"))},6756:function(t,e,i){"use strict";i.r(e);var n=i("8b51"),a=i("e599");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("d9e9");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"0b64a5e2",null,!1,n["a"],void 0);e["default"]=s.exports},"6f21":function(t,e,i){"use strict";var n=i("f9a4"),a=i.n(n);a.a},7086:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t/e}},"7ace":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */@font-face{font-family:iconfont; /* Project id 3311610 */src:url(//at.alicdn.com/t/font_3311610_7wh8injedpd.woff2?t=1649382821379) format("woff2"),url(//at.alicdn.com/t/font_3311610_7wh8injedpd.woff?t=1649382821379) format("woff"),url(//at.alicdn.com/t/font_3311610_7wh8injedpd.ttf?t=1649382821379) format("truetype")}.iconfont[data-v-0b64a5e2]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-reset[data-v-0b64a5e2]:before{content:"\\e611"}.icon-move[data-v-0b64a5e2]:before{content:"\\e67b"}.bt-container[data-v-0b64a5e2]{display:flex;flex-direction:column;justify-content:space-between;height:100%;box-sizing:border-box;background-color:#0e1319;padding-top:%?30?%;position:relative;overflow:hidden}.bt-container .iconfont[data-v-0b64a5e2]{position:absolute;z-index:999;top:%?40?%;font-size:%?30?%;padding:%?10?%;background-color:hsla(0,0%,100%,.2);border-radius:50%;color:#fff}.bt-container .iconfont.active[data-v-0b64a5e2]{color:#007aff}.bt-container .icon-move[data-v-0b64a5e2]{right:%?100?%}.bt-container .icon-reset[data-v-0b64a5e2]{right:%?40?%}.bt-container .bt-canvas[data-v-0b64a5e2]{position:absolute;left:100%;top:0;width:300px;height:300px}.bt-container .mainContent[data-v-0b64a5e2]{flex:1;margin:%?60?% %?60?% %?150?%;position:relative}.bt-container .mainContent .image[data-v-0b64a5e2]{position:absolute;will-change:transform;-webkit-transform-origin:center center;transform-origin:center center}.bt-container .mainContent .controller[data-v-0b64a5e2]{position:absolute;z-index:99;padding:%?20?%}.bt-container .mainContent .controller[data-v-0b64a5e2]::after{display:block;content:"";box-shadow:0 0 %?10?% #333;background-color:#e4e7ed}.bt-container .mainContent .controller.controller_dot[data-v-0b64a5e2]::after{width:%?40?%;height:%?40?%;border-radius:99px}.bt-container .mainContent .controller.vertical[data-v-0b64a5e2]::after{width:%?10?%;height:%?40?%}.bt-container .mainContent .controller.horizon[data-v-0b64a5e2]::after{width:%?40?%;height:%?10?%}.bt-container .mainContent .cropper[data-v-0b64a5e2]{position:absolute;border:1px solid #eee;box-sizing:initial;-webkit-transform-origin:center center;transform-origin:center center;outline:999px solid rgba(0,0,0,.5);will-change:transform;display:contain;pointer-events:none}.bt-container .mainContent .cropper .line[data-v-0b64a5e2]{position:absolute}.bt-container .mainContent .cropper .row[data-v-0b64a5e2]{width:100%;height:0;left:0;border-top:1px dashed #007aff}.bt-container .mainContent .cropper .col[data-v-0b64a5e2]{height:100%;width:0;border-left:1px dashed #007aff}.bt-container .mainContent .cropper .row1[data-v-0b64a5e2]{top:33%}.bt-container .mainContent .cropper .row2[data-v-0b64a5e2]{top:66%}.bt-container .mainContent .cropper .col1[data-v-0b64a5e2]{left:33%}.bt-container .mainContent .cropper .col2[data-v-0b64a5e2]{left:66%}.bt-container .slot[data-v-0b64a5e2]{position:fixed;width:100%;left:0;bottom:%?131.58?%;height:%?90?%;height:calc(90rpx+ constant(safe-area-inset-bottom));height:calc(%?90?% + env(safe-area-inset-bottom))}',""]),t.exports=e},"87cd":function(t,e,i){var n=i("1bc5");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4c4135fe",n,!0,{sourceMap:!1,shadowMode:!1})},"8b51":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bt-container"},[i("v-uni-view",{staticClass:"mainContent",on:{touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchEnd.apply(void 0,arguments)},touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.onTouchStart.apply(void 0,arguments)}}},[t.imageInfo?[i("v-uni-image",{staticClass:"image",style:[t.imageStyle],attrs:{src:t.showImagePath,mode:"aspectFit","data-type":"image"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onImageMove.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"cropper",style:{width:t.cropperPosition.width+"px",height:t.cropperPosition.height+"px",left:t.cropperPosition.left-1+"px",top:t.cropperPosition.top-1+"px",transition:t.transition}},[t.showGrid?[i("v-uni-view",{staticClass:"line row row1"}),i("v-uni-view",{staticClass:"line row row2"}),i("v-uni-view",{staticClass:"line col col1"}),i("v-uni-view",{staticClass:"line col col2"})]:t._e()],2),i("v-uni-view",{staticClass:"controller vertical",style:[t.controllerPosition.left],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(-1,0,e)}}}),i("v-uni-view",{staticClass:"controller vertical",style:[t.controllerPosition.right],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(1,0,e)}}}),i("v-uni-view",{staticClass:"controller horizon",style:[t.controllerPosition.top],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(0,-1,e)}}}),i("v-uni-view",{staticClass:"controller horizon",style:[t.controllerPosition.bottom],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(0,1,e)}}}),0==t.ratio?[i("v-uni-view",{staticClass:"controller controller_dot",style:[t.controllerPosition.leftTop],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(-1,-1,e)}}}),i("v-uni-view",{staticClass:"controller controller_dot",style:[t.controllerPosition.rightTop],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(1,-1,e)}}}),i("v-uni-view",{staticClass:"controller controller_dot",style:[t.controllerPosition.leftBottom],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(-1,1,e)}}}),i("v-uni-view",{staticClass:"controller controller_dot",style:[t.controllerPosition.rightBottom],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.onHandleResize(1,1,e)}}})]:t._e()]:t._e()],2),i("v-uni-view",{staticClass:"slot"},[t._t("default")],2),t.showCanvas?i("v-uni-canvas",{staticClass:"bt-canvas",style:{width:t.dSize.width+"px",height:t.dSize.height+"px"},attrs:{"canvas-id":"bt-canvas"}}):t._e()],1)},a=[]},"8d87":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isShowTabBar?i("v-uni-view",{staticClass:"m-tabbar-box",style:t.tabbarBoxStyle},[t.fill||t.native?i("v-uni-view",{staticClass:"m-tabbar__fill",class:{"m-tabbar__safe":t.safeBottom||t.native},style:t.tabbarFillStyle}):t._e(),i("v-uni-view",{staticClass:"m-tabbar",class:{fixed:t.fixed||t.native,"m-tabbar__safe":t.safeBottom||t.native},style:t.tabbarStyle,attrs:{id:"m-tabbar"}},["black"===t.borderStyle?i("v-uni-view",{staticClass:"m-tabbar__border"}):t._e(),i("v-uni-view",{staticClass:"m-tabbar__flex"},t._l(t.tabbarList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"m-tabbar__item",class:{"m-tabbar__item__active":n===t.currentIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabChange(n)}}},[t._t("tabbar_index_"+n,[i("v-uni-view",{staticClass:"m-tabbar__icon"},[e.dot?i("v-uni-view",{staticClass:"m-tabbar__badge"},[t._v(t._s(e.dot))]):t._e(),i("v-uni-image",{staticClass:"m-tabbar__icon_img",attrs:{src:t.currentIndex===n?e.selectedIconPath:e.iconPath}})],1),i("v-uni-view",{staticClass:"m-tabbar__label",style:{color:n===t.currentIndex?t.tabbarConfig.selectedColor:t.tabbarConfig.color}},[t._v(t._s(e.text))])])],2)})),1),i("v-uni-view",{style:{paddingBottom:t.systemInfo.tabbarPaddingB+"px",background:"#fff"}})],1)],1):t._e()},a=[]},"8ef8":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a434"),i("ac1f"),i("14d9"),i("d3b7"),i("159b"),i("c740");var a=n(i("d359")),o=n(i("5492")),r=i("5600"),s=i("26cb"),c={props:{checkedObj:{type:Array,default:[]}},computed:(0,s.mapGetters)(["viewColor"]),components:{Loading:a.default,subtractive:o.default},data:function(){return{isActive:0,loadedb:!1,loadingb:!1,loadedc:!1,loadingc:!1,loadeds:!1,loadings:!1,whereb:{page:1,limit:10,keyword:""},peicenumber:0,searchVal:"",checked:[],list:[],bought:[],checkedArr:[],aryys:[],storageCustomList:[{CustGoodsCode:"TEST001",CustGoodsName:"测试货主001",IfBoxId:0,IfProductId:0},{CustGoodsCode:"TEST002",CustGoodsName:"测试货主002",IfBoxId:0,IfProductId:0},{CustGoodsCode:"TEST003",CustGoodsName:"测试货主003",IfBoxId:0,IfProductId:0}],index:0,pickerData:"请选择",itstock:""}},watch:{checkedObj:{handler:function(t){this.checkedArr=t},deep:!0}},mounted:function(){this.checkedArr=this.checkedObj,this.aryys=this.checkedObj,this.getBounht()},methods:{producrprice:function(t,e,i){for(var n in this.bought[e].price=t.detail.value,this.$set(i,"check",!1),this.checkedArr)this.checkedArr[n].product_id==i.product_id&&this.checkedArr.splice(n,1)},incrementTotal:function(t,e,i){for(var n in this.$set(i,"check",!1),this.checkedArr)this.checkedArr[n].product_id==i.product_id&&this.checkedArr.splice(n,1)},bindPickerChange:function(t,e,i){this.bought[i].attrValue[this.index].sku=e[t.detail.value].sku,this.bought[i].attrValue[this.index].stock=e[t.detail.value].stock,this.bought[i].product_attr_unique=e[t.detail.value].unique,this.pickerData=e[this.index],0==this.bought[i].attrValue[this.index].stock&&this.$util.Tips({title:"库存不足"})},close:function(){this.$emit("close")},numberChange:function(t,e){this.peicenumber=t.number,this.bought[e].number=t.number},tabs:function(t){this.isActive=t,this.$set(this.whereb,"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()}},setValue:function(t){this.$set(this.whereb,"keyword",t.detail.value),t.detail.value||(this.whereb.page=1,this.loadedb=!1,this.getBounht())},searchBut:function(){this.bought=[],this.whereb.page=1,this.loadedb=!1,this.getBounht()},getBounht:function(){var t=this;t.loadingb||t.loadedb||(t.loadingb=!0,(0,r.getCommunitygetOrderList)(t.whereb).then((function(e){t.loadingb=!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})})))},getInitchecked:function(t){var e=this;t.forEach((function(t,i){e.$set(t,"check",!1),e.checkedArr.forEach((function(i,n){t.product_id==i.product_id&&(e.$set(t,"check",!0),e.$set(t,"number",i.number),e.$set(t,"price",i.price),e.peicenumber=i.number)}))}))},getCheckedGoods:function(){var t=this;this.checked=[],this.checkedArr.forEach((function(e,i){t.checkedArr.push(e)}))},goodsCheck:function(t){this.$set(t,"check",!t.check),t.check?(0==this.peicenumber&&(t.number=1),t.product_attr_unique||(t.product_attr_unique=t.attrValue[0].unique),this.checkedArr.push(t)):this.checkedArr.splice(this.checkedArr.findIndex((function(e){return e.product_id==t.product_id})),1)},submit:function(){this.$emit("getProduct",this.checkedArr)}}};e.default=c},9470:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("d401"),i("d3b7"),i("25f0"),i("14d9"),i("a434");var a=n(i("3835")),o=n(i("5530")),r=n(i("ade3")),s=n(i("dd85")),c=i("26cb"),u=n(i("104c")),d=n(i("ed4b")),l=n(i("99ab")),h=i("3093"),p=(i("52dc"),i("f89e"),n(i("3516"))),f=i("5315"),v=i("5600"),g=i("33b4"),m=n(i("e9c8")),b={components:{avatar:d.default,associated:l.default,authorize:u.default,easyLoadimage:p.default,mTabbar:s.default},data:function(){var t;return t={formData:{image:[],content:"",topic_id:0,category_id:0,video_link:"",is_type:3,resale_type:1,product_info:[]},price:0,deliveryFreeList:[{value:"1",name:"到店核销"},{value:"2",name:"快递配送"}],imageSrc:"",productList:[],topicName:{},isUpload:!0,isAuto:!1,isShowAuth:!1,showCd:!1,isshow:!1,id:"",order_id:"",imgName:"",upload_max:50,uploadUrl:"".concat(h.HTTP_REQUEST_URL,"/api/upload/video"),tabList:[{name:"图文",value:1,icon:"icon-tuwen"},{name:"视频",value:2,icon:"icon-shipin"}],tabActive:1,isPlay:!1,videoContext:"",video_link:"",showVideo:!1,videoplay:!1},(0,r.default)(t,"videoContext",""),(0,r.default)(t,"delivery_free",1),(0,r.default)(t,"templateListPage",{page:1,limit:1e4}),(0,r.default)(t,"merId",""),(0,r.default)(t,"delivery_way",[]),(0,r.default)(t,"type",""),t},computed:(0,o.default)((0,o.default)({},(0,c.mapGetters)(["isLogin","viewColor","uid"])),(0,f.configMap)({community_app_switch:[]})),watch:{},mounted:function(){this.videoContext=uni.createVideoContext("myVideo",this),this.getUserInfo()},onLoad:function(t){this.id=t.id,this.type=t.gtype,this.tabActive=t.type||1,1==this.community_app_switch.length&&(this.tabActive=this.community_app_switch[0]),this.isLogin||(this.isAuto=!0,this.isShowAuth=!0),this.type&&(this.list(),uni.setNavigationBarTitle({title:"编辑调货"})),this.videoContext=uni.createVideoContext("myvideo",this)},onTabItemTap:function(){this.$refs.associated.close(),this.formData.content="",this.formData.image=[],this.formData.topic_id="",this.formData.video_link="",this.productList=[],this.topicName={}},methods:{list:function(){var t=this;(0,v.getresaleDetail)(this.id).then((function(e){if(e.data.status=200){for(var i in t.formData=e.data,t.productList=e.data.resale,t.formData.product_info=[],e.data.resale)t.price=Number(t.price)+Number(e.data.resale[i].number)*Number(e.data.resale[i].price),t.delivery_way=e.data.resale[i].deliver_method.split("");t.getProduct(e.data.resale),e.data.video_link&&(t.tabActive=2)}}))},getUserInfo:function(){var t=this;(0,g.getUserInfo)().then((function(e){t.merId=e.data.service.mer_id}))},deliveryFreeChange:function(t){t.detail.value?this.delivery_free="1":this.delivery_free="0"},deliveryWayChange:function(t){if(this.delivery_way=t.detail.value,this.formData.product_info.length>0)for(var e in this.formData.product_info)this.formData.product_info[e].deliver_method=t.detail.value.toString();else this.$util.Tips({title:"请选择产品,再选择送货方式"})},onLoadFun:function(){this.isShowAuth=!1},authColse:function(t){this.isShowAuth=t},addprice:function(){this.isshow=!0},changeTab:function(t){this.tabActive!=t.value&&(this.tabActive=t.value,this.productList=[],this.price=0,this.formData={image:[],content:"",topic_id:0,category_id:0,video_link:"",is_type:3,product_info:[]})},clk:function(){var t=this;uni.chooseImage({count:1,sizeType:["original"],success:function(e){var i=e.tempFilePaths[0];t.imageSrc=i,t.showCd=!0}})},crop:function(){var t=this;uni.showLoading({title:"",mask:!0}),this.$refs.cropper.crop().then((function(e){var i=(0,a.default)(e,2),n=i[0],o=i[1];n?uni.hideLoading():(uni.hideLoading(),t.doUpload(o.tempFilePath))}))},loadImage:function(){this.showCd=!1},doUpload:function(t){var e=this;uni.showLoading({title:"上传中",mask:!0}),uni.uploadFile({url:h.HTTP_REQUEST_URL+"/api/upload/image/field",filePath:t,name:"field",formData:{filename:t,name:e.imgName},header:(0,r.default)({},h.TOKENNAME,"Bearer "+m.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){JSON.parse(t.data)}})},uploadVideo:function(){var t=this;uni.chooseVideo({sourceType:["camera","album"],success:function(e){Math.ceil(e.size/1024)<1024*t.upload_max?uni.uploadFile({url:t.uploadUrl,filePath:e.tempFilePath,name:"file",formData:{user:"test"},header:(0,r.default)({},h.TOKENNAME,"Bearer "+m.default.state.app.token),success:function(e){var i=JSON.parse(e.data);t.formData.video_link=i.data.src},complete:function(t){}}):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)},delVideo:function(){this.formData.video_link=""},addProduct:function(){this.$refs.associated.open()},close:function(){this.$refs.associated.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){if("edit"==this.type&&(this.formData.product_info=[]),this.productList=[],this.price=0,t.length>0)for(var e in this.productList=t,t)this.price=Number(this.price)+Number(t[e].number)*Number(t[e].price),this.formData.product_info.push({product_attr_unique:t[e].product_attr_unique,number:Number(t[e].number),price:t[e].price});else this.price=0;this.$refs.associated.close()},formSubmit:function(t){var e=this,i=e.formData;return 0==i.image.length?e.$util.Tips({title:"请添加图文图片"}):0==i.product_info.length?e.$util.Tips({title:"请选择产品"}):i.content?i.product_info[0].deliver_method||0!=this.delivery_way.length?2!=e.tabActive||i.video_link?(uni.showLoading({title:"保存中",mask:!0}),void("edit"==e.type?(0,v.getresaleEdit)(e.id,i).then((function(t){"200"==t.status?(uni.hideLoading(),e.$util.Tips({title:"编辑成功",icon:"success"}),e.formData={image:[],content:"",topic_id:0,category_id:0,video_link:"",is_type:3,product_info:[]},uni.redirectTo({url:"/pages/releaseManagement/index?key=2"})):e.$util.Tips({title:t.messge,icon:"success"})})).catch((function(t){return e.$util.Tips({title:t})})):(0,v.getCommunitycreate)(i).then((function(t){"200"==t.status?(uni.hideLoading(),e.$util.Tips({title:"发布成功",icon:"success"}),e.formData={image:[],content:"",topic_id:0,category_id:0,video_link:"",is_type:3,product_info:[]},uni.redirectTo({url:"/pages/releaseManagement/index?key=2"})):e.$util.Tips({title:t.messge,icon:"success"})})).catch((function(t){return e.$util.Tips({title:t})})))):e.$util.Tips({title:"请添加话题视频"}):e.$util.Tips({title:"请选择配送方式"}):e.$util.Tips({title:"请添加商品描述"})}}};e.default=b},"99ab":function(t,e,i){"use strict";i.r(e);var n=i("f434"),a=i("cabb");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("c241");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"1ee10625",null,!1,n["a"],void 0);e["default"]=s.exports},a541:function(t,e,i){"use strict";var n=i("f41a"),a=i.n(n);a.a},a9de:function(t,e,i){var n=i("ee9e");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("0802872c",n,!0,{sourceMap:!1,shadowMode:!1})},b5d3:function(t,e,i){var n=i("e277");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("384276ba",n,!0,{sourceMap:!1,shadowMode:!1})},c241:function(t,e,i){"use strict";var n=i("87cd"),a=i.n(n);a.a},c452:function(t,e,i){var n=i("7ace");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("471f2d88",n,!0,{sourceMap:!1,shadowMode:!1})},cabb:function(t,e,i){"use strict";i.r(e);var n=i("8ef8"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},cb9d:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530"));i("99af"),i("2ca0"),i("d81d"),i("a9e3"),i("c975"),i("d3b7"),i("cb29"),i("c740");var o=n(i("0f76")),r=function(t){var e="";for(var i in t)e+="".concat(i,":").concat(t[i],";");return e},s=function(t,e){return t.startsWith(e)||t.startsWith("http")?t:"/".concat(t)},c={emits:["change","click"],props:{current:{type:[Number,String],default:0},tabbar:{type:Object,default:function(){return{}}},fixed:{type:Boolean,default:!1},fill:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:9999},native:{type:Boolean,default:!1},safeBottom:{type:Boolean,default:!0},beforeChange:{type:Function,default:null},tabbarHeight:{type:[Number,String],default:100}},data:function(){return{systemInfo:{},isShowTabBar:!1,currentIndex:0,beforeData:{},reload:!1}},watch:{current:function(t){this.currentIndex=1*t}},computed:{tabbarConfig:function(){var t=this.native;this.reload;if(t){var e=o.default.tabBar;return e||{borderStyle:"black",list:[]}}return this.tabbar},tabbarList:function(){this.reload;var t=this.tabbarConfig.list;return t?function(t){return!t.length>0?[]:t.map((function(t){return t.iconPath&&(t.iconPath=s(t.iconPath,"/")),t.pagePath&&(t.pagePath=s(t.pagePath,"/")),t.selectedIconPath&&(t.selectedIconPath=s(t.selectedIconPath,"/")),t}))}(t):[]},borderStyle:function(){this.reload;var t=this.tabbarConfig.borderStyle;return t},tabbarBoxStyle:function(){var t=this.zIndex;this.reload;return r({"z-index":t})},tabbarFillStyle:function(){var t=this.tabbarHeight;this.safeBottom,this.reload;return r({height:"".concat(t,"rpx")})},tabbarStyle:function(){this.tabbarHeight,this.reload;var t=this.tabbarConfig.backgroundColor;return r({"background-color":t||"#fff"})},tabbarItemStyle:function(){var t=this.currentIndex,e=(this.reload,this.tabbarConfig),i=e.color,n=e.selectedColor;return r({color:t?n:i})}},mounted:function(){this.initTabbar(),this.getTabbarHeight()},methods:{getTabbarHeight:function(){var t=uni.getSystemInfoSync(),e=(0,a.default)((0,a.default)({},t),{},{tabbarH:50,tabbarPaddingB:0,device:-1!=t.system.indexOf("iOS")?"iOS":"Android"}),i=t.model;i&&["10,3","10,6","X","XR","XS","11","12","13","14","15","16"].forEach((function(t){-1==i.indexOf(t)||-1==i.indexOf("iPhone")&&-1==i.indexOf("iphone")||(e.tabbarH=70,e.tabbarPaddingB=20)})),this.systemInfo=e},initTabbar:function(){var t=this,e=this.current,i=(this.fill,this.native),n=this.tabbarList;if(this.currentIndex=1*e,i){var a="/".concat(getCurrentPages()[0].route),o=n.findIndex((function(t){return t.pagePath===a}));this.currentIndex=o,n.length>0&&uni.hideTabBar()}setTimeout((function(){t.isShowTabBar=!0}))},reLoad:function(){var t=this;this.reload=!0,setTimeout((function(){t.reload=!1}))},checkMaxIndex:function(t){return!!this.tabbarConfig.list[t]},setTabBarBadge:function(t){var e=t.index,i=t.text;this.checkMaxIndex(e)&&(this.tabbarConfig.list[e].dot=i,this.reLoad())},setTabBarItem:function(t){var e=t.index,i=t.text,n=t.pagePath,a=t.iconPath,o=t.selectedIconPath,r=this.tabbarConfig.list[e].pagePath;this.checkMaxIndex(e)&&(this.tabbarConfig.list[e]={pagePath:n||r,text:i,iconPath:a,selectedIconPath:o},this.reLoad())},showTabBar:function(){this.isShowTabBar=!0},hideTabBar:function(){this.isShowTabBar=!1},tabChange:function(t){var e=this.currentIndex;this.$emit("click",t),t!==e?(this.beforeData={newIndex:t,oldIndex:e,next:this.jumpPage},this.beforeChange?this.beforeChange(this.jumpPage):this.jumpPage()):3===t&&uni.$emit("resetLocation")},jumpPage:function(){var t=this.native,e=this.beforeData,i=this.tabbarList,n=e.newIndex,a=i[n],o=a.pagePath,r=a.openType;if(o)if(t)uni.switchTab({url:o});else switch(this.currentIndex=n,r){case"navigate":uni.navigateTo({url:o});break;case"redirect":uni.redirectTo({url:o});break;case"reLaunch":uni.reLaunch({url:o});break;case"switchTab":uni.switchTab({url:o});break;case"navigateBack":uni.navigateBack({delta:1});break;default:uni.reLaunch({url:o})}this.$emit("change",n)}}};e.default=c},d359:function(t,e,i){"use strict";i.r(e);var n=i("38e2"),a=i("f719");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("3fe7");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"0566d5ee",null,!1,n["a"],void 0);e["default"]=s.exports},d711:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.m-tabbar-box[data-v-4ee4aae5]{position:relative;z-index:9999}.m-tabbar[data-v-4ee4aae5]{position:relative}.m-tabbar.fixed[data-v-4ee4aae5]{position:fixed;bottom:0;left:0;width:100vw}.m-tabbar__fill[data-v-4ee4aae5]{pointer-events:none;opacity:0}.m-tabbar__flex[data-v-4ee4aae5]{display:flex;flex-direction:row}.m-tabbar__border[data-v-4ee4aae5]{background-color:rgba(0,0,0,.33);width:100%;height:%?1?%;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.m-tabbar__item[data-v-4ee4aae5]{display:flex;flex-direction:column;align-items:center;flex:1;padding:4px 0 2px}.m-tabbar__icon[data-v-4ee4aae5]{width:%?48?%;height:%?48?%;margin-bottom:%?6?%;position:relative}.m-tabbar__icon_img[data-v-4ee4aae5]{display:block;width:100%;height:100%}.m-tabbar__icon .m-tabbar__badge[data-v-4ee4aae5]{color:#fff;background-color:red;border-radius:%?20?%;font-size:%?22?%;position:absolute;right:%?-25?%;left:%?40?%;padding:%?2?% 0;width:100%;text-align:center;white-space:nowrap}.m-tabbar__label[data-v-4ee4aae5]{font-size:%?24?%}',""]),t.exports=e},d9e9:function(t,e,i){"use strict";var n=i("c452"),a=i.n(n);a.a},dd85:function(t,e,i){"use strict";i.r(e);var n=i("8d87"),a=i("0c68");for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("6f21");var r=i("f0c5"),s=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"4ee4aae5",null,!1,n["a"],void 0);e["default"]=s.exports},df89:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("c975");var a=i("3093"),o=(i("5eb1"),n(i("e9c8")));var r={};["options","get","post","put","head","delete","trace","connect"].forEach((function(t){r[t]=function(e,i,n){return function(t,e,i,n){n.noAuth;var r=n.noVerify,s=void 0!==r&&r,c=a.HTTP_REQUEST_URL,u=a.HEADER;return o.default.state.app.token&&(u[a.TOKENNAME]="Bearer "+o.default.state.app.token),new Promise((function(n,a){uni.request({url:c+"/api/"+t,method:e||"GET",header:u,data:i||{},success:function(t){s||200==t.data.status?n(t.data,t):-1!==[41e4,410001,410002,4e4].indexOf(t.data.status)?a(t.data):501==t.data.status?(uni.reLaunch({url:"/pages/error/index"}),a(t.data)):a(t.data.message||"系统错误")},fail:function(t){a("请求失败")}})}))}(e,t,i,n||{})}}));var s=r;e.default=s},e277:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".Loads[data-v-0566d5ee]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-0566d5ee]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee 3s linear 1s infinite;animation:load-data-v-0566d5ee 3s linear 1s infinite}.loading[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee linear 1s infinite;animation:load-data-v-0566d5ee linear 1s infinite}",""]),t.exports=e},e319:function(t,e,i){var n=i("1890");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("3680adc4",n,!0,{sourceMap:!1,shadowMode:!1})},e40c:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("5530")),o=(n(i("a040")),i("cc48"),i("8a31"),i("26cb")),r=(n(i("8afb")),i("5315")),s=(n(i("1ba1")),i("5eb1")),c=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1},isPay:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),payInfo:"",canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,a.default)((0,a.default)({},(0,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,r.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setPayInfo:function(t){this.payInfo=t},setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,s.toLogin)(!0)},getUserProfile:function(){(0,s.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=c},e599:function(t,e,i){"use strict";i.r(e);var n=i("1c6c"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},eb62:function(t,e,i){"use strict";i.r(e);var n=i("9470"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},ee9e:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.Popup[data-v-42119758]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-42119758]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-42119758]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-42119758]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-42119758]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-42119758]{flex:1;width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-42119758]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-42119758]{width:%?500?%}.flex[data-v-42119758]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-42119758]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-42119758]{font-size:%?28?%;color:#fff}.mask[data-v-42119758]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},f41a:function(t,e,i){var n=i("fa9f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("9f60b7ba",n,!0,{sourceMap:!1,shadowMode:!1})},f434:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={subtractive:i("5492").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"containers",style:t.viewColor},[n("v-uni-view",{staticClass:"header"},[n("v-uni-view",{staticClass:"search"},[n("v-uni-text",{staticClass:"iconfont icon-xiazai5"}),n("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),n("v-uni-view",{staticClass:"iconclose",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[n("v-uni-image",{attrs:{src:i("5c95"),mode:"aspectFit"}})],1)],1),n("v-uni-view",{staticClass:"main"},[n("v-uni-scroll-view",{attrs:{"scroll-y":"true"},on:{touchmove:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e)}}},[[t.bought.length?n("v-uni-view",{staticClass:"goods",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,i){return n("v-uni-view",{key:i,staticClass:"picTxt acea-row"},[n("v-uni-view",{staticClass:"checkbox"},[e.check?n("v-uni-text",{staticClass:"iconfont icon-xuanzhong1",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e)}}}):n("v-uni-text",{staticClass:"iconfont icon-weixuanzhong",class:t.checkedArr.length>=5?"disabled":"",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.goodsCheck(e)}}})],1),n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:e.image}})],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"line2 name"},[t._v(t._s(e.store_name))]),e.attrValue.length>0?n("v-uni-view",{staticClass:"picTxt_one"},[e.attrValue.length>1?n("v-uni-picker",{staticClass:"slecte",attrs:{value:t.index,range:e.attrValue,"range-key":"sku"},on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.bindPickerChange(n,e.attrValue,i)}}},[n("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(e.attrValue[t.index].sku))])],1):t._e(),n("v-uni-view",{staticStyle:{"margin-top":"10rpx"}},[t._v("库存:"+t._s(e.attrValue[t.index].stock))])],1):t._e()],1),n("v-uni-view",{staticClass:"picTxt_price"},[n("v-uni-view",{staticClass:"price"},[n("span",[t._v("出售价格")]),n("v-uni-input",{attrs:{type:"text",value:e.price,placeholder:"输入出售价格","adjust-position":"","placeholder-style":"color: #CCCCCC;"},on:{input:function(n){arguments[0]=n=t.$handleEvent(n),t.producrprice(n,i,e)}}})],1),n("v-uni-view",{staticClass:"price_num"},[n("span",[t._v("出售数量")]),0==e.number?n("subtractive",{staticClass:"step",staticStyle:{"margin-top":"10rpx","margin-left":"20rpx"},attrs:{min:0,max:e.attrValue[t.index].stock,value:t.peicenumber,isMax:!0,isMin:!0,index:"11"},on:{eventChange:function(e){arguments[0]=e=t.$handleEvent(e),t.numberChange(e,i)}}}):n("subtractive",{staticClass:"step",staticStyle:{"margin-top":"10rpx","margin-left":"20rpx"},attrs:{min:0,max:e.attrValue[t.index].stock,value:e.number,isMax:!0,isMin:!0,index:"11"},on:{increment:function(n){arguments[0]=n=t.$handleEvent(n),t.incrementTotal(n,i,e)},eventChange:function(e){arguments[0]=e=t.$handleEvent(e),t.numberChange(e,i)}}})],1)],1)],1)})),1):n("v-uni-view",{staticClass:"empty"},[n("v-uni-image",{attrs:{src:"/static/images/no_thing.png"}}),n("v-uni-text",[t._v("暂无内容哦~")])],1)]],2),n("v-uni-view",{staticClass:"foot_bar"},[n("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)},o=[]},f719:function(t,e,i){"use strict";i.r(e);var n=i("ffc4"),a=i.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},f8f2:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-numbox"},[i("v-uni-view",{staticClass:"uni-numbox-minus",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._calcValue("subtract")}}},[i("v-uni-text",{class:t.minDisabled?"uni-numbox-disabled":""},[t._v("-")])],1),i("v-uni-input",{staticClass:"uni-numbox-value",attrs:{type:"number",disabled:t.disabled,value:t.inputValue},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t._onBlur.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"uni-numbox-plus",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._calcValue("add")}}},[i("v-uni-text",{class:t.maxDisabled?"uni-numbox-disabled":""},[t._v("+")])],1)],1)},a=[]},f9a4:function(t,e,i){var n=i("d711");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("cd31d5a6",n,!0,{sourceMap:!1,shadowMode:!1})},fa9f:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".uni-numbox[data-v-98c8c3a6]{\n\t/* position:absolute; */\n\t/* left: 30upx;\n\tbottom: 0; */display:flex;justify-content:flex-start;align-items:center;width:%?200?%;height:%?50?%\n\t/* background:#f5f5f5; */}.uni-numbox-minus[data-v-98c8c3a6]{background:#eee!important;color:#909399!important}.uni-numbox-minus[data-v-98c8c3a6],\n.uni-numbox-plus[data-v-98c8c3a6]{margin:0;width:%?53?%;height:%?53?%;background-color:#f84221;opacity:1;line-height:%?53?%;text-align:center;position:relative;color:#fff;font-size:%?40?%}.uni-numbox-minus .yticon[data-v-98c8c3a6],\n.uni-numbox-plus .yticon[data-v-98c8c3a6]{font-size:%?36?%;color:#555}.uni-numbox-minus[data-v-98c8c3a6]{\n\t/* \tborder-right: none;\n\tborder-top-left-radius: 6upx;\n\tborder-bottom-left-radius: 6upx; */}.uni-numbox-plus[data-v-98c8c3a6]{\n\t/* border-left: none;\n\tborder-top-right-radius: 6upx;\n\tborder-bottom-right-radius: 6upx; */}.uni-numbox-value[data-v-98c8c3a6]{position:relative;\n\t/* background-color: #f5f5f5; */width:%?90?%;height:%?50?%;text-align:center;padding:0;font-size:%?30?%}.uni-numbox-disabled.yticon[data-v-98c8c3a6]{color:#d6d6d6}",""]),t.exports=e},ff63:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,i=t.width*e.imgScale,n=t.height*e.imgScale;return(0,a.default)({left:t.left+e.imgTranslateX-(i-t.width)/2,top:t.top+e.imgTranslateY-(n-t.height)/2,width:i,height:n})};var a=n(i("63d5")),o={left:0,top:0,width:0,height:0},r={imgTranslateX:0,imgTranslateY:0,imgScale:1}},ffc4:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=n}}]);