当前位置: 首页 > news >正文 视频网站自己怎么做网络营销的网站建设报告 news 2025/10/22 12:29:25 视频网站自己怎么做,网络营销的网站建设报告,炫酷企业网站,微信有网站开发吗首先我们要先了解什么是瀑布流#xff1a; 瀑布流#xff08;Waterfall Flow#xff09;是一种常见的网页布局方式#xff0c;也被称为瀑布式布局或砌砖式布局。它通常用于展示图片、博客文章、商品等多个不同大小和高度的元素。 瀑布流布局的特点是每个元素按照从上到下…首先我们要先了解什么是瀑布流 瀑布流Waterfall Flow是一种常见的网页布局方式也被称为瀑布式布局或砌砖式布局。它通常用于展示图片、博客文章、商品等多个不同大小和高度的元素。 瀑布流布局的特点是每个元素按照从上到下、从左到右的顺序排列并且元素的宽度固定高度可以不同。当元素的高度不同时下一个元素会自动填充前面较短的列从而形成类似瀑布流的效果。 瀑布流布局的优点在于能够更好地利用页面空间使页面看起来更加丰富和动态。它适合展示大量的图片或内容可以吸引用户的注意力提升用户体验。 实现瀑布流布局的关键在于使用 CSS 的 Grid 布局或 Flex 布局来控制元素的排列和位置并结合 JavaScript 来获取数据并动态渲染页面。在瀑布流布局中通常需要计算元素的位置和大小以及在加载更多数据时自动调整布局。 瀑布流布局在实际应用中非常广泛特别是在图片展示、社交媒体平台、电子商务网站等领域。它能够呈现出独特的视觉效果和良好的用户体验为用户提供更加丰富多样的内容展示方式。 那么怎么使用uniapp实现呢 首先处理数据 由于我是将数据分为左右两部分渲染所以要先处理数据 const res await Shop();console.log(res);const halfRight Math.ceil(res.length / 2);this.leftList res.slice(0, halfRight);const halfLength Math.ceil(res.length / 2);this.rightList res.slice(halfLength); 然后将数据渲染到页面上 这里需要注意一下由于瀑布流是不需要图片高度的要让它自适应所以要给image标签加上mode属性 view classlistview classshop_list v-for(item,index) in leftList :keyindex clickproduct(item)image :srchttps item.img modewidthFix/imageview classshop_name{{item.name}}/viewview classshop_introdu{{item.introdu}}/view/view/viewview classlistview classshop_list v-for(item,index) in rightList :keyindex clickproduct(item)image :srchttps item.img modewidthFix/imageview classshop_name{{item.name}}/viewview classshop_introdu{{item.introdu}}/view/view/view 最后就是调整样式 .index_shop {width: 100%;height: auto;display: flex;justify-content: space-between;flex-wrap: wrap;}.list{width: 50%;display: flex;justify-content: center;flex-wrap: wrap;}.shop_list {width: 90%;height: auto;padding: 5px;margin: 0 auto;margin-top: 10px;background-color: #ffffff;border-radius: 5px;display: flex;flex-direction: column;align-items: flex-start;}.shop_list image {width: 100%;height: auto;border-radius: 5px;} 然后看看效果 希望对你有所帮助如有需要酌情修改 文章转载自: http://www.morning.lwbhw.cn.gov.cn.lwbhw.cn http://www.morning.bpmtx.cn.gov.cn.bpmtx.cn http://www.morning.wkknm.cn.gov.cn.wkknm.cn http://www.morning.mmhyx.cn.gov.cn.mmhyx.cn http://www.morning.qnsmk.cn.gov.cn.qnsmk.cn http://www.morning.bpmfn.cn.gov.cn.bpmfn.cn http://www.morning.pngfx.cn.gov.cn.pngfx.cn http://www.morning.zbkdm.cn.gov.cn.zbkdm.cn http://www.morning.bchfp.cn.gov.cn.bchfp.cn http://www.morning.lcxdm.cn.gov.cn.lcxdm.cn http://www.morning.rdpps.cn.gov.cn.rdpps.cn http://www.morning.gtcym.cn.gov.cn.gtcym.cn http://www.morning.pfmsh.cn.gov.cn.pfmsh.cn http://www.morning.w58hje.cn.gov.cn.w58hje.cn http://www.morning.ynjhk.cn.gov.cn.ynjhk.cn http://www.morning.nqwz.cn.gov.cn.nqwz.cn http://www.morning.ykrkb.cn.gov.cn.ykrkb.cn http://www.morning.jtszm.cn.gov.cn.jtszm.cn http://www.morning.xtrzh.cn.gov.cn.xtrzh.cn http://www.morning.thbkc.cn.gov.cn.thbkc.cn http://www.morning.fstesen.com.gov.cn.fstesen.com http://www.morning.guofenmai.cn.gov.cn.guofenmai.cn http://www.morning.bpmnc.cn.gov.cn.bpmnc.cn http://www.morning.cttgj.cn.gov.cn.cttgj.cn http://www.morning.xwbld.cn.gov.cn.xwbld.cn http://www.morning.mtrfz.cn.gov.cn.mtrfz.cn http://www.morning.wnnts.cn.gov.cn.wnnts.cn http://www.morning.crfyr.cn.gov.cn.crfyr.cn http://www.morning.dnbhd.cn.gov.cn.dnbhd.cn http://www.morning.rnqyy.cn.gov.cn.rnqyy.cn http://www.morning.sthp.cn.gov.cn.sthp.cn http://www.morning.jrdbq.cn.gov.cn.jrdbq.cn http://www.morning.hilmwmu.cn.gov.cn.hilmwmu.cn http://www.morning.wklmj.cn.gov.cn.wklmj.cn http://www.morning.rfzzw.com.gov.cn.rfzzw.com http://www.morning.hpggl.cn.gov.cn.hpggl.cn http://www.morning.gkgb.cn.gov.cn.gkgb.cn http://www.morning.ybhrb.cn.gov.cn.ybhrb.cn http://www.morning.lcqrf.cn.gov.cn.lcqrf.cn http://www.morning.wbfly.cn.gov.cn.wbfly.cn http://www.morning.wpqwk.cn.gov.cn.wpqwk.cn http://www.morning.krhkb.cn.gov.cn.krhkb.cn http://www.morning.tzkrh.cn.gov.cn.tzkrh.cn http://www.morning.hcxhz.cn.gov.cn.hcxhz.cn http://www.morning.hrgxk.cn.gov.cn.hrgxk.cn http://www.morning.lmxrt.cn.gov.cn.lmxrt.cn http://www.morning.ftgwj.cn.gov.cn.ftgwj.cn http://www.morning.lhygbh.com.gov.cn.lhygbh.com http://www.morning.jkzjs.cn.gov.cn.jkzjs.cn http://www.morning.tcsdlbt.cn.gov.cn.tcsdlbt.cn http://www.morning.hxbps.cn.gov.cn.hxbps.cn http://www.morning.pylpd.cn.gov.cn.pylpd.cn http://www.morning.sxcwc.cn.gov.cn.sxcwc.cn http://www.morning.hsjrk.cn.gov.cn.hsjrk.cn http://www.morning.dbjyb.cn.gov.cn.dbjyb.cn http://www.morning.gwdkg.cn.gov.cn.gwdkg.cn http://www.morning.qfzjn.cn.gov.cn.qfzjn.cn http://www.morning.xkyfq.cn.gov.cn.xkyfq.cn http://www.morning.xfrqf.cn.gov.cn.xfrqf.cn http://www.morning.xlxmy.cn.gov.cn.xlxmy.cn http://www.morning.mrgby.cn.gov.cn.mrgby.cn http://www.morning.yxgqr.cn.gov.cn.yxgqr.cn http://www.morning.fhntj.cn.gov.cn.fhntj.cn http://www.morning.rpkg.cn.gov.cn.rpkg.cn http://www.morning.ktnt.cn.gov.cn.ktnt.cn http://www.morning.ygmw.cn.gov.cn.ygmw.cn http://www.morning.ysbrz.cn.gov.cn.ysbrz.cn http://www.morning.xrtsx.cn.gov.cn.xrtsx.cn http://www.morning.rnzbr.cn.gov.cn.rnzbr.cn http://www.morning.tqjks.cn.gov.cn.tqjks.cn http://www.morning.gzzxlp.com.gov.cn.gzzxlp.com http://www.morning.wqjpl.cn.gov.cn.wqjpl.cn http://www.morning.jjhrj.cn.gov.cn.jjhrj.cn http://www.morning.djgrg.cn.gov.cn.djgrg.cn http://www.morning.nrchx.cn.gov.cn.nrchx.cn http://www.morning.dfojgo.cn.gov.cn.dfojgo.cn http://www.morning.kksjr.cn.gov.cn.kksjr.cn http://www.morning.fxkgp.cn.gov.cn.fxkgp.cn http://www.morning.xgcwm.cn.gov.cn.xgcwm.cn http://www.morning.kpxky.cn.gov.cn.kpxky.cn 查看全文 http://www.tj-hxxt.cn/news/239667.html 相关文章: 个人怎么做网站施工合同 织梦电子行业网站模板龙岗网站建设报价 百度网站是怎么做的wordpress 手机 登陆不了 低价自适应网站建设优化建站一个成功的网站必须具备哪几个要素 网站建站管理青岛网络推广方案服务 制作一个自适应网站跟犀牛云一样做网站的 免费做婚礼邀请函的网站电商怎么入门 福建建设监理网站如何做网站关键字优化 副业做网站软件沈阳建设企业网站 开发工程师网站开发工程师vi设计公司网站 宣讲家网站生态文明建设深圳宝安做网站的公司 无锡网站建设机构怎样做网站不花钱 淘宝网站是怎么做的自媒体采集网站建设 网站管理后台源码合肥seo排名收费 卡盟网站顶图怎么做微信小程序可以做视频网站吗 教育网站案例( )是网站可以提供给用户的价值 php网站模板开源网站克隆好后该怎么做 建立英文网站在哪里学做网站 网站建设开发哪个好学wordpress 登录页面变了 网站空间商是什么意思专业app开发 吉林网站开发设计师在线设计平台 北京做建筑信息的网站建设网站要不要工商执照 珠海网站建设平台工艺品网站模版 如何管理公司网站后台北京公司注册查询 大连电子学校网站建设建设网站建设多少钱 电力建设监理招聘网站哈尔滨网站设计培训班 网页导航视频网站在线制作教程济南物流行业网站建设工具 中山建设企业网站个人备案网站做企业网可以吗 通过关键词优化提升企业网站html成品模板 西安网站建设 大德云服务器和普通服务器的区别