在线可视化设计教你玩转圆角、阴影

简介: 在线可视化设计教你玩转圆角、阴影

你还在为不会写圆角阴影效果吗,DIYGW可视化设计器无需要编写任何一行代码,在线轻松设计导出圆角、阴影代码,无需编写任何一行代码,轻松导出代码。https://www.diygw.com


<template>
  <view class="container">
    <image mode="widthFix" class="response diygw-col-24 image-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image1-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image2-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image3-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image4-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image5-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image6-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image7-clz" src="/static/pic1.jpg"></image>
    <image mode="widthFix" class="response diygw-col-12 image8-clz" src="/static/pic1.jpg"></image>
    <view class="clearfix"></view>
  </view>
</template>
 
<script>
  //create by: 邓志锋 <280160522@qq.com> <http://www.diygw.com>
  export default {
    data() {
      return {};
    },
    onShareAppMessage: function () {},
    onLoad(option) {
      if (option) {
        this.setData({
          globalOption: option
        });
      }
    },
    mounted() {
      this.init();
    },
    methods: {
      async init() {}
    }
  };
</script>
 
<style lang="scss">
  .image-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    overflow: hidden;
    width: calc(100% - 5px - 5px) !important;
    border-top-left-radius: 58px;
    margin-top: 5px;
    border-top-right-radius: 48px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image1-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 58px;
    margin-top: 5px;
    border-top-right-radius: 48px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image2-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 15px;
    margin-top: 5px;
    border-top-right-radius: 48px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image3-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 0px;
    margin-top: 5px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image4-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 0px;
    margin-top: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 36px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image5-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    box-shadow: 0px 8px 8px rgba(252, 24, 24, 0.16);
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 0px;
    margin-top: 5px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image6-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    box-shadow: 0px 8px 8px 1px rgba(53, 166, 5, 0.16);
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 0px;
    margin-top: 5px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image7-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    box-shadow: 2px 2px 8px 3px rgba(53, 166, 5, 0.33);
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 0px;
    margin-top: 5px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .image8-clz {
    margin-left: 5px;
    border-bottom-left-radius: 21px;
    box-shadow: 2px 2px 8px 3px rgba(53, 166, 5, 0.33), 8px 7px 3px rgba(31, 31, 31, 0.16);
    overflow: hidden;
    width: calc(50% - 5px - 5px) !important;
    border-top-left-radius: 0px;
    margin-top: 5px;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 16px;
    margin-bottom: 5px;
    margin-right: 5px;
  }
  .container {
    padding-bottom: 60px;
  }
</style>


目录
相关文章
|
5月前
|
数据可视化 Python
Seaborn中的色彩与风格:如何调整图表外观
【4月更文挑战第17天】Seaborn是Python的数据可视化库,专注于统计图表。它提供了多种色彩主题和样式设置,帮助用户创建美观的专业图表。可以通过`set_theme`或`set`函数应用预设色彩主题,如深色或明亮主题;也可以自定义色彩映射。样式设置涉及图表线条、背景、网格等,可使用`rc`模块或`set_theme`调整。此外,还能单独调整图例、坐标轴样式,并通过`savefig`保存或`show`展示图表。合理运用这些功能能提升图表的视觉传达效果。
|
5月前
|
数据可视化 大数据
【透明版九宫格背景图片】仅依靠background的几个属性组合搭配出酷炫的透明背景卡片效果→适用于大数据可视化、数据大屏展示页面
【透明版九宫格背景图片】仅依靠background的几个属性组合搭配出酷炫的透明背景卡片效果→适用于大数据可视化、数据大屏展示页面
【透明版九宫格背景图片】仅依靠background的几个属性组合搭配出酷炫的透明背景卡片效果→适用于大数据可视化、数据大屏展示页面
|
5月前
|
数据可视化 定位技术 数据格式
Tableau可视化设计案例-07 多边形地图和背景图地图
Tableau可视化设计案例-07 多边形地图和背景图地图
|
12月前
31Echarts - 柱状图(特性示例:渐变色 阴影 点击缩放)
31Echarts - 柱状图(特性示例:渐变色 阴影 点击缩放)
103 0
|
数据可视化 前端开发
漏刻有时数据大屏CSS样式表成长教程(2):九宫格图表背景自适应的解决方案
漏刻有时数据大屏CSS样式表成长教程(2):九宫格图表背景自适应的解决方案
126 1
|
前端开发
妙用滤镜构建高级感拉满的磨砂玻璃渐变背景
妙用滤镜构建高级感拉满的磨砂玻璃渐变背景
224 0
妙用滤镜构建高级感拉满的磨砂玻璃渐变背景
|
定位技术
Echarts实战案例代码(39):地理坐标整体地图背景色渐变效果和字体随地图缩放的解决方案
Echarts实战案例代码(39):地理坐标整体地图背景色渐变效果和字体随地图缩放的解决方案
293 0
|
Web App开发 数据可视化 JavaScript
漏刻有时数据可视化Echarts组件开发(23):世界地图动态时间轴的散点气泡图
漏刻有时数据可视化Echarts组件开发(23):世界地图动态时间轴的散点气泡图
190 0
|
数据可视化 定位技术 数据格式
漏刻有时数据可视化Echarts组件开发(18):渐变透明柱状图和地图map结合的案例
漏刻有时数据可视化Echarts组件开发(18):渐变透明柱状图和地图map结合的案例
158 0
|
前端开发 容器
Echarts实战案例代码(46):带渐变背景颜色的倾斜角度的图表的CSS样式表解决方案
Echarts实战案例代码(46):带渐变背景颜色的倾斜角度的图表的CSS样式表解决方案
122 0