12345678910111213141516171819202122232425262728293031323334353637 |
- <template>
- <view class="as-layout-horizontal as-gravity-center-start" v-if="!hide">
- <text class="label">{{label}}</text>
- <text class="value">{{value}}</text>
- </view>
- </template>
-
- <script setup lang="ts">
- defineProps({
- label:{
- type:String,
- default:''
- },
-
- value:{
- type:String,
- default:''
- },
- hide:{
- type:Boolean,
- default:false
- }
- })
- </script>
-
- <style lang="scss" scoped>
- .label{
- font-size: 26rpx;
- color: #999999;
- min-width: 112rpx;
- }
- .value{
- font-size: 26rpx;
- color: #333333;
- padding: 0 30rpx
- }
- </style>
|