当前位置: 首页 > 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.15wanjia.com/news/30465.html

相关文章:

  • 数字货币交易网站开发怎么做网站正能量免费推广软件
  • 新疆建设职业学院网站6成都关键词快速排名
  • 汽车大全官网seo关键词优化平台
  • 室内设计网站推荐知乎磁力bt种子搜索
  • 在县城做同城网站怎么样淮北网络推广
  • 网站建设周期湖北网络营销网站
  • 取消网站的通知搜索关键词查询工具
  • .net网站莱阳seo排名
  • 宿州哪家做网站好北京seo怎么优化
  • 网站开发设计实训总结整合营销
  • 做电影网站怎样赚钱吗郑州营销型网站建设
  • 兰州网站建设公司电话快手seo关键词优化
  • 有什么做美食的网站seo人才招聘
  • 阿里云网站建设最后什么样子如何申请域名
  • 有哪些官网做的比较好的网站小说网站排名前十
  • 网站别人做的收到方正侵权淘宝关键词指数
  • 网站建设叫什么软件网络营销论坛
  • 做移动网站快速排短视频入口seo
  • 佛山网站开发公司电话网络推广的概念
  • 网站内做二级目录5118素材网站
  • 大连做网站团队seo网站诊断顾问
  • 景区微网站 建设方案seo经验
  • 电子烟网站建设怎么样把广告做在百度上
  • 网站qq登录 开发业务推广方式有哪些
  • 金坛网站建设公司安康地seo
  • 做网站较好的框架互联网营销师资格证
  • 做商业网站的服务费维护费淘宝店铺推广方式有哪些
  • b2c平台网站简单网页制作成品免费
  • 深圳软件定制开发服务seo云优化平台
  • 句容建设网站营销最好的方法