tools-live-create-list-index~tools-live-create-live-index~tools-live-player-index.c306a94e.js 11 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tools-live-create-list-index~tools-live-create-live-index~tools-live-player-index"],{1826:function(t,e,n){"use strict";n.r(e);var o=n("51cc"),i=n("e538");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("f7cb");var c=n("828b"),u=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"6ac89cfc",null,!1,o["a"],void 0);e["default"]=u.exports},"1e53":function(t,e,n){"use strict";n.r(e);var o=n("bf0f1"),i=n("3fe1");for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);n("45cf");var c=n("828b"),u=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"1d1ac3ee",null,!1,o["a"],void 0);e["default"]=u.exports},"2f67":function(t,e,n){var o=n("c86c");e=o(!1),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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-6ac89cfc] .u-form-item--right__content__slot > uni-view,[data-v-6ac89cfc] .u-form-item--right__content__slot > div,[data-v-6ac89cfc] .u-form-item--right__content__slot > span,[data-v-6ac89cfc] .u-form-item--right__content__slot > uni-text{width:100%}.menu[data-v-6ac89cfc]{display:flex}.menu .item[data-v-6ac89cfc]{width:25%}.menu .title[data-v-6ac89cfc]{overflow:hidden;font-size:%?28?%;color:#1d1d1d;text-align:center}.menu .icon[data-v-6ac89cfc]{position:relative;display:flex;align-items:center;justify-content:center;margin:0 auto %?10?%;width:%?96?%;height:%?96?%;background:#f2f2f2;border-radius:32px}.menu .open-btn[data-v-6ac89cfc]{position:absolute;left:0;top:0;width:100%;height:100%}.shareImg[data-v-6ac89cfc]{position:fixed;left:10%;top:50%;width:80%;z-index:101;-webkit-transform:translateY(-60%);transform:translateY(-60%)}',""]),t.exports=e},"3fbc":function(t,e,n){var o=n("c86c");e=o(!1),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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-1d1ac3ee] .u-form-item--right__content__slot > uni-view,[data-v-1d1ac3ee] .u-form-item--right__content__slot > div,[data-v-1d1ac3ee] .u-form-item--right__content__slot > span,[data-v-1d1ac3ee] .u-form-item--right__content__slot > uni-text{width:100%}.popBox[data-v-1d1ac3ee]{padding:0 %?36?%}.popup-title[data-v-1d1ac3ee]{display:flex;align-items:center;justify-content:space-between;padding:%?26?% 0 0}.popup-title .let[data-v-1d1ac3ee]{font-size:%?32?%;color:#262626;font-weight:700}.popup-title .iconfont[data-v-1d1ac3ee]{color:#262626}.scroll[data-v-1d1ac3ee]{padding:%?20?% 0;overflow-y:auto;max-height:60vh}',""]),t.exports=e},"3fe1":function(t,e,n){"use strict";n.r(e);var o=n("ce48"),i=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},"45cf":function(t,e,n){"use strict";var o=n("ca20"),i=n.n(o);i.a},"4b6d":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.anchorGoodsList=function(t,e){return i.default.GET("/live/anchor-goods-list",t,e)},e.anchorHome=function(t,e){return i.default.GET("/live/anchor-home",t,e)},e.anchorList=function(t,e){return i.default.GET("/live/anchor-list",t,e)},e.catList=function(t,e){return i.default.GET("/live/cat-list",t,e)},e.commentAdd=function(t,e){return i.default.GET("/live/comment-add",t,e)},e.followAdd=function(t,e){return i.default.GET("/live/follow-add",t,e)},e.followDel=function(t,e){return i.default.GET("/live/follow-del",t,e)},e.goodsAdd=function(t,e){return i.default.GET("/live/goods-add",t,e)},e.goodsExtList=function(t,e){return i.default.GET("/live/goods-ext-list",t,e)},e.roomAnchorClose=function(t,e){return i.default.GET("/live/room-anchor-close",t,e)},e.roomAnchorEnter=function(t,e){return i.default.GET("/live/room-anchor-enter",t,e)},e.roomDel=function(t,e){return i.default.GET("/live/room-del",t,e)},e.roomGoodsAdd=function(t,e){return i.default.GET("/live/room-goods-add",t,e)},e.roomInfo=function(t,e){return i.default.GET("/live/room-info",t,e)},e.roomList=function(t,e){return i.default.GET("/live/room-list",t,e)},e.roomQrcode=function(t,e){return i.default.GET("/live/room-qrcode",t,e)},e.roomUserEnter=function(t,e){return i.default.GET("/live/room-user-enter",t,e)},e.roomUserGood=function(t,e){return i.default.GET("/live/room-user-good",t,e)},e.roomUserHeartBeat=function(t,e){return i.default.GET("/live/room-user-heart-beat",t,e)},e.roomUserSubscribe=function(t,e){return i.default.GET("/live/room-user-subscribe",t,e)};var i=o(n("cc29"))},"51cc":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={uIcon:n("0852").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("v-uni-view",[n("v-uni-image",{staticClass:"shareImg",attrs:{src:t.shareImg,mode:"widthFix"}}),n("pagePopBox",{attrs:{title:"生成海报",zIndex:"101",maskCloseAble:!1},scopedSlots:t._u([{key:"content",fn:function(){return[n("v-uni-view",{staticClass:"menu"},t._l(t.menus,(function(e){return n("v-uni-view",{key:e.id,staticClass:"item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handle(e.id)}}},[n("v-uni-view",{staticClass:"icon"},[0==e.id?[n("u-icon",{attrs:{name:e.icon,size:"38",color:"#000"}}),t.openSettingBtnHidden?t._e():n("v-uni-button",{staticClass:"open-btn",attrs:{"hover-class":"none","open-type":"openSetting"},on:{opensetting:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSetting.apply(void 0,arguments)}}})]:t._e()],2),n("v-uni-view",{staticClass:"title"},[t._v(t._s(e.name))])],1)})),1)]},proxy:!0}],null,!1,57511965),model:{value:t.show,callback:function(e){t.show=e},expression:"show"}})],1):t._e()},a=[]},"78f3":function(t,e,n){var o=n("2f67");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("967d").default;i("53eedd4e",o,!0,{sourceMap:!1,shadowMode:!1})},bf0f1:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var o={uPopup:n("650d").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-popup",{attrs:{value:t.value,mode:"bottom","safe-area-inset-bottom":!0,"border-radius":t.borderRadius,"z-index":t.zIndex,"mask-close-able":t.maskCloseAble},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("input",!1)}}},[n("v-uni-view",{staticClass:"popBox"},[n("v-uni-view",{staticClass:"popup-title"},[n("v-uni-view",{staticClass:"let"},[t._v(t._s(t.title))]),n("i",{staticClass:"iconfont icon-close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("input",!1)}}})],1),n("v-uni-scroll-view",{staticClass:"scroll",attrs:{"scroll-y":!0}},[t._t("content")],2)],1),t._t("btn")],2)},a=[]},ca20:function(t,e,n){var o=n("3fbc");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var i=n("967d").default;i("0508f84c",o,!0,{sourceMap:!1,shadowMode:!1})},ce48:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var o={props:{maskCloseAble:{type:Boolean,default:!0},borderRadius:{type:[String,Number],default:"24"},title:{type:String,default:"弹框"},value:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:10075}},watch:{value:function(t){this.show=t}},data:function(){return{show:!1}},mounted:function(){},methods:{}};e.default=o},d68e:function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("1e53")),a={components:{pagePopBox:i.default},props:{},data:function(){return{show:!1,menus:[{name:"保存到本地",id:0,icon:"download"}],openSettingBtnHidden:!0,shareImg:""}},mounted:function(){},methods:{handle:function(t){switch(t){case 0:this.saveEwm();break;default:break}},handleSetting:function(t){t.detail.authSetting["scope.writePhotosAlbum"]?this.openSettingBtnHidden=!0:this.openSettingBtnHidden=!1},saveEwm:function(t){var e=this;uni.getSetting({success:function(t){t.authSetting["scope.writePhotosAlbum"]?e.saveImgToLocal():uni.authorize({scope:"scope.writePhotosAlbum",success:function(){e.saveImgToLocal()},fail:function(){e.openSettingBtnHidden=!1}})}})},saveImgToLocal:function(){var t=this;uni.showModal({title:this.$t("order.prompt"),content:this.$t("common.shareContent"),success:function(e){e.confirm?uni.downloadFile({url:t.shareImg,success:function(e){200===e.statusCode&&uni.saveImageToPhotosAlbum({filePath:e.tempFilePath,success:function(){uni.showToast({title:t.$t("common.saveSuc"),icon:"none"})},fail:function(){uni.showToast({title:t.$t("common.saveFail"),icon:"none"})}})},fail:function(){uni.showToast({title:"保存失败,请检查是否开启权限",icon:"none"})}}):e.cancel}})}}};e.default=a},e538:function(t,e,n){"use strict";n.r(e);var o=n("d68e"),i=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},f7cb:function(t,e,n){"use strict";var o=n("78f3"),i=n.n(o);i.a}}]);