app模板、应用模板、组件模板、widget模板
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.
 
 

1 lines
1.9 KiB

(window["webpackJsonp_TIS_PLATFORM"]=window["webpackJsonp_TIS_PLATFORM"]||[]).push([["Widget"],{"4e11":function(e,t,i){},9023:function(e,t,i){"use strict";i.r(t);var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("tis-card",{directives:[{name:"show",rawName:"v-show",value:e.widget.opened,expression:"widget.opened"}],staticClass:"card"},[i("div",{staticClass:"header",attrs:{slot:"header"},slot:"header"},[i("div",{staticClass:"name"},[e._v(e._s(e.widget.name))]),i("div",[i("span",["pc"===e.deviceType?i("tis-button",{attrs:{type:"text",size:"small"},on:{click:e.toggle}},[e._v("浮窗大小")]):e._e()],1),e._v(" "),i("span",[i("tis-button",{attrs:{type:"text",size:"small"},on:{click:e.onClose}},[e._v("关闭")])],1)]),i("tis-card",{directives:[{name:"show",rawName:"v-show",value:e.showSizeChoice,expression:"showSizeChoice"}],staticClass:"size-choice"},[i("div",[i("tis-radio",{attrs:{label:"small"},model:{value:e.contentSize,callback:function(t){e.contentSize=t},expression:"contentSize"}},[e._v("小")])],1),i("tis-radio",{attrs:{label:"medium"},model:{value:e.contentSize,callback:function(t){e.contentSize=t},expression:"contentSize"}},[e._v("中")]),i("br"),i("tis-radio",{attrs:{label:"large"},model:{value:e.contentSize,callback:function(t){e.contentSize=t},expression:"contentSize"}},[e._v("大")]),i("br")],1)],1),i("div",{staticClass:"content",class:e.contentSize+" "+e.widget.position},[i("div",{attrs:{id:e.widget.containerId}})])])},n=[],o={props:{widget:Object},data:function(){return{showSizeChoice:!1,contentSize:"pc"===this.deviceType?"small":"large"}},methods:{onClose:function(){this.$tis.closeWidget(this.widget.id)},toggle:function(){this.showSizeChoice=!this.showSizeChoice}},computed:{deviceType:function(){return this.$tis.bus.deviceType}}},a=o,c=(i("eda7"),i("2877")),l=Object(c["a"])(a,s,n,!1,null,"6cca9d37",null);t["default"]=l.exports},eda7:function(e,t,i){"use strict";i("4e11")}}]);