12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <template>
- <view class="box">
- <text>{{ val }}</text>
- <text class="iconfont"></text>
- </view>
- </template>
- <script>
- export default {
- props: {
- val: {
- type: String,
- default: ''
- }
- },
- data() {
- return {
- };
- },
- mounted() {
- }
- }
- </script>
- <style scoped lang="scss">
- .box {
- width: 230rpx;
- height: 58rpx;
- background-color: $bg_02;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20rpx;
- font-size: 24rpx;
- font-weight: normal;
- color: $SizeColor2;
- border-radius: 8rpx;
- .iconfont {
- font-size: 20rpx;
- }
- }
- .box+.box {
- margin-left: 20rpx;
- }
- </style>
|