12345678910111213141516171819202122232425262728293031323334353637 |
- <template>
- <view class="list">
- <view>{{descript}}:</view>
- <view>{{value || '-'}}{{unit || ''}}</view>
- </view>
- </template>
- <script>
- export default {
- props:['descript','value','unit'],
- name:'sub-title',
- data() {
- return {
-
- }
- },
- methods: {
-
- }
- }
- </script>
- <style lang="scss" scoped>
- .list {
- width: 100%;
- display: flex;
- height: 100rpx;
- justify-content: space-between;
- font-size: 30rpx;
- view:first-child {
- color: #86909c;
- }
- view:last-child {
- color: #1d2129;
- }
- }
- </style>
|