msgDetail.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <template>
  2. <view>
  3. <view class="msg-list">
  4. <!-- <view v-for="(item,index) in 2" class="item">
  5. <view class="time">2021-03-02 10:10</view>
  6. <view class="info-box">
  7. <view class="title">系统消息通知</view>
  8. <view class="text">
  9. 如果您在体检中遇到了任何问题,可以随时通过联系客服向我们反馈。
  10. </view>
  11. </view>
  12. </view> -->
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {
  20. }
  21. },
  22. onLoad(option) {
  23. uni.setNavigationBarTitle({
  24. title: option.title
  25. })
  26. },
  27. methods: {
  28. }
  29. }
  30. </script>
  31. <style lang="scss">
  32. .msg-list{
  33. padding: 0 20upx;
  34. .item{
  35. padding-top: 60upx;
  36. .time{
  37. font-size: 24upx;
  38. font-family: PingFang SC;
  39. font-weight: 500;
  40. color: #999999;
  41. line-height: 1;
  42. text-align: center;
  43. }
  44. .info-box{
  45. background: #FFFFFF;
  46. border-radius: 16upx;
  47. margin-top: 30upx;
  48. padding: 40upx 30upx;
  49. .title{
  50. font-size: 32upx;
  51. font-family: PingFang SC;
  52. font-weight: bold;
  53. color: #111111;
  54. line-height: 1;
  55. }
  56. .text{
  57. font-size: 28upx;
  58. font-family: PingFang SC;
  59. font-weight: 500;
  60. color: #333333;
  61. line-height: 42upx;
  62. text-align: left;
  63. margin-top: 22upx;
  64. }
  65. }
  66. }
  67. }
  68. </style>