admin-api/public/static/js/pages-points_mall-goods_sel...

1 line
13 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

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

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-points_mall-goods_selection"],{"1e65":function(e,t,a){"use strict";a.r(t);var i=a("3c6e"),n=a("a8bc");for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);a("6a00");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"31a9eac5",null,!1,i["a"],void 0);t["default"]=r.exports},"25b4":function(e,t,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a("974a"),o=i(a("956a")),s=function(e,t){e&&o.default.set("spread",e||0),e&&t&&(0,n.spread)(e).then((function(e){}))};t.default=s},"3c6e":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticStyle:{"touch-action":"none"},style:e.viewColor},[a("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:e.top+"px",bottom:e.bottom},attrs:{id:"right-nav"},on:{touchmove:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t),e.setTouchMove.apply(void 0,arguments)}}},[e.homeActive?a("v-uni-view",{staticClass:"homeCon",class:!0===e.homeActive?"on":""},[a("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),a("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"switchTab"}}),a("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],1):e._e(),a("v-uni-view",{staticClass:"pictrueBox",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.open.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"pictrue"},[a("v-uni-image",{staticClass:"image pictruea",attrs:{src:!0===e.homeActive?"/static/images/navbtn_open.gif":"/static/images/navbtn_close.gif"}})],1)],1)],1)],1)},n=[]},4213:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,".pictrueBox[data-v-31a9eac5]{width:%?130?%;height:%?120?%}\n/*返回主页按钮*/.home[data-v-31a9eac5]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:flex}.home .homeCon[data-v-31a9eac5]{border-radius:%?50?%;opacity:0;height:0;color:#e93323;width:0}.home .homeCon.on[data-v-31a9eac5]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:var(--view-theme)}.home .homeCon .iconfont[data-v-31a9eac5]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-31a9eac5]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme);box-shadow:0 %?5?% %?12?% rgba(0,0,0,.5)}.home .pictrue .image[data-v-31a9eac5]{width:100%;height:100%}.pictruea[data-v-31a9eac5]{width:100%;height:100%;display:block;object-fit:cover;vertical-align:middle}",""]),e.exports=t},4500:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page-container",style:e.viewColor},[a("v-uni-view",{staticClass:"flash-sale"},[a("v-uni-view",{staticClass:"fixed-head"},[a("v-uni-view",{staticClass:"tool-bar"},[a("v-uni-view",{staticClass:"iconfont icon-xiangzuo",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goBack.apply(void 0,arguments)}}})],1)],1),a("v-uni-view",{staticClass:"head",style:{"background-image":"url("+e.domain+"/static/diy/selection"+e.keyColor+".jpg)"}},[a("v-uni-view",{staticClass:"tool-bar"})],1),a("v-uni-view",{staticClass:"main_count"},[a("v-uni-view",{staticClass:"list"},[e._l(e.goodsList,(function(t,i){return[a("v-uni-view",{key:i+"_0",staticClass:"item acea-row row-between-wrapper",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.goDetails(t)}}},[a("v-uni-view",{staticClass:"pictrue"},[a("v-uni-image",{attrs:{src:t.image}})],1),a("v-uni-view",{staticClass:"text acea-row row-column-around"},[a("v-uni-view",{staticClass:"name line1"},[e._v(e._s(t.store_name))]),a("v-uni-view",{staticClass:"booking"},[a("v-uni-view",{staticClass:"count"},[a("v-uni-image",{staticClass:"image",attrs:{src:e.domain+"/static/images/jf-point.png",mode:"widthFix"}}),a("v-uni-view",{staticClass:"price-box"},[a("v-uni-text",[e._v(e._s(t.ot_price))]),e._v("积分")],1),t.price>0?a("v-uni-view",{staticClass:"sales"},[e._v("+"+e._s(parseFloat(Number(t.price).toFixed(2)))+"元")]):e._e()],1)],1),a("v-uni-view",{staticClass:"exchange"},[a("v-uni-view",{staticClass:"count"},[e._v(e._s(t.sales)+"人兑换")]),a("v-uni-view",{staticClass:"order_btn"},[e._v("去兑换")])],1)],1)],1)]}))],2)],1)],1),a("home")],1)},n=[]},"4e8e":function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.page-container[data-v-2debe3ae]{min-height:100vh;background-color:var(--view-theme)}.icon-xiangzuo[data-v-2debe3ae]{margin-left:%?20?%;font-size:%?40?%;color:#fff}.head[data-v-2debe3ae]{display:flex;flex-direction:column;height:%?300?%;background-repeat:no-repeat;background-size:100% 100%;width:100%}.noCommodity[data-v-2debe3ae]{border-top:none}.flash-sale .header[data-v-2debe3ae]{width:100%;position:relative}.flash-sale .main_count[data-v-2debe3ae]{position:relative;top:%?-40?%}.flash-sale .timeList[data-v-2debe3ae]{display:flex;justify-content:center;align-items:center;margin:0 auto}.flash-sale .timeList .item[data-v-2debe3ae]{font-size:%?20?%;color:#666;text-align:center;box-sizing:border-box;width:%?224?%}.flash-sale .timeList .item .time[data-v-2debe3ae]{font-size:%?26?%;color:#aaa}.flash-sale .timeList .item.on .time[data-v-2debe3ae]{color:#fd6523;font-weight:600}.flash-sale .timeList .item.on .time span[data-v-2debe3ae]{position:relative}.flash-sale .timeList .item.on .time span[data-v-2debe3ae]::after{content:"";display:inline-block;width:100%;height:%?4?%;background:#fd6523;position:absolute;left:0;bottom:%?-4?%;border-radius:%?2?%}.flash-sale .list[data-v-2debe3ae]{margin-top:%?24?%}.flash-sale .list .item[data-v-2debe3ae]{height:%?278?%;position:relative;width:90%;margin:0 auto %?20?% auto;background-color:#fff;border-radius:%?20?%;padding:0 %?25?%}.flash-sale .list .item .pictrue[data-v-2debe3ae]{width:%?220?%;height:%?220?%;border-radius:%?16?%}.flash-sale .list .item .pictrue uni-image[data-v-2debe3ae]{width:100%;height:100%;border-radius:%?10?%}.flash-sale .list .item .text[data-v-2debe3ae]{width:%?390?%;font-size:%?30?%;color:#333}.flash-sale .list .item .text .name[data-v-2debe3ae]{width:100%;color:#282828;font-weight:700;font-size:%?28?%}.flash-sale .list .item .text .booking[data-v-2debe3ae]{margin-top:%?17?%}.flash-sale .list .item .text .booking .count[data-v-2debe3ae]{display:flex;margin-top:%?8?%;align-items:baseline}.flash-sale .list .item .text .booking .count .image[data-v-2debe3ae]{width:%?26?%;height:%?26?%;margin-right:%?10?%;border-radius:0}.flash-sale .list .item .text .booking .count .price-box[data-v-2debe3ae]{font-size:%?22?%;color:var(--view-theme)}.flash-sale .list .item .text .booking .count .price-box uni-text[data-v-2debe3ae]{font-size:%?34?%}.flash-sale .list .item .text .booking .count .sales[data-v-2debe3ae]{font-size:%?22?%;color:var(--view-theme)}.flash-sale .list .item .exchange[data-v-2debe3ae]{display:flex;justify-content:space-between;align-items:center;margin-top:%?40?%}.flash-sale .list .item .exchange .count[data-v-2debe3ae]{color:#666;font-size:%?26?%}.flash-sale .list .item .exchange .order_btn[data-v-2debe3ae]{width:%?140?%;height:%?56?%;display:flex;align-items:center;justify-content:center;background:#fff3e5;border-radius:%?30?%;color:#ff8c00;font-size:%?26?%}.fixed-head[data-v-2debe3ae]{position:absolute;left:0;top:20px;width:100%;z-index:10}.fixed-head .icon-xiangzuo[data-v-2debe3ae]{margin-right:%?40?%;margin-left:%?20?%;font-size:%?40?%;color:#fff}',""]),e.exports=t},5322:function(e,t,a){"use strict";a.r(t);var i=a("8060"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},"5b2f":function(e,t,a){var i=a("4e8e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("267afd38",i,!0,{sourceMap:!1,shadowMode:!1})},"6a00":function(e,t,a){"use strict";var i=a("de8e"),n=a.n(i);n.a},"734d":function(e,t,a){"use strict";a.r(t);var i=a("4500"),n=a("5322");for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);a("eb33");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"2debe3ae",null,!1,i["a"],void 0);t["default"]=r.exports},"7dae":function(e,t,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.getIntegralGoodsList=function(e){return n.default.get("points/lst",e,{noAuth:!0})},t.getIntegralHome=function(){return n.default.get("points/home",{},{noAuth:!0})},t.getIntegralProductDetail=function(e){return n.default.get("points/detail/".concat(e),{},{noAuth:!0})},t.getIntegralScope=function(){return n.default.get("points/scope",{},{noAuth:!0})},t.integralOrderConfirm=function(e){return n.default.post("order/v3/check",e,{noAuth:!0})},t.integralOrderCreate=function(e){return n.default.post("order/v3/create",e,{noAuth:!0})},t.integralOrderDelete=function(e){return n.default.post("points/order/deleate/".concat(e),{},{noAuth:!0})},t.integralOrderDetail=function(e){return n.default.get("points/order/detail/".concat(e),{},{noAuth:!0})},t.integralOrderList=function(e){return n.default.get("points/order/lst",e,{noAuth:!0})},t.integralOrderTake=function(e){return n.default.post("points/order/take/".concat(e),{},{noAuth:!0})};var n=i(a("5a4d"))},8060:function(e,t,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("99af");var n=a("7dae"),o=i(a("1e65")),s=a("8f46"),r=a("ba8b"),c=a("26cb"),l=i(a("25b4")),d=(getApp(),{components:{home:o.default},computed:(0,s.configMap)({statusBarHeight:0},(0,c.mapGetters)(["isLogin","uid","viewColor","keyColor"])),data:function(){return{domain:r.HTTP_REQUEST_URL,goodsList:[],status:1,page:1,limit:8,loading:!1,loadend:!1,pageloading:!1}},onLoad:function(e){this.getSelectionList(""),e.spread&&(0,l.default)(e.spread,this.isLogin)},methods:{goBack:function(){uni.navigateBack()},getSelectionList:function(){var e=this,t={page:e.page,limit:e.limit,is_hot:1};e.pageloading||(this.pageloading=!0,(0,n.getIntegralGoodsList)(t).then((function(t){var a=t.data.list;e.page++,e.goodsList=e.goodsList.concat(a),e.page=e.page,e.pageloading=!1})).catch((function(t){e.pageloading=!1})))},goDetails:function(e){uni.navigateTo({url:"/pages/points_mall/integral_goods_details?id="+e.product_id})}},onReachBottom:function(){this.getSelectionList()},onPageScroll:function(e){}});t.default=d},a8bc:function(e,t,a){"use strict";a.r(t);var i=a("abb1"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);t["default"]=n.a},abb1:function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a("26cb"),n=a("ba8b"),o={name:"Home",props:{},data:function(){return{domain:n.HTTP_REQUEST_URL,top:"",bottom:""}},computed:(0,i.mapGetters)(["homeActive","viewColor","keyColor"]),methods:{setTouchMove:function(e){e.touches[0].clientY<545&&e.touches[0].clientY>66&&(this.top=e.touches[0].clientY,this.bottom="auto")},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){this.bottom="50px"}};t.default=o},de8e:function(e,t,a){var i=a("4213");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var n=a("4f06").default;n("5c4117b1",i,!0,{sourceMap:!1,shadowMode:!1})},eb33:function(e,t,a){"use strict";var i=a("5b2f"),n=a.n(i);n.a}}]);