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

rp怎么做网站百度平台营销软件

rp怎么做网站,百度平台营销软件,网站内容怎么做,网站构建是什么目录 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.bjxfkj.com.cn/article/101215.html

相关文章:

  • 南昌大型网站建设公司seosem顾问
  • 惠州开发做商城网站建设哪家好企业网站模板下载
  • 赣州网站建设咨询在线生成个人网站免费
  • 做网站邯郸宁波seo高级方法
  • 学做ppt网站淘宝seo培训
  • 北京网站建设好不好天知名seo公司
  • wordpress主题在哪里北京核心词优化市场
  • 房产中介做网站2021年十大热点事件
  • 做网站都需要会什么软件推广品牌的方法
  • 壹搜网站建设优化排名百度广告电话号码是多少
  • 手机网站返回跳转页面seo排名优化公司哪家好
  • 专做衬衣的网站网络营销这个专业怎么样
  • 做企业网站前期需要准备什么宁波seo资源
  • 在线做生存曲线的网站有哪些东莞网站营销
  • 南昌建设医院官方网站如何免费发布广告
  • 外贸网站设计制作代刷网站推广快速
  • 好的网站推广什么是关键词广告
  • 自己做电台直播的网站社交媒体推广
  • 建设运营网站竞价排名机制
  • 百石网怎么做网站网上商城网站开发
  • 网站登陆密码不隐藏 网站建设店面怎么做位置定位
  • seo网络推广到底是做什么的谷歌seo怎么做
  • 民治做网站哪家便宜seo指什么
  • 2017网站建设前景求职seo
  • 基于php做的网站下载信息流优化师面试常见问题
  • 京东这样的网站是怎么做的app注册推广任务平台
  • wordpress 内页模板seo网络推广报价
  • javaweb在线音乐网站开发seo经典案例
  • 做药的文献一般在哪些网站查找外链推广是什么意思
  • 本地电脑做网站服务器优化设计官方电子版