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 line
7.3 KiB
1 line
7.3 KiB
|
1 year ago
|
(self["webpackChunkuview2_0_cli"]=self["webpackChunkuview2_0_cli"]||[]).push([[2465],{30205:function(e,c,a){var t=a(28594);t.__esModule&&(t=t.default),"string"===typeof t&&(t=[[e.id,t,""]]),t.locals&&(e.exports=t.locals);var n=a(56).Z;n("647df3b4",t,!0,{sourceMap:!1,shadowMode:!1})},77340:function(e,c,a){"use strict";a.r(c),a.d(c,{default:function(){return k}});var t,n={uCheckboxGroup:a(14161).Z,uCheckbox:a(25276).Z},l=function(){var e=this,c=e.$createElement,a=e._self._c||c;return a("v-uni-view",{staticClass:"u-page"},[a("v-uni-view",{staticClass:"u-demo-block"},[a("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("基本案例")]),a("v-uni-text",{staticClass:"u-block__title"},[e._v("苹果、香蕉和橙子哪个最甜?")]),a("v-uni-view",{staticClass:"u-demo-block__content"},[a("v-uni-view",{staticClass:"u-page__checkbox-item"},[a("u-checkbox-group",{attrs:{placement:"column"},on:{change:function(c){arguments[0]=c=e.$handleEvent(c),e.checkboxChange.apply(void 0,arguments)}},model:{value:e.checkboxValue1,callback:function(c){e.checkboxValue1=c},expression:"checkboxValue1"}},e._l(e.checkboxList1,(function(e,c){return a("u-checkbox",{key:c,attrs:{customStyle:{marginBottom:"8px"},label:e.name,name:e.name}})})),1)],1)],1)],1),a("v-uni-view",{staticClass:"u-demo-block"},[a("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("自定义形状")]),a("v-uni-text",{staticClass:"u-block__title"},[e._v("中国四大名著是?")]),a("v-uni-view",{staticClass:"u-demo-block__content"},[a("v-uni-view",{staticClass:"u-page__checkbox-item"},[a("u-checkbox-group",{attrs:{placement:"column",shape:"square"},on:{change:function(c){arguments[0]=c=e.$handleEvent(c),e.checkboxChange.apply(void 0,arguments)}},model:{value:e.checkboxValue2,callback:function(c){e.checkboxValue2=c},expression:"checkboxValue2"}},e._l(e.checkboxList2,(function(e,c){return a("u-checkbox",{key:c,attrs:{customStyle:{marginBottom:"8px"},label:e.name,name:e.name}})})),1)],1)],1)],1),a("v-uni-view",{staticClass:"u-demo-block"},[a("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("是否禁用")]),a("v-uni-text",{staticClass:"u-block__title"},[e._v("下面什么东西不能吃?")]),a("v-uni-view",{staticClass:"u-demo-block__content"},[a("v-uni-view",{staticClass:"u-page__checkbox-item"},[a("u-checkbox-group",{attrs:{placement:"column"},on:{change:function(c){arguments[0]=c=e.$handleEvent(c),e.checkboxChange.apply(void 0,arguments)}},model:{value:e.checkboxValue3,callback:function(c){e.checkboxValue3=c},expression:"checkboxValue3"}},e._l(e.checkboxList3,(function(e,c){return a("u-checkbox",{key:c,attrs:{customStyle:{marginBottom:"8px"},label:e.name,name:e.name,disabled:0===c}})})),1)],1)],1)],1),a("v-uni-view",{staticClass:"u-demo-block"},[a("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("是否禁止点击提示语选中复选框")]),a("v-uni-text",{staticClass:"u-block__title"},[e._v("北宋四大家是谁?")]),a("v-uni-view",{staticClass:"u-demo-block__content"},[a("v-uni-view",{staticClass:"u-page__checkbox-item"},[a("u-checkbox-group",{attrs:{placement:"column",labelDisabled:!0},on:{change:function(c){arguments[0]=c=e.$handleEvent(c),e.checkboxChange.apply(void 0,arguments)}},model:{value:e.checkboxValue4,callback:function(c){e.checkboxValue4=c},expression:"checkboxValue4"}},e._l(e.checkboxList4,(function(e,c){return a("u-checkbox",{key:c,attrs:{customStyle:{marginBottom:"8px"},label:e.name,name:e.name}})})),1)],1)],1)],1),a("v-uni-view",{staticClass:"u-demo-block"},[a("v-uni-text",{staticClass:"u-demo-block__title"},[e._v("自定义颜色")]),a("v-uni-text",{staticClass:"u-block__title"},[e._v("哪个颜色最好看?")]),a("v-uni-view",{staticClass:"u-demo-block__content"},[a("v-uni-view",{staticClass:"u-page__checkbox-item"},[a("u-checkbox-group",{attrs:{placement:"column",activeColor:"#19be6b"},on:{change:function(c){arguments[0]=c=e.$handleEvent(c),e.checkboxChange.apply(void 0,arguments)}},model:{value:e.checkboxValue5,callback:function(c){e.checkboxValue5=c},expression:"checkboxValue5"}},e._l(e.checkboxList5,(function(e,c){return a
|