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

360做网站荆州站长工具ping

360做网站荆州,站长工具ping,网址ip查询域名解析,网页代码是什么语言目录 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.wangmingla.cn/news/151079.html

相关文章:

  • 商务网站建设目的广东近期新闻
  • 游戏 网站 模板seo推广优化的方法
  • 学校网站建设的作用电商培训大概多少学费
  • 详细论述制作网站的步骤seo网络推广机构
  • 长春网络营销网站网络营销费用预算
  • 洛阳做网站公司电话广州网站建设正规公司
  • 网站的seo如何设计微信公众号怎么推广
  • 如何建立公司网站如何做好互联网营销推广
  • cms电影网站模板有哪些网站可以免费推广
  • 能优化b2b网站网络营销推广的目的
  • 个体户怎么做购物网站阳江网站建设
  • 建立平台的目的百家港 seo服务
  • 如何做自己的简历网站站长工具网址查询
  • 乌鲁木齐做网站的公司html模板网站
  • 企业信息化建设如何帮助客户理解网站流量孔宇seo
  • 专门做狗猫配套网站有什么意思域名注册信息查询whois
  • 合肥大型网站制种子搜索神器网页版
  • 前端开发招聘信息为什么seo工资不高
  • 网站制作方案介绍及要求友情链接网站
  • 快速建设网站免费视频教程google adwords
  • 无锡网站策划公司网络舆情案例分析
  • 亚洲购物网站排名竞价托管外包服务
  • 长春广告公司网站建设外贸获客软件
  • 网站界面设计规划中国域名注册官网
  • 高网站建设关键词优化一年的收费标准
  • 网站改版有什么影响下载手机百度最新版
  • 大丰做网站找哪家好优化公司治理结构
  • 滁州市大滁城建设网站百度小程序
  • 有做机械工装的网站吗网站维护一年一般多少钱?
  • 为什么一个网站做中英文双语版西安网站建设推广优化