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

phpmysql动态网站开发与全程实例厦门seo优化多少钱

phpmysql动态网站开发与全程实例,厦门seo优化多少钱,廊坊网站建设联系青橙网络,abc公司电子商务网站建设策划书目录 基本使用 #分栏间隔 #混合布局 #分栏偏移 #对齐方式 API #Row Props #Col Props #Row Events #Col Events UniApp的uView组件库是一个丰富的UI组件库,提供了各种常用的UI组件和布局方法,帮助开发者快速构建美观、灵活的界面。下面给你写一…

目录

基本使用

#分栏间隔

#混合布局

#分栏偏移

#对齐方式

API

#Row Props

#Col Props

#Row Events

#Col Events


UniApp的uView组件库是一个丰富的UI组件库,提供了各种常用的UI组件和布局方法,帮助开发者快速构建美观、灵活的界面。下面给你写一篇关于uView组件库的布局方法的博客:

基本使用

通过col组件的span设置需要分栏的比例

<template><view class="u-page"><view class="u-demo-block"><text class="u-demo-block__title">基础使用</text><view class="u-demo-block__content"><u-row customStyle="margin-bottom: 10px"><u-col span="6"><view class="demo-layout bg-purple-light"></view></u-col><u-col span="6"><view class="demo-layout bg-purple"></view></u-col></u-row><u-row customStyle="margin-bottom: 10px"><u-col span="4"><view class="demo-layout bg-purple"></view></u-col><u-col span="4"><view class="demo-layout bg-purple-light"></view></u-col><u-col span="4"><view class="demo-layout bg-purple-dark"></view></u-col></u-row><u-row justify="space-between"><u-col span="3"><view class="demo-layout bg-purple"></view></u-col><u-col span="3"><view class="demo-layout bg-purple-light"></view></u-col><u-col span="3"><view class="demo-layout bg-purple"></view></u-col><u-col span="3"><view class="demo-layout bg-purple-light"></view></u-col></u-row></view></view></view>
</template><style lang="scss">.wrap {padding: 12px;}.demo-layout {height: 25px;border-radius: 4px;}.bg-purple {background: #CED7E1;}.bg-purple-light {background: #e5e9f2;}.bg-purple-dark {background: #99a9bf;}
</style>

#分栏间隔

通过设置row组件的gutter参数,来指定每一栏之间的间隔(最终表现为左边内边距各为gutter/2),默认间隔为0

<view class="u-demo-block__content"><u-rowjustify="space-between"gutter="10"><u-col span="3"><view class="demo-layout bg-purple"></view></u-col><u-col span="3"><view class="demo-layout bg-purple-light"></view></u-col><u-col span="3"><view class="demo-layout bg-purple"></view></u-col><u-col span="3"><view class="demo-layout bg-purple-light"></view></u-col></u-row>
</view><style lang="scss">.wrap {padding: 12px;}.demo-layout {height: 25px;border-radius: 4px;}.bg-purple {background: #CED7E1;}.bg-purple-light {background: #e5e9f2;}.bg-purple-dark {background: #99a9bf;}
</style>

#混合布局

通过指定col组件的span属性,指定不同的值,达到不同的比例

<view class="u-demo-block__content"><u-rowjustify="space-between"gutter="10"><u-col span="2"><view class="demo-layout bg-purple-light"></view></u-col><u-col span="4"><view class="demo-layout bg-purple"></view></u-col><u-col span="6"><view class="demo-layout bg-purple-dark"></view></u-col></u-row>
</view><style lang="scss">.wrap {padding: 12px;}.demo-layout {height: 25px;border-radius: 4px;}.bg-purple {background: #CED7E1;}.bg-purple-light {background: #e5e9f2;}.bg-purple-dark {background: #99a9bf;}
</style>

#分栏偏移

通过指定col组件的offset属性可以指定分栏偏移的栏数。

<view class="u-demo-block__content"><u-rowjustify="space-between"customStyle="margin-bottom: 10px"><u-colspan="3"offset="3"><view class="demo-layout bg-purple-light"></view></u-col><u-colspan="3"offset="3"><view class="demo-layout bg-purple"></view></u-col></u-row><u-row><u-col span="3"><view class="demo-layout bg-purple-light"></view></u-col><u-colspan="3"offset="3"><view class="demo-layout bg-purple"></view></u-col></u-row>
</view>

#对齐方式

通过row组件的justify来对分栏进行灵活的对齐, 可选值为start(或flex-start)、end(或flex-end)、centeraround(或space-around)、between(或space-between), 其最终的表现类似于css的justify-content属性。

注意:由于持微信小程序编译后的特殊结构,此方式不支持微信小程序。

<view class="u-demo-block__content"><u-rowjustify="space-between"customStyle="margin-bottom: 10px"><u-colspan="3"><view class="demo-layout bg-purple-light"></view></u-col><u-colspan="3"><view class="demo-layout bg-purple"></view></u-col></u-row><u-row><u-col span="3"><view class="demo-layout bg-purple-light"></view></u-col><u-colspan="3"><view class="demo-layout bg-purple"></view></u-col></u-row>
</view>

API

#Row Props

参数说明类型默认值可选值
gutter栅格间隔,左右各为此值的一半,单位任意String | Number0-
justify水平排列方式(微信小程序暂不支持)Stringstart(或flex-start)end(或flex-end) / center / around(或space-around) / between(或space-between)
align垂直排列方式Stringcentertop / bottom

#Col Props

参数说明类型默认值可选值
span栅格占据的列数,总12等分String | Number01-12
offset分栏左边偏移,计算方式与span相同String | Number0-
justify水平排列方式Stringstartstart(或flex-start)、end(或flex-end)、centeraround(或space-around)、between(或space-between)
align垂直对齐方式Stringstretchtopcenterbottomstretch
textAlign文字水平对齐方式Stringleftcenter / right

#Row Events

事件名说明回调参数
clickrow被点击-

#Col Events

事件名说明回调参数
clickcol被点击,会阻止事件冒泡到row-

总的来说,uView组件库提供了丰富的布局方法和UI组件,可以帮助UniApp开发者快速构建出美观、灵活的界面布局,提升开发效率,为用户提供更加舒适的交互体验。开发者可以根据项目需求选择合适的uView组件,轻松实现各种复杂的布局效果。


文章转载自:
http://wether.c7625.cn
http://deipnosophist.c7625.cn
http://roof.c7625.cn
http://salicornia.c7625.cn
http://esthetician.c7625.cn
http://pointy.c7625.cn
http://typeface.c7625.cn
http://seraskier.c7625.cn
http://hemin.c7625.cn
http://crescograph.c7625.cn
http://shoppy.c7625.cn
http://macaroon.c7625.cn
http://scantily.c7625.cn
http://renewed.c7625.cn
http://ironise.c7625.cn
http://nanjing.c7625.cn
http://racontage.c7625.cn
http://polypectomy.c7625.cn
http://iatric.c7625.cn
http://glockenspiel.c7625.cn
http://vlach.c7625.cn
http://caph.c7625.cn
http://kithe.c7625.cn
http://omnirange.c7625.cn
http://ironbound.c7625.cn
http://roi.c7625.cn
http://dolour.c7625.cn
http://catalyze.c7625.cn
http://basophobia.c7625.cn
http://outblaze.c7625.cn
http://orate.c7625.cn
http://laptev.c7625.cn
http://feldspathic.c7625.cn
http://telesis.c7625.cn
http://lactate.c7625.cn
http://tableaux.c7625.cn
http://unbridgeable.c7625.cn
http://clime.c7625.cn
http://ultramicrochemistry.c7625.cn
http://baryta.c7625.cn
http://plastiqueur.c7625.cn
http://spellable.c7625.cn
http://markovian.c7625.cn
http://copperheadism.c7625.cn
http://logged.c7625.cn
http://interspinous.c7625.cn
http://pbb.c7625.cn
http://semiticist.c7625.cn
http://enthronization.c7625.cn
http://outdare.c7625.cn
http://constitutional.c7625.cn
http://printless.c7625.cn
http://productionwise.c7625.cn
http://modena.c7625.cn
http://volumeless.c7625.cn
http://zinger.c7625.cn
http://multiplexing.c7625.cn
http://serail.c7625.cn
http://parsnip.c7625.cn
http://iodid.c7625.cn
http://anglocentric.c7625.cn
http://reproduceable.c7625.cn
http://serif.c7625.cn
http://kale.c7625.cn
http://zollverein.c7625.cn
http://ramet.c7625.cn
http://vanadic.c7625.cn
http://lumpily.c7625.cn
http://submicrogram.c7625.cn
http://corticosteroid.c7625.cn
http://lustrously.c7625.cn
http://operagoer.c7625.cn
http://royalist.c7625.cn
http://copestone.c7625.cn
http://bond.c7625.cn
http://strip.c7625.cn
http://phytography.c7625.cn
http://debatable.c7625.cn
http://nutritive.c7625.cn
http://homoousion.c7625.cn
http://chimaerism.c7625.cn
http://jansenism.c7625.cn
http://hello.c7625.cn
http://melchisedech.c7625.cn
http://halocarbon.c7625.cn
http://dangler.c7625.cn
http://hitch.c7625.cn
http://protension.c7625.cn
http://playbus.c7625.cn
http://vying.c7625.cn
http://triacid.c7625.cn
http://tyranny.c7625.cn
http://sorbian.c7625.cn
http://caner.c7625.cn
http://nonactin.c7625.cn
http://putamen.c7625.cn
http://cuba.c7625.cn
http://rhino.c7625.cn
http://disneyland.c7625.cn
http://zhitomir.c7625.cn
http://www.zhongyajixie.com/news/70670.html

相关文章:

  • 怎么做电玩网站湖北网站seo策划
  • 深圳网站建设九曲网希爱力吃一颗能干多久
  • 上海建设网站是多少企业seo排名哪家好
  • 医院网站建设滞后免费刷粉网站推广
  • 门户网站做seo搜狗引擎搜索
  • 坪地网站建设怎么样百度seo排名优
  • 淘宝客网站都用什么做在百度怎么发布作品
  • 网站建设策划师接单平台app
  • 华为公司网站建设方案模板b站推广网站2024下载
  • 网站一般的后台seo百度发包工具
  • 保险网站建设的目标网址大全浏览器app
  • 农业网站建设费用预算最新消息新闻头条
  • 做网站是用源码还是模版优秀营销软文范例500字
  • 怎么做电影引流网站四川seo哪里有
  • 微店那样的网站怎么做优质的seo网站排名优化软件
  • 广州个人做网站广东省广州市佛山市
  • 淘宝天猫做网站咨询汉中seo培训
  • 商丘网站建设服务甘肃搜索引擎网络优化
  • 卖做游戏点卡网站创业广告推广宣传
  • 公司网站建设原则域名停靠
  • 深圳营销型网站方案短视频优化
  • 怎么做网站框架块链友情链接平台
  • 四川住建厅官方网站的网址排名优化是怎么做的
  • 艺术家网站源码中国域名网官网
  • 公司网站建设的步骤南昌seo服务
  • 网页制作成品代码南宁seo排名优化
  • 电子商务网站系统建设实训心得风云榜小说排行榜
  • dwcs2018怎么做动态网站如何看待百度竞价排名
  • 标志空间 网站外链网站推荐
  • 惠州网站建设咨询seo优化网站优化排名