HEX
Server: Apache/2.4.59 (Debian)
System: Linux keymana 4.19.0-21-cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64
User: lijunjie (1003)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/uileague/cms/js/chunk-2be27873.51008095.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2be27873"],{a8b9:function(e,t,l){"use strict";l.r(t);var a=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"lin-container"},[l("div",{staticClass:"lin-title"},[e._v("Switch 开关")]),l("div",{staticClass:"lin-wrap-ui"},[l("el-card",{staticStyle:{"margin-bottom":"50px"}},[l("div",{attrs:{slot:"header"},slot:"header"},[l("span",[e._v("基础用法")])]),l("el-row",[l("el-switch",{staticStyle:{"margin-right":"20px"},attrs:{"active-color":"#86B3F1"},model:{value:e.value2,callback:function(t){e.value2=t},expression:"value2"}}),l("el-switch",{attrs:{"active-color":"#00C292","inactive-color":"#E46A76"},model:{value:e.value1,callback:function(t){e.value1=t},expression:"value1"}})],1),l("el-collapse",[l("el-collapse-item",{attrs:{title:"查看代码",name:"2"}},[l("div",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.base))])])],1)],1),l("el-card",{staticStyle:{"margin-bottom":"50px"}},[l("div",{attrs:{slot:"header"},slot:"header"},[l("span",[e._v("文字描述")])]),l("el-row",[l("el-switch",{attrs:{"active-color":"#00C292","inactive-color":"#E46A76","active-text":"按月付费","inactive-text":"按年付费"},model:{value:e.value3,callback:function(t){e.value3=t},expression:"value3"}})],1),l("el-collapse",[l("el-collapse-item",{attrs:{title:"查看代码",name:"2"}},[l("div",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.withText))])])],1)],1),l("el-card",{staticStyle:{"margin-bottom":"50px"}},[l("div",{attrs:{slot:"header"},slot:"header"},[l("span",[e._v("扩展的 value 类型")])]),l("el-row",[l("el-tooltip",{attrs:{content:"Switch value: "+e.value4,placement:"top"}},[l("el-switch",{attrs:{"active-color":"#00C292","inactive-color":"#E46A76","active-value":"100","inactive-value":"0"},model:{value:e.value5,callback:function(t){e.value5=t},expression:"value5"}})],1)],1),l("el-collapse",[l("el-collapse-item",{attrs:{title:"查看代码",name:"2"}},[l("div",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.extendValue))])])],1)],1),l("el-card",{staticStyle:{"margin-bottom":"50px"}},[l("div",{attrs:{slot:"header"},slot:"header"},[l("span",[e._v("禁用")])]),l("el-row",[l("el-switch",{staticStyle:{"margin-right":"20px"},attrs:{"active-color":"#86B3F1",disabled:""},model:{value:e.value6,callback:function(t){e.value6=t},expression:"value6"}}),l("el-switch",{attrs:{"active-color":"#86B3F1",disabled:""},model:{value:e.value7,callback:function(t){e.value7=t},expression:"value7"}})],1),l("el-collapse",[l("el-collapse-item",{attrs:{title:"查看代码",name:"2"}},[l("div",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.forbidden))])])],1)],1)],1)])},i=[],c={data:function(){return{value1:!0,value2:!0,value3:!0,value4:100,value5:!0,value6:!0,value7:!1,base:'     \n          <el-switch v-model="value2" active-color="#86B3F1">\n          </el-switch>\n          <el-switch v-model="value1" active-color="#00C292" inactive-color="#E46A76">\n          </el-switch>',withText:'\n          <el-switch\n            v-model="value3"\n            active-color="#00C292"\n            inactive-color="#E46A76"\n            active-text="按月付费"\n            inactive-text="按年付费">\n          </el-switch>',extendValue:'\n          <el-tooltip :content="\'Switch value: \' + value4" placement="top">\n            <el-switch\n              v-model="value5"\n              active-color="#00C292"\n              inactive-color="#E46A76"\n              active-value="100"\n              inactive-value="0">\n            </el-switch>\n          </el-tooltip>',forbidden:'\n          <el-switch v-model="value6" active-color="#86B3F1" disabled>\n          </el-switch>'}},components:{}},o=c,s=(l("e1e5"),l("2877")),n=Object(s["a"])(o,a,i,!1,null,"63471f8e",null);t["default"]=n.exports},df3e:function(e,t,l){},e1e5:function(e,t,l){"use strict";var a=l("df3e"),i=l.n(a);i.a}}]);