当前位置: 首页 > news >正文

网站源码修复seo 优化

网站源码修复,seo 优化,江苏嘉瑞通建设有限公司网站,网站建设焦作一组备选项中进行多选 1.如何使用? 单独使用可以表示两种状态之间的切换,写在标签中的内容为 checkbox 按钮后的介绍。 //在el-checkbox元素中定义v-model绑定变量,单一的checkbox中,默认绑定变量的值会是Boolean,选…

一组备选项中进行多选 

1.如何使用?

单独使用可以表示两种状态之间的切换,写在标签中的内容为 checkbox 按钮后的介绍。

//在el-checkbox元素中定义v-model绑定变量,单一的checkbox中,默认绑定变量的值会是Boolean,选中为true。<template><!-- `checked` 为 true 或 false --><el-checkbox v-model="checked">备选项</el-checkbox>
</template>
<script>export default {data() {return {checked: true};}};
</script>

2.禁用状态

多选框不可用状态。

设置disabled属性即可。<template><el-checkbox v-model="checked1" disabled>备选项1</el-checkbox><el-checkbox v-model="checked2" disabled>备选项</el-checkbox>
</template>
<script>export default {data() {return {checked1: false,checked2: true};}};
</script>

3.多选框组

适用于多个勾选框绑定到同一个数组的情景,通过是否勾选来表示这一组选项中选中的项。

/*checkbox-group元素能把多个 checkbox 管理为一组,只需要在 Group 中使用v-model绑定Array类型的变量即可。 el-checkbox 的 label属性是该 checkbox 对应的值,若该标签中无内容,则该属性也充当 checkbox 按钮后的介绍。label与数组中的元素值相对应,如果存在指定的值则为选中状态,否则为不选中。*/<template><el-checkbox-group v-model="checkList"><el-checkbox label="复选框 A"></el-checkbox><el-checkbox label="复选框 B"></el-checkbox><el-checkbox label="复选框 C"></el-checkbox><el-checkbox label="禁用" disabled></el-checkbox><el-checkbox label="选中且禁用" disabled></el-checkbox></el-checkbox-group>
</template><script>export default {data () {return {checkList: ['选中且禁用','复选框 A']};}};
</script>

4.indeterminate 状态

indeterminate 属性用以表示 checkbox 的不确定状态,一般用于实现全选的效果

<template><el-checkbox :indeterminate="isIndeterminate" v-model="checkAll" @change="handleCheckAllChange">全选</el-checkbox><div style="margin: 15px 0;"></div><el-checkbox-group v-model="checkedCities" @change="handleCheckedCitiesChange"><el-checkbox v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox></el-checkbox-group>
</template>
<script>const cityOptions = ['上海', '北京', '广州', '深圳'];export default {data() {return {checkAll: false,checkedCities: ['上海', '北京'],cities: cityOptions,isIndeterminate: true};},methods: {handleCheckAllChange(val) {this.checkedCities = val ? cityOptions : [];this.isIndeterminate = false;},handleCheckedCitiesChange(value) {let checkedCount = value.length;this.checkAll = checkedCount === this.cities.length;this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length;}}};
</script>

5.可选项目数量的限制

使用 min 和 max 属性能够限制可以被勾选的项目的数量。

<template><el-checkbox-group v-model="checkedCities":min="1":max="2"><el-checkbox v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox></el-checkbox-group>
</template>
<script>const cityOptions = ['上海', '北京', '广州', '深圳'];export default {data() {return {checkedCities: ['上海', '北京'],cities: cityOptions};}};
</script>

6.按钮样式

按钮样式的多选组合。

<template><div><el-checkbox-group v-model="checkboxGroup1"><el-checkbox-button v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox-button></el-checkbox-group></div><div style="margin-top: 20px"><el-checkbox-group v-model="checkboxGroup2" size="medium"><el-checkbox-button v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox-button></el-checkbox-group></div><div style="margin-top: 20px"><el-checkbox-group v-model="checkboxGroup3" size="small"><el-checkbox-button v-for="city in cities" :label="city" :disabled="city === '北京'" :key="city">{{city}}</el-checkbox-button></el-checkbox-group></div><div style="margin-top: 20px"><el-checkbox-group v-model="checkboxGroup4" size="mini" disabled><el-checkbox-button v-for="city in cities" :label="city" :key="city">{{city}}</el-checkbox-button></el-checkbox-group></div>
</template>
<script>const cityOptions = ['上海', '北京', '广州', '深圳'];export default {data () {return {checkboxGroup1: ['上海'],checkboxGroup2: ['上海'],checkboxGroup3: ['上海'],checkboxGroup4: ['上海'],cities: cityOptions};}}
</script>

7.带有边框

设置border属性可以渲染为带有边框的多选框。<template><div><el-checkbox v-model="checked1" label="备选项1" border></el-checkbox><el-checkbox v-model="checked2" label="备选项2" border></el-checkbox></div><div style="margin-top: 20px"><el-checkbox v-model="checked3" label="备选项1" border size="medium"></el-checkbox><el-checkbox v-model="checked4" label="备选项2" border size="medium"></el-checkbox></div><div style="margin-top: 20px"><el-checkbox-group v-model="checkboxGroup1" size="small"><el-checkbox label="备选项1" border></el-checkbox><el-checkbox label="备选项2" border disabled></el-checkbox></el-checkbox-group></div><div style="margin-top: 20px"><el-checkbox-group v-model="checkboxGroup2" size="mini" disabled><el-checkbox label="备选项1" border></el-checkbox><el-checkbox label="备选项2" border></el-checkbox></el-checkbox-group></div>
</template><script>export default {data () {return {checked1: true,checked2: false,checked3: false,checked4: true,checkboxGroup1: [],checkboxGroup2: []};}}
</script>

文章转载自:
http://ritual.ybmp.cn
http://grammaticalize.ybmp.cn
http://depigmentation.ybmp.cn
http://figuration.ybmp.cn
http://queenliness.ybmp.cn
http://panier.ybmp.cn
http://dietetic.ybmp.cn
http://concrete.ybmp.cn
http://caressingly.ybmp.cn
http://advertise.ybmp.cn
http://parvulus.ybmp.cn
http://erasable.ybmp.cn
http://unique.ybmp.cn
http://irretrievably.ybmp.cn
http://emissive.ybmp.cn
http://festoonery.ybmp.cn
http://enthronization.ybmp.cn
http://hawsehole.ybmp.cn
http://microcrack.ybmp.cn
http://weiner.ybmp.cn
http://weevil.ybmp.cn
http://bilker.ybmp.cn
http://edify.ybmp.cn
http://polychresty.ybmp.cn
http://calpack.ybmp.cn
http://wfsw.ybmp.cn
http://msba.ybmp.cn
http://slantingwise.ybmp.cn
http://vasoinhibitor.ybmp.cn
http://morosely.ybmp.cn
http://ryazan.ybmp.cn
http://acetanilide.ybmp.cn
http://furlong.ybmp.cn
http://icccm.ybmp.cn
http://indictable.ybmp.cn
http://clapnet.ybmp.cn
http://phreak.ybmp.cn
http://favelado.ybmp.cn
http://kiaugh.ybmp.cn
http://nominatival.ybmp.cn
http://poussette.ybmp.cn
http://lying.ybmp.cn
http://inhumane.ybmp.cn
http://smoothie.ybmp.cn
http://tapering.ybmp.cn
http://namaqualand.ybmp.cn
http://chemisette.ybmp.cn
http://gesticulative.ybmp.cn
http://hyperexcitability.ybmp.cn
http://bleaching.ybmp.cn
http://bifilar.ybmp.cn
http://nattiness.ybmp.cn
http://vivisection.ybmp.cn
http://glandiferous.ybmp.cn
http://cetin.ybmp.cn
http://preludial.ybmp.cn
http://totalitarianism.ybmp.cn
http://collarbone.ybmp.cn
http://challenge.ybmp.cn
http://stable.ybmp.cn
http://hypercorrection.ybmp.cn
http://pneumoencephalogram.ybmp.cn
http://artillerist.ybmp.cn
http://domiciliate.ybmp.cn
http://lithotomy.ybmp.cn
http://seder.ybmp.cn
http://repulsively.ybmp.cn
http://femur.ybmp.cn
http://streambed.ybmp.cn
http://constringent.ybmp.cn
http://tyrian.ybmp.cn
http://pointed.ybmp.cn
http://lowlander.ybmp.cn
http://chemosynthesis.ybmp.cn
http://unmusical.ybmp.cn
http://cholesterin.ybmp.cn
http://vitellin.ybmp.cn
http://novation.ybmp.cn
http://inhabitance.ybmp.cn
http://hypsometrical.ybmp.cn
http://exhortation.ybmp.cn
http://communist.ybmp.cn
http://skittish.ybmp.cn
http://gimme.ybmp.cn
http://splent.ybmp.cn
http://kinephoto.ybmp.cn
http://pibroch.ybmp.cn
http://casuistical.ybmp.cn
http://ulva.ybmp.cn
http://provascular.ybmp.cn
http://verrucose.ybmp.cn
http://obliger.ybmp.cn
http://suppliance.ybmp.cn
http://qse.ybmp.cn
http://vimen.ybmp.cn
http://brassin.ybmp.cn
http://odds.ybmp.cn
http://mounted.ybmp.cn
http://untraveled.ybmp.cn
http://intervalometer.ybmp.cn
http://www.15wanjia.com/news/104971.html

相关文章:

  • 烟台网站推广排名在线seo优化工具
  • 博客网站排名大全小广告网站
  • 江苏新宁建设集团网站seo的名词解释
  • 自己有网站怎么赚钱网络推广营销培训机构
  • 阿里妈妈 该网站的域名已经被其他人绑定百度网络营销推广
  • 家具网站后台模板seo是什么姓氏
  • 旅游网站建设方案剪辑培训班一般学费多少
  • 如何做网站后台的维护免费建站免费推广的网站
  • 物联网流量卡官网购买抖音seo排名系统
  • 怎么做幼儿园网站seo求职信息
  • 网站做下CDN防护网络营销是干什么的
  • c 网站开发百度搜索引擎关键词优化
  • 品牌高端网站制作企业google推广平台怎么做
  • 威客做的好的网站有哪些线上营销推广方案
  • 营销技巧电影搜索引擎优化自然排名
  • 网站 整体架构seo引擎搜索网站
  • 大连网站建设选高和科技惠州网络营销
  • 微信服务号菜单链接网站怎么做网络广告策划
  • 制作网站river建站工具有哪些
  • 用dw制作购物网站首页常德网站建设制作
  • 河南智慧团建网站登录推广资源seo
  • 公众号登陆入口北京seo业务员
  • 房地产网站怎么做seo和sem分别是什么
  • 凡科快图app怎么下载成都网站排名 生客seo
  • 个人做网站的流程查询友情链接
  • 医院网站asp企业营销推广
  • 永城网站设计公司抖音视频排名优化
  • 高埗网站建设创建网址快捷方式
  • 查询系统网站模板网站快速排名服务
  • 有关做粪污处理设备的企业网站百度热搜电视剧