diff --git a/addons/unishop/uniapp/uni-shop/pages/product/product.vue b/addons/unishop/uniapp/uni-shop/pages/product/product.vue index c89e585..a96a126 100644 --- a/addons/unishop/uniapp/uni-shop/pages/product/product.vue +++ b/addons/unishop/uniapp/uni-shop/pages/product/product.vue @@ -4,7 +4,7 @@ - + @@ -506,6 +506,7 @@ .image-wrapper { width: 100%; height: 100%; + text-align: center; } .swiper-item { diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html index 64d2130..64da602 100644 --- a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html @@ -1,3 +1,3 @@ 宜家自购商城
\ No newline at end of file + })
\ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.0842c0f2.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.dfd6cbe6.js similarity index 99% rename from addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.0842c0f2.js rename to addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.dfd6cbe6.js index 43f8c1e..a913c05 100644 --- a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.0842c0f2.js +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.dfd6cbe6.js @@ -1 +1 @@ -(function(e){function n(n){for(var a,i,s=n[0],u=n[1],c=n[2],g=0,p=[];g1&&void 0!==arguments[1]?arguments[1]:3e3,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&(uni.showToast({title:e,duration:n,mask:o,icon:a}),setTimeout((function(){uni.hideToast()}),n))},g=function(){var e=getCurrentPages(),n=e[e.length-2];return n},d=function(){return new Promise((function(e){if(0==i.default.prototype.$store.state.hasLogin){var n="/pages/public/login";uni.navigateTo({url:n})}else e(!0)}))},p=function e(n,o){o=o||{};for(var a in n)"object"===typeof n[a]?(o[a]=n[a].constructor===Array?[]:{},e(n[a],o[a])):o[a]=n[a];return o},l=function(){var n=(0,r.default)(regeneratorRuntime.mark((function n(o){var a,r,s,u,g,d,p,l,f=arguments;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=f.length>1&&void 0!==f[1]?f[1]:"GET",r=f.length>2&&void 0!==f[2]?f[2]:{},s=!(f.length>3&&void 0!==f[3])||f[3],u={"content-type":"application/x-www-form-urlencoded",lang:i.default.prototype.$store.state.lang,platform:i.default.prototype.$platform},i.default.prototype.$store.state.userInfo.token&&(u.token=i.default.prototype.$store.state.userInfo.token),i.default.prototype.$store.state.cookie&&(u.cookie=i.default.prototype.$store.state.cookie),n.next=8,uni.request({url:i.default.prototype.$unishow+o,method:a,header:u,data:r,timeout:5e3});case 8:return g=n.sent,d=(0,t.default)(g,2),p=d[0],l=d[1],"/pay/submit"==o&&e("log",l," at main.js:139"),n.abrupt("return",new Promise((function(e){if(p&&(s&&c(JSON.stringify(l)),e(!1)),l){if(l.header.hasOwnProperty("Set-Cookie")){var n=l.header["Set-Cookie"].replace("; path=/","");i.default.prototype.$store.commit("setCookie",n)}l.hasOwnProperty("data")?(l.data.hasOwnProperty("code")&&401==l.data.code&&i.default.prototype.$store.commit("logout"),l.data.hasOwnProperty("code")&&1==l.data.code?(l.data.msg?s&&c(l.data.msg):uni.hideToast(),e(l.data.data)):(l.data.hasOwnProperty("msg")?s&&c(l.data.msg):s&&c("返回参数错误"),e(!1))):(s&&c("不能识别数据"),e(!1))}})));case 14:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),f=function(n){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e("log",1111111111,n," at main.js:184"),o&&!i.default.prototype.$store.state.hasLogin&&(n="/pages/public/login"),uni.navigateTo({url:n})};i.default.config.productionTip=!1,i.default.prototype.$fire=new i.default,i.default.prototype.$store=s.default,i.default.prototype.$api={msg:c,prePage:g,checkLogin:d,request:l,deepCopy:p,navTo:f},u.default.mpType="app";var y=new i.default((0,a.default)({},u.default));y.$mount()}).call(this,o("0de9")["log"])},"743d":function(e,n,o){"use strict";o.r(n);var a=o("f720"),t=o("0d01");for(var r in t)"default"!==r&&function(e){o.d(n,e,(function(){return t[e]}))}(r);o("032c");var i,s=o("f0c5"),u=Object(s["a"])(t["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=u.exports},a792:function(e,n,o){"use strict";var a=o("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=a(o("e143")),r=a(o("2f62"));t.default.use(r.default);var i=new r.default.Store({state:{hasLogin:!1,userInfo:{token:""},lang:"zh-cn",cookie:""},mutations:{login:function(e,n){e.hasLogin=!0,e.userInfo=n,uni.setStorage({key:"userInfo",data:n})},logout:function(e){e.hasLogin=!1,e.userInfo={},uni.removeStorage({key:"userInfo"})},setUserInfo:function(e,n){e.userInfo=n,uni.setStorage({key:"userInfo",data:n})},setCookie:function(e,n){e.cookie=n,uni.setStorage({key:"cookieKey",data:n})}},actions:{}}),s=i;n.default=s},ee81:function(e,n,o){var a=o("3375");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var t=o("4f06").default;t("2c69b8aa",a,!0,{sourceMap:!1,shadowMode:!1})},f720:function(e,n,o){"use strict";var a;o.d(n,"b",(function(){return t})),o.d(n,"c",(function(){return r})),o.d(n,"a",(function(){return a}));var t=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},r=[]}}); \ No newline at end of file +(function(e){function n(n){for(var a,i,s=n[0],u=n[1],c=n[2],g=0,p=[];g1&&void 0!==arguments[1]?arguments[1]:3e3,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&(uni.showToast({title:e,duration:n,mask:o,icon:a}),setTimeout((function(){uni.hideToast()}),n))},g=function(){var e=getCurrentPages(),n=e[e.length-2];return n},d=function(){return new Promise((function(e){if(0==i.default.prototype.$store.state.hasLogin){var n="/pages/public/login";uni.navigateTo({url:n})}else e(!0)}))},p=function e(n,o){o=o||{};for(var a in n)"object"===typeof n[a]?(o[a]=n[a].constructor===Array?[]:{},e(n[a],o[a])):o[a]=n[a];return o},l=function(){var n=(0,r.default)(regeneratorRuntime.mark((function n(o){var a,r,s,u,g,d,p,l,f=arguments;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=f.length>1&&void 0!==f[1]?f[1]:"GET",r=f.length>2&&void 0!==f[2]?f[2]:{},s=!(f.length>3&&void 0!==f[3])||f[3],u={"content-type":"application/x-www-form-urlencoded",lang:i.default.prototype.$store.state.lang,platform:i.default.prototype.$platform},i.default.prototype.$store.state.userInfo.token&&(u.token=i.default.prototype.$store.state.userInfo.token),i.default.prototype.$store.state.cookie&&(u.cookie=i.default.prototype.$store.state.cookie),n.next=8,uni.request({url:i.default.prototype.$unishow+o,method:a,header:u,data:r,timeout:5e3});case 8:return g=n.sent,d=(0,t.default)(g,2),p=d[0],l=d[1],"/pay/submit"==o&&e("log",l," at main.js:139"),n.abrupt("return",new Promise((function(e){if(p&&(s&&c(JSON.stringify(l)),e(!1)),l){if(l.header.hasOwnProperty("Set-Cookie")){var n=l.header["Set-Cookie"].replace("; path=/","");i.default.prototype.$store.commit("setCookie",n)}l.hasOwnProperty("data")?(l.data.hasOwnProperty("code")&&401==l.data.code&&i.default.prototype.$store.commit("logout"),l.data.hasOwnProperty("code")&&1==l.data.code?(l.data.msg?s&&c(l.data.msg):uni.hideToast(),e(l.data.data)):(l.data.hasOwnProperty("msg")?s&&c(l.data.msg):s&&c("返回参数错误"),e(!1))):(s&&c("不能识别数据"),e(!1))}})));case 14:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),f=function(n){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e("log",1111111111,n," at main.js:184"),o&&!i.default.prototype.$store.state.hasLogin&&(n="/pages/public/login"),uni.navigateTo({url:n})};i.default.config.productionTip=!1,i.default.prototype.$fire=new i.default,i.default.prototype.$store=s.default,i.default.prototype.$api={msg:c,prePage:g,checkLogin:d,request:l,deepCopy:p,navTo:f},u.default.mpType="app";var y=new i.default((0,a.default)({},u.default));y.$mount()}).call(this,o("0de9")["log"])},"743d":function(e,n,o){"use strict";o.r(n);var a=o("f720"),t=o("0d01");for(var r in t)"default"!==r&&function(e){o.d(n,e,(function(){return t[e]}))}(r);o("032c");var i,s=o("f0c5"),u=Object(s["a"])(t["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=u.exports},a792:function(e,n,o){"use strict";var a=o("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=a(o("e143")),r=a(o("2f62"));t.default.use(r.default);var i=new r.default.Store({state:{hasLogin:!1,userInfo:{token:""},lang:"zh-cn",cookie:""},mutations:{login:function(e,n){e.hasLogin=!0,e.userInfo=n,uni.setStorage({key:"userInfo",data:n})},logout:function(e){e.hasLogin=!1,e.userInfo={},uni.removeStorage({key:"userInfo"})},setUserInfo:function(e,n){e.userInfo=n,uni.setStorage({key:"userInfo",data:n})},setCookie:function(e,n){e.cookie=n,uni.setStorage({key:"cookieKey",data:n})}},actions:{}}),s=i;n.default=s},ee81:function(e,n,o){var a=o("3375");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var t=o("4f06").default;t("2c69b8aa",a,!0,{sourceMap:!1,shadowMode:!1})},f720:function(e,n,o){"use strict";var a;o.d(n,"b",(function(){return t})),o.d(n,"c",(function(){return r})),o.d(n,"a",(function(){return a}));var t=function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},r=[]}}); \ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.0b064e3d.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.0b064e3d.js deleted file mode 100644 index 3614efb..0000000 --- a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.0b064e3d.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-product"],{"0dc6":function(t,e,a){var i=a("b3f9");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2002502c",i,!0,{sourceMap:!1,shadowMode:!1})},"10b5":function(t,e,a){"use strict";a.r(e);var i=a("a6be"),n=a("7b68");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("4844");var r,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"e73e11fa",null,!1,i["a"],r);e["default"]=c.exports},"1bea":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.mask[data-v-f0809dbe]{position:fixed;left:0;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:flex-end;z-index:998;transition:.3s}.mask .bottom[data-v-f0809dbe]{position:absolute;left:0;bottom:0;display:flex;justify-content:center;align-items:center;width:100%;height:%?90?%;background:#fff;z-index:9;font-size:%?30?%;color:#303133}.mask-content[data-v-f0809dbe]{width:100%;height:%?580?%;transition:.3s;background:#fff}.mask-content.has-bottom[data-v-f0809dbe]{padding-bottom:%?90?%}.mask-content .view-content[data-v-f0809dbe]{height:100%}.share-header[data-v-f0809dbe]{height:%?110?%;font-size:%?30?%;color:font-color-dark;display:flex;align-items:center;justify-content:center;padding-top:%?10?%}.share-header[data-v-f0809dbe]:before, .share-header[data-v-f0809dbe]:after{content:"";width:%?240?%;heighg:0;border-top:1px solid #e4e7ed;-webkit-transform:scaleY(.5);transform:scaleY(.5);margin-right:%?30?%}.share-header[data-v-f0809dbe]:after{margin-left:%?30?%;margin-right:0}.share-list[data-v-f0809dbe]{display:flex;flex-wrap:wrap}.share-item[data-v-f0809dbe]{min-width:33.33%;display:flex;flex-direction:column;justify-content:center;align-items:center;height:%?180?%}.share-item uni-image[data-v-f0809dbe]{width:%?80?%;height:%?80?%;margin-bottom:%?16?%}.share-item uni-text[data-v-f0809dbe]{font-size:%?28?%;color:#606266}',""]),t.exports=e},"243a":function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{transform:"translateY(50vh)",timer:0,backgroundColor:"rgba(0,0,0,0)",show:!1,config:{}}},props:{contentHeight:{type:Number,default:0},hasTabbar:{type:Boolean,default:!1},shareList:{type:Array,default:function(){return[]}}},created:function(){var t=uni.upx2px(this.contentHeight)+"px";this.config={height:t,transform:"translateY(".concat(t,")"),backgroundColor:"rgba(0,0,0,.4)"},this.transform=this.config.transform},methods:{toggleMask:function(){var t=this;if(1!=this.timer){if(this.timer=1,setTimeout((function(){t.timer=0}),500),this.show)return this.transform=this.config.transform,this.backgroundColor="rgba(0,0,0,0)",void setTimeout((function(){t.show=!1,t.hasTabbar&&uni.showTabBar()}),200);this.show=!0,this.hasTabbar?uni.hideTabBar({success:function(){setTimeout((function(){t.backgroundColor=t.config.backgroundColor,t.transform="translateY(0px)"}),10)}}):setTimeout((function(){t.backgroundColor=t.config.backgroundColor,t.transform="translateY(0px)"}),10)}},stopPrevent:function(){},shareToFriend:function(t){this.$api.msg("分享给".concat(t)),this.toggleMask()}}};e.default=i},2527:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"progress",class:t.Type,style:{width:t.widthUpx+"rpx"}},[1==t.Vice?a("v-uni-view",{staticClass:"progress-text",style:{width:t.widthUpx+"rpx"}},[t._v("已抢"+t._s(t.Sold)+"件\n\t\t\t"+t._s(t.Width+"%"))]):t._e(),a("v-uni-view",{staticClass:"progress-bar",style:{width:t.Width+"%"}},[1==t.Main?a("v-uni-view",{staticClass:"progress-text"},[t._v(t._s(t.Width+"%"))]):t._e()],1)],1)],1)},o=[]},"36dc":function(t,e,a){"use strict";a.r(e);var i=a("773e"),n=a("3d78");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("fa30");var r,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"7e5141ef",null,!1,i["a"],r);e["default"]=c.exports},"3d78":function(t,e,a){"use strict";a.r(e);var i=a("6c67"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},4844:function(t,e,a){"use strict";var i=a("0dc6"),n=a.n(i);n.a},"63e6":function(t,e,a){"use strict";var i=a("a0ba"),n=a.n(i);n.a},"66f2":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'.progress[data-v-63ef8610]{position:relative;z-index:5;background:#484848;border-radius:20px;display:inline-block;box-shadow:0 5px 17px rgba(40,40,40,.5),0 0 3px 1px rgba(40,40,40,.5) inset}.progress-text[data-v-63ef8610]{position:absolute;font:700 11px/16px Arial;text-align:center;top:0;left:0}.progress[data-v-63ef8610],\r\n.progress-bar[data-v-63ef8610],\r\n.progress-text[data-v-63ef8610]{width:%?710?%;height:%?34?%}.progress .progress-text[data-v-63ef8610]:first-child{z-index:20;color:#fff}.progress .progress-text[data-v-63ef8610]:last-child{z-index:10;color:#000}.progress-bar[data-v-63ef8610]{overflow:hidden;position:relative;z-index:10;border-radius:12px;width:0;-moz-transition:width .2s linear;-webkit-transition:width .2s linear;-o-transition:width .2s linear;transition:width .2s linear}\r\n\r\n/* Test Style */.progress.test .progress-bar[data-v-63ef8610]{background-color:#00baba;background-image:-moz-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-webkit-linear-gradient(left,#d1fffb,#00baba);background-image:-o-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-ms-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:linear-gradient(90deg,#d1fffb 0,#00baba);background-size:200px 20px;overflow:visible}.progress.test .progress-text[data-v-63ef8610]:first-child{display:none}.progress.test .progress-text[data-v-63ef8610]:last-child{left:auto;top:auto;bottom:-26px;right:-12px;display:block;background-color:#00baba;width:40px;height:20px;border-radius:3px}.test[data-width="0%"] .progress-text[data-v-63ef8610]:last-child{display:none}.progress.test .progress-text[data-v-63ef8610]:last-child:before{position:absolute;left:12px;top:-6px;content:"";width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent #00baba transparent}\r\n\r\n/* Copper style */.progress.copper .progress-bar[data-v-63ef8610]{background-color:#b68d4c;background-image:-moz-linear-gradient(top,#f3e2c7 0,#b68d4c 51%,#e9d4b3 100%);background-image:-webkit-linear-gradient(top,#f3e2c7,#b68d4c 51%,#e9d4b3);background-image:-ms-linear-gradient(top,#f3e2c7 0,#b68d4c 51%,#e9d4b3 100%);background-image:linear-gradient(180deg,#f3e2c7 0,#b68d4c 51%,#e9d4b3);box-shadow:inset 2px 2px 3px 0 hsla(0,0%,100%,.75),inset -3px 0 3px 0 hsla(0,0%,100%,.75)}\r\n\r\n/* Aqua Style */.progress.aqua .progress-bar[data-v-63ef8610]{background-color:#00baba;background-image:-moz-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-webkit-linear-gradient(left,#d1fffb,#00baba);background-image:-o-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-ms-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:linear-gradient(90deg,#d1fffb 0,#00baba)}\r\n\r\n/* Candystripe style */.progress.candy .progress-bar[data-v-63ef8610]{background-color:#d00;box-shadow:0 0 6px 2px hsla(0,0%,100%,.3) inset;background-image:linear-gradient(-45deg,hsla(0,0%,100%,.35) 25%,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,0) 50%,hsla(0,0%,100%,.35) 0,hsla(0,0%,100%,.35) 75%,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,0));background-repeat:repeat-x;background-size:20px 20px;-webkit-animation:candystripe-data-v-63ef8610 1s linear infinite;-moz-animation:candystripe-data-v-63ef8610 1s linear infinite;animation:candystripe-data-v-63ef8610 1s linear infinite}@-webkit-keyframes candystripe-data-v-63ef8610{to{background-position:20px 0}}@-moz-keyframes candystripe-data-v-63ef8610{to{background-position:20px 0}}@keyframes candystripe-data-v-63ef8610{to{background-position:20px 0}}\r\n\r\n/* Pulsating Neon style */.progress.neon .progress-bar[data-v-63ef8610]{background-color:#fff;box-shadow:0 0 5px #01fe32 inset,0 0 16px #08ff35,0 0 20px #08ff35,0 0 15px #08ff35;-webkit-animation:pulse-data-v-63ef8610 2s linear infinite;-moz-animation:pulse-data-v-63ef8610 2s linear infinite;animation:pulse-data-v-63ef8610 2s linear infinite}@-webkit-keyframes pulse-data-v-63ef8610{50%{box-shadow:0 0 5px #01fe32 inset,0 0 10px #08ff35,0 0 10px #08ff35,0 0 10px #08ff35}}@-moz-keyframes pulse-data-v-63ef8610{50%{box-shadow:0 0 5px #01fe32 inset,0 0 10px #08ff35,0 0 10px #08ff35,0 0 10px #08ff35}}@keyframes pulse-data-v-63ef8610{50%{box-shadow:0 0 5px #01fe32 inset,0 0 10px #08ff35,0 0 10px #08ff35,0 0 10px #08ff35}}\r\n\r\n/* Shine style */.progress.shine .progress-bar[data-v-63ef8610]{background-color:#00ba0c;background-image:-moz-linear-gradient(left,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c 100%);background-image:-webkit-linear-gradient(left,#00ba0c,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c);background-image:-o-linear-gradient(left,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c 100%);background-image:-ms-linear-gradient(left,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c 100%);background-image:linear-gradient(90deg,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c);background-size:800px 20px;box-shadow:inset 0 -2px 2px rgba(0,0,0,.5),inset 0 2px 2px hsla(0,0%,100%,.8);-webkit-animation:shine-data-v-63ef8610 2s linear infinite;-moz-animation:shine-data-v-63ef8610 2s linear infinite;animation:shine-data-v-63ef8610 2s linear infinite}@-webkit-keyframes shine-data-v-63ef8610{to{background-position:800px 0}}@-moz-keyframes shine-data-v-63ef8610{to{background-position:800px 0}}@keyframes shine-data-v-63ef8610{to{background-position:800px 0}}\r\n\r\n/* Zigzag style */.progress.zigzag .progress-bar[data-v-63ef8610]{background-color:#efe743;background-image:-moz-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 25%),-moz-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 25%),-moz-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 25%),-moz-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 25%);background-image:-webkit-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 0),-webkit-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 0),-webkit-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 0),-webkit-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 0);background-image:-o-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 25%),-o-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 25%),-o-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 25%),-o-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 25%);background-image:-ms-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 25%),-ms-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 25%),-ms-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 25%),-ms-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 25%);background-image:linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 0),linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 0),linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 0),linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 0);background-position:-10px 0,-10px 0,0 0,0 0;background-size:20px 20px;-webkit-animation:zigzagmove-data-v-63ef8610 .5s linear infinite;-moz-animation:zigzagmove-data-v-63ef8610 .5s linear infinite;animation:zigzagmove-data-v-63ef8610 .5s linear infinite}@-webkit-keyframes zigzagmove-data-v-63ef8610{to{background-position:10px 0,10px 0,20px 0,20px 0}}@-moz-keyframes zigzagmove-data-v-63ef8610{to{background-position:10px 0,10px 0,20px 0,20px 0}}@keyframes zigzagmove-data-v-63ef8610{to{background-position:10px 0,10px 0,20px 0,20px 0}}\r\n\r\n/* Diamond style */.progress.diamond .progress-bar[data-v-63ef8610]{background-color:#eee;background-image:-moz-linear-gradient(45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red),-moz-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red);background-image:-webkit-linear-gradient(45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red),-webkit-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red);background-image:-o-linear-gradient(45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red),-o-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red);background-image:-ms-linear-gradient(45deg,red 25%,hsla(0,0%,100%,0) 25%,rgba(255,0,0,0) 75%,red 75%,red),-ms-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red);background-image:linear-gradient(45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red),linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red);background-size:10px 10px;-webkit-animation:move-data-v-63ef8610 1.2s linear alternate infinite;-moz-animation:move-data-v-63ef8610 1.2s linear alternate infinite;animation:move-data-v-63ef8610 1.2s linear alternate infinite}@-webkit-keyframes move-data-v-63ef8610{to{background-position:5px -10px;background-size:20px 20px}}@-moz-keyframes move-data-v-63ef8610{to{background-position:5px -10px;background-size:20px 20px}}@keyframes move-data-v-63ef8610{to{background-position:5px -10px;background-size:20px 20px}}.progress.sparkle .progress-bar[data-v-63ef8610]{background-color:#f7a806;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABACAMAAADMI7KPAAACZFBMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////xG13JAAAAzHRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJytLua8SRAAASK0lEQVR42nXWWZMb12H28edsvQJoAINlMMPZOCQlioso0rKlmPYb+XXKvnAlvslNrvIBkg+Rz5Ck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HhIoqbkNzu98wdijrb+aveAtv/yJ/tmj6jSEFX51ekv1BE41ebnnwztmw2fReu9S/Y19zd3+QdRJR7OJZsmPysGVP8WgzcXQ7PgBCbV1aeJLTiTZANEkpt2X3brMionhNL+dztDNY+gXSwc8Hvd6uY7RpL7HH/8PHzrVzrjdVlLL6ZX0nePdsA89JG0gII1SYWZfd74PZo8ipFRhOqF4lqynZ71tc7e+EIxb/Yn/QL6Kz1fcfh0kaNrqdxCfMWMzRTHl+xn3TALd123OJWqmrVojnKQVoooOMxbUlYhUXg+I5i+HzecksNu+9lxg4ONxHtLaxBdVayQR99dlOpDlXKaALtUy2cjpvl4oiZxCEmw99h/xgFy+mxgPmcFBGWOp95ysfRVmOJ5K7PkKzFq4acSQSjQEA0v2wWop3zEinVEBLZBkGOREUXGIezhOVNh68ZrLZbfxfdJDhR1P6ianXkvv3GZ7qBdmyk+PJEK4IcISysL21EVVzfa0g49SpUAKzImzO6TDBaPt7ampq+3b38qlhjBfjBgP8UI1ubwDgeMqolLiVC4wk4SL0AUBBCq2DdQAqpEQbmmplGtIvCPKPngoT9H98bzV87Tt8cPtdvIik08mO6qewQnwhpy2GJOwJzT+/riKNABP2AuvplBjxIQ9Ftt89wJGBOet+I28U5jbW8AKlS1Pp6JGGefrCjb0E/wtYT0+oEQxnLAAAAABJRU5ErkJggg==");box-shadow:inset 0 -2px 2px rgba(0,0,0,.5),inset 0 2px 2px hsla(0,0%,100%,.8);-webkit-animation:sparkle-data-v-63ef8610 1.5s linear infinite;-moz-animation:sparkle-data-v-63ef8610 1.5s linear infinite;-o-animation:sparkle-data-v-63ef8610 1.5s linear infinite;animation:sparkle-data-v-63ef8610 1.5s linear infinite}@-webkit-keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}@-moz-keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}@-o-keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}@keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}.progress.hearts .progress-bar[data-v-63ef8610]{background-image:radial-gradient(circle closest-side at 60% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 60% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 50% 35%,#d35 30%,rgba(221,51,85,0) 31%),radial-gradient(circle closest-side at 60% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 60% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 50% 35%,#d35 30%,rgba(221,51,85,0) 31%);background-color:#b03;background-position:0 0,0 0,0 0,0 0,0 0,20px 20px,20px 20px,20px 20px,20px 20px,0 0;background-size:40px 40px;-webkit-animation:heartmove-data-v-63ef8610 1.2s linear infinite;-moz-animation:heartmove-data-v-63ef8610 1.2s linear infinite;animation:heartmove-data-v-63ef8610 1.2s linear infinite}@-webkit-keyframes heartmove-data-v-63ef8610{to{background-position:20px 0}}@-moz-keyframes heartmove-data-v-63ef8610{to{background-position:20px 0}}@keyframes heartmove-data-v-63ef8610{to{background-position:40px 0,40px 0,40px 0,40px 0,40px 20px,40px 20px,40px 20px,40px 20px,40px 20px,40px 0}}h2[data-v-63ef8610]{text-align:center;font-size:18px;font-family:Arial}a[data-v-63ef8610]{color:#89310f}',""]),t.exports=e},"6c67":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("4160"),a("e25e"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var n=i(a("1da1")),o=i(a("b85c")),r=i(a("5530")),s=a("2f62"),c=i(a("d50b")),d=i(a("71d1")),l=i(a("10b5")),f={components:{share:c.default,ProgressBar:d.default,uniCountdown:l.default},computed:(0,r.default)((0,r.default)({},(0,s.mapGetters)(["userInfo","hasLogin"])),{},{specSelectedName:function(){return this.specSelected.join(" ")},specProduct:function(){if(1==this.product.use_spec){var t,e=this.product.market_price,a=this.product.sales_price,i=this.product.stock,n=this.product.image,r=this.specSelected.join(" "),s=(this.specTableList,(0,o.default)(this.specTableList));try{for(s.s();!(t=s.n()).done;){var c=t.value;c.value.join(" ")==r&&(e=c.market_price,a=c.sales_price,i=c.stock,n=c.image)}}catch(d){s.e(d)}finally{s.f()}return{market_price:e,sales_price:a,stock:i,image:n}}return this.product}}),data:function(){return{couponClass:"none",specClass:"none",specSelected:[],favorite:!1,shareList:[],specList:[],specChildList:[],specTableList:[],product:{},flash:!1,id:!1,countdown:{},progress:{sold:1,number:1}}},onPullDownRefresh:function(){this.$refs&&this.$refs.countd&&(this.$refs.countd.syncFlag=!1),this.getDetail(this.id,this.flash?this.flash:0)},onShareAppMessage:function(t){return{title:this.product.title}},onLoad:function(t){this.id=t.id;var e=t.flash?t.flash:0;0!=e&&(this.flash=e),this.getDetail(this.id,e)},methods:{timeup:function(){this.getDetail(this.id,this.flash?this.flash:0)},getDetail:function(t,e){var a=this;return(0,n.default)(regeneratorRuntime.mark((function i(){var n,r,s,c,d,l,f,u,p;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n=0==e?"/product/detail":"/flash/productDetail",i.next=3,a.$api.request(n+"?id=".concat(t,"&flash_id=").concat(e),"GET");case 3:if(r=i.sent,uni.stopPullDownRefresh(),r){i.next=8;break}return setTimeout((function(){uni.navigateBack()}),3e3),i.abrupt("return");case 8:if(a.product=r,r.flash&&(a.countdown=r.flash.countdown,a.progress=r.flash),a.favorite=a.product.favorite,a.product.use_spec){for(u in s=a.product.spec_list,c=a.product.spec_table_list,d=1,l=1,f=[],s)for(p in s[u].id=d++,s[u].child)f.push({id:l++,pid:s[u].id,name:s[u].child[p]});a.specList=s,a.specChildList=f,a.specTableList=c,a.specSelected=[],a.specList.forEach((function(t){var e,i=(0,o.default)(a.specChildList);try{for(i.s();!(e=i.n()).done;){var n=e.value;if(n.pid===t.id){a.$set(n,"selected",!0),a.specSelected.push(n.name);break}}}catch(r){i.e(r)}finally{i.f()}}))}case 12:case"end":return i.stop()}}),i)})))()},toggleCoupon:function(){var t=this;"show"===this.couponClass?(this.couponClass="hide",setTimeout((function(){t.couponClass="none"}),250)):"none"===this.couponClass&&(this.couponClass="show")},toggleSpec:function(){var t=this;"show"===this.specClass?(this.specClass="hide",setTimeout((function(){t.specClass="none"}),250)):"none"===this.specClass&&(this.specClass="show")},selectSpec:function(t,e){var a=this,i=this.specChildList;i.forEach((function(t){t.pid===e&&a.$set(t,"selected",!1)})),this.$set(i[t],"selected",!0),this.specSelected=[],i.forEach((function(t){!0===t.selected&&a.specSelected.push(t.name)}))},share:function(){this.$refs.share.toggleMask()},toFavorite:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.flash){e.next=3;break}return t.$api.msg("秒杀商品不能收藏"),e.abrupt("return");case 3:return e.next=5,t.$api.checkLogin();case 5:if(a=e.sent,!a){e.next=12;break}return t.favorite=!t.favorite,e.next=10,t.$api.request("/product/favorite?id="+t.product.product_id);case 10:i=e.sent,i||(t.favorite=!t.favorite);case 12:case"end":return e.stop()}}),e)})))()},buy:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.checkLogin();case 2:a=e.sent,a&&(i="",1==t.product.use_spec&&(i=t.specSelected.join(",")),n="/pages/order/createOrder?id=".concat(t.product.product_id,"&spec=").concat(i),t.flash&&(n+="&flash_id=".concat(t.flash)),uni.navigateTo({url:n}));case 4:case"end":return e.stop()}}),e)})))()},addCart:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.flash){e.next=3;break}return t.$api.msg("秒杀商品不能加入购物车"),e.abrupt("return");case 3:return e.next=5,t.$api.checkLogin();case 5:if(a=e.sent,!a){e.next=13;break}return i="",1==t.product.use_spec&&(i=t.specSelected.join(",")),e.next=11,t.$api.request("/cart/add?id="+t.product.product_id+"&spec="+i);case 11:n=e.sent,n&&t.product.cart_num++;case 13:case"end":return e.stop()}}),e)})))()},stopPrevent:function(){},percentage:function(t,e){return e?parseInt(e/t*100):0},previewImage:function(t){uni.previewImage({current:this.product.images_text[t],urls:this.product.images_text,indicator:"number",loop:!0})}}};e.default=f},"71d1":function(t,e,a){"use strict";a.r(e);var i=a("2527"),n=a("fa77");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("63e6");var r,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"63ef8610",null,!1,i["a"],r);e["default"]=c.exports},"74cd":function(t,e,a){"use strict";var i=a("b475"),n=a.n(i);n.a},"773e":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uniCountdown:a("10b5").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"carousel"},[a("v-uni-swiper",{attrs:{"indicator-dots":!0,circular:"true",duration:"400"}},t._l(t.product.images_text,(function(e,i){return a("v-uni-swiper-item",{key:i,staticClass:"swiper-item"},[a("v-uni-view",{staticClass:"image-wrapper"},[a("v-uni-image",{staticClass:"loaded",attrs:{src:e,mode:"aspectFill"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.previewImage(i)}}})],1)],1)})),1)],1),t.flash?a("v-uni-view",{staticClass:"flash"},[t.product.market_price?a("v-uni-view",{staticClass:"sales_price"},[a("v-uni-view",{staticClass:"symbol"},[t._v("¥")]),t._v(t._s(t.specProduct.sales_price))],1):t._e(),t.product.market_price?a("v-uni-view",{staticClass:"left"},[a("v-uni-view",{staticClass:"market_price"},[t._v("¥"+t._s(t.specProduct.market_price))]),t.progress.number?a("v-uni-view",{staticClass:"sold"},[t._v("秒"+t._s(t.progress.number)+"件")]):t._e()],1):t._e(),a("v-uni-view",{staticClass:"right"},[t.countdown&&t.progress.number!=t.progress.sold?a("v-uni-view",{staticClass:"time"},[t._v(t._s(t.product.flash.text)),a("uni-countdown",{ref:"countd",attrs:{showDay:t.countdown.day>0,day:t.countdown.day,hour:t.countdown.hour,minute:t.countdown.minute,second:t.countdown.second,color:"#fffa30",borderWidth:"22rpx",splitorColor:"#fffa30","background-color":"#282f2c00","border-color":"#00B26A"},on:{timeup:function(e){arguments[0]=e=t.$handleEvent(e),t.timeup.apply(void 0,arguments)}}})],1):a("v-uni-view",{staticClass:"time",class:{flashDone:0==t.progress.number}},[t._v("抢购已结束")]),t.progress.number?a("v-uni-view",{staticClass:"progress"},[a("ProgressBar",{staticClass:"ProgressBar",attrs:{Sold:t.progress.sold,widthUpx:250,Width:t.percentage(t.progress.number,t.progress.sold),Type:"candy",Vice:!0}})],1):t._e()],1)],1):t._e(),t.product.product_id?a("v-uni-view",{staticClass:"introduce-section"},[a("v-uni-text",{staticClass:"title"},[t._v(t._s(t.product.title))]),0==t.flash?a("v-uni-view",{staticClass:"price-box"},[a("v-uni-text",{staticClass:"price-tip"},[t._v("¥")]),a("v-uni-text",{staticClass:"price"},[t._v(t._s(t.specProduct.sales_price))])],1):t._e(),a("v-uni-view",{staticClass:"bot-row"},[a("v-uni-text",[t._v("销量: "+t._s(t.product.sales))]),a("v-uni-text",[t._v("浏览量: "+t._s(t.product.look))])],1)],1):t._e(),a("v-uni-view",{staticClass:"c-list"},[t.product.use_spec?a("v-uni-view",{staticClass:"c-row b-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleSpec.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"tit"},[t._v("购买类型")]),a("v-uni-view",{staticClass:"con"},[a("v-uni-text",{staticClass:"selected-text"},[t._v(t._s(t.specSelectedName))]),a("v-uni-text",{staticStyle:{"margin-left":"50rpx"}},[t._v("库存:"+t._s(t.specProduct.stock))])],1),a("v-uni-text",{staticClass:"yticon icon-you"})],1):t._e(),t.product.coupon&&t.product.coupon.length?a("v-uni-view",{staticClass:"c-row b-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleCoupon.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"tit"},[t._v("优惠券")]),a("v-uni-text",{staticClass:"con t-r red"},[t._v("查看可用优惠券")]),a("v-uni-text",{staticClass:"yticon icon-you"})],1):t._e(),t.product.server?a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("服务")]),a("v-uni-view",{staticClass:"bz-list con"},[t._v(t._s(t.product.server))])],1):t._e()],1),t.product.evaluate_data&&t.product.evaluate_data.count>0?a("v-uni-view",{staticClass:"eva-section"},[a("v-uni-view",{staticClass:"e-header",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/product/evaluate?product_id="+t.product.product_id)}}},[a("v-uni-text",{staticClass:"tit"},[t._v("评价")]),a("v-uni-text",[t._v("("+t._s(t.product.evaluate_data.count)+")")]),a("v-uni-text",{staticClass:"tip"},[t._v("好评率 "+t._s(t.product.evaluate_data.avg)+"%")]),a("v-uni-text",{staticClass:"yticon icon-you"})],1),t._l(t.product.evaluate_list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"eva-box"},[a("v-uni-image",{staticClass:"portrait",attrs:{src:e.avatar,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"name"},[t._v(t._s(e.username))]),a("v-uni-text",{staticClass:"con"},[t._v(t._s(e.comment))]),a("v-uni-view",{staticClass:"bot"},[e.spec?a("v-uni-text",{staticClass:"attr"},[t._v("购买类型:"+t._s(e.spec))]):a("v-uni-text",{staticClass:"attr"}),a("v-uni-text",{staticClass:"time"},[t._v(t._s(e.createtime_text))])],1)],1)],1)}))],2):t._e(),t.product.desc?a("v-uni-view",{staticClass:"detail-desc"},[a("v-uni-view",{staticClass:"d-header"},[a("v-uni-text",[t._v("图文详情")])],1),a("v-uni-rich-text",{staticClass:"rich-text-a",attrs:{nodes:t.product.desc}})],1):t._e(),a("v-uni-view",{staticClass:"page-bottom"},[a("v-uni-navigator",{staticClass:"p-b-btn",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[a("v-uni-text",{staticClass:"yticon icon-fangzi"}),a("v-uni-text",[t._v("Home")])],1),a("v-uni-navigator",{staticClass:"p-b-btn",attrs:{url:"/pages/cart/cart","open-type":"switchTab"}},[a("v-uni-text",{staticClass:"yticon icon-gouwuche"}),a("v-uni-text",[t._v("Cart")]),t.product.cart_num?a("v-uni-text",{staticClass:"cart-count"},[t._v(t._s(t.product.cart_num))]):t._e()],1),t.flash?a("v-uni-view",{staticClass:"p-b-btn"},[a("v-uni-text")],1):a("v-uni-view",{staticClass:"p-b-btn",class:{active:t.favorite},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toFavorite.apply(void 0,arguments)}}}),t.countdown&&t.progress.number!=t.progress.sold?a("v-uni-view",{staticClass:"action-btn-group"},["距开始:"==t.product.flash.text?a("v-uni-button",{staticClass:" action-btn-gray action-btn no-border buy-now-btn",class:{only:t.flash},attrs:{type:"primary",disabled:!0}},[t._v("Buy Now")]):a("v-uni-button",{staticClass:" action-btn no-border buy-now-btn",class:{only:t.flash},attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buy.apply(void 0,arguments)}}},[t._v("Buy Now")]),t.flash?t._e():a("v-uni-button",{staticClass:" action-btn no-border add-cart-btn",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addCart.apply(void 0,arguments)}}},[t._v("Add Cart")])],1):a("v-uni-view",{staticClass:"action-btn-group"},[t.flash?t._e():a("v-uni-button",{staticClass:" action-btn no-border add-cart-btn",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addCart.apply(void 0,arguments)}}},[t._v("Add Cart")]),a("v-uni-button",{staticClass:" action-btn no-border buy-now-btn",class:{only:t.flash},attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buy.apply(void 0,arguments)}}},[t._v("Buy Now")])],1)],1),a("v-uni-view",{staticClass:"popup spec",class:t.couponClass,on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleCoupon.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask"}),a("v-uni-view",{staticClass:"layer attr-content content-coupon",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},t._l(t.product.coupon,(function(e,i){return a("v-uni-view",{key:i,staticClass:"coupon-item"},[a("v-uni-view",{staticClass:"con"},[a("v-uni-view",{staticClass:"left"},[a("v-uni-text",{staticClass:"title"},[t._v(t._s(e.title))]),a("v-uni-text",{staticClass:"time"},[t._v("有效期至"+t._s(e.endtime_text))])],1),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"price"},[t._v(t._s(e.value))]),a("v-uni-text",[t._v("满"+t._s(e.least)+"可用")])],1),a("v-uni-view",{staticClass:"circle l"}),a("v-uni-view",{staticClass:"circle r"})],1),a("v-uni-text",{staticClass:"tips"},[t._v("限一张使用")])],1)})),1),a("v-uni-button",{staticClass:"btn retract",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleCoupon.apply(void 0,arguments)}}},[t._v("收起")])],1),a("v-uni-view",{staticClass:"popup spec",class:t.specClass,on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleSpec.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask"}),a("v-uni-view",{staticClass:"layer attr-content",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"a-t"},[t.specProduct.image?a("v-uni-image",{attrs:{mode:"aspectFill",src:t.specProduct.image}}):t._e(),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(t.specProduct.sales_price))]),a("v-uni-text",{staticClass:"stock"},[t._v("库存:"+t._s(t.specProduct.stock)+"件")]),a("v-uni-view",{staticClass:"selected"},[t._v("已选:"),a("v-uni-text",{staticClass:"selected-text"},[t._v(t._s(t.specSelectedName))])],1)],1)],1),t._l(t.specList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"attr-list"},[a("v-uni-text",[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"item-list"},t._l(t.specChildList,(function(i,n){return i.pid===e.id?a("v-uni-text",{key:n,staticClass:"tit",class:{selected:i.selected},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectSpec(n,i.pid)}}},[t._v(t._s(i.name))]):t._e()})),1)],1)})),a("v-uni-button",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleSpec.apply(void 0,arguments)}}},[t._v("Finish")])],2)],1)],1)},o=[]},"7b68":function(t,e,a){"use strict";a.r(e);var i=a("d1ed"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"925c":function(t,e,a){var i=a("d770");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2804658c",i,!0,{sourceMap:!1,shadowMode:!1})},"9f62":function(t,e,a){"use strict";a.r(e);var i=a("243a"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},a0ba:function(t,e,a){var i=a("66f2");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("13a09a51",i,!0,{sourceMap:!1,shadowMode:!1})},a6be:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-countdown"},[t.showDay?a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.d))]):t._e(),t.showDay?a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v("天")]):t._e(),a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.h))]),a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"时"))]),a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.i))]),a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"分"))]),a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.s))]),t.showColon?t._e():a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v("秒")])],1)},o=[]},b3f9:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.uni-countdown[data-v-e73e11fa]{display:flex;flex-direction:row;justify-content:flex-start;padding:%?2?% 0}.uni-countdown__splitor[data-v-e73e11fa]{display:flex;justify-content:center;line-height:%?48?%;padding:%?5?%;font-size:%?24?%}.uni-countdown__number[data-v-e73e11fa]{display:flex;justify-content:center;align-items:center;width:%?52?%;height:%?48?%;line-height:%?48?%;margin:%?5?%;text-align:center;font-size:%?24?%}',""]),t.exports=e},b475:function(t,e,a){var i=a("1bea");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("6a47c090",i,!0,{sourceMap:!1,shadowMode:!1})},b85c:function(t,e,a){"use strict";a("a4d3"),a("e01a"),a("d28b"),a("d3b7"),a("3ca3"),a("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(a("06c5"));function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var a;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(a=(0,i.default)(t))||e&&t&&"number"===typeof t.length){a&&(t=a);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,c=!1;return{s:function(){a=t[Symbol.iterator]()},n:function(){var t=a.next();return s=t.done,t},e:function(t){c=!0,r=t},f:function(){try{s||null==a["return"]||a["return"]()}finally{if(c)throw r}}}}},ce81:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.show?a("v-uni-view",{staticClass:"mask",style:{backgroundColor:t.backgroundColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleMask.apply(void 0,arguments)},touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask-content",style:[{height:t.config.height,transform:t.transform}],on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},[a("v-uni-scroll-view",{staticClass:"view-content",attrs:{"scroll-y":!0}},[a("v-uni-view",{staticClass:"share-header"},[t._v("分享到")]),a("v-uni-view",{staticClass:"share-list"},t._l(t.shareList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"share-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.shareToFriend(e.text)}}},[a("v-uni-image",{attrs:{src:e.icon,mode:""}}),a("v-uni-text",[t._v(t._s(e.text))])],1)})),1)],1),a("v-uni-view",{staticClass:"bottom b-t",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleMask.apply(void 0,arguments)}}},[t._v("取消")])],1)],1):t._e()},o=[]},d1ed:function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"UniCountdown",props:{showDay:{type:Boolean,default:!0},showColon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#000000"},color:{type:String,default:"#000000"},splitorColor:{type:String,default:"#000000"},day:{type:Number,default:0},hour:{type:Number,default:0},minute:{type:Number,default:0},second:{type:Number,default:0},borderWidth:{type:String,default:"52rpx"}},data:function(){return{timer:null,syncFlag:!1,d:"00",h:"00",i:"00",s:"00",leftTime:0,seconds:0}},watch:{day:function(t){this.changeFlag()},hour:function(t){this.changeFlag()},minute:function(t){this.changeFlag()},second:function(t){this.changeFlag()}},created:function(t){this.startData()},beforeDestroy:function(){clearInterval(this.timer)},methods:{toSeconds:function(t,e,a,i){return 60*t*60*24+60*e*60+60*a+i},timeUp:function(){clearInterval(this.timer),this.timer=0,this.$emit("timeup",this)},countDown:function(){var t=this.seconds,e=0,a=0,i=0,n=0;t>0?(e=Math.floor(t/86400),a=Math.floor(t/3600)-24*e,i=Math.floor(t/60)-24*e*60-60*a,n=Math.floor(t)-24*e*60*60-60*a*60-60*i):this.timeUp(),e<10&&(e="0"+e),a<10&&(a="0"+a),i<10&&(i="0"+i),n<10&&(n="0"+n),this.d=e,this.h=a,this.i=i,this.s=n},startData:function(){var t=this;this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.seconds<=0?this.timeUp():this.timer>0||(this.countDown(),this.timer=setInterval((function(){t.seconds--,t.seconds<0?t.timeUp():t.countDown()}),1e3))},changeFlag:function(){this.syncFlag||(this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.startData(),this.syncFlag=!0)}}};e.default=i},d50b:function(t,e,a){"use strict";a.r(e);var i=a("ce81"),n=a("9f62");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("74cd");var r,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"f0809dbe",null,!1,i["a"],r);e["default"]=c.exports},d770:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-7e5141ef]{background:#f8f8f8;padding-bottom:%?160?%}.rich-text-a[data-v-7e5141ef]{font-size:19px}.icon-you[data-v-7e5141ef]{font-size:%?30?%;color:#888}.carousel[data-v-7e5141ef]{height:%?722?%;position:relative}.carousel uni-swiper[data-v-7e5141ef]{height:100%}.carousel .image-wrapper[data-v-7e5141ef]{width:100%;height:100%}.carousel .swiper-item[data-v-7e5141ef]{display:flex;justify-content:center;align-content:center;height:%?750?%;overflow:hidden}.carousel .swiper-item uni-image[data-v-7e5141ef]{width:100%;height:100%}\n/* 标题简介 */.introduce-section[data-v-7e5141ef]{background:#fff;padding:%?20?% %?30?%}.introduce-section .title[data-v-7e5141ef]{font-size:%?32?%;color:#303133;height:%?50?%;line-height:%?50?%}.introduce-section .price-box[data-v-7e5141ef]{display:flex;align-items:baseline;height:%?64?%;padding:%?10?% 0;font-size:%?26?%;color:#fa436a}.introduce-section .price[data-v-7e5141ef]{font-size:%?34?%}.introduce-section .m-price[data-v-7e5141ef]{margin:0 %?12?%;color:#909399;text-decoration:line-through}.introduce-section .coupon-tip[data-v-7e5141ef]{align-items:center;padding:%?4?% %?10?%;background:#fa436a;font-size:%?24?%;color:#fff;border-radius:%?6?%;line-height:1;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.introduce-section .bot-row[data-v-7e5141ef]{display:flex;align-items:center;height:%?50?%;font-size:%?24?%;color:#909399}.introduce-section .bot-row uni-text[data-v-7e5141ef]{flex:1}\n/* 分享 */.share-section[data-v-7e5141ef]{display:flex;align-items:center;color:#606266;background:linear-gradient(left,#fdf5f6,#fbebf6);padding:%?12?% %?30?%}.share-section .share-icon[data-v-7e5141ef]{display:flex;align-items:center;width:%?70?%;height:%?30?%;line-height:1;border:1px solid #fa436a;border-radius:%?4?%;position:relative;overflow:hidden;font-size:%?22?%;color:#fa436a}.share-section .share-icon[data-v-7e5141ef]:after{content:"";width:%?50?%;height:%?50?%;border-radius:50%;left:%?-20?%;top:%?-12?%;position:absolute;background:#fa436a}.share-section .icon-xingxing[data-v-7e5141ef]{position:relative;z-index:1;font-size:%?24?%;margin-left:%?2?%;margin-right:%?10?%;color:#fff;line-height:1}.share-section .tit[data-v-7e5141ef]{font-size:%?28?%;margin-left:%?10?%}.share-section .icon-bangzhu1[data-v-7e5141ef]{padding:%?10?%;font-size:%?30?%;line-height:1}.share-section .share-btn[data-v-7e5141ef]{flex:1;text-align:right;font-size:%?24?%;color:#fa436a}.share-section .icon-you[data-v-7e5141ef]{font-size:%?24?%;margin-left:%?4?%;color:#fa436a}.c-list[data-v-7e5141ef]{font-size:%?26?%;color:#606266;background:#fff}.c-list .c-row[data-v-7e5141ef]{display:flex;align-items:center;padding:%?20?% %?30?%;position:relative}.c-list .tit[data-v-7e5141ef]{width:%?140?%}.c-list .con[data-v-7e5141ef]{flex:1;color:#303133}.c-list .con .selected-text[data-v-7e5141ef]{margin-right:%?10?%}.c-list .bz-list[data-v-7e5141ef]{height:%?40?%;font-size:%?26?%;color:#303133}.c-list .bz-list uni-text[data-v-7e5141ef]{display:inline-block;margin-right:%?30?%}.c-list .con-list[data-v-7e5141ef]{flex:1;display:flex;flex-direction:column;color:#303133;line-height:%?40?%}.c-list .red[data-v-7e5141ef]{color:#fa436a}\n/* 评价 */.eva-section[data-v-7e5141ef]{display:flex;flex-direction:column;padding:%?20?% %?30?%;background:#fff;margin-top:%?16?%}.eva-section .e-header[data-v-7e5141ef]{display:flex;align-items:center;height:%?70?%;font-size:%?26?%;color:#909399}.eva-section .e-header .tit[data-v-7e5141ef]{font-size:%?30?%;color:#303133;margin-right:%?4?%}.eva-section .e-header .tip[data-v-7e5141ef]{flex:1;text-align:right}.eva-section .e-header .icon-you[data-v-7e5141ef]{margin-left:%?10?%}.eva-box[data-v-7e5141ef]{display:flex;padding:%?20?% 0}.eva-box .portrait[data-v-7e5141ef]{flex-shrink:0;width:%?80?%;height:%?80?%;border-radius:100px}.eva-box .right[data-v-7e5141ef]{flex:1;display:flex;flex-direction:column;font-size:%?28?%;color:#606266;padding-left:%?26?%}.eva-box .right .con[data-v-7e5141ef]{font-size:%?28?%;color:#303133;padding:%?20?% 0}.eva-box .right .bot[data-v-7e5141ef]{display:flex;justify-content:space-between;font-size:%?24?%;color:#909399}\n/* 详情 */.detail-desc[data-v-7e5141ef]{background:#fff;margin-top:%?16?%}.detail-desc .d-header[data-v-7e5141ef]{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-7e5141ef]{padding:0 %?20?%;background:#fff;position:relative;z-index:1}.detail-desc .d-header[data-v-7e5141ef]: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/* 规格选择弹窗 */.attr-content[data-v-7e5141ef]{padding:%?10?% %?30?%}.attr-content .a-t[data-v-7e5141ef]{display:flex}.attr-content .a-t uni-image[data-v-7e5141ef]{width:%?170?%;height:%?170?%;flex-shrink:0;margin-top:%?-40?%;border-radius:%?8?%}.attr-content .a-t .right[data-v-7e5141ef]{display:flex;flex-direction:column;padding-left:%?24?%;font-size:%?26?%;color:#606266;line-height:%?42?%}.attr-content .a-t .right .price[data-v-7e5141ef]{font-size:%?32?%;color:#fa436a;margin-bottom:%?10?%}.attr-content .a-t .right .selected-text[data-v-7e5141ef]{margin-right:%?10?%}.attr-content .attr-list[data-v-7e5141ef]{display:flex;flex-direction:column;font-size:%?30?%;color:#606266;padding-top:%?30?%;padding-left:%?10?%}.attr-content .item-list[data-v-7e5141ef]{padding:%?20?% 0 0;display:flex;flex-wrap:wrap}.attr-content .item-list uni-text[data-v-7e5141ef]{display:flex;align-items:center;justify-content:center;background:#eee;margin-right:%?20?%;margin-bottom:%?20?%;border-radius:%?100?%;min-width:%?60?%;height:%?60?%;padding:0 %?20?%;font-size:%?28?%;color:#303133}.attr-content .item-list .selected[data-v-7e5141ef]{background:#fbebee;color:#fa436a}\n/* 弹出层 */.popup[data-v-7e5141ef]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99}.popup.show[data-v-7e5141ef]{display:block}.popup.show .mask[data-v-7e5141ef]{-webkit-animation:showPopup-data-v-7e5141ef .2s linear both;animation:showPopup-data-v-7e5141ef .2s linear both}.popup.show .layer[data-v-7e5141ef]{-webkit-animation:showLayer-data-v-7e5141ef .2s linear both;animation:showLayer-data-v-7e5141ef .2s linear both}.popup.hide .mask[data-v-7e5141ef]{-webkit-animation:hidePopup-data-v-7e5141ef .2s linear both;animation:hidePopup-data-v-7e5141ef .2s linear both}.popup.hide .layer[data-v-7e5141ef]{-webkit-animation:hideLayer-data-v-7e5141ef .2s linear both;animation:hideLayer-data-v-7e5141ef .2s linear both}.popup.none[data-v-7e5141ef]{display:none}.popup .mask[data-v-7e5141ef]{position:fixed;top:0;width:100%;height:100%;z-index:1;background-color:rgba(0,0,0,.4)}.popup .layer[data-v-7e5141ef]{position:fixed;z-index:99;bottom:0;width:100%;min-height:40vh;border-radius:%?10?% %?10?% 0 0;background-color:#fff}.popup .layer .btn[data-v-7e5141ef]{height:%?66?%;line-height:%?66?%;border-radius:%?100?%;background:#fa436a;font-size:%?30?%;color:#fff;margin:%?30?% auto %?20?%}@-webkit-keyframes showPopup-data-v-7e5141ef{0%{opacity:0}100%{opacity:1}}@keyframes showPopup-data-v-7e5141ef{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hidePopup-data-v-7e5141ef{0%{opacity:1}100%{opacity:0}}@keyframes hidePopup-data-v-7e5141ef{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes showLayer-data-v-7e5141ef{0%{-webkit-transform:translateY(120%);transform:translateY(120%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes showLayer-data-v-7e5141ef{0%{-webkit-transform:translateY(120%);transform:translateY(120%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes hideLayer-data-v-7e5141ef{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(120%);transform:translateY(120%)}}@keyframes hideLayer-data-v-7e5141ef{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(120%);transform:translateY(120%)}}\n/* 底部操作菜单 */.page-bottom[data-v-7e5141ef]{position:fixed;max-width:1024px;margin:auto;left:%?30?%;right:%?30?%;bottom:%?30?%;z-index:95;display:flex;justify-content:center;align-items:center;height:%?100?%;background:hsla(0,0%,100%,.9);box-shadow:0 0 %?20?% 0 rgba(0,0,0,.5);border-radius:%?16?%}.page-bottom .p-b-btn[data-v-7e5141ef]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:%?24?%;color:#606266;width:%?100?%;height:%?80?%;position:relative\n /* 购物车数量 */}.page-bottom .p-b-btn .cart-count[data-v-7e5141ef]{border:%?4?% solid #fa436a;width:%?40?%;height:%?40?%;color:#fa436a;text-align:center;border-radius:%?40?%;position:absolute;background:#fff;top:%?-10?%;right:0}.page-bottom .p-b-btn .yticon[data-v-7e5141ef]{font-size:%?46?%;line-height:%?48?%;color:#909399}.page-bottom .p-b-btn.active[data-v-7e5141ef],\n.page-bottom .p-b-btn.active .yticon[data-v-7e5141ef]{color:#fa436a}.page-bottom .action-btn-group[data-v-7e5141ef]{display:flex;height:%?76?%;border-radius:100px;overflow:hidden;box-shadow:0 %?20?% %?40?% %?-16?% #fa436a;box-shadow:1px 2px 5px rgba(219,63,96,.4);background:linear-gradient(90deg,#ffac30,#fa436a,#f56c6c);margin-left:%?20?%;position:relative\n /* &:after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tright: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t\theight: 28upx;\n\t\t\twidth: 0;\n\t\t\tborder-right: 1px solid rgba(255, 255, 255, .5);\n\t\t} */}.page-bottom .action-btn-group .only[data-v-7e5141ef]{width:%?360?%!important}.page-bottom .action-btn-group .action-btn-gray[data-v-7e5141ef]{-webkit-filter:grayscale(10%)!important;filter:grayscale(10%)!important;color:#c5c8ce!important;background-color:#f7f7f7!important;border-color:#dcdee2!important}.page-bottom .action-btn-group .action-btn[data-v-7e5141ef]{display:flex;align-items:center;justify-content:center;width:%?180?%;height:100%;font-size:%?28?%;padding:0;border-radius:0;background:transparent}.flash[data-v-7e5141ef]{height:%?100?%;background:linear-gradient(90deg,#ffac30,#fa436a,#f56c6c);display:flex;flex-direction:row;position:relative}.flash .sales_price[data-v-7e5141ef]{color:#fff;font-size:%?50?%}.flash .sales_price .symbol[data-v-7e5141ef]{font-size:%?30?%;display:inline}.flash .left[data-v-7e5141ef]{font-size:%?28?%;padding:%?10?%}.flash .left .market_price[data-v-7e5141ef]{color:#dcdfe6;text-decoration:line-through}.flash .left .sold[data-v-7e5141ef]{color:#e4e7ed}.flash .right[data-v-7e5141ef]{height:100%;width:%?300?%;position:absolute;right:0;padding:%?4?%;margin-right:%?20?%}.flash .right .time[data-v-7e5141ef]{font-size:%?30?%;color:#fffa30;text-align:center}.flash .right .time .uni-countdown[data-v-7e5141ef]{display:inline-flex}.flash .right .progress[data-v-7e5141ef]{position:absolute;bottom:%?7?%;right:%?10?%}.flash .right .flashDone[data-v-7e5141ef]{font-size:%?40?%;height:%?90?%;line-height:%?90?%}\n/* 优惠券列表 */.content-coupon[data-v-7e5141ef]{padding-bottom:%?100?%;max-height:%?800?%;overflow:auto}.retract[data-v-7e5141ef]{position:fixed;bottom:0;width:%?700?%;z-index:100;margin:%?20?% %?25?%;color:#fff;background:#fa436a}.coupon-item[data-v-7e5141ef]{display:flex;flex-direction:column;background:#fff}.coupon-item .con[data-v-7e5141ef]{display:flex;align-items:center;position:relative;height:%?120?%;padding:0 %?30?%}.coupon-item .con[data-v-7e5141ef]:after{position:absolute;left:0;bottom:0;content:"";width:100%;height:0;border-bottom:1px dashed #f3f3f3;-webkit-transform:scaleY(50%);transform:scaleY(50%)}.coupon-item .left[data-v-7e5141ef]{display:flex;flex-direction:column;justify-content:center;flex:1;overflow:hidden;height:%?100?%}.coupon-item .title[data-v-7e5141ef]{font-size:%?32?%;color:#303133;margin-bottom:%?10?%}.coupon-item .time[data-v-7e5141ef]{font-size:%?24?%;color:#909399}.coupon-item .right[data-v-7e5141ef]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:%?26?%;color:#606266;height:%?100?%}.coupon-item .price[data-v-7e5141ef]{font-size:%?44?%;color:#fa436a}.coupon-item .price[data-v-7e5141ef]:before{content:"¥";font-size:%?34?%}.coupon-item .tips[data-v-7e5141ef]{font-size:%?24?%;color:#909399;line-height:%?60?%;padding-left:%?30?%}.coupon-item .circle[data-v-7e5141ef]{position:absolute;left:%?-6?%;bottom:%?-10?%;z-index:10;width:%?20?%;height:%?20?%;background:#f3f3f3;border-radius:100px}.coupon-item .circle.r[data-v-7e5141ef]{left:auto;right:%?-6?%}body.?%PAGE?%[data-v-7e5141ef]{background:#f8f8f8}',""]),t.exports=e},ef04:function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{Sold:{type:Number|String,default:0},widthUpx:{type:Number,default:710},Width:{type:Number,default:0},Type:{type:String,default:"aqua"},Main:{type:Boolean,default:!0},Vice:{type:Boolean,default:!0}},data:function(){return{}},methods:{}};e.default=i},fa30:function(t,e,a){"use strict";var i=a("925c"),n=a.n(i);n.a},fa77:function(t,e,a){"use strict";a.r(e);var i=a("ef04"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a}}]); \ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.4b7092ec.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.4b7092ec.js new file mode 100644 index 0000000..9b94dd1 --- /dev/null +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.4b7092ec.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-product"],{"0dc6":function(t,e,a){var i=a("b3f9");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2002502c",i,!0,{sourceMap:!1,shadowMode:!1})},"10b5":function(t,e,a){"use strict";a.r(e);var i=a("a6be"),n=a("7b68");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("4844");var r,s=a("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"e73e11fa",null,!1,i["a"],r);e["default"]=d.exports},"1bea":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.mask[data-v-f0809dbe]{position:fixed;left:0;top:0;right:0;bottom:0;display:flex;justify-content:center;align-items:flex-end;z-index:998;transition:.3s}.mask .bottom[data-v-f0809dbe]{position:absolute;left:0;bottom:0;display:flex;justify-content:center;align-items:center;width:100%;height:%?90?%;background:#fff;z-index:9;font-size:%?30?%;color:#303133}.mask-content[data-v-f0809dbe]{width:100%;height:%?580?%;transition:.3s;background:#fff}.mask-content.has-bottom[data-v-f0809dbe]{padding-bottom:%?90?%}.mask-content .view-content[data-v-f0809dbe]{height:100%}.share-header[data-v-f0809dbe]{height:%?110?%;font-size:%?30?%;color:font-color-dark;display:flex;align-items:center;justify-content:center;padding-top:%?10?%}.share-header[data-v-f0809dbe]:before, .share-header[data-v-f0809dbe]:after{content:"";width:%?240?%;heighg:0;border-top:1px solid #e4e7ed;-webkit-transform:scaleY(.5);transform:scaleY(.5);margin-right:%?30?%}.share-header[data-v-f0809dbe]:after{margin-left:%?30?%;margin-right:0}.share-list[data-v-f0809dbe]{display:flex;flex-wrap:wrap}.share-item[data-v-f0809dbe]{min-width:33.33%;display:flex;flex-direction:column;justify-content:center;align-items:center;height:%?180?%}.share-item uni-image[data-v-f0809dbe]{width:%?80?%;height:%?80?%;margin-bottom:%?16?%}.share-item uni-text[data-v-f0809dbe]{font-size:%?28?%;color:#606266}',""]),t.exports=e},"243a":function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{transform:"translateY(50vh)",timer:0,backgroundColor:"rgba(0,0,0,0)",show:!1,config:{}}},props:{contentHeight:{type:Number,default:0},hasTabbar:{type:Boolean,default:!1},shareList:{type:Array,default:function(){return[]}}},created:function(){var t=uni.upx2px(this.contentHeight)+"px";this.config={height:t,transform:"translateY(".concat(t,")"),backgroundColor:"rgba(0,0,0,.4)"},this.transform=this.config.transform},methods:{toggleMask:function(){var t=this;if(1!=this.timer){if(this.timer=1,setTimeout((function(){t.timer=0}),500),this.show)return this.transform=this.config.transform,this.backgroundColor="rgba(0,0,0,0)",void setTimeout((function(){t.show=!1,t.hasTabbar&&uni.showTabBar()}),200);this.show=!0,this.hasTabbar?uni.hideTabBar({success:function(){setTimeout((function(){t.backgroundColor=t.config.backgroundColor,t.transform="translateY(0px)"}),10)}}):setTimeout((function(){t.backgroundColor=t.config.backgroundColor,t.transform="translateY(0px)"}),10)}},stopPrevent:function(){},shareToFriend:function(t){this.$api.msg("分享给".concat(t)),this.toggleMask()}}};e.default=i},2527:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"progress",class:t.Type,style:{width:t.widthUpx+"rpx"}},[1==t.Vice?a("v-uni-view",{staticClass:"progress-text",style:{width:t.widthUpx+"rpx"}},[t._v("已抢"+t._s(t.Sold)+"件\n\t\t\t"+t._s(t.Width+"%"))]):t._e(),a("v-uni-view",{staticClass:"progress-bar",style:{width:t.Width+"%"}},[1==t.Main?a("v-uni-view",{staticClass:"progress-text"},[t._v(t._s(t.Width+"%"))]):t._e()],1)],1)],1)},o=[]},"36dc":function(t,e,a){"use strict";a.r(e);var i=a("49a1"),n=a("3d78");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("6a1d");var r,s=a("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"b5da2f32",null,!1,i["a"],r);e["default"]=d.exports},"375e":function(t,e,a){var i=a("badf");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("33f49b02",i,!0,{sourceMap:!1,shadowMode:!1})},"3d78":function(t,e,a){"use strict";a.r(e);var i=a("6c67"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},4844:function(t,e,a){"use strict";var i=a("0dc6"),n=a.n(i);n.a},"49a1":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uniCountdown:a("10b5").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-view",{staticClass:"carousel"},[a("v-uni-swiper",{attrs:{"indicator-dots":!0,circular:"true",duration:"400"}},t._l(t.product.images_text,(function(e,i){return a("v-uni-swiper-item",{key:i,staticClass:"swiper-item"},[a("v-uni-view",{staticClass:"image-wrapper"},[a("v-uni-image",{staticClass:"loaded",attrs:{src:e,mode:"heightFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.previewImage(i)}}})],1)],1)})),1)],1),t.flash?a("v-uni-view",{staticClass:"flash"},[t.product.market_price?a("v-uni-view",{staticClass:"sales_price"},[a("v-uni-view",{staticClass:"symbol"},[t._v("¥")]),t._v(t._s(t.specProduct.sales_price))],1):t._e(),t.product.market_price?a("v-uni-view",{staticClass:"left"},[a("v-uni-view",{staticClass:"market_price"},[t._v("¥"+t._s(t.specProduct.market_price))]),t.progress.number?a("v-uni-view",{staticClass:"sold"},[t._v("秒"+t._s(t.progress.number)+"件")]):t._e()],1):t._e(),a("v-uni-view",{staticClass:"right"},[t.countdown&&t.progress.number!=t.progress.sold?a("v-uni-view",{staticClass:"time"},[t._v(t._s(t.product.flash.text)),a("uni-countdown",{ref:"countd",attrs:{showDay:t.countdown.day>0,day:t.countdown.day,hour:t.countdown.hour,minute:t.countdown.minute,second:t.countdown.second,color:"#fffa30",borderWidth:"22rpx",splitorColor:"#fffa30","background-color":"#282f2c00","border-color":"#00B26A"},on:{timeup:function(e){arguments[0]=e=t.$handleEvent(e),t.timeup.apply(void 0,arguments)}}})],1):a("v-uni-view",{staticClass:"time",class:{flashDone:0==t.progress.number}},[t._v("抢购已结束")]),t.progress.number?a("v-uni-view",{staticClass:"progress"},[a("ProgressBar",{staticClass:"ProgressBar",attrs:{Sold:t.progress.sold,widthUpx:250,Width:t.percentage(t.progress.number,t.progress.sold),Type:"candy",Vice:!0}})],1):t._e()],1)],1):t._e(),t.product.product_id?a("v-uni-view",{staticClass:"introduce-section"},[a("v-uni-text",{staticClass:"title"},[t._v(t._s(t.product.title))]),0==t.flash?a("v-uni-view",{staticClass:"price-box"},[a("v-uni-text",{staticClass:"price-tip"},[t._v("¥")]),a("v-uni-text",{staticClass:"price"},[t._v(t._s(t.specProduct.sales_price))])],1):t._e(),a("v-uni-view",{staticClass:"bot-row"},[a("v-uni-text",[t._v("销量: "+t._s(t.product.sales))]),a("v-uni-text",[t._v("浏览量: "+t._s(t.product.look))])],1)],1):t._e(),a("v-uni-view",{staticClass:"c-list"},[t.product.use_spec?a("v-uni-view",{staticClass:"c-row b-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleSpec.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"tit"},[t._v("购买类型")]),a("v-uni-view",{staticClass:"con"},[a("v-uni-text",{staticClass:"selected-text"},[t._v(t._s(t.specSelectedName))]),a("v-uni-text",{staticStyle:{"margin-left":"50rpx"}},[t._v("库存:"+t._s(t.specProduct.stock))])],1),a("v-uni-text",{staticClass:"yticon icon-you"})],1):t._e(),t.product.coupon&&t.product.coupon.length?a("v-uni-view",{staticClass:"c-row b-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleCoupon.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"tit"},[t._v("优惠券")]),a("v-uni-text",{staticClass:"con t-r red"},[t._v("查看可用优惠券")]),a("v-uni-text",{staticClass:"yticon icon-you"})],1):t._e(),t.product.server?a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("服务")]),a("v-uni-view",{staticClass:"bz-list con"},[t._v(t._s(t.product.server))])],1):t._e()],1),t.product.evaluate_data&&t.product.evaluate_data.count>0?a("v-uni-view",{staticClass:"eva-section"},[a("v-uni-view",{staticClass:"e-header",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/product/evaluate?product_id="+t.product.product_id)}}},[a("v-uni-text",{staticClass:"tit"},[t._v("评价")]),a("v-uni-text",[t._v("("+t._s(t.product.evaluate_data.count)+")")]),a("v-uni-text",{staticClass:"tip"},[t._v("好评率 "+t._s(t.product.evaluate_data.avg)+"%")]),a("v-uni-text",{staticClass:"yticon icon-you"})],1),t._l(t.product.evaluate_list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"eva-box"},[a("v-uni-image",{staticClass:"portrait",attrs:{src:e.avatar,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"name"},[t._v(t._s(e.username))]),a("v-uni-text",{staticClass:"con"},[t._v(t._s(e.comment))]),a("v-uni-view",{staticClass:"bot"},[e.spec?a("v-uni-text",{staticClass:"attr"},[t._v("购买类型:"+t._s(e.spec))]):a("v-uni-text",{staticClass:"attr"}),a("v-uni-text",{staticClass:"time"},[t._v(t._s(e.createtime_text))])],1)],1)],1)}))],2):t._e(),t.product.desc?a("v-uni-view",{staticClass:"detail-desc"},[a("v-uni-view",{staticClass:"d-header"},[a("v-uni-text",[t._v("图文详情")])],1),a("v-uni-rich-text",{staticClass:"rich-text-a",attrs:{nodes:t.product.desc}})],1):t._e(),a("v-uni-view",{staticClass:"page-bottom"},[a("v-uni-navigator",{staticClass:"p-b-btn",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[a("v-uni-text",{staticClass:"yticon icon-fangzi"}),a("v-uni-text",[t._v("Home")])],1),a("v-uni-navigator",{staticClass:"p-b-btn",attrs:{url:"/pages/cart/cart","open-type":"switchTab"}},[a("v-uni-text",{staticClass:"yticon icon-gouwuche"}),a("v-uni-text",[t._v("Cart")]),t.product.cart_num?a("v-uni-text",{staticClass:"cart-count"},[t._v(t._s(t.product.cart_num))]):t._e()],1),t.flash?a("v-uni-view",{staticClass:"p-b-btn"},[a("v-uni-text")],1):a("v-uni-view",{staticClass:"p-b-btn",class:{active:t.favorite},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toFavorite.apply(void 0,arguments)}}}),t.countdown&&t.progress.number!=t.progress.sold?a("v-uni-view",{staticClass:"action-btn-group"},["距开始:"==t.product.flash.text?a("v-uni-button",{staticClass:" action-btn-gray action-btn no-border buy-now-btn",class:{only:t.flash},attrs:{type:"primary",disabled:!0}},[t._v("Buy Now")]):a("v-uni-button",{staticClass:" action-btn no-border buy-now-btn",class:{only:t.flash},attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buy.apply(void 0,arguments)}}},[t._v("Buy Now")]),t.flash?t._e():a("v-uni-button",{staticClass:" action-btn no-border add-cart-btn",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addCart.apply(void 0,arguments)}}},[t._v("Add Cart")])],1):a("v-uni-view",{staticClass:"action-btn-group"},[t.flash?t._e():a("v-uni-button",{staticClass:" action-btn no-border add-cart-btn",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addCart.apply(void 0,arguments)}}},[t._v("Add Cart")]),a("v-uni-button",{staticClass:" action-btn no-border buy-now-btn",class:{only:t.flash},attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buy.apply(void 0,arguments)}}},[t._v("Buy Now")])],1)],1),a("v-uni-view",{staticClass:"popup spec",class:t.couponClass,on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleCoupon.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask"}),a("v-uni-view",{staticClass:"layer attr-content content-coupon",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},t._l(t.product.coupon,(function(e,i){return a("v-uni-view",{key:i,staticClass:"coupon-item"},[a("v-uni-view",{staticClass:"con"},[a("v-uni-view",{staticClass:"left"},[a("v-uni-text",{staticClass:"title"},[t._v(t._s(e.title))]),a("v-uni-text",{staticClass:"time"},[t._v("有效期至"+t._s(e.endtime_text))])],1),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"price"},[t._v(t._s(e.value))]),a("v-uni-text",[t._v("满"+t._s(e.least)+"可用")])],1),a("v-uni-view",{staticClass:"circle l"}),a("v-uni-view",{staticClass:"circle r"})],1),a("v-uni-text",{staticClass:"tips"},[t._v("限一张使用")])],1)})),1),a("v-uni-button",{staticClass:"btn retract",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleCoupon.apply(void 0,arguments)}}},[t._v("收起")])],1),a("v-uni-view",{staticClass:"popup spec",class:t.specClass,on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleSpec.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask"}),a("v-uni-view",{staticClass:"layer attr-content",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"a-t"},[t.specProduct.image?a("v-uni-image",{attrs:{mode:"aspectFill",src:t.specProduct.image}}):t._e(),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(t.specProduct.sales_price))]),a("v-uni-text",{staticClass:"stock"},[t._v("库存:"+t._s(t.specProduct.stock)+"件")]),a("v-uni-view",{staticClass:"selected"},[t._v("已选:"),a("v-uni-text",{staticClass:"selected-text"},[t._v(t._s(t.specSelectedName))])],1)],1)],1),t._l(t.specList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"attr-list"},[a("v-uni-text",[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"item-list"},t._l(t.specChildList,(function(i,n){return i.pid===e.id?a("v-uni-text",{key:n,staticClass:"tit",class:{selected:i.selected},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectSpec(n,i.pid)}}},[t._v(t._s(i.name))]):t._e()})),1)],1)})),a("v-uni-button",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleSpec.apply(void 0,arguments)}}},[t._v("Finish")])],2)],1)],1)},o=[]},"63e6":function(t,e,a){"use strict";var i=a("a0ba"),n=a.n(i);n.a},"66f2":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'.progress[data-v-63ef8610]{position:relative;z-index:5;background:#484848;border-radius:20px;display:inline-block;box-shadow:0 5px 17px rgba(40,40,40,.5),0 0 3px 1px rgba(40,40,40,.5) inset}.progress-text[data-v-63ef8610]{position:absolute;font:700 11px/16px Arial;text-align:center;top:0;left:0}.progress[data-v-63ef8610],\r\n.progress-bar[data-v-63ef8610],\r\n.progress-text[data-v-63ef8610]{width:%?710?%;height:%?34?%}.progress .progress-text[data-v-63ef8610]:first-child{z-index:20;color:#fff}.progress .progress-text[data-v-63ef8610]:last-child{z-index:10;color:#000}.progress-bar[data-v-63ef8610]{overflow:hidden;position:relative;z-index:10;border-radius:12px;width:0;-moz-transition:width .2s linear;-webkit-transition:width .2s linear;-o-transition:width .2s linear;transition:width .2s linear}\r\n\r\n/* Test Style */.progress.test .progress-bar[data-v-63ef8610]{background-color:#00baba;background-image:-moz-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-webkit-linear-gradient(left,#d1fffb,#00baba);background-image:-o-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-ms-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:linear-gradient(90deg,#d1fffb 0,#00baba);background-size:200px 20px;overflow:visible}.progress.test .progress-text[data-v-63ef8610]:first-child{display:none}.progress.test .progress-text[data-v-63ef8610]:last-child{left:auto;top:auto;bottom:-26px;right:-12px;display:block;background-color:#00baba;width:40px;height:20px;border-radius:3px}.test[data-width="0%"] .progress-text[data-v-63ef8610]:last-child{display:none}.progress.test .progress-text[data-v-63ef8610]:last-child:before{position:absolute;left:12px;top:-6px;content:"";width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent #00baba transparent}\r\n\r\n/* Copper style */.progress.copper .progress-bar[data-v-63ef8610]{background-color:#b68d4c;background-image:-moz-linear-gradient(top,#f3e2c7 0,#b68d4c 51%,#e9d4b3 100%);background-image:-webkit-linear-gradient(top,#f3e2c7,#b68d4c 51%,#e9d4b3);background-image:-ms-linear-gradient(top,#f3e2c7 0,#b68d4c 51%,#e9d4b3 100%);background-image:linear-gradient(180deg,#f3e2c7 0,#b68d4c 51%,#e9d4b3);box-shadow:inset 2px 2px 3px 0 hsla(0,0%,100%,.75),inset -3px 0 3px 0 hsla(0,0%,100%,.75)}\r\n\r\n/* Aqua Style */.progress.aqua .progress-bar[data-v-63ef8610]{background-color:#00baba;background-image:-moz-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-webkit-linear-gradient(left,#d1fffb,#00baba);background-image:-o-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:-ms-linear-gradient(left,#d1fffb 0,#00baba 100%);background-image:linear-gradient(90deg,#d1fffb 0,#00baba)}\r\n\r\n/* Candystripe style */.progress.candy .progress-bar[data-v-63ef8610]{background-color:#d00;box-shadow:0 0 6px 2px hsla(0,0%,100%,.3) inset;background-image:linear-gradient(-45deg,hsla(0,0%,100%,.35) 25%,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,0) 50%,hsla(0,0%,100%,.35) 0,hsla(0,0%,100%,.35) 75%,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,0));background-repeat:repeat-x;background-size:20px 20px;-webkit-animation:candystripe-data-v-63ef8610 1s linear infinite;-moz-animation:candystripe-data-v-63ef8610 1s linear infinite;animation:candystripe-data-v-63ef8610 1s linear infinite}@-webkit-keyframes candystripe-data-v-63ef8610{to{background-position:20px 0}}@-moz-keyframes candystripe-data-v-63ef8610{to{background-position:20px 0}}@keyframes candystripe-data-v-63ef8610{to{background-position:20px 0}}\r\n\r\n/* Pulsating Neon style */.progress.neon .progress-bar[data-v-63ef8610]{background-color:#fff;box-shadow:0 0 5px #01fe32 inset,0 0 16px #08ff35,0 0 20px #08ff35,0 0 15px #08ff35;-webkit-animation:pulse-data-v-63ef8610 2s linear infinite;-moz-animation:pulse-data-v-63ef8610 2s linear infinite;animation:pulse-data-v-63ef8610 2s linear infinite}@-webkit-keyframes pulse-data-v-63ef8610{50%{box-shadow:0 0 5px #01fe32 inset,0 0 10px #08ff35,0 0 10px #08ff35,0 0 10px #08ff35}}@-moz-keyframes pulse-data-v-63ef8610{50%{box-shadow:0 0 5px #01fe32 inset,0 0 10px #08ff35,0 0 10px #08ff35,0 0 10px #08ff35}}@keyframes pulse-data-v-63ef8610{50%{box-shadow:0 0 5px #01fe32 inset,0 0 10px #08ff35,0 0 10px #08ff35,0 0 10px #08ff35}}\r\n\r\n/* Shine style */.progress.shine .progress-bar[data-v-63ef8610]{background-color:#00ba0c;background-image:-moz-linear-gradient(left,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c 100%);background-image:-webkit-linear-gradient(left,#00ba0c,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c);background-image:-o-linear-gradient(left,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c 100%);background-image:-ms-linear-gradient(left,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c 100%);background-image:linear-gradient(90deg,#00ba0c 0,#00ba0c 75%,#d7ffd1 80%,#00ba0c 85%,#00ba0c);background-size:800px 20px;box-shadow:inset 0 -2px 2px rgba(0,0,0,.5),inset 0 2px 2px hsla(0,0%,100%,.8);-webkit-animation:shine-data-v-63ef8610 2s linear infinite;-moz-animation:shine-data-v-63ef8610 2s linear infinite;animation:shine-data-v-63ef8610 2s linear infinite}@-webkit-keyframes shine-data-v-63ef8610{to{background-position:800px 0}}@-moz-keyframes shine-data-v-63ef8610{to{background-position:800px 0}}@keyframes shine-data-v-63ef8610{to{background-position:800px 0}}\r\n\r\n/* Zigzag style */.progress.zigzag .progress-bar[data-v-63ef8610]{background-color:#efe743;background-image:-moz-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 25%),-moz-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 25%),-moz-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 25%),-moz-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 25%);background-image:-webkit-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 0),-webkit-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 0),-webkit-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 0),-webkit-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 0);background-image:-o-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 25%),-o-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 25%),-o-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 25%),-o-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 25%);background-image:-ms-linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 25%),-ms-linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 25%),-ms-linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 25%),-ms-linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 25%);background-image:linear-gradient(135deg,#ea0000 25%,rgba(234,0,0,0) 0),linear-gradient(225deg,#ea0000 25%,rgba(234,0,0,0) 0),linear-gradient(315deg,#ea0000 25%,rgba(234,0,0,0) 0),linear-gradient(45deg,#ea0000 25%,rgba(234,0,0,0) 0);background-position:-10px 0,-10px 0,0 0,0 0;background-size:20px 20px;-webkit-animation:zigzagmove-data-v-63ef8610 .5s linear infinite;-moz-animation:zigzagmove-data-v-63ef8610 .5s linear infinite;animation:zigzagmove-data-v-63ef8610 .5s linear infinite}@-webkit-keyframes zigzagmove-data-v-63ef8610{to{background-position:10px 0,10px 0,20px 0,20px 0}}@-moz-keyframes zigzagmove-data-v-63ef8610{to{background-position:10px 0,10px 0,20px 0,20px 0}}@keyframes zigzagmove-data-v-63ef8610{to{background-position:10px 0,10px 0,20px 0,20px 0}}\r\n\r\n/* Diamond style */.progress.diamond .progress-bar[data-v-63ef8610]{background-color:#eee;background-image:-moz-linear-gradient(45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red),-moz-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red);background-image:-webkit-linear-gradient(45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red),-webkit-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red);background-image:-o-linear-gradient(45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red),-o-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red);background-image:-ms-linear-gradient(45deg,red 25%,hsla(0,0%,100%,0) 25%,rgba(255,0,0,0) 75%,red 75%,red),-ms-linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 25%,rgba(255,0,0,0) 75%,red 75%,red);background-image:linear-gradient(45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red),linear-gradient(-45deg,red 25%,rgba(255,0,0,0) 0,rgba(255,0,0,0) 75%,red 0,red);background-size:10px 10px;-webkit-animation:move-data-v-63ef8610 1.2s linear alternate infinite;-moz-animation:move-data-v-63ef8610 1.2s linear alternate infinite;animation:move-data-v-63ef8610 1.2s linear alternate infinite}@-webkit-keyframes move-data-v-63ef8610{to{background-position:5px -10px;background-size:20px 20px}}@-moz-keyframes move-data-v-63ef8610{to{background-position:5px -10px;background-size:20px 20px}}@keyframes move-data-v-63ef8610{to{background-position:5px -10px;background-size:20px 20px}}.progress.sparkle .progress-bar[data-v-63ef8610]{background-color:#f7a806;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABACAMAAADMI7KPAAACZFBMVEX////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////xG13JAAAAzHRSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxMXGx8jJytLua8SRAAASK0lEQVR42nXWWZMb12H28edsvQJoAINlMMPZOCQlioso0rKlmPYb+XXKvnAlvslNrvIBkg+Rz5CkKpU9lcSViiuJs5Ys2XKsxZJC2+K+zMLZBxgM1qXR6zknNYOhSMrM7wrVhcIfDwp9qsnl/58nB993NgGQbJn0Wqw61arjGVPM/PpFQ473/gwwpi0yalS/u+BwdfffiQU1bALEnTPWfLwIn/Nu4tpbiwWi7/zdLvhwlJO9JgCesc/EkckO9lspntUG3vcq+g8AIO1HtA7kMkzDLgYa1ACw7Me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71tc7e+EIxb/Yn/QL6Kz1fcfh0kaNrqdxCfMWMzRTHl+xn3TALd123OJWqmrVojnKQVoooOMxbUlYhUXg+I5i+HzecksNu+9lxg4ONxHtLaxBdVayQR99dlOpDlXKaALtUy2cjpvl4oiZxCEmw99h/xgFy+mxgPmcFBGWOp95ysfRVmOJ5K7PkKzFq4acSQSjQEA0v2wWop3zEinVEBLZBkGOREUXGIezhOVNh68ZrLZbfxfdJDhR1P6ianXkvv3GZ7qBdmyk+PJEK4IcISysL21EVVzfa0g49SpUAKzImzO6TDBaPt7ampq+3b38qlhjBfjBgP8UI1ubwDgeMqolLiVC4wk4SL0AUBBCq2DdQAqpEQbmmplGtIvCPKPngoT9H98bzV87Tt8cPtdvIik08mO6qewQnwhpy2GJOwJzT+/riKNABP2AuvplBjxIQ9Ftt89wJGBOet+I28U5jbW8AKlS1Pp6JGGefrCjb0E/wtYT0+oEQxnLAAAAABJRU5ErkJggg==");box-shadow:inset 0 -2px 2px rgba(0,0,0,.5),inset 0 2px 2px hsla(0,0%,100%,.8);-webkit-animation:sparkle-data-v-63ef8610 1.5s linear infinite;-moz-animation:sparkle-data-v-63ef8610 1.5s linear infinite;-o-animation:sparkle-data-v-63ef8610 1.5s linear infinite;animation:sparkle-data-v-63ef8610 1.5s linear infinite}@-webkit-keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}@-moz-keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}@-o-keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}@keyframes sparkle-data-v-63ef8610{from{background-position:0 0}to{background-position:0 -64px}}.progress.hearts .progress-bar[data-v-63ef8610]{background-image:radial-gradient(circle closest-side at 60% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 60% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 50% 35%,#d35 30%,rgba(221,51,85,0) 31%),radial-gradient(circle closest-side at 60% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 43%,#b03 26%,rgba(187,0,51,0) 27%),radial-gradient(circle closest-side at 40% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 60% 22%,#d35 45%,rgba(221,51,85,0) 46%),radial-gradient(circle closest-side at 50% 35%,#d35 30%,rgba(221,51,85,0) 31%);background-color:#b03;background-position:0 0,0 0,0 0,0 0,0 0,20px 20px,20px 20px,20px 20px,20px 20px,0 0;background-size:40px 40px;-webkit-animation:heartmove-data-v-63ef8610 1.2s linear infinite;-moz-animation:heartmove-data-v-63ef8610 1.2s linear infinite;animation:heartmove-data-v-63ef8610 1.2s linear infinite}@-webkit-keyframes heartmove-data-v-63ef8610{to{background-position:20px 0}}@-moz-keyframes heartmove-data-v-63ef8610{to{background-position:20px 0}}@keyframes heartmove-data-v-63ef8610{to{background-position:40px 0,40px 0,40px 0,40px 0,40px 20px,40px 20px,40px 20px,40px 20px,40px 20px,40px 0}}h2[data-v-63ef8610]{text-align:center;font-size:18px;font-family:Arial}a[data-v-63ef8610]{color:#89310f}',""]),t.exports=e},"6a1d":function(t,e,a){"use strict";var i=a("375e"),n=a.n(i);n.a},"6c67":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("4160"),a("e25e"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var n=i(a("1da1")),o=i(a("b85c")),r=i(a("5530")),s=a("2f62"),d=i(a("d50b")),c=i(a("71d1")),l=i(a("10b5")),f={components:{share:d.default,ProgressBar:c.default,uniCountdown:l.default},computed:(0,r.default)((0,r.default)({},(0,s.mapGetters)(["userInfo","hasLogin"])),{},{specSelectedName:function(){return this.specSelected.join(" ")},specProduct:function(){if(1==this.product.use_spec){var t,e=this.product.market_price,a=this.product.sales_price,i=this.product.stock,n=this.product.image,r=this.specSelected.join(" "),s=(this.specTableList,(0,o.default)(this.specTableList));try{for(s.s();!(t=s.n()).done;){var d=t.value;d.value.join(" ")==r&&(e=d.market_price,a=d.sales_price,i=d.stock,n=d.image)}}catch(c){s.e(c)}finally{s.f()}return{market_price:e,sales_price:a,stock:i,image:n}}return this.product}}),data:function(){return{couponClass:"none",specClass:"none",specSelected:[],favorite:!1,shareList:[],specList:[],specChildList:[],specTableList:[],product:{},flash:!1,id:!1,countdown:{},progress:{sold:1,number:1}}},onPullDownRefresh:function(){this.$refs&&this.$refs.countd&&(this.$refs.countd.syncFlag=!1),this.getDetail(this.id,this.flash?this.flash:0)},onShareAppMessage:function(t){return{title:this.product.title}},onLoad:function(t){this.id=t.id;var e=t.flash?t.flash:0;0!=e&&(this.flash=e),this.getDetail(this.id,e)},methods:{timeup:function(){this.getDetail(this.id,this.flash?this.flash:0)},getDetail:function(t,e){var a=this;return(0,n.default)(regeneratorRuntime.mark((function i(){var n,r,s,d,c,l,f,u,p;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n=0==e?"/product/detail":"/flash/productDetail",i.next=3,a.$api.request(n+"?id=".concat(t,"&flash_id=").concat(e),"GET");case 3:if(r=i.sent,uni.stopPullDownRefresh(),r){i.next=8;break}return setTimeout((function(){uni.navigateBack()}),3e3),i.abrupt("return");case 8:if(a.product=r,r.flash&&(a.countdown=r.flash.countdown,a.progress=r.flash),a.favorite=a.product.favorite,a.product.use_spec){for(u in s=a.product.spec_list,d=a.product.spec_table_list,c=1,l=1,f=[],s)for(p in s[u].id=c++,s[u].child)f.push({id:l++,pid:s[u].id,name:s[u].child[p]});a.specList=s,a.specChildList=f,a.specTableList=d,a.specSelected=[],a.specList.forEach((function(t){var e,i=(0,o.default)(a.specChildList);try{for(i.s();!(e=i.n()).done;){var n=e.value;if(n.pid===t.id){a.$set(n,"selected",!0),a.specSelected.push(n.name);break}}}catch(r){i.e(r)}finally{i.f()}}))}case 12:case"end":return i.stop()}}),i)})))()},toggleCoupon:function(){var t=this;"show"===this.couponClass?(this.couponClass="hide",setTimeout((function(){t.couponClass="none"}),250)):"none"===this.couponClass&&(this.couponClass="show")},toggleSpec:function(){var t=this;"show"===this.specClass?(this.specClass="hide",setTimeout((function(){t.specClass="none"}),250)):"none"===this.specClass&&(this.specClass="show")},selectSpec:function(t,e){var a=this,i=this.specChildList;i.forEach((function(t){t.pid===e&&a.$set(t,"selected",!1)})),this.$set(i[t],"selected",!0),this.specSelected=[],i.forEach((function(t){!0===t.selected&&a.specSelected.push(t.name)}))},share:function(){this.$refs.share.toggleMask()},toFavorite:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.flash){e.next=3;break}return t.$api.msg("秒杀商品不能收藏"),e.abrupt("return");case 3:return e.next=5,t.$api.checkLogin();case 5:if(a=e.sent,!a){e.next=12;break}return t.favorite=!t.favorite,e.next=10,t.$api.request("/product/favorite?id="+t.product.product_id);case 10:i=e.sent,i||(t.favorite=!t.favorite);case 12:case"end":return e.stop()}}),e)})))()},buy:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.checkLogin();case 2:a=e.sent,a&&(i="",1==t.product.use_spec&&(i=t.specSelected.join(",")),n="/pages/order/createOrder?id=".concat(t.product.product_id,"&spec=").concat(i),t.flash&&(n+="&flash_id=".concat(t.flash)),uni.navigateTo({url:n}));case 4:case"end":return e.stop()}}),e)})))()},addCart:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var a,i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.flash){e.next=3;break}return t.$api.msg("秒杀商品不能加入购物车"),e.abrupt("return");case 3:return e.next=5,t.$api.checkLogin();case 5:if(a=e.sent,!a){e.next=13;break}return i="",1==t.product.use_spec&&(i=t.specSelected.join(",")),e.next=11,t.$api.request("/cart/add?id="+t.product.product_id+"&spec="+i);case 11:n=e.sent,n&&t.product.cart_num++;case 13:case"end":return e.stop()}}),e)})))()},stopPrevent:function(){},percentage:function(t,e){return e?parseInt(e/t*100):0},previewImage:function(t){uni.previewImage({current:this.product.images_text[t],urls:this.product.images_text,indicator:"number",loop:!0})}}};e.default=f},"71d1":function(t,e,a){"use strict";a.r(e);var i=a("2527"),n=a("fa77");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("63e6");var r,s=a("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"63ef8610",null,!1,i["a"],r);e["default"]=d.exports},"74cd":function(t,e,a){"use strict";var i=a("b475"),n=a.n(i);n.a},"7b68":function(t,e,a){"use strict";a.r(e);var i=a("d1ed"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"9f62":function(t,e,a){"use strict";a.r(e);var i=a("243a"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},a0ba:function(t,e,a){var i=a("66f2");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("13a09a51",i,!0,{sourceMap:!1,shadowMode:!1})},a6be:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-countdown"},[t.showDay?a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.d))]):t._e(),t.showDay?a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v("天")]):t._e(),a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.h))]),a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"时"))]),a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.i))]),a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v(t._s(t.showColon?":":"分"))]),a("v-uni-text",{staticClass:"uni-countdown__number",style:{borderColor:t.borderColor,color:t.color,backgroundColor:t.backgroundColor,width:t.borderWidth}},[t._v(t._s(t.s))]),t.showColon?t._e():a("v-uni-text",{staticClass:"uni-countdown__splitor",style:{color:t.splitorColor}},[t._v("秒")])],1)},o=[]},b3f9:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.uni-countdown[data-v-e73e11fa]{display:flex;flex-direction:row;justify-content:flex-start;padding:%?2?% 0}.uni-countdown__splitor[data-v-e73e11fa]{display:flex;justify-content:center;line-height:%?48?%;padding:%?5?%;font-size:%?24?%}.uni-countdown__number[data-v-e73e11fa]{display:flex;justify-content:center;align-items:center;width:%?52?%;height:%?48?%;line-height:%?48?%;margin:%?5?%;text-align:center;font-size:%?24?%}',""]),t.exports=e},b475:function(t,e,a){var i=a("1bea");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("6a47c090",i,!0,{sourceMap:!1,shadowMode:!1})},b85c:function(t,e,a){"use strict";a("a4d3"),a("e01a"),a("d28b"),a("d3b7"),a("3ca3"),a("ddb0"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var i=n(a("06c5"));function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var a;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(a=(0,i.default)(t))||e&&t&&"number"===typeof t.length){a&&(t=a);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,d=!1;return{s:function(){a=t[Symbol.iterator]()},n:function(){var t=a.next();return s=t.done,t},e:function(t){d=!0,r=t},f:function(){try{s||null==a["return"]||a["return"]()}finally{if(d)throw r}}}}},badf:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-b5da2f32]{background:#f8f8f8;padding-bottom:%?160?%}.rich-text-a[data-v-b5da2f32]{font-size:19px}.icon-you[data-v-b5da2f32]{font-size:%?30?%;color:#888}.carousel[data-v-b5da2f32]{height:%?722?%;position:relative}.carousel uni-swiper[data-v-b5da2f32]{height:100%}.carousel .image-wrapper[data-v-b5da2f32]{width:100%;height:100%;text-align:center}.carousel .swiper-item[data-v-b5da2f32]{display:flex;justify-content:center;align-content:center;height:%?750?%;overflow:hidden}.carousel .swiper-item uni-image[data-v-b5da2f32]{width:100%;height:100%}\n/* 标题简介 */.introduce-section[data-v-b5da2f32]{background:#fff;padding:%?20?% %?30?%}.introduce-section .title[data-v-b5da2f32]{font-size:%?32?%;color:#303133;height:%?50?%;line-height:%?50?%}.introduce-section .price-box[data-v-b5da2f32]{display:flex;align-items:baseline;height:%?64?%;padding:%?10?% 0;font-size:%?26?%;color:#fa436a}.introduce-section .price[data-v-b5da2f32]{font-size:%?34?%}.introduce-section .m-price[data-v-b5da2f32]{margin:0 %?12?%;color:#909399;text-decoration:line-through}.introduce-section .coupon-tip[data-v-b5da2f32]{align-items:center;padding:%?4?% %?10?%;background:#fa436a;font-size:%?24?%;color:#fff;border-radius:%?6?%;line-height:1;-webkit-transform:translateY(%?-4?%);transform:translateY(%?-4?%)}.introduce-section .bot-row[data-v-b5da2f32]{display:flex;align-items:center;height:%?50?%;font-size:%?24?%;color:#909399}.introduce-section .bot-row uni-text[data-v-b5da2f32]{flex:1}\n/* 分享 */.share-section[data-v-b5da2f32]{display:flex;align-items:center;color:#606266;background:linear-gradient(left,#fdf5f6,#fbebf6);padding:%?12?% %?30?%}.share-section .share-icon[data-v-b5da2f32]{display:flex;align-items:center;width:%?70?%;height:%?30?%;line-height:1;border:1px solid #fa436a;border-radius:%?4?%;position:relative;overflow:hidden;font-size:%?22?%;color:#fa436a}.share-section .share-icon[data-v-b5da2f32]:after{content:"";width:%?50?%;height:%?50?%;border-radius:50%;left:%?-20?%;top:%?-12?%;position:absolute;background:#fa436a}.share-section .icon-xingxing[data-v-b5da2f32]{position:relative;z-index:1;font-size:%?24?%;margin-left:%?2?%;margin-right:%?10?%;color:#fff;line-height:1}.share-section .tit[data-v-b5da2f32]{font-size:%?28?%;margin-left:%?10?%}.share-section .icon-bangzhu1[data-v-b5da2f32]{padding:%?10?%;font-size:%?30?%;line-height:1}.share-section .share-btn[data-v-b5da2f32]{flex:1;text-align:right;font-size:%?24?%;color:#fa436a}.share-section .icon-you[data-v-b5da2f32]{font-size:%?24?%;margin-left:%?4?%;color:#fa436a}.c-list[data-v-b5da2f32]{font-size:%?26?%;color:#606266;background:#fff}.c-list .c-row[data-v-b5da2f32]{display:flex;align-items:center;padding:%?20?% %?30?%;position:relative}.c-list .tit[data-v-b5da2f32]{width:%?140?%}.c-list .con[data-v-b5da2f32]{flex:1;color:#303133}.c-list .con .selected-text[data-v-b5da2f32]{margin-right:%?10?%}.c-list .bz-list[data-v-b5da2f32]{height:%?40?%;font-size:%?26?%;color:#303133}.c-list .bz-list uni-text[data-v-b5da2f32]{display:inline-block;margin-right:%?30?%}.c-list .con-list[data-v-b5da2f32]{flex:1;display:flex;flex-direction:column;color:#303133;line-height:%?40?%}.c-list .red[data-v-b5da2f32]{color:#fa436a}\n/* 评价 */.eva-section[data-v-b5da2f32]{display:flex;flex-direction:column;padding:%?20?% %?30?%;background:#fff;margin-top:%?16?%}.eva-section .e-header[data-v-b5da2f32]{display:flex;align-items:center;height:%?70?%;font-size:%?26?%;color:#909399}.eva-section .e-header .tit[data-v-b5da2f32]{font-size:%?30?%;color:#303133;margin-right:%?4?%}.eva-section .e-header .tip[data-v-b5da2f32]{flex:1;text-align:right}.eva-section .e-header .icon-you[data-v-b5da2f32]{margin-left:%?10?%}.eva-box[data-v-b5da2f32]{display:flex;padding:%?20?% 0}.eva-box .portrait[data-v-b5da2f32]{flex-shrink:0;width:%?80?%;height:%?80?%;border-radius:100px}.eva-box .right[data-v-b5da2f32]{flex:1;display:flex;flex-direction:column;font-size:%?28?%;color:#606266;padding-left:%?26?%}.eva-box .right .con[data-v-b5da2f32]{font-size:%?28?%;color:#303133;padding:%?20?% 0}.eva-box .right .bot[data-v-b5da2f32]{display:flex;justify-content:space-between;font-size:%?24?%;color:#909399}\n/* 详情 */.detail-desc[data-v-b5da2f32]{background:#fff;margin-top:%?16?%}.detail-desc .d-header[data-v-b5da2f32]{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-b5da2f32]{padding:0 %?20?%;background:#fff;position:relative;z-index:1}.detail-desc .d-header[data-v-b5da2f32]: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/* 规格选择弹窗 */.attr-content[data-v-b5da2f32]{padding:%?10?% %?30?%}.attr-content .a-t[data-v-b5da2f32]{display:flex}.attr-content .a-t uni-image[data-v-b5da2f32]{width:%?170?%;height:%?170?%;flex-shrink:0;margin-top:%?-40?%;border-radius:%?8?%}.attr-content .a-t .right[data-v-b5da2f32]{display:flex;flex-direction:column;padding-left:%?24?%;font-size:%?26?%;color:#606266;line-height:%?42?%}.attr-content .a-t .right .price[data-v-b5da2f32]{font-size:%?32?%;color:#fa436a;margin-bottom:%?10?%}.attr-content .a-t .right .selected-text[data-v-b5da2f32]{margin-right:%?10?%}.attr-content .attr-list[data-v-b5da2f32]{display:flex;flex-direction:column;font-size:%?30?%;color:#606266;padding-top:%?30?%;padding-left:%?10?%}.attr-content .item-list[data-v-b5da2f32]{padding:%?20?% 0 0;display:flex;flex-wrap:wrap}.attr-content .item-list uni-text[data-v-b5da2f32]{display:flex;align-items:center;justify-content:center;background:#eee;margin-right:%?20?%;margin-bottom:%?20?%;border-radius:%?100?%;min-width:%?60?%;height:%?60?%;padding:0 %?20?%;font-size:%?28?%;color:#303133}.attr-content .item-list .selected[data-v-b5da2f32]{background:#fbebee;color:#fa436a}\n/* 弹出层 */.popup[data-v-b5da2f32]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99}.popup.show[data-v-b5da2f32]{display:block}.popup.show .mask[data-v-b5da2f32]{-webkit-animation:showPopup-data-v-b5da2f32 .2s linear both;animation:showPopup-data-v-b5da2f32 .2s linear both}.popup.show .layer[data-v-b5da2f32]{-webkit-animation:showLayer-data-v-b5da2f32 .2s linear both;animation:showLayer-data-v-b5da2f32 .2s linear both}.popup.hide .mask[data-v-b5da2f32]{-webkit-animation:hidePopup-data-v-b5da2f32 .2s linear both;animation:hidePopup-data-v-b5da2f32 .2s linear both}.popup.hide .layer[data-v-b5da2f32]{-webkit-animation:hideLayer-data-v-b5da2f32 .2s linear both;animation:hideLayer-data-v-b5da2f32 .2s linear both}.popup.none[data-v-b5da2f32]{display:none}.popup .mask[data-v-b5da2f32]{position:fixed;top:0;width:100%;height:100%;z-index:1;background-color:rgba(0,0,0,.4)}.popup .layer[data-v-b5da2f32]{position:fixed;z-index:99;bottom:0;width:100%;min-height:40vh;border-radius:%?10?% %?10?% 0 0;background-color:#fff}.popup .layer .btn[data-v-b5da2f32]{height:%?66?%;line-height:%?66?%;border-radius:%?100?%;background:#fa436a;font-size:%?30?%;color:#fff;margin:%?30?% auto %?20?%}@-webkit-keyframes showPopup-data-v-b5da2f32{0%{opacity:0}100%{opacity:1}}@keyframes showPopup-data-v-b5da2f32{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hidePopup-data-v-b5da2f32{0%{opacity:1}100%{opacity:0}}@keyframes hidePopup-data-v-b5da2f32{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes showLayer-data-v-b5da2f32{0%{-webkit-transform:translateY(120%);transform:translateY(120%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes showLayer-data-v-b5da2f32{0%{-webkit-transform:translateY(120%);transform:translateY(120%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes hideLayer-data-v-b5da2f32{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(120%);transform:translateY(120%)}}@keyframes hideLayer-data-v-b5da2f32{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(120%);transform:translateY(120%)}}\n/* 底部操作菜单 */.page-bottom[data-v-b5da2f32]{position:fixed;max-width:1024px;margin:auto;left:%?30?%;right:%?30?%;bottom:%?30?%;z-index:95;display:flex;justify-content:center;align-items:center;height:%?100?%;background:hsla(0,0%,100%,.9);box-shadow:0 0 %?20?% 0 rgba(0,0,0,.5);border-radius:%?16?%}.page-bottom .p-b-btn[data-v-b5da2f32]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:%?24?%;color:#606266;width:%?100?%;height:%?80?%;position:relative\n /* 购物车数量 */}.page-bottom .p-b-btn .cart-count[data-v-b5da2f32]{border:%?4?% solid #fa436a;width:%?40?%;height:%?40?%;color:#fa436a;text-align:center;border-radius:%?40?%;position:absolute;background:#fff;top:%?-10?%;right:0}.page-bottom .p-b-btn .yticon[data-v-b5da2f32]{font-size:%?46?%;line-height:%?48?%;color:#909399}.page-bottom .p-b-btn.active[data-v-b5da2f32],\n.page-bottom .p-b-btn.active .yticon[data-v-b5da2f32]{color:#fa436a}.page-bottom .action-btn-group[data-v-b5da2f32]{display:flex;height:%?76?%;border-radius:100px;overflow:hidden;box-shadow:0 %?20?% %?40?% %?-16?% #fa436a;box-shadow:1px 2px 5px rgba(219,63,96,.4);background:linear-gradient(90deg,#ffac30,#fa436a,#f56c6c);margin-left:%?20?%;position:relative\n /* &:after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tright: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t\theight: 28upx;\n\t\t\twidth: 0;\n\t\t\tborder-right: 1px solid rgba(255, 255, 255, .5);\n\t\t} */}.page-bottom .action-btn-group .only[data-v-b5da2f32]{width:%?360?%!important}.page-bottom .action-btn-group .action-btn-gray[data-v-b5da2f32]{-webkit-filter:grayscale(10%)!important;filter:grayscale(10%)!important;color:#c5c8ce!important;background-color:#f7f7f7!important;border-color:#dcdee2!important}.page-bottom .action-btn-group .action-btn[data-v-b5da2f32]{display:flex;align-items:center;justify-content:center;width:%?180?%;height:100%;font-size:%?28?%;padding:0;border-radius:0;background:transparent}.flash[data-v-b5da2f32]{height:%?100?%;background:linear-gradient(90deg,#ffac30,#fa436a,#f56c6c);display:flex;flex-direction:row;position:relative}.flash .sales_price[data-v-b5da2f32]{color:#fff;font-size:%?50?%}.flash .sales_price .symbol[data-v-b5da2f32]{font-size:%?30?%;display:inline}.flash .left[data-v-b5da2f32]{font-size:%?28?%;padding:%?10?%}.flash .left .market_price[data-v-b5da2f32]{color:#dcdfe6;text-decoration:line-through}.flash .left .sold[data-v-b5da2f32]{color:#e4e7ed}.flash .right[data-v-b5da2f32]{height:100%;width:%?300?%;position:absolute;right:0;padding:%?4?%;margin-right:%?20?%}.flash .right .time[data-v-b5da2f32]{font-size:%?30?%;color:#fffa30;text-align:center}.flash .right .time .uni-countdown[data-v-b5da2f32]{display:inline-flex}.flash .right .progress[data-v-b5da2f32]{position:absolute;bottom:%?7?%;right:%?10?%}.flash .right .flashDone[data-v-b5da2f32]{font-size:%?40?%;height:%?90?%;line-height:%?90?%}\n/* 优惠券列表 */.content-coupon[data-v-b5da2f32]{padding-bottom:%?100?%;max-height:%?800?%;overflow:auto}.retract[data-v-b5da2f32]{position:fixed;bottom:0;width:%?700?%;z-index:100;margin:%?20?% %?25?%;color:#fff;background:#fa436a}.coupon-item[data-v-b5da2f32]{display:flex;flex-direction:column;background:#fff}.coupon-item .con[data-v-b5da2f32]{display:flex;align-items:center;position:relative;height:%?120?%;padding:0 %?30?%}.coupon-item .con[data-v-b5da2f32]:after{position:absolute;left:0;bottom:0;content:"";width:100%;height:0;border-bottom:1px dashed #f3f3f3;-webkit-transform:scaleY(50%);transform:scaleY(50%)}.coupon-item .left[data-v-b5da2f32]{display:flex;flex-direction:column;justify-content:center;flex:1;overflow:hidden;height:%?100?%}.coupon-item .title[data-v-b5da2f32]{font-size:%?32?%;color:#303133;margin-bottom:%?10?%}.coupon-item .time[data-v-b5da2f32]{font-size:%?24?%;color:#909399}.coupon-item .right[data-v-b5da2f32]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:%?26?%;color:#606266;height:%?100?%}.coupon-item .price[data-v-b5da2f32]{font-size:%?44?%;color:#fa436a}.coupon-item .price[data-v-b5da2f32]:before{content:"¥";font-size:%?34?%}.coupon-item .tips[data-v-b5da2f32]{font-size:%?24?%;color:#909399;line-height:%?60?%;padding-left:%?30?%}.coupon-item .circle[data-v-b5da2f32]{position:absolute;left:%?-6?%;bottom:%?-10?%;z-index:10;width:%?20?%;height:%?20?%;background:#f3f3f3;border-radius:100px}.coupon-item .circle.r[data-v-b5da2f32]{left:auto;right:%?-6?%}body.?%PAGE?%[data-v-b5da2f32]{background:#f8f8f8}',""]),t.exports=e},ce81:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.show?a("v-uni-view",{staticClass:"mask",style:{backgroundColor:t.backgroundColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleMask.apply(void 0,arguments)},touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask-content",style:[{height:t.config.height,transform:t.transform}],on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},[a("v-uni-scroll-view",{staticClass:"view-content",attrs:{"scroll-y":!0}},[a("v-uni-view",{staticClass:"share-header"},[t._v("分享到")]),a("v-uni-view",{staticClass:"share-list"},t._l(t.shareList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"share-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.shareToFriend(e.text)}}},[a("v-uni-image",{attrs:{src:e.icon,mode:""}}),a("v-uni-text",[t._v(t._s(e.text))])],1)})),1)],1),a("v-uni-view",{staticClass:"bottom b-t",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleMask.apply(void 0,arguments)}}},[t._v("取消")])],1)],1):t._e()},o=[]},d1ed:function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"UniCountdown",props:{showDay:{type:Boolean,default:!0},showColon:{type:Boolean,default:!0},backgroundColor:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#000000"},color:{type:String,default:"#000000"},splitorColor:{type:String,default:"#000000"},day:{type:Number,default:0},hour:{type:Number,default:0},minute:{type:Number,default:0},second:{type:Number,default:0},borderWidth:{type:String,default:"52rpx"}},data:function(){return{timer:null,syncFlag:!1,d:"00",h:"00",i:"00",s:"00",leftTime:0,seconds:0}},watch:{day:function(t){this.changeFlag()},hour:function(t){this.changeFlag()},minute:function(t){this.changeFlag()},second:function(t){this.changeFlag()}},created:function(t){this.startData()},beforeDestroy:function(){clearInterval(this.timer)},methods:{toSeconds:function(t,e,a,i){return 60*t*60*24+60*e*60+60*a+i},timeUp:function(){clearInterval(this.timer),this.timer=0,this.$emit("timeup",this)},countDown:function(){var t=this.seconds,e=0,a=0,i=0,n=0;t>0?(e=Math.floor(t/86400),a=Math.floor(t/3600)-24*e,i=Math.floor(t/60)-24*e*60-60*a,n=Math.floor(t)-24*e*60*60-60*a*60-60*i):this.timeUp(),e<10&&(e="0"+e),a<10&&(a="0"+a),i<10&&(i="0"+i),n<10&&(n="0"+n),this.d=e,this.h=a,this.i=i,this.s=n},startData:function(){var t=this;this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.seconds<=0?this.timeUp():this.timer>0||(this.countDown(),this.timer=setInterval((function(){t.seconds--,t.seconds<0?t.timeUp():t.countDown()}),1e3))},changeFlag:function(){this.syncFlag||(this.seconds=this.toSeconds(this.day,this.hour,this.minute,this.second),this.startData(),this.syncFlag=!0)}}};e.default=i},d50b:function(t,e,a){"use strict";a.r(e);var i=a("ce81"),n=a("9f62");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("74cd");var r,s=a("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"f0809dbe",null,!1,i["a"],r);e["default"]=d.exports},ef04:function(t,e,a){"use strict";a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{Sold:{type:Number|String,default:0},widthUpx:{type:Number,default:710},Width:{type:Number,default:0},Type:{type:String,default:"aqua"},Main:{type:Boolean,default:!0},Vice:{type:Boolean,default:!0}},data:function(){return{}},methods:{}};e.default=i},fa77:function(t,e,a){"use strict";a.r(e);var i=a("ef04"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a}}]); \ No newline at end of file