You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
crmeb_php/public/static/js/pages-activity-rank-index.b...

1 lines
15 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-rank-index"],{"08aa":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABsBAMAAABndKpwAAAAG1BMVEUAAADv0c/v0c/v1c/v0s/v0s/u0c/v0s/v0tBW+ZXFAAAACHRSTlMA4JAwUKDw0IgaO9gAAACNSURBVFjD7c0xCoNQFETRgWQFqWxDNhCygiC4A3EHgrU7sBGXLfxGHk/+YGF3pz9ztV0cAAAAAAAAAAAAAAAAAADgbrD23XQFjH/pOVhw3KvsNKLT+7IS8WDppWNt48Drq7DHuwqWj9J+TQLpvhZRvq9HlO5NROneRBTvfUTx3kcU731E8d5HNId7H9kBhErzLdu5BHsAAAAASUVORK5CYII="},"1de5":function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},2909:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,a.default)(t)||(0,i.default)(t)||(0,o.default)(t)||(0,r.default)()};var a=c(n("6005")),i=c(n("db90")),o=c(n("06c5")),r=c(n("3427"));function c(t){return t&&t.__esModule?t:{default:t}}},3427:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n("d9e2"),n("d401")},"3b3e":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return i.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(){return i.default.get("store/product/assist/count",{},{noAuth:!0})},e.getActivitycategory=function(t){return i.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t){return i.default.get("store/product/assist/detail/"+t)},e.getAssistList=function(t){return i.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return i.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return i.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return i.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return i.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return i.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return i.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return i.default.post("combination/poster",t)},e.getCombinationUser=function(t){return i.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return i.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return i.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return i.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return i.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return i.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return i.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return i.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return i.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return i.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return i.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return i.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return i.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return i.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return i.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return i.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return i.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return i.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return i.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return i.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var i=a(n("b5ef"))},"48cf":function(t,e,n){var a=n("b4c0");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("65d8450e",a,!0,{sourceMap:!1,shadowMode:!1})},"4a13":function(t,e,n){"use strict";var a=n("48cf"),i=n.n(a);i.a},6005:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,a.default)(t)};var a=function(t){return t&&t.__esModule?t:{default:t}}(n("6b75"))},"64b5":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af");var i=a(n("2909")),o=n("3b3e"),r=n("8342"),c={data:function(){return{categoryList:[{store_category_id:0,cate_name:"总榜"}],cate_name:"",spuTopList:[],active:0,pro_top_banner:"https://zhongbang-1257983696.cos.ap-beijing.myqcloud.com/uploads/def/20220801/383c0026840f70a9b4e33a43c6bd3341.png",scrollInto:"",domain:r.HTTP_REQUEST_URL}},onLoad:function(t){this.spuTop(t.cate_id||0)},methods:{spuTop:function(t){var e=this;(0,o.spuTop)().then((function(n){e.categoryList=[].concat((0,i.default)(e.categoryList),(0,i.default)(n.data)),e.cate_name=e.getCate(t,e.categoryList)||"",e.$nextTick((function(){e.getSpuTopList(t),e.active=t&&e.cate_name?t:0,e.scrollInto="cate".concat(t)}))}))},getSpuTopList:function(t){var e=this;t=this.cate_name?t:0,(0,o.spuTopList)({cate_pid:t}).then((function(t){e.spuTopList=t.data[0]["list"]}))},checkActive:function(t,e){this.active=e.store_category_id,this.cate_name=e.cate_name,this.spuTopList=[],this.getSpuTopList(e.store_category_id)},godDetail:function(t){uni.navigateTo({url:"/pages/goods_details/index?id="+t.product_id})},getCate:function(t,e){for(var n=0;n<e.length;n++)if(e[n].store_category_id==t)return e[n]["cate_name"]}}};e.default=c},"6e94":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABsBAMAAABndKpwAAAAG1BMVEUAAAD/3qT/3aP/36X/36P/3qT/3aT/3qP/3qQizrOVAAAACHRSTlMA4JAwUKDw0IgaO9gAAACNSURBVFjD7c0xCoNQFETRgWQFqWxDNhCygiC4A3EHgrU7sBGXLfxGHk/+YGF3pz9ztV0cAAAAAAAAAAAAAAAAAADgbrD23XQFjH/pOVhw3KvsNKLT+7IS8WDppWNt48Drq7DHuwqWj9J+TQLpvhZRvq9HlO5NROneRBTvfUTx3kcU731E8d5HNId7H9kBhErzLdu5BHsAAAAASUVORK5CYII="},b16f:function(t,e,n){"use strict";n.r(e);var a=n("64b5"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},b4c0:function(t,e,n){var a=n("24fb"),i=n("1de5"),o=n("08aa"),r=n("6e94");e=a(!1);var c=i(o),s=i(r);e.push([t.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/* 文章场景相关 */.content[data-v-dccd6430]{background:#171717;min-height:100vh}.rank_header[data-v-dccd6430]{background-size:cover;height:%?270?%;position:fixed;top:0;left:0;display:block;z-index:9999;background-color:#171717}.rank_header .cate_name[data-v-dccd6430]{text-align:center;position:relative;top:%?80?%}.rank_header .cate_name .name[data-v-dccd6430]{color:#ffe9be;font-weight:700;font-size:%?44?%;padding:0 %?64?%;position:relative;display:inline-block}.rank_header .cate_name .name .title_icon[data-v-dccd6430]{content:"";display:inline-block;width:%?38?%;height:%?58?%;background-repeat:no-repeat;background-size:100% 100%;position:absolute;top:0}.rank_header .cate_name .name .title_icon.icon_left[data-v-dccd6430]{left:0}.rank_header .cate_name .name .title_icon.icon_right[data-v-dccd6430]{right:0;-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.header[data-v-dccd6430]{position:relative;z-index:6;display:flex;align-items:center;padding-right:%?34?%;height:43px;padding-left:%?33?%}.header .head-menu[data-v-dccd6430]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:27px;width:70px;border-radius:13px}.header .head-menu .icon-xiangzuo[data-v-dccd6430]{font-size:%?32?%;color:#fff}.header .head-menu .iconfont[data-v-dccd6430]{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center;color:#fff;box-sizing:border-box}.header .head-menu .iconfont.icon-xiangzuo[data-v-dccd6430]{border-right:1px solid #fff}.head-menu[data-v-dccd6430]{display:flex;align-items:center;height:%?54?%;width:%?140?%;background:transparent;border:1px solid hsla(0,0%,59.2%,.2);border-radius:%?27?%;position:relative;z-index:9999}.head-menu[data-v-dccd6430]:after{content:"";position:absolute;width:1px;height:%?26?%;background-color:#eaeaea;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.head-menu .iconfont[data-v-dccd6430]{flex:1;text-align:center;color:#fff;box-sizing:border-box}.scroll_box[data-v-dccd6430]{width:%?750?%;line-height:%?50?%;padding-left:%?32?%;margin-top:%?140?%}.scroll_item[data-v-dccd6430]{display:inline-block;font-size:%?28?%;color:#6d6d6d}.scroll_item[data-v-dccd6430]:last-child{margin-right:%?40?%}.scroll_item_active[data-v-dccd6430]{font-weight:500;position:relative;text-align:center;color:#fff}.scroll_item_active[data-v-dccd6430]::after{content:"";display:block;margin:%?10?% auto 0;width:80%;height:%?4?%;border-radius:%?2?%;background:#fff}.scroll_item ~ .scroll_item[data-v-dccd6430]{margin-left:%?40?%}.rank_list[data-v-dccd6430]{padding-top:%?270?%;padding-bottom:%?32?%}.rank_list .item[data-v-dccd6430]{border-radius:%?16?%;background:#fff;margin-top:%?30?%;padding:%?28?% %?30?% %?32?%;position:relative}.rank_list .item .rank[data-v-dccd6430]{position:absolute;top:0;left:%?20?%;width:%?50?%;height:%?61?%;display:flex;justify-content:center;line-height:%?61?%;font-size:%?30?%;z-index:10;background-size:100% 100%;background-image:url('+c+");font-family:黑体;font-weight:700}.rank_list .item .rank.rank0[data-v-dccd6430], .rank_list .item .rank.rank1[data-v-dccd6430], .rank_list .item .rank.rank2[data-v-dccd6430]{background-image:url("+s+")}.rank_list .item .name[data-v-dccd6430]{width:%?382?%;height:%?76?%;line-height:%?38?%;color:#282828;font-weight:500;font-size:%?32?%}.rank_list .mt-18[data-v-dccd6430]{margin-top:%?18?%}.rank_list .ot_price[data-v-dccd6430]{font-weight:300;color:#6d6d6d;padding-left:%?16?%}.rank_list .goods-msg[data-v-dccd6430]{flex:1;margin-left:%?20?%}.rank_list .goods-msg .list[data-v-dccd6430]{background:#fdf8ee;border-radius:%?6?%;line-height:%?57?%;color:#666;font-size:%?26?%;padding:0 %?12?%}.rank_list .goods-msg .list .iconfont[data-v-dccd6430]{color:#ffb31c;margin-right:%?12?%}.rank_list .pictrue[data-v-dccd6430]{width:%?240?%;height:%?240?%;position:relative;flex:1}.rank_list .pictrue uni-image[data-v-dccd6430]{width:100%;height:100%;border-radius:%?12?% 0 0 %?12?%}",""]),t.exports=e},ce08:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"rank_header",style:{"background-image":"url("+t.domain+"/static/images/rank_header.png)"}},[n("v-uni-view",{staticClass:"cate_name"},[n("v-uni-text",{staticClass:"name line1"},[n("v-uni-text",{staticClass:"title_icon icon_left",style:{"background-image":"url("+t.domain+"/static/images/rank-title.png)"}}),t._v(t._s(0!=t.active&&t.cate_name?t.cate_name+"热卖榜":"热销TOP总榜单")),n("v-uni-text",{staticClass:"title_icon icon_right",style:{"background-image":"url("+t.domain+"/static/images/rank-title.png)"}})],1)],1),n("v-uni-view",{staticClass:"scroll_box"},[n("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap","vertical-align":"middle"},attrs:{"scroll-x":"true","show-scrollbar":"false","scroll-into-view":t.scrollInto}},t._l(t.categoryList,(function(e,a){return n("v-uni-view",{key:e.store_category_id,staticClass:"scroll_item",class:t.active==e.store_category_id?"scroll_item_active":"",attrs:{id:"cate"+e.store_category_id},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.checkActive(a,e)}}},[t._v(t._s(e.cate_name))])})),1)],1)],1),n("v-uni-view",{staticClass:"rank_list pad30"},t._l(t.spuTopList,(function(e,a){return n("v-uni-view",{key:e.spu_id,staticClass:"item acea-row",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.godDetail(e)}}},[n("v-uni-view",{staticClass:"rank",class:"rank"+a,style:{color:a<3?"#CE8F21":"#986561"}},[t._v(t._s(a<9?"0"+(a+1):a+1))]),n("v-uni-view",{staticClass:"pictrue on"},[n("v-uni-image",{staticClass:"on",attrs:{src:e.image}})],1),n("v-uni-view",{staticClass:"goods-msg pad16 acea-row row-column row-between"},[n("v-uni-text",{staticClass:"name line2"},[t._v(t._s(e.store_name))]),e.sales>0?n("v-uni-view",{staticClass:"list"},[n("v-uni-text",{staticClass:"iconfont icon-goumai"}),t._v(t._s(e.sales>1e4?e.sales/1e4+"万":e.sales)+"人买过")],1):t._e(),n("v-uni-view",{staticClass:"mt-18 acea-row row-bottom"},[n("BaseMoney",{attrs:{money:e.price,symbolSize:"26",integerSize:"36",decimalSize:"28",incolor:"E93323",weight:!0}}),n("BaseMoney",{staticClass:"ml-16",attrs:{money:e.ot_price,symbolSize:"22",integerSize:"22",decimalSize:"22",incolor:"999999",line:!0}})],1)],1)],1)})),1)],1)},i=[]},db90:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("a630")},db92:function(t,e,n){"use strict";n.r(e);var a=n("ce08"),i=n("b16f");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("4a13");var r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"dccd6430",null,!1,a["a"],void 0);e["default"]=c.exports}}]);