1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-home-bargain-Bargainshare"],{"07d0":function(t,a,r){var e=r("6d69");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=r("4f06").default;n("8da7eac6",e,!0,{sourceMap:!1,shadowMode:!1})},"1a2e":function(t,a,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(r("5530")),i=r("26cb"),s=r("de79"),o={name:"HomeBase",data:function(){return{page:"",cartNumber:0}},props:{show:{type:Boolean,default:!0}},computed:(0,n.default)((0,n.default)({},(0,i.mapState)({isOnline:function(t){return t.member.isOnline}})),{},{getCarCount:function(){return this.cartNumber>0&&this.cartNumber<100?this.cartNumber:this.cartNumber>=100?"99+":void 0}}),mounted:function(){var t=getCurrentPages(),a=t[t.length-1];this.page={route:a.route,options:a.options},this.page.options&&this.page.options.inviter_id&&this.memberInviterId({inviterId:this.page.options.inviter_id}),this.getCartCount()},methods:(0,n.default)((0,n.default)({},(0,i.mapMutations)({memberInviterId:"memberInviterId"})),{},{getCartCount:function(){var t=this;this.isOnline&&(0,s.cartQuantity)().then((function(a){a&&(t.cartNumber=a.result.cart_count)}))}})};a.default=o},2382:function(t,a,r){var e=r("24fb");a=e(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.status-holder[data-v-cb006efa]{background-color:#fff}.home-base[data-v-cb006efa]{display:flex;flex-direction:column}.content[data-v-cb006efa]{flex:1}.item-wrap[data-v-cb006efa]{position:relative}.image[data-v-cb006efa]{width:1rem;height:1rem;display:block;margin-left:auto;margin-right:auto;margin-top:.2rem;margin-bottom:.2rem}.icon[data-v-cb006efa]{position:absolute;right:.8rem;top:.2rem;font-size:.5rem;line-height:.7rem;width:.9rem;height:.7rem;background:#ef3338;border-radius:1rem;text-align:center;color:#fff}',""]),t.exports=a},"24f2":function(t,a,r){"use strict";r.d(a,"b",(function(){return e})),r.d(a,"c",(function(){return n})),r.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"div home-base"},[e("v-uni-view",{staticClass:"status-holder"}),e("v-uni-view",{staticClass:"content"},[t._t("default")],2),t.show?e("v-uni-view",{staticClass:"div common-footer-wrap"},[e("v-uni-view",{staticClass:"common-footer"},[e("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/index/Index"==t.page.route}},[e("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/index/Index","open-type":"reLaunch"}},["pages/home/index/Index"==t.page.route?e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("0207")}}):e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("241a")}}),e("v-uni-text",{staticClass:"span text"},[t._v("首页")])],1)],1),e("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/goodsclass/Goodsclass"==t.page.route}},[e("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/goodsclass/Goodsclass"}},["pages/home/goodsclass/Goodsclass"==t.page.route?e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("79bf")}}):e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("d86e")}}),e("v-uni-text",{staticClass:"span text"},[t._v("分类")])],1)],1),e("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/search/Search"==t.page.route}},[e("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/search/Search"}},["pages/home/search/Search"==t.page.route?e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("492b")}}):e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("1702")}}),e("v-uni-text",{staticClass:"span text"},[t._v("搜索")])],1)],1),e("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/cart/Cart"==t.page.route}},[e("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/cart/Cart"}},["pages/member/cart/Cart"==t.page.route?e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("62a8")}}):e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("8559")}}),e("v-uni-text",{staticClass:"span text"},[t._v("购物车")]),t.cartNumber>0?e("v-uni-text",{staticClass:"span icon"},[t._v(t._s(t.getCarCount))]):t._e()],1)],1),e("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/index/Index"==t.page.route}},[e("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/index/Index","open-type":"reLaunch"}},["pages/member/index/Index"==t.page.route?e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("857e")}}):e("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:r("e31d")}}),e("v-uni-text",{staticClass:"span text"},[t._v("我的")])],1)],1)],1)],1):t._e()],1)},n=[]},2583:function(t,a,r){var e=r("9b94");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=r("4f06").default;n("15268925",e,!0,{sourceMap:!1,shadowMode:!1})},"26ab":function(t,a,r){"use strict";var e=r("2583"),n=r.n(e);n.a},"28d5":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAKCAYAAABCHPt+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQ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PCeltP9rehdnDdsEbgArn5OQp8AHwB4wmqlmDtgJTfGFHSAQYWPhiHAgsqEonE0qSc7FUSuUDRV2o8JELbILNSq1imugCrsR1MUpC1cOcouUW6E6Z6r6iarJhHF9f7n60tmV6tt/+1W+893b/udlxYwMgT0vQpg17SXgm8D3gDUg8VnHGE5n+XCGOZ4TNswqFoZQTLlw8UwJLjZyZStwqUI04Cw4F6ojokaaUJiAxnJM1KKKwiS1XLtE1aJUThpDVIIq8CQt8qx9JT9bunj+hK9p1Lp8o+7u3tBPX9niwn1STwQm5qmQFyIMkjAk08LTFaUiE4ggqREUiwZosGtJlewSVm61W9mOGlKToKBWGIraFMlNQoHbDZIxtrDAMTW/qGPVuYp0+OS4/buN4+YHt971ndtvhra3p+uf3lwV8p/df282vV9kZd2bYdVzxJ4+mHoINgW5YGyiwamZqSVj14YiTz8XxlVyZJSy5QmODJEJMkQl09ilQeSwKxORKNm4jkTdSqpTqqsVnYyXF++PX3302/za6P24evuV8kvetHo9zHw85AUydaZbwRBEsWXbFjTCYSdPzTtyoCIREE0KIkwx0bRMlBJRFMVVRIm6UbvtmGI1WTbFgYvbDVHyeVHJHlcTPz0+iaX2efn1Oyf+RtWOrd5W/AR4NNj0Xndgz8E/XqBvL0TjIJmqZMtYJYVzcTQQuAQm3DjnMPW5LrSXIpfaj58t6OW1xfj9vY9Zaa1wdn5ixqHj91f9bPlRWnuw4If5E74+aXPt8jg+ZMRivqRr+YJWfvjU9Qewkla5On7C9ZNrflgu8af676w+WmD7vVX23A00v3tEL9JhuD8AC27dhNMRdNYHQNfD4VBHRzsA3LwJBwcDut0u0DfYAwapu73vwcZAnWGH3dc7np5/cPCLt/X2dw5ggHvAb36MDm/hHj12jzZ1tGvobXrt4FSnt9bMdp+Nja663T3DfI9CgH8PAD0+V9ij7DxoAAAAAElFTkSuQmCC"},"3d3d":function(t,a,r){"use strict";r.r(a);var e=r("24f2"),n=r("ee69");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return n[t]}))}(i);r("9697");var s=r("f0c5"),o=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"cb006efa",null,!1,e["a"],void 0);a["default"]=o.exports},"3f63":function(t,a,r){var e=r("24fb");a=e(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.navigation[data-v-5b0dd974]{text-align:center;font-size:.7rem;background-color:#fff}',""]),t.exports=a},4305:function(t,a,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,r("a9e3");var n=e(r("e8e6")),i=r("37dc"),s=e(r("6789")),o=(0,i.initVueI18n)(s.default),l=o.t,m={name:"uniPopupDialog",mixins:[n.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return l("uni-popup.ok")},cancelText:function(){return l("uni-popup.cancel")},placeholderText:function(){return this.placeholder||l("uni-popup.placeholder")},titleText:function(){return this.title||l("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};a.default=m},"4c81":function(t,a,r){"use strict";r("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.getBargainOrderInfo=a.getBargainLogList=a.getBargainList=a.getBargainInfo=void 0;var e=r("887c");a.getBargainInfo=function(t){return(0,e.requestApi)("/Bargain/get_info","POST",{bargain_id:t})};a.getBargainOrderInfo=function(t,a){return(0,e.requestApi)("/Bargain/get_order_info","POST",{bargainorder_id:t,key:a})};a.getBargainList=function(t){return(0,e.requestApi)("/Bargain/get_list","POST",{page:t.page,per_page:t.per_page})};a.getBargainLogList=function(t,a){return(0,e.requestApi)("/Bargain/get_log_list","POST",{bargainorder_id:t,page:a.page,per_page:a.per_page})}},"5f8c":function(t,a,r){"use strict";r.r(a);var e=r("e9cf"),n=r.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return e[t]}))}(i);a["default"]=n.a},6789:function(t,a,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(r("7310")),i=e(r("be7d")),s=e(r("bbf3")),o={en:n.default,"zh-Hans":i.default,"zh-Hant":s.default};a.default=o},"69db":function(t,a,r){var e=r("3f63");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=r("4f06").default;n("36e3ea70",e,!0,{sourceMap:!1,shadowMode:!1})},"6d69":function(t,a,r){var e=r("24fb");a=e(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-popup-dialog[data-v-426fce18]{width:300px;border-radius:15px;background-color:#fff}.uni-dialog-title[data-v-426fce18]{display:flex;flex-direction:row;justify-content:center;padding-top:15px;padding-bottom:5px}.uni-dialog-title-text[data-v-426fce18]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-426fce18]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:5px 15px 15px 15px}.uni-dialog-content-text[data-v-426fce18]{font-size:14px;color:#6e6e6e}.uni-dialog-button-group[data-v-426fce18]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-426fce18]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-426fce18]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-426fce18]{font-size:14px}.uni-button-color[data-v-426fce18]{color:#007aff}.uni-dialog-input[data-v-426fce18]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-426fce18]{color:#4cd964}.uni-popup__warn[data-v-426fce18]{color:#f0ad4e}.uni-popup__error[data-v-426fce18]{color:#dd524d}.uni-popup__info[data-v-426fce18]{color:#909399}',""]),t.exports=a},7310:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},8329:function(t,a,r){"use strict";var e=r("69db"),n=r.n(e);n.a},"8b60":function(t,a,r){"use strict";r.d(a,"b",(function(){return e})),r.d(a,"c",(function(){return n})),r.d(a,"a",(function(){}));var e=function(){var t=this.$createElement,a=this._self._c||t;return a("v-uni-view")},n=[]},9050:function(t,a,r){"use strict";r("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.getBargainList=a.addBargainLog=a.addBargain=void 0;var e=r("887c");a.addBargain=function(t){return(0,e.requestApi)("/member_bargain/add","POST",{bargain_id:t},"member")};a.addBargainLog=function(t){return(0,e.requestApi)("/member_bargain/add_log","POST",{bargainorder_id:t},"member")};a.getBargainList=function(t){return(0,e.requestApi)("/member_bargain/get_list","POST",{page:t.page,per_page:t.per_page},"member")}},9697:function(t,a,r){"use strict";var e=r("fe46"),n=r.n(e);n.a},"9b94":function(t,a,r){var e=r("24fb");a=e(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */@-webkit-keyframes scaleDraw-data-v-c95b8666{0%{-webkit-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.05);transform:scale(1.05)}50%{-webkit-transform:scale(1);transform:scale(1)}75%{-webkit-transform:scale(1.05);transform:scale(1.05)}}@keyframes scaleDraw-data-v-c95b8666{0%{-webkit-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.05);transform:scale(1.05)}50%{-webkit-transform:scale(1);transform:scale(1)}75%{-webkit-transform:scale(1.05);transform:scale(1.05)}}@-webkit-keyframes scrollText10-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}10%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}20%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}30%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}40%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}50%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}60%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}70%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}80%{-webkit-transform:translateY(-20rem);transform:translateY(-20rem)}90%{-webkit-transform:translateY(-22.5rem);transform:translateY(-22.5rem)}100%{-webkit-transform:translateY(-25rem);transform:translateY(-25rem)}}@keyframes scrollText10-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}10%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}20%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}30%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}40%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}50%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}60%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}70%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}80%{-webkit-transform:translateY(-20rem);transform:translateY(-20rem)}90%{-webkit-transform:translateY(-22.5rem);transform:translateY(-22.5rem)}100%{-webkit-transform:translateY(-25rem);transform:translateY(-25rem)}}@-webkit-keyframes scrollText9-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}11.1111%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}22.2222%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}33.3333%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}44.4444%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}55.5555%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}66.6666%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}77.7777%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}88.8888%{-webkit-transform:translateY(-20rem);transform:translateY(-20rem)}99.9999%{-webkit-transform:translateY(-22.5rem);transform:translateY(-22.5rem)}}@keyframes scrollText9-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}11.1111%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}22.2222%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}33.3333%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}44.4444%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}55.5555%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}66.6666%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}77.7777%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}88.8888%{-webkit-transform:translateY(-20rem);transform:translateY(-20rem)}99.9999%{-webkit-transform:translateY(-22.5rem);transform:translateY(-22.5rem)}}@-webkit-keyframes scrollText8-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}12.5%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}25%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}37.5%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}50%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}62.5%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}75%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}87.5%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}100%{-webkit-transform:translateY(-20rem);transform:translateY(-20rem)}}@keyframes scrollText8-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}12.5%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}25%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}37.5%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}50%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}62.5%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}75%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}87.5%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}100%{-webkit-transform:translateY(-20rem);transform:translateY(-20rem)}}@-webkit-keyframes scrollText7-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}14.2857%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}28.5714%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}42.8571%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}57.1428%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}71.4285%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}85.7142%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}99.9999%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}}@keyframes scrollText7-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}14.2857%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}28.5714%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}42.8571%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}57.1428%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}71.4285%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}85.7142%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}99.9999%{-webkit-transform:translateY(-17.5rem);transform:translateY(-17.5rem)}}@-webkit-keyframes scrollText6-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}16.6666%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}33.3332%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}49.9998%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}66.6664%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}83.333%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}99.9996%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}}@keyframes scrollText6-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}16.6666%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}33.3332%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}49.9998%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}66.6664%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}83.333%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}99.9996%{-webkit-transform:translateY(-15rem);transform:translateY(-15rem)}}@-webkit-keyframes scrollText5-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}40%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}60%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}80%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}100%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}}@keyframes scrollText5-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}20%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}40%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}60%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}80%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}100%{-webkit-transform:translateY(-12.5rem);transform:translateY(-12.5rem)}}@-webkit-keyframes scrollText4-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}25%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}50%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}75%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}100%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}}@keyframes scrollText4-data-v-c95b8666{0%{-webkit-transform:translateY(0);transform:translateY(0)}25%{-webkit-transform:translateY(-2.5rem);transform:translateY(-2.5rem)}50%{-webkit-transform:translateY(-5rem);transform:translateY(-5rem)}75%{-webkit-transform:translateY(-7.5rem);transform:translateY(-7.5rem)}100%{-webkit-transform:translateY(-10rem);transform:translateY(-10rem)}}.whole-wrapper[data-v-c95b8666]{position:fixed;width:100%;height:100%;background-color:#ea3f64;overflow:auto}.bargain-share[data-v-c95b8666]{background-color:#ea3f64;background-repeat:no-repeat;background-size:100%;background-position:top;position:relative;padding-top:1rem;padding-bottom:3rem}.bargain-share.inactive[data-v-c95b8666]{color:#a1a1a1}.bargain-share.inactive .bargain-info .bargain_remark[data-v-c95b8666]{color:#a1a1a1}.bargain-share.inactive .bargain-info .goods_info .bargain_goods_price[data-v-c95b8666]{color:#a1a1a1}.bargain-share.inactive .expired[data-v-c95b8666]{color:red;border:2px solid red;padding:.2rem;font-weight:700;display:inline-block;position:absolute;right:.5rem;bottom:1rem;-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}.bargain-info[data-v-c95b8666], .bargain-order[data-v-c95b8666], .bargain-log[data-v-c95b8666]{padding:1rem;background:#fff;width:88%;margin:1rem auto 0;position:relative;border-radius:.4rem;font-size:.6rem;box-sizing:border-box}.bargain-info .member_avatar[data-v-c95b8666]{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:-1.5rem;text-align:center}.bargain-info .member_avatar .img[data-v-c95b8666]{width:3rem;height:3rem;max-width:100%;max-height:100%;vertical-align:middle;border-radius:50%}.bargain-info .member_name[data-v-c95b8666]{text-align:center;margin-top:.6rem;line-height:1rem;font-size:.7rem}.bargain-info .bargain_remark[data-v-c95b8666]{text-align:center;line-height:1.5rem;font-size:.7rem;color:#9a6e3a}.bargain-info .goods_info[data-v-c95b8666]{height:4rem;display:flex;margin-bottom:1rem}.bargain-info .goods_info .p_img .img[data-v-c95b8666]{width:4rem;height:4rem}.bargain-info .goods_info .p_info[data-v-c95b8666]{position:relative;height:4rem}.bargain-info .goods_info .goods_name[data-v-c95b8666]{line-height:1rem;height:2rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;box-orient:vertical}.bargain-info .goods_info .bargain_goods_price[data-v-c95b8666]{line-height:1rem;color:red;position:absolute;bottom:0}.bargain-info .goods_info .bargain_goods_price .em[data-v-c95b8666]{font-size:.8rem}.bargain-info .goods_info .bargain_goods_price del[data-v-c95b8666]{color:#a1a1a1;margin-left:.2rem}.bargain-order[data-v-c95b8666]{text-align:center;padding-top:1rem;padding-bottom:1rem}.bargain-order .count[data-v-c95b8666]{background:#ffeff2;color:#f12c56;padding:0 1rem;border-radius:1.5rem;height:1.5rem;line-height:1.5rem;box-sizing:border-box;display:inline-block}.bargain-order .notice[data-v-c95b8666]{color:grey}.bargain-log .title[data-v-c95b8666]{text-align:center;color:#f12c56}.bargain-log .scroll-wrapper[data-v-c95b8666]{overflow:hidden;height:7.5rem}.bargain-log .null[data-v-c95b8666]{padding:1rem;color:grey;text-align:center}.bargain-log .ul[data-v-c95b8666]{top:0;position:relative}.bargain-log .ul.line-10[data-v-c95b8666]{-webkit-animation:scrollText10-data-v-c95b8666 20s infinite cubic-bezier(1,0,.5,0);animation:scrollText10-data-v-c95b8666 20s infinite cubic-bezier(1,0,.5,0)}.bargain-log .ul.line-9[data-v-c95b8666]{-webkit-animation:scrollText9-data-v-c95b8666 18s infinite cubic-bezier(1,0,.5,0);animation:scrollText9-data-v-c95b8666 18s infinite cubic-bezier(1,0,.5,0)}.bargain-log .ul.line-8[data-v-c95b8666]{-webkit-animation:scrollText8-data-v-c95b8666 16s infinite cubic-bezier(1,0,.5,0);animation:scrollText8-data-v-c95b8666 16s infinite cubic-bezier(1,0,.5,0)}.bargain-log .ul.line-7[data-v-c95b8666]{-webkit-animation:scrollText7-data-v-c95b8666 14s infinite cubic-bezier(1,0,.5,0);animation:scrollText7-data-v-c95b8666 14s infinite cubic-bezier(1,0,.5,0)}.bargain-log .ul.line-6[data-v-c95b8666]{-webkit-animation:scrollText6-data-v-c95b8666 12s infinite cubic-bezier(1,0,.5,0);animation:scrollText6-data-v-c95b8666 12s infinite cubic-bezier(1,0,.5,0)}.bargain-log .ul.line-5[data-v-c95b8666]{-webkit-animation:scrollText5-data-v-c95b8666 10s infinite cubic-bezier(1,0,.5,0);animation:scrollText5-data-v-c95b8666 10s infinite cubic-bezier(1,0,.5,0)}.bargain-log .ul.line-4[data-v-c95b8666]{-webkit-animation:scrollText4-data-v-c95b8666 8s infinite cubic-bezier(1,0,.5,0);animation:scrollText4-data-v-c95b8666 8s infinite cubic-bezier(1,0,.5,0)}.bargain-log .li[data-v-c95b8666]{height:2rem;line-height:2rem;width:100%;overflow:hidden;margin:.5rem 0}.bargain-log .li .p_img[data-v-c95b8666]{float:left}.bargain-log .li .p_img .img[data-v-c95b8666]{width:2rem;height:2rem;border-radius:50%}.bargain-log .li .p_name[data-v-c95b8666]{float:left;margin-left:1rem}.bargain-log .li .p_price[data-v-c95b8666]{float:right}.bargain-log .li .p_price .em[data-v-c95b8666]{color:red}.bargain-order .connect-wrapper[data-v-c95b8666]{position:absolute;height:2.5rem;top:-1.75rem;z-index:2}.bargain-order .connect-wrapper .dot[data-v-c95b8666]{width:.5rem;height:.5rem;border-radius:50%;background:#ea3f64}.bargain-order .connect-wrapper .bottom-dot[data-v-c95b8666]{bottom:0;position:absolute}.bargain-order .connect-wrapper .round[data-v-c95b8666]{width:.3rem;height:2rem;background:#ff8c00;border-radius:.3rem;position:absolute;top:.25rem;left:.1rem}.bargain-order .connect-wrapper.right[data-v-c95b8666]{right:10px}.bargain-order .button-1[data-v-c95b8666]{background:#999!important;width:100%;font-size:.6rem;height:2rem;line-height:2rem;border-radius:2rem;box-shadow:0 5px 10px 0 #c3c3c3}.bargain-order .button-1 .gloss[data-v-c95b8666]{display:none;position:absolute;z-index:1;left:.8rem;top:.2rem;height:.3rem;width:5rem;opacity:.8}.bargain-order .button-1.active[data-v-c95b8666]{-webkit-animation:scaleDraw-data-v-c95b8666 2s ease-in-out infinite;background:#ea3f64!important;background-image:linear-gradient(90deg,#ff5e00,#ea3f3f)!important}.bargain-order .button-1.active .gloss[data-v-c95b8666]{display:block}.progress-wrapper[data-v-c95b8666]{position:relative;width:100%}.progress-wrapper .progress-back[data-v-c95b8666]{background:#ffeff2;width:100%;height:.3rem;border-radius:.3rem}.progress-wrapper .progress-front[data-v-c95b8666]{background:#f12c56;width:0;height:.3rem;border-radius:.3rem;position:absolute}.progress-wrapper .progress-front .arrow[data-v-c95b8666]{position:absolute;right:0;background:#f12c56;text-align:center;height:.8rem;width:.8rem;border-radius:50%;line-height:.8rem;font-size:.6rem;top:-.25rem}.progress-wrapper .progress-front .arrow[data-v-c95b8666]:before{width:.3rem;height:.3rem;background:#ffeff2;content:"";display:block;margin:.25rem auto;border-radius:50%}.count-down-wrapper[data-v-c95b8666]{color:#f12c56;line-height:1rem}.count-down-wrapper .block[data-v-c95b8666]{display:inline-block;width:1rem;height:1rem;border-radius:.2rem;color:#fff;line-height:1rem;background:#f12c56;margin:0 .2rem;vertical-align:middle}.poster-img[data-v-c95b8666]{width:8rem;height:8rem}',""]),t.exports=a},ae75:function(t,a,r){"use strict";r.d(a,"b",(function(){return e})),r.d(a,"c",(function(){return n})),r.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,r=t._self._c||a;return r("v-uni-view",{staticClass:"uni-popup-dialog"},[r("v-uni-view",{staticClass:"uni-dialog-title"},[r("v-uni-text",{staticClass:"uni-dialog-title-text",class:["uni-popup__"+t.dialogType]},[t._v(t._s(t.titleText))])],1),"base"===t.mode?r("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[r("v-uni-text",{staticClass:"uni-dialog-content-text"},[t._v(t._s(t.content))])])],2):r("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[r("v-uni-input",{staticClass:"uni-dialog-input",attrs:{type:"text",placeholder:t.placeholderText,focus:t.focus},model:{value:t.val,callback:function(a){t.val=a},expression:"val"}})])],2),r("v-uni-view",{staticClass:"uni-dialog-button-group"},[r("v-uni-view",{staticClass:"uni-dialog-button",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.closeDialog.apply(void 0,arguments)}}},[r("v-uni-text",{staticClass:"uni-dialog-button-text"},[t._v(t._s(t.cancelText))])],1),r("v-uni-view",{staticClass:"uni-dialog-button uni-border-left",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onOk.apply(void 0,arguments)}}},[r("v-uni-text",{staticClass:"uni-dialog-button-text uni-button-color"},[t._v(t._s(t.okText))])],1)],1)],1)},n=[]},b0cc:function(t,a,r){"use strict";var e=r("07d0"),n=r.n(e);n.a},b44c:function(t,a,r){"use strict";r.r(a);var e=r("ae75"),n=r("d6b8");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return n[t]}))}(i);r("b0cc");var s=r("f0c5"),o=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"426fce18",null,!1,e["a"],void 0);a["default"]=o.exports},bbf3:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},be7d:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},c06b:function(t,a,r){"use strict";r.d(a,"b",(function(){return n})),r.d(a,"c",(function(){return i})),r.d(a,"a",(function(){return e}));var e={pageMeta:r("6d42").default,uniPopup:r("3ae3").default,uniPopupDialog:r("b44c").default},n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",[e("page-meta",{attrs:{"root-font-size":t.fontSize+"px"}}),e("home-base",{attrs:{show:!1}},[e("v-uni-view",{staticClass:"div whole-wrapper"},[e("title-header"),t.bargainorder_info?e("v-uni-view",{staticClass:"div bargain-share",class:t.flag?"":"inactive",style:"background-image:url("+t.bargainbg+")"},[e("v-uni-view",{staticClass:"div bargain-info",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.goGoods.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"div member_avatar"},[e("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:t.bargainorder_info.bargainorder_initiator_avatar}})],1),e("v-uni-view",{staticClass:"div member_name"},[t._v(t._s(t.bargainorder_info.bargainorder_initiator_name))]),t.bargainorder_info.bargain_remark?e("v-uni-view",{staticClass:"div bargain_remark"},[t._v("["+t._s(t.bargainorder_info.bargain_remark)+"]")]):t._e(),e("v-uni-view",{staticClass:"div goods_info"},[e("v-uni-view",{staticClass:"div p_img"},[e("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:t.bargainorder_info.bargain_goods_image_url}})],1),e("v-uni-view",{staticClass:"div p_info"},[e("v-uni-view",{staticClass:"div goods_name"},[t._v(t._s(t.bargainorder_info.bargain_goods_name))]),e("v-uni-view",{staticClass:"div bargain_goods_price"},[t._v("¥"),e("v-uni-text",{staticClass:"em"},[t._v(t._s(t.bargainorder_info.bargainorder_current_price))]),e("del",[t._v(t._s(t.bargainorder_info.bargain_goods_price))])],1)],1)],1),t.flag?t._e():e("v-uni-view",{staticClass:"div expired"},[t._v("砍价已过期")])],1),t.flag?e("v-uni-view",{staticClass:"div bargain-order"},[e("v-uni-view",{staticClass:"div connect-wrapper"},[e("v-uni-view",{staticClass:"div top-dot dot"}),e("v-uni-view",{staticClass:"div bottom-dot dot"}),e("v-uni-view",{staticClass:"div round"})],1),e("v-uni-view",{staticClass:"div connect-wrapper right"},[e("v-uni-view",{staticClass:"div top-dot dot"}),e("v-uni-view",{staticClass:"div bottom-dot dot"}),e("v-uni-view",{staticClass:"div round"})],1),e("v-uni-view",{staticClass:"div count"},[t._v("已砍"+t._s(t.bargainorder_info.bargain_goods_diff_price)+"元")]),e("v-uni-view",{staticClass:"div progress-wrapper mt-10"},[e("v-uni-view",{staticClass:"div progress-back"},[e("v-uni-view",{staticClass:"div progress-front",style:"width:"+t.bargainorder_info.bargain_percent+"%"},[e("v-uni-view",{staticClass:"div arrow"})],1)],1)],1),e("v-uni-view",{staticClass:"div count-down-wrapper mt-10"},[t._v("砍价还剩"),e("v-uni-text",{staticClass:"span block"},[t._v(t._s(t.hours))]),t._v(":"),e("v-uni-text",{staticClass:"span block"},[t._v(t._s(t.minute))]),t._v(":"),e("v-uni-text",{staticClass:"span block"},[t._v(t._s(t.second))]),t._v("结束")],1),e("v-uni-view",{staticClass:"div button-1 mt-10 mb-5",class:t.bargainorder_info.bargain_if_add&&t.bargainorder_info.bargain_total>t.bargainorder_info.bargainorder_times||t.user&&t.user.member_id==t.bargainorder_info.bargainorder_initiator_id?"active":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.addLog.apply(void 0,arguments)}}},[e("v-uni-image",{staticClass:"img gloss",attrs:{mode:"aspectFit",src:r("28d5")}}),t._v(t._s(t.bargainorder_info.bargain_if_add?t.user&&t.user.member_id==t.bargainorder_info.bargainorder_initiator_id?t.bargainorder_info.bargain_total<=t.bargainorder_info.bargainorder_times?"砍价完成去下单":"邀请好友帮砍":t.bargainorder_info.bargain_total<=t.bargainorder_info.bargainorder_times?"砍价已完成":"帮好友砍一刀":"您已经砍过价了"))],1),e("v-uni-view",{staticClass:"div notice"},[t._v("加油!成败在此一举")])],1):t._e(),e("v-uni-view",{staticClass:"div bargain-log"},[e("v-uni-view",{staticClass:"div title mt-5"},[t._v("| 砍价记录 |")]),t.bargainlog_list&&t.bargainlog_list.length?e("v-uni-view",{staticClass:"div scroll-wrapper"},[e("v-uni-view",{staticClass:"ul",class:"line-"+t.bargainlog_list.length},[t._l(t.bargainlog_list,(function(a,r){return e("v-uni-view",{key:r,staticClass:"li"},[e("v-uni-view",{staticClass:"div p_img"},[e("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:a.pbargainlog_member_avatar}})],1),e("v-uni-view",{staticClass:"div p_name"},[t._v(t._s(a.pbargainlog_member_name))]),e("v-uni-view",{staticClass:"div p_price"},[t._v("帮砍"),e("v-uni-text",{staticClass:"em"},[t._v("¥"+t._s(a.pbargainlog_price))])],1)],1)})),t.bargainlog_list.length>3?t._t("default",t._l(3,(function(a){return e("v-uni-view",{key:a,staticClass:"li"},[e("v-uni-view",{staticClass:"div p_img"},[e("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:t.bargainlog_list[a].pbargainlog_member_avatar}})],1),e("v-uni-view",{staticClass:"div p_name"},[t._v(t._s(t.bargainlog_list[a].pbargainlog_member_name))]),e("v-uni-view",{staticClass:"div p_price"},[t._v("帮砍"),e("v-uni-text",{staticClass:"em"},[t._v("¥"+t._s(t.bargainlog_list[a].pbargainlog_price))])],1)],1)}))):t._e()],2)],1):e("v-uni-view",{staticClass:"div null"},[t._v("暂无砍价记录")])],1)],1):t._e(),e("uni-popup",{ref:"posterVisible",attrs:{"background-color":"#fff"}},[e("v-uni-image",{staticClass:"poster-img",attrs:{mode:"aspectFit",src:t.posterUrl}})],1)],1),e("uni-popup",{ref:"confirm",attrs:{"background-color":"#fff",type:"dialog"}},[e("uni-popup-dialog",{attrs:{mode:t.dialog.mode,title:t.dialog.title,content:t.dialog.content,placeholder:t.dialog.content},on:{confirm:function(a){arguments[0]=a=t.$handleEvent(a),t.confirmDialog.apply(void 0,arguments)},close:function(a){arguments[0]=a=t.$handleEvent(a),t.closeDialog.apply(void 0,arguments)}}})],1)],1)],1)},i=[]},cce0:function(t,a,r){"use strict";r.r(a);var e=r("8b60"),n=r("5f8c");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return n[t]}))}(i);r("8329");var s=r("f0c5"),o=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"5b0dd974",null,!1,e["a"],void 0);a["default"]=o.exports},d6b8:function(t,a,r){"use strict";r.r(a);var e=r("4305"),n=r.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return e[t]}))}(i);a["default"]=n.a},e8e6:function(t,a,r){"use strict";r("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",a=this.$parent,r=a.$options.name;while(r!==t){if(a=a.$parent,!a)return!1;r=a.$options.name}return a}}};a.default=e},e9cf:function(t,a,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(r("5530")),i=r("26cb"),s={name:"flexLine",data:function(){return{navHeight:0}},props:{backgroundColor:{type:String,default:""}},computed:(0,n.default)({},(0,i.mapState)({config:function(t){return t.config.config}})),methods:{},mounted:function(){}};a.default=s},ee69:function(t,a,r){"use strict";r.r(a);var e=r("1a2e"),n=r.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return e[t]}))}(i);a["default"]=n.a},fe27:function(t,a,r){"use strict";r.r(a);var e=r("fee0"),n=r.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return e[t]}))}(i);a["default"]=n.a},fe46:function(t,a,r){var e=r("2382");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=r("4f06").default;n("c0a246c6",e,!0,{sourceMap:!1,shadowMode:!1})},fee0:function(t,a,r){"use strict";r("7a82");var e=r("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,r("e25e");var n=e(r("5530")),i=r("0b9f"),s=e(r("cce0")),o=e(r("3d3d")),l=r("4c81"),m=r("9050"),c=r("26cb"),d=r("0d25"),f={name:"Share",data:function(){return{dialog:{},flag:!1,posterUrl:"",hours:"",minute:"",second:"",time:!1,isshow:!0,bargainorder_id:0,bargainorder_info:!1,bargainlog_list:!1,bargainbg:d.env.SITE_URL+"/uploads/home/h5/home/home-bargain-bg.jpg"}},components:{TitleHeader:s.default,HomeBase:o.default},onLoad:function(t){this.bargainorder_id=t.bargainorder_id,this.bargainorder_id?(this.posterUrl=d.env.API_HOST+"/index/getQrcode?url="+encodeURIComponent(d.env.H5_HOST+"pages/home/bargain/Bargainshare?bargainorder_id="+this.bargainorder_id),this.getBargainOrderInfo()):uni.showToast({icon:"none",title:"缺少参数"})},computed:(0,n.default)({fontSize:function(){return(0,i.getFontSize)()}},(0,c.mapState)({user:function(t){return t.member.info},token:function(t){return t.member.token}})),mounted:function(){var t=this;this.time=setInterval((function(){0==t.flag?clearInterval(t.time):t.timeDown()}),1e3)},methods:{closeDialog:function(){},confirmDialog:function(t){if(t=parseInt(t),t<1||t>this.dialog.data.bargain_info.bargain_limit)uni.showToast({icon:"none",title:"数量填写错误"});else{var a={buy_now:1,cart_id:this.bargainorder_info.bargain_goods_id+"|"+t,bargainorder_id:this.bargainorder_id};uni.navigateTo({url:"/pages/member/buy/step1?"+(0,i.urlencode)(a)})}},showPopup:function(t){this.$refs[t].open()},hidePopup:function(t){this.$refs[t].close()},goGoods:function(){uni.navigateTo({url:"/pages/home/goodsdetail/Goodsdetail?"+(0,i.urlencode)({goods_id:this.bargainorder_info.bargain_goods_id,bargain_id:this.bargainorder_info.bargain_id})})},getBargainOrderInfo:function(){var t=this;(0,l.getBargainOrderInfo)(this.bargainorder_id,this.token).then((function(a){t.bargainorder_info=a.result.bargainorder_info;var r=new Date;t.bargainorder_info.bargainorder_endtime>r.getTime()/1e3&&(t.flag=!0),(0,l.getBargainLogList)(t.bargainorder_id,{per_page:10}).then((function(a){t.bargainlog_list=a.result.bargainlog_list})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))},addLog:function(){var t=this;this.flag&&this.bargainorder_info.bargain_if_add&&(this.bargainorder_info.bargain_total<=this.bargainorder_info.bargainorder_times?this.user&&this.user.member_id==this.bargainorder_info.bargainorder_initiator_id&&(0,l.getBargainInfo)(this.bargainorder_info.bargain_id).then((function(a){t.dialog={mode:"input",title:"请填写购买数量",content:"不可超过"+a.result.bargain_info.bargain_limit,inputType:"number",data:a.result},t.$refs.confirm.open()})).catch((function(t){uni.showToast({icon:"none",title:t.message})})):this.user&&this.user.member_id==this.bargainorder_info.bargainorder_initiator_id?this.showPopup("posterVisible"):(0,m.addBargainLog)(this.bargainorder_id).then((function(a){t.getBargainOrderInfo()})).catch((function(t){uni.showToast({icon:"none",title:t.message})})))},timeDown:function(){var t=!1;if(this.bargainorder_info&&(t=this.bargainorder_info.bargainorder_endtime),t){var a=new Date(1e3*t),r=new Date,e=parseInt((a.getTime()-r.getTime())/1e3);this.hours=this.formate(parseInt(e/3600%24)),this.minute=this.formate(parseInt(e/60%60)),this.second=this.formate(parseInt(e%60)),e<=0&&(this.flag=!1)}},formate:function(t){return t>=10?t:"0".concat(t)}}};a.default=f},ff26:function(t,a,r){"use strict";r.r(a);var e=r("c06b"),n=r("fe27");for(var i in n)["default"].indexOf(i)<0&&function(t){r.d(a,t,(function(){return n[t]}))}(i);r("26ab");var s=r("f0c5"),o=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"c95b8666",null,!1,e["a"],void 0);a["default"]=o.exports}}]);
|