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

vs2010网站设计用整张图片做背景餐饮管理系统下载

vs2010网站设计用整张图片做背景,餐饮管理系统下载,怎么开网站做站长,电子商务网站的功能文章目录 v-bind对样式控制的增强2.1 操作class2.1.1 语法2.1.2 对象语法2.1.3 数组语法2.1.4 使用2.1.5 Test 2.2 操作style2.2.1 语法2.2.2 使用2.2.3 Test v-bind对样式控制的增强 2.1 操作class 2.1.1 语法 div :class 对象/数组这是一个divdiv :class 对象/数组这是一个div/div2.1.2 对象语法 当class动态绑定的是对象时键就是类名值就是布尔值如果值是true就有这个类否则没有这个类 div classbox :class{ 类名1: 布尔值, 类名2: 布尔值 }/div适用场景一个类名来回切换 2.1.3 数组语法 当class动态绑定的是数组时 → 数组中所有的类都会添加到盒子上本质就是一个 class 列表 div classbox :class[ 类名1, 类名2, 类名3 ]/divdiv classbox :class[ 类名1, 类名2, 类名3 ]/div使用场景:批量添加或删除类 2.1.4 使用 style.box {width: 50px;height: 50px;border: 1px solid #000;margin-top: 5px;}.red {background-color: red;}.big {width: 100px; height: 100px;}/style /head bodydiv idappdiv classbox :class{ big: true, red: true }你好Java/divdiv classbox :class[red, big]你好Java/div/divscript srcjs/vue.js/scriptscriptconst app new Vue({el: #app,data: {}})/script /body2.1.5 Test style* {margin: 0;padding: 0;}ul {display: flex;border-bottom: 2px solid #1e3c9f;padding: 0 10px;}li {width: 100px;height: 50px;line-height: 50px;list-style: none;text-align: center;}li a {display: block;text-decoration: none;font-weight: bold;color: #333333;}li a.active {background-color: #12e06f;color: #fff;}/style /head bodydiv idappulli v-for(item ,index) in list :keyitem.id clickactiveIndex indexa href# :class{active: index activeIndex}{{item.name}}/a/li/ul/divscript srcjs/vue.js/scriptscriptconst app new Vue({el: #app,data: {activeIndex: 0, // 记录高亮list: [{id: 1,name: 商品秒杀}, {id: 2,name: 特价处理}, {id: 3,name: 品牌优惠}]}})/script /body2.2 操作style 2.2.1 语法 :style中的css属性会覆盖 classbox的css样式 div classbox :style{ CSS属性名1: CSS属性值, CSS属性名2: CSS属性值 }/div2.2.2 使用 style.box {width: 50px;height: 50px;background-color: red;}/style /headbodydiv idappdiv classbox :style{ width: 100px, height: 100px, backgroundColor: green }/div/divscript srcjs/vue.js/scriptscriptconst app new Vue({el: #app,data: {}})/script /body2.2.3 Test style.progress {height: 25px;width: 400px;border-radius: 15px;background-color: #272425;border: 3px solid #272425;box-sizing: border-box;margin-bottom: 30px;}.inner {width: 50%;height: 20px;border-radius: 10px;text-align: right;position: relative;background-color: #409eff;background-size: 20px 20px;box-sizing: border-box;transition: all 1s;}.inner span {position: absolute;right: -20px;bottom: -25px;}/style /headbodydiv idapp!-- 外层盒子底色 黑色 --div classprogress!-- 内层盒子 - 进度蓝色 --div classinner :style{ width: percent% }span{{ percent }}%/span/div/divbutton clickpercent 25设置25%/buttonbutton clickpercent 50设置50%/buttonbutton clickpercent 75设置75%/buttonbutton clickpercent 100设置100%/button/divscript srcjs/vue.js/scriptscriptconst app new Vue({el: #app,data: {percent: 30}})/script /body
http://www.hkea.cn/news/14554336/

相关文章:

  • 网站运营与维护是什么意思河南企起网站建设
  • 长沙招聘网站制作114网站制作
  • 蓬莱市住房和规划建设管理局网站中国现任领导名单简介
  • 某些网站dns解析失败北京信息发布平台
  • 网络宣传网站建设价格word 发布到wordpress
  • 武鸣网站建设体育西网站开发方案
  • 做网站如何引用头部姓氏logo免费设计在线生成
  • 餐饮网站 设计网站建设需求调查表
  • 网站建设流程心得wordpress 上标 小圆1
  • wordpress高级文章编辑器某企业网站的分析优化与推广
  • 做58同城网站需要多少钱服务器安全防护
  • php做的网站如何盈利网站搭建需要什么技术
  • 婚庆公司网站源码南昌装修网站建设
  • 莱山做网站的公司网站建设 超薄网络
  • 深圳定制建站网站建设学校网站做等级保护
  • 泉州 网站制作百度一下app下载安装
  • dede响应式网站模板下载大型网站建设兴田德润简介
  • 重庆市建设工程节能中心网站深圳罗湖企业网站优化价格
  • 做网站推广大概需要多少钱店面设计餐饮风格
  • 淘宝客网站程序模板杭州建设信用网网站
  • 杭州网站建设 乐云践新专家东莞寮步网站建设网络公司
  • 花都定制型网站建设常见的网站名称有哪些
  • 净化工程 技术支持 东莞网站建设约么同城实时定位搜索引擎
  • 推广网站有效的免费方法怎么设置自己做的网站
  • 做最好最全的命理网站南京科技网站设计费用
  • 网站目录结构说明全屏网页设计尺寸
  • 京东网站建设的经费预算外国小孩和大人做网站
  • 金乡县住房与城乡建设局网站项目组网站建设方案书
  • 网站做定向的作用自助网站建设用什么好
  • 企业网站seo优化公司电子商务服务网站