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

360做网站荆州seo优化易下拉霸屏

360做网站荆州,seo优化易下拉霸屏,合肥中小企业网站制作,购物网站建设服务目录 1. 动态间距调整1.1 效果演示1.2 代码演示 2. 固定间距2.1 效果演示2.2 代码演示 其他情况 1. 动态间距调整 1.1 效果演示 并行效果 并列效果 1.2 代码演示 <template><div style"margin-bottom: 15px">direction:<el-radio v-model"d…

目录

  • 1. 动态间距调整
    • 1.1 效果演示
    • 1.2 代码演示
  • 2. 固定间距
    • 2.1 效果演示
    • 2.2 代码演示
  • 其他情况


1. 动态间距调整

1.1 效果演示

  • 并行效果
    在这里插入图片描述
  • 并列效果
    在这里插入图片描述

1.2 代码演示

<template><div style="margin-bottom: 15px">direction:<el-radio v-model="direction" value="horizontal">horizontal</el-radio><el-radio v-model="direction" value="vertical">vertical</el-radio></div><div style="margin-bottom: 15px">fillRatio:<el-slider v-model="fillRatio" /></div><el-space fill wrap :fill-ratio="fillRatio" :direction="direction" style="width: 100%">测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" /></el-space></template>
<script setup>
import { ref } from 'vue'const direction = ref('horizontal')
const fillRatio = ref(10)
</script>
<style lang="scss" scoped></style>

2. 固定间距

2.1 效果演示

在这里插入图片描述

2.2 代码演示

其实就是去掉了那个调整标签<el-slider> 等等。

<template> <el-space fill wrap :fill-ratio="fillRatio" :direction="direction" style="width: 100%">测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" /></el-space></template>
<script setup>
import { ref } from 'vue'const direction = ref('horizontal')
const fillRatio = ref(10)		//重点关注这个值:固定参数
</script>
<style lang="scss" scoped></style>

其他情况

有可能因为内容没占满整行而导致,width: 100% 平铺到整行的情况。如下所示:

在这里插入图片描述
解决方案就是:添加<div></div>标签,如:

    <el-space fill wrap :fill-ratio="fillRatio" :direction="direction" style="width: 100%">测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" />测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" /><div>测试输入框间隔距离:<el-input v-model="input" style="width: 240px;margin-right: 100px ;" placeholder="Please input" /></div></el-space>

效果:
在这里插入图片描述
这样就好啦~
需要调整的细节在调整一下就ok~
感谢观看~~!

http://www.zhongyajixie.com/news/55778.html

相关文章:

  • 做团购网站百度指数在线查询前100
  • 网站改标题降权谷歌浏览器手机版免费官方下载
  • 后台更新的内容在网站上不显示百度信息流代运营
  • 盐城网站优化方案新乡百度关键词优化外包
  • 苏宁网站优化与推广百度搜索一下就知道
  • 30岁转行做网站编辑网络优化工程师吃香吗
  • 自己个人网站后台怎么做自己个人怎样做电商
  • 百度做的网站 后台管理怎么进入上海百度
  • 云南做网站找谁义乌百度广告公司
  • 北京营销网站建站公司seo项目分析
  • 织梦网站环境qq营销软件
  • 高端网站开发公司新乡seo优化
  • server2008做DNS与网站百度网站提交入口网址
  • 做网站如何提需求推广app赚佣金平台
  • 收录网站是怎么做的网站seo优化方案策划书
  • 大学生做网站兼职站长工具网站
  • 可以做微网站的第三方平台有哪些网站优化排名操作
  • 外网访问wordpress全站路径设置网站换了域名怎么查
  • 商丘做网站哪家好怎么优化自己公司的网站
  • 潍坊学校网站建设中国疫情今天最新消息
  • 北京网站建设推荐华网天下如何制作一个网站
  • 多多返利网站建设程序seo 优化 工具
  • 做企业网站需要买什么资料什么是百度指数
  • 邯郸企业做网站报价网络营销工具体系
  • 微网站制作方案十大营销模式
  • 如何做网站源码网上接单平台
  • 做衬衫的作业网站手机推广软文
  • win7用本地文件做网站模板产品营销方案
  • 58同城济南网站建设安卓在线视频嗅探app
  • 怎么采集网站内容手机百度一下