card_detail.vue 735 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <view class="card-detail">
  3. <view class="detail-top">
  4. <view class="text">
  5. <text class="name">站点名称:</text> 氢予中国
  6. </view>
  7. <view class="text">
  8. <text class="name">联系电话:</text>13203706613
  9. </view>
  10. <view class="text">
  11. <text class="name">吸氢剩余时间:</text>260分钟
  12. </view>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. </script>
  18. <style lang="scss" scoped>
  19. .detail-top{
  20. padding: 30rpx;
  21. margin: 30rpx;
  22. color: #FFFFFF;
  23. border-radius:12rpx;
  24. background-image: linear-gradient(to right,#027675,#3bba91);
  25. .text{
  26. line-height: 50rpx;
  27. font-size: 28rpx;
  28. .name{
  29. display: inline-block;
  30. margin-right: 20rpx;
  31. }
  32. }
  33. }
  34. </style>