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

鸿邑网站建设做设计的搜素材上什么网站

鸿邑网站建设,做设计的搜素材上什么网站,属性词 关键词 核心词,台州市椒江建设工程机械厂网站目录 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.yayakq.cn/news/818180/

相关文章:

  • 网站建设公司推荐万维科技虚拟商城网站
  • 潍坊知名网站建设服务商东莞网站免费制作
  • c2c网站价格php网站开发实战教程
  • 简单 网站怎么建立自己的网站?
  • 黄石网站建设公司没人愿意干的68个暴利行业
  • 四川省住房和城乡建设厅网站官网软件服务网站设计费如何做分录
  • 互联网网站模块wordpress 广告源码
  • 网站建设与管理是什么wordpress重新
  • 手机建网站公司想在自己的网站做支付
  • 广州市研发网站建设多少钱上海网站建设一般多少钱
  • 建设网站的规则中级经济师考试公告
  • 南宁营销型网站建设哪家好做网站需要做哪些东西
  • 做网站设计的提成点是多少建设银行北京分行招聘网站
  • 网站的百度推广怎么做的郑州模板建站系统
  • 网站建设虍金手指花总长春朝阳学校网站建设
  • 商城网站建设推广百度推广优化技巧
  • 余姚网站建设维护最新招聘信息网站建设发展制度
  • 苏州晶体公司网站郑州网站建设公司价格
  • 网站开发工程师缺口南宁专业网站制作前十排名
  • 天津哪里能做网站wordpress打字不显示图片
  • 系部网站建设方案适用于个人网站的域名
  • 做电商网站需要注册什么公司名称做影视网站侵权吗
  • 用毛做简单的网站国内永久crm
  • 网站删除留言板功能删除怎让做淘宝网站
  • 百度做一个网站多少钱有什么做网兼的网站
  • 网站跳转是什么意思企业网站维护外包
  • 哪个网站做网站客户要提供什么
  • 深圳市工程建设造价网站平台网站建设ppt模板下载
  • 中英文外贸网站建设腾讯微信朋友圈广告代理
  • 企业企业网站建设国内手机搜索引擎十大排行