const tl_rtc_app_module_sidebar_bottom = { props : { tools : { type : Array, default : [] }, isMobile:{ type: Boolean, default: false }, leftModule: { type: String, default: '' }, rightModule: { type: String, default: '' } }, computed: { propsTools(){ return this.tools; }, propsIsMobile(){ return this.isMobile; }, propsLeftModule() { return this.leftModule; }, propsRightModule() { return this.rightModule; }, }, watch: { leftModule: function (val) { }, rightModule: function (val) { } }, methods: { /** * 事件触发,向上传递 * @param {*} event */ leftModuleChange: function(event){ this.$emit('left-module-change', event) }, /** * 事件触发,向上传递 * @param {*} event */ rightModuleChange: function(event){ this.$emit('right-module-change', event) }, /** * 点击工具栏 * @param {*} tool */ activeTool : function(tool){ this.tools.map(item => { item.active = false; }) tool.active = true; tool.handler && tool.handler.call(this) } }, data : function(){ return { } }, mounted() { let that = this if(!that.propsIsMobile){ layer.tips("官网优惠进行中~", '#sub-tool-about', { skin: 'tl-rtc-app-layer-tips', tips: [ 2, '#50393d' ], time: 1000 * 3 }); } setInterval(() => { if(!that.propsIsMobile){ layer.tips("官网优惠进行中~", '#sub-tool-about', { skin: 'tl-rtc-app-layer-tips', tips: [ 2, '#50393d' ], time: 1000 * 3 }); } }, 15 * 1000); }, template: `
`, } window.tl_rtc_app_module_sidebar_bottom = tl_rtc_app_module_sidebar_bottom