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.
 
 
 
 
 
 
shipin/public/static/js/pages-columnGoods-live_list...

1 lines
8.9 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-live_list-index"],{"0336":function(e,i,t){"use strict";var a=t("8e15"),r=t.n(a);r.a},"38cf":function(e,i,t){"use strict";t.r(i);var a=t("a76a"),r=t("b572");for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(i,e,(function(){return r[e]}))}(o);t("0336");var n=t("f0c5"),l=Object(n["a"])(r["default"],a["b"],a["c"],!1,null,"06960333",null,!1,a["a"],void 0);i["default"]=l.exports},"7c93":function(e,i,t){var a=t("24fb");i=a(!1),i.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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.live-wrapper[data-v-06960333]{position:relative;width:100%;overflow:hidden;border-radius:%?16?%}.live-wrapper uni-image[data-v-06960333]{width:100%;height:%?400?%}.live-wrapper .live-top[data-v-06960333]{z-index:20;position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;color:#fff;width:%?180?%;height:%?54?%;border-radius:%?0?% 0 %?18?% 0}.live-wrapper .live-top uni-image[data-v-06960333]{width:%?30?%;height:%?30?%;margin-right:%?10?%;display:block}.live-wrapper .live-title[data-v-06960333]{position:absolute;left:0;bottom:%?6?%;width:100%;height:%?70?%;line-height:%?70?%;text-align:center;font-size:%?30?%;color:#fff;background:rgba(0,0,0,.35)}.live-wrapper.mores[data-v-06960333]{width:100%}.live-wrapper.mores .item[data-v-06960333]{position:relative;width:%?320?%;display:inline-block;border-radius:%?16?%;overflow:hidden;margin-right:%?20?%}.live-wrapper.mores .item uni-image[data-v-06960333]{width:%?320?%;height:%?180?%;border-radius:%?16?%;object-fit:cover}.live-wrapper.mores .item .live-title[data-v-06960333]{height:%?40?%;line-height:%?40?%;text-align:center;font-size:%?22?%}.live-wrapper.mores .item .live-top[data-v-06960333]{width:%?120?%;height:%?36?%;font-size:%?22?%}.live-wrapper.mores .item .live-top uni-image[data-v-06960333]{width:%?20?%;height:%?20?%}.live-wrapper-a[data-v-06960333]{padding:%?0?% %?20?% 0}.live-wrapper-a .live-item-a[data-v-06960333]{display:flex;background:#fff;margin-bottom:%?20?%;border-radius:%?16?%;overflow:hidden}.live-wrapper-a .live-item-a[data-v-06960333]:last-child{margin-bottom:0}.live-wrapper-a .live-item-a .img-box[data-v-06960333]{position:relative;width:%?340?%;height:%?270?%}.live-wrapper-a .live-item-a .img-box uni-image[data-v-06960333]{width:100%;height:100%}.live-wrapper-a .live-item-a .info[data-v-06960333]{flex:1;display:flex;flex-direction:column;justify-content:space-between;padding:%?15?% %?20?%}.live-wrapper-a .live-item-a .info .title[data-v-06960333]{font-size:%?30?%;color:#333}.live-wrapper-a .live-item-a .info .people[data-v-06960333]{display:flex;align-items:center;color:#999;font-size:%?24?%;margin-top:%?10?%}.live-wrapper-a .live-item-a .info .people uni-image[data-v-06960333]{width:%?32?%;height:%?32?%;border-radius:50%;margin-right:%?10?%}.live-wrapper-a .live-item-a .info .goods-wrapper[data-v-06960333]{display:flex}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item[data-v-06960333]{position:relative;width:%?96?%;height:%?96?%;margin-right:%?20?%;overflow:hidden;border-radius:%?16?%}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item[data-v-06960333]:last-child{margin-right:0}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item uni-image[data-v-06960333]{width:100%;height:100%;border-radius:%?16?%}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item .bg[data-v-06960333]{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:%?16?%;background:rgba(0,0,0,.3)}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item uni-text[data-v-06960333]{position:absolute;left:0;bottom:0;width:100%;height:%?60?%;line-height:%?70?%;color:#fff;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75))}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item .num[data-v-06960333]{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.3);color:#fff;font-size:%?28?%}.live-wrapper-a .live-item-a .info .empty-goods[data-v-06960333]{width:%?96?%;height:%?96?%;border-radius:%?6?%;background-color:#b2b2b2;color:#fff;font-size:%?20?%;text-align:center;line-height:%?96?%}.live-wrapper-a.live-wrapper-c .live-item-a[data-v-06960333]{display:flex;flex-direction:column}.live-wrapper-a.live-wrapper-c .live-item-a .img-box[data-v-06960333]{width:100%;border-radius:8px 8px 0 0}.live-wrapper-a.live-wrapper-c .live-item-a .info[data-v-06960333]{display:flex;justify-content:space-between;align-items:center;flex-direction:row}.live-wrapper-a.live-wrapper-c .live-item-a .info .left[data-v-06960333]{width:69%}.live-wrapper-a.live-wrapper-c .live-item-a .info .goods-wrapper[data-v-06960333]{flex:1}.live-wrapper-b[data-v-06960333]{padding:%?20?% %?20?% 0;display:flex;justify-content:space-between;flex-wrap:wrap}.live-wrapper-b .live-item-b[data-v-06960333]{width:%?345?%;background-color:#fff;border-radius:%?16?%;overflow:hidden;margin-bottom:%?20?%;overflow:hidden}.live-wrapper-b .live-item-b .img-box[data-v-06960333]{position:relative}.live-wrapper-b .live-item-b .img-box uni-image[data-v-06960333]{width:100%;height:%?190?%}.live-wrapper-b .live-item-b .info[data-v-06960333]{display:flex;flex-direction:column;padding:%?20?%}.live-wrapper-b .live-item-b .info .title[data-v-06960333]{font-size:%?30?%;color:#333}.live-wrapper-b .live-item-b .info .people[data-v-06960333]{display:flex;margin-top:%?10?%;color:#999}.live-wrapper-b .live-item-b .info .people uni-image[data-v-06960333]{width:%?36?%;height:%?36?%;border-radius:50%;margin-right:%?10?%}.label[data-v-06960333]{display:flex;align-items:center;justify-content:center;position:absolute;left:%?20?%;top:%?20?%;border-radius:%?22?% 0 %?22?% %?22?%;font-size:%?24?%;color:#fff}.label uni-image[data-v-06960333]{margin-right:%?10?%}.label uni-text[data-v-06960333]{font-size:%?22?%}.bgred[data-v-06960333]{width:%?132?%;height:%?38?%;background:linear-gradient(270deg,#f5742f,#ff1717)}.bggary[data-v-06960333]{width:%?108?%;height:%?38?%;background:linear-gradient(270deg,#999,#666)}.bgblue[data-v-06960333]{width:%?220?%;height:%?38?%;background:linear-gradient(80deg,#2fa1f5,#0076ff 5%,rgba(0,0,0,.36));overflow:hidden}.bgblue .txt[data-v-06960333]{position:relative;left:%?-5?%;display:flex;align-items:center;justify-content:center;width:38px;height:100%;text-align:center}.title-box[data-v-06960333]{display:flex;justify-content:space-between;align-items:center;padding:%?20?%;font-size:%?32?%}.title-box .more[data-v-06960333]{display:flex;align-items:center;justify-content:center;font-size:%?26?%;color:#666}.title-box .more .iconfont[data-v-06960333]{font-size:%?26?%;margin-top:%?8?%}.empty-txt[data-v-06960333]{height:%?60?%;line-height:%?60?%;text-align:center;font-size:%?24?%;color:#999}',""]),e.exports=i},"8e15":function(e,i,t){var a=t("7c93");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=t("4f06").default;r("56e2d8b1",a,!0,{sourceMap:!1,shadowMode:!1})},a76a:function(e,i,t){"use strict";t.d(i,"b",(function(){return a})),t.d(i,"c",(function(){return r})),t.d(i,"a",(function(){}));var a=function(){var e=this.$createElement,i=this._self._c||e;return i("div")},r=[]},b572:function(e,i,t){"use strict";t.r(i);var a=t("ec68"),r=t.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){t.d(i,e,(function(){return a[e]}))}(o);i["default"]=r.a},ec68:function(e,i,t){"use strict";t("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,t("e9c4"),t("99af");var a=t("d322"),r={name:"liveBroadcast",props:{dataConfig:{type:Object,default:function(){}}},data:function(){return{page:1,limit:10,listStyle:1,isScroll:!0,liveList:[],custom_params:""}},created:function(){},mounted:function(){this.custom_params=encodeURIComponent(JSON.stringify({spid:this.$store.state.app.uid})),this.getLiveList()},methods:{getLiveList:function(){var e=this;this.$config.LIMIT;this.isScroll&&(0,a.getLiveList)(this.page,this.limit).then((function(i){e.isScroll=i.data.length>=e.limit,e.page++,e.liveList=e.liveList.concat(i.data)})).catch((function(e){}))}},onReachBottom:function(){this.getLiveList()}};i.default=r}}]);