| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-wholesaleDetail"],{"0081":function(t,e,i){"use strict";i.r(e);var a=i("01f3"),n=i("27a9");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("2c09");var r,c=i("f0c5"),d=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"2e7e1c8c",null,!1,a["a"],r);e["default"]=d.exports},"01f3":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"carousel"},[i("v-uni-swiper",{attrs:{"indicator-dots":!0,circular:!0,duration:"400"}},t._l(t.imgList,(function(t,e){return i("v-uni-swiper-item",{key:e,staticClass:"swiper-item"},[i("v-uni-view",{staticClass:"image-wrapper"},[i("v-uni-image",{staticClass:"loaded",attrs:{src:t,mode:"scaleToFill"}})],1)],1)})),1)],1)},o=[]},"0438":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{imgList:{type:Array,default:function(){return[]}}},data:function(){return{}}};e.default=a},"0b4b":function(t,e,i){"use strict";i.r(e);var a=i("9dbc"),n=i("e970");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("7256");var r,c=i("f0c5"),d=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"6f4d9b80",null,!1,a["a"],r);e["default"]=d.exports},"27a9":function(t,e,i){"use strict";i.r(e);var a=i("0438"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"27f9":function(t,e,i){var a=i("6273");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("bfca5a66",a,!0,{sourceMap:!1,shadowMode:!1})},"2c09":function(t,e,i){"use strict";var a=i("ef97"),n=i.n(a);n.a},"434c":function(t,e,i){"use strict";var a=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getWholeTimeArea=o,e.getWholeList=r,e.getWholeDetai=c,e.reservePackage=d,e.getMyPackage=s,e.upEvaluation=u,e.getMySellout=f,e.getNewList=l,e.packageAudit=g,e.getWholeInfo=p,e.delivery=v;var n=a(i("41e2"));function o(t){return(0,n.default)({url:"/api/whole/index",method:"get",data:t})}function r(t,e){return(0,n.default)({url:"/api/whole/list/"+e,method:"get",data:t})}function c(t,e,i,a,o){return(0,n.default)({url:"/api/whole/detail/"+e+"/"+i+"/"+a+"/"+o,method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/package/reserve",method:"post",data:t})}function s(t){return(0,n.default)({url:"/api/package/mylist",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/package/evaluation",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/package/order",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/whole/news",method:"get",data:t})}function g(t){return(0,n.default)({url:"/api/package/audit",method:"post",data:t})}function p(t,e){return(0,n.default)({url:"/api/package/info/"+e,method:"get",data:t})}function v(t,e){return(0,n.default)({url:"/api/package/take_delivery/"+e,method:"get",data:t})}},4805:function(t,e,i){"use strict";i.r(e);var a=i("75ef"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"58f5":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.carousel[data-v-2e7e1c8c]{height:%?700?%;position:relative}.carousel uni-swiper[data-v-2e7e1c8c]{height:100%}.carousel .image-wrapper[data-v-2e7e1c8c]{width:100%;height:100%}.carousel .swiper-item[data-v-2e7e1c8c]{display:flex;justify-content:center;align-content:center;height:%?700?%;overflow:hidden}.carousel .swiper-item uni-image[data-v-2e7e1c8c]{width:100%;height:100%}',""]),t.exports=e},6273:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/\n/* 详情 */.detail-desc[data-v-04acf7a8]{margin-top:%?14?%;background:#fff}.detail-desc[data-v-04acf7a8] img{max-width:100%!important;display:inline!important}.detail-desc[data-v-04acf7a8] div{max-width:100%!important}.detail-desc .d-header[data-v-04acf7a8]{display:flex;justify-content:center;align-items:center;height:%?80?%;font-size:%?30?%;color:#303133;position:relative}.detail-desc .d-header uni-text[data-v-04acf7a8]{padding:0 %?20?%;background:#fff;position:relative;z-index:1}.detail-desc .d-header[data-v-04acf7a8]:after{position:absolute;left:50%;top:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:%?300?%;height:0;content:"";border-bottom:1px solid #ccc}\n/* 商品详情中限制图片大小 */[data-v-04acf7a8] .rich-img{width:100%!important;height:auto}',""]),t.exports=e},7256:function(t,e,i){"use strict";var a=i("f026"),n=i.n(a);n.a},"75ef":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{description:{default:""}},data:function(){return{}}};e.default=a},"7ecc":function(t,e,i){"use strict";var a=i("4ea4");i("a4d3"),i("e01a"),i("ac1f"),i("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("0081")),o=a(i("cdaa")),r=i("434c"),c={components:{topSwiper:n.default,contentText:o.default},data:function(){return{imgList:[],goodItem:{},good_id:"",time_id:"",status:1,is_new:"",description:"",loading:!1}},onLoad:function(t){t.id&&(this.good_id=t.id),t.time&&(this.time_id=t.time),t.status&&(this.status=t.status),t.is_new&&(this.is_new=t.is_new),this.getWholeDetai()},methods:{getWholeDetai:function(){var t=this;t.is_new?(0,r.getWholeDetai)({},t.good_id,t.time_id,t.status,1).then((function(e){var i=e.data;t.goodItem=i.storeInfo,t.imgList=i.storeInfo.images,t.description=i.storeInfo.description.replace(/\<img/gi,'<img class="rich-img"')})):(0,r.getWholeInfo)({},t.good_id).then((function(e){var i=e.data;t.goodItem=i.storeInfo,t.imgList=i.storeInfo.images,t.description=i.storeInfo.description.replace(/\<img/gi,'<img class="rich-img"')}))},reservePackage:function(){var t=this,e={whole_id:t.good_id,time_id:t.time_id,price:t.goodItem.price,to_uid:"isn"==t.is_new?0:"",first_price:"isn"==t.is_new?0:"",last_id:"isn"==t.is_new?0:""};t.loading=!0,(0,r.reservePackage)(e).then((function(t){uni.showToast({title:"预约成功",duration:2e3}),setTimeout((function(){uni.navigateTo({url:"/pages/user/myWholesale"})}),800)})).catch((function(e){t.loading=!1,console.log(e)}))}}};e.default=c},"9abd":function(t,e,i){"use strict";var a=i("27f9"),n=i.n(a);n.a},"9dbc":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("top-swiper",{attrs:{imgList:t.imgList}}),i("v-uni-view",{staticClass:"good-price flex"},[i("v-uni-view",{staticClass:"new-price"},[t._v("¥"+t._s(t.goodItem.price))]),i("v-uni-view",{staticClass:"old-price"},[t._v("¥"+t._s(t.goodItem.ot_price))])],1),i("v-uni-view",{staticClass:"good-tit"},[t._v(t._s(t.goodItem.title))]),i("content-text",{attrs:{description:t.description}}),i("v-uni-view",{staticClass:"btn-ts",staticStyle:{height:"130rpx","background-color":"#fff"}}),i("v-uni-view",{staticClass:"btm-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),!t.loading&&t.reservePackage()}}},[t._v("立即预约")])],1)},o=[]},"9fc4":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.good-price[data-v-6f4d9b80]{padding-left:%?20?%;padding-top:%?20?%;justify-content:flex-start;background-color:#fff}.good-price .new-price[data-v-6f4d9b80]{font-size:%?50?%;font-family:PingFang SC;font-weight:700;color:#ff4c4c}.good-price .old-price[data-v-6f4d9b80]{padding-left:%?8?%;font-size:%?33?%;font-family:PingFang SC;font-weight:700;text-decoration:line-through;color:#999}.good-tit[data-v-6f4d9b80]{padding:%?20?%;background-color:#fff}.btm-btn[data-v-6f4d9b80]{position:fixed;bottom:%?35?%;left:0;right:0;margin:auto;width:%?699?%;height:%?90?%;line-height:%?90?%;text-align:center;background:linear-gradient(90deg,#fe6f61,#ff4343);border-radius:%?45?%;font-size:%?36?%;font-family:PingFang SC;font-weight:500;color:#fff}\n/* 商品详情中限制图片大小 */[data-v-6f4d9b80] .rich-img{width:100%!important;height:auto}',""]),t.exports=e},cdaa:function(t,e,i){"use strict";i.r(e);var a=i("eb85"),n=i("4805");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9abd");var r,c=i("f0c5"),d=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"04acf7a8",null,!1,a["a"],r);e["default"]=d.exports},e970:function(t,e,i){"use strict";i.r(e);var a=i("7ecc"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},eb85:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"detail-desc"},[i("v-uni-view",{staticClass:"d-header"},[i("v-uni-text",[t._v("图文详情")])],1),i("v-uni-rich-text",{staticClass:"detail-centent",attrs:{nodes:t.description}})],1)},o=[]},ef97:function(t,e,i){var a=i("58f5");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("5a05a68b",a,!0,{sourceMap:!1,shadowMode:!1})},f026:function(t,e,i){var a=i("9fc4");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("204eaf3e",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|