You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
538 B
35 lines
538 B
1 year ago
|
<template>
|
||
|
<view :class="['vol-'+type]">
|
||
|
<slot></slot>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
props: {
|
||
|
type: {
|
||
|
type: String,
|
||
|
default: "primary"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="less" scoped>
|
||
|
.vol-primary {
|
||
|
box-shadow: 1px 1px 9px #efefef;
|
||
|
border: 1px solid #ddf0fb;
|
||
|
background-color: #eef9ff;
|
||
|
position: relative;
|
||
|
border-radius: 4px;
|
||
|
line-height: 26rpx;
|
||
|
font-size: 26rpx;
|
||
|
color: #404b50;
|
||
|
letter-spacing: 1px;
|
||
|
line-height:1.9;
|
||
|
padding: 10rpx 16rpx;
|
||
|
// margin: 16rpx 20rpx;
|
||
|
}
|
||
|
</style>
|