提交 a6a3d1f5 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

update: border示例

上级 5436429e
<template> <template>
<view style="flex-grow: 1;"> <view style="flex-grow: 1;">
<view> <view>
<text>border: 5px dotted blue</text> <text>border: 5px dotted blue</text>
<view class="common" style="border: 5px dotted blue;"></view> <view class="common" style="border: 5px dotted blue;"></view>
</view> </view>
</view> <view>
</template> <text>border与background-image同时设置</text>
<view class="common"
<script> style="border-style: solid;border-color: rgba(0, 0, 255, 0.1);background-image: linear-gradient(to right, #00ff00, #00bc79)">
</view>
</script> </view>
</view>
<style> </template>
.common {
width: 250px; <script>
height: 250px;
background-color: gray; </script>
}
</style> <style>
\ No newline at end of file .common {
width: 250px;
height: 250px;
background-color: gray;
}
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册