![](https://img.kancloud.cn/c3/74/c37415aa58e02c0a89161078803f26ea_375x565.png)
```
globalData:{
ColorList: \[{
title:'嫣红',
name:'red',
color:'#e54d42'
},
{
title:'桔橙',
name:'orange',
color:'#f37b1d'
},
{
title:'明黄',
name:'yellow',
color:'#fbbd08'
},
{
title:'橄榄',
name:'olive',
color:'#8dc63f'
},
{
title:'森绿',
name:'green',
color:'#39b54a'
},
{
title:'天青',
name:'cyan',
color:'#1cbbb4'
},
{
title:'海蓝',
name:'blue',
color:'#0081ff'
},
{
title:'姹紫',
name:'purple',
color:'#6739b6'
},
{
title:'木槿',
name:'mauve',
color:'#9c26b0'
},
{
title:'桃粉',
name:'pink',
color:'#e03997'
},
{
title:'棕褐',
name:'brown',
color:'#a5673f'
},
{
title:'玄灰',
name:'grey',
color:'#8799a3'
},
{
title:'草灰',
name:'gray',
color:'#aaaaaa'
},
{
title:'墨黑',
name:'black',
color:'#333333'
},
{
title:'雅白',
name:'white',
color:'#ffffff'
},
\]
}
```
![](https://img.kancloud.cn/2a/72/2a72c8a27f6829aa531c20df4561067e_367x382.png)
```
<view class="cu-bar bg-white solid-bottom margin-top">
<view class="action">
<text class="cuIcon-title text-blue"></text>渐变背景
</view>
</view>
<view class="grid col-2 padding-sm">
<view class="padding-sm">
<view class="bg-gradual-red padding radius text-center shadow-blur">
<view class="text-lg">魅红</view>
<view class="margin-top-sm text-Abc">#f43f3b - #ec008c</view>
</view>
</view>
<view class="padding-sm">
<view class="bg-gradual-orange padding radius text-center shadow-blur">
<view class="text-lg">鎏金</view>
<view class="margin-top-sm text-Abc">#ff9700 - #ed1c24</view>
</view>
</view>
<view class="padding-sm">
<view class="bg-gradual-green padding radius text-center shadow-blur">
<view class="text-lg">翠柳</view>
<view class="margin-top-sm text-Abc">#39b54a - #8dc63f</view>
</view>
</view>
<view class="padding-sm">
<view class="bg-gradual-blue padding radius text-center shadow-blur">
<view class="text-lg">靛青</view>
<view class="margin-top-sm text-Abc">#0081ff - #1cbbb4</view>
</view>
</view>
<view class="padding-sm">
<view class="bg-gradual-purple padding radius text-center shadow-blur">
<view class="text-lg">惑紫</view>
<view class="margin-top-sm text-Abc">#9000ff - #5e00ff</view>
</view>
</view>
<view class="padding-sm">
<view class="bg-gradual-pink padding radius text-center shadow-blur">
<view class="text-lg">霞彩</view>
<view class="margin-top-sm text-Abc">#ec008c - #6739b6</view>
</view>
</view>
</view>
```
![](https://img.kancloud.cn/f9/78/f978eb675a1d796697f2d4bc5395ef80_372x272.png)
```
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-title text-blue"></text>图片背景
</view>
</view>
<view class="bg-img bg-mask padding-tb-xl" style="background-image: url('https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg');height: 414rpx;">
<view class="padding-xl text-white">
<view class="padding-xs text-xl">
钢铁之翼
</view>
<view class="padding-xs">
Only the guilty need fear me.
</view>
</view>
</view>
```
```
<!-- <view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-title text-blue"></text>视频背景
</view>
</view>
<view class="bg-video bg-mask flex align-center" style="height: 422rpx;">
<video src="https://yz.lol.qq.com/v1/assets/videos/aatrox-splashvideo.webm" autoplay loop muted show-play-btn="{{false}}" controls="{{false}}" objectFit="cover"></video>
<cover-view class="padding-xl text-white ">
<cover-view class="padding-xs text-xxl text-bold">
暗裔剑魔
</cover-view>
<cover-view class="padding-xs">
我必须连同希望一起毁坏……
</cover-view>
</cover-view>
</view> -->
```
![](https://img.kancloud.cn/9a/2c/9a2c6b6e3dac369f90ee543a9c62325d_383x158.png)
```
<view class="cu-bar bg-white margin-top">
<view class="action">
<text class="cuIcon-title text-blue"></text>透明背景(文字层)
</view>
</view>
<view class="grid col-2">
<view class="bg-img padding-bottom-xl" style="background-image: url('https://ossweb-img.qq.com/images/lol/web201310/skin/big10007.jpg');height: 207rpx;">
<view class="bg-shadeTop padding padding-bottom-xl">
上面开始
</view>
</view>
<view class="bg-img padding-top-xl flex align-end" style="background-image: url('https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg');height: 207rpx;">
<view class="bg-shadeBottom padding padding-top-xl flex-sub">
下面开始
</view>
</view>
</view>
```