noteAndViewpoint.vue 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template>
  2. <view class="container note-and-viewpoint">
  3. <view class="content-item">
  4. <view class="author-name">
  5. <view class="img-box">
  6. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/T2ddwIIaULVdkGM6gVMuNxBSft8Y.png"></image>
  7. </view>
  8. <text style="margin-left: 10rpx">作者昵称作者昵称</text>
  9. </view>
  10. <view class="type-time">
  11. <view class="type"> 笔 记</view>
  12. <view class="time"> 2023.08.24 13:13:13</view>
  13. </view>
  14. <view class="title-item"> 标题标题标题标题标题标题标题标题标题标题标题标题</view>
  15. <view class="text-conten">
  16. 有专栏详情页面,内容详情页面,暂时都不设置行业权限。专栏详情页未登录也可查看,收藏操作需先登录
  17. 内容详情页面也需要登录后才查看,登录也可查看,收藏操作需先登录,内容详情页面也需要登录后才查专栏介绍:有专栏详情页面,内容详情页面,暂时都不设置行业权限。专栏详情页未登录也可查看,收藏操作需先登录,
  18. </view>
  19. <view class="file-item"> 文档名称.docx </view>
  20. <view class="image-conten">
  21. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/Maskgroupbg.png" @click="previewImageMediahandler"></image>
  22. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/Maskgroupbg.png"></image>
  23. </view>
  24. <view class="lable-conten">
  25. <text>石头科技</text>
  26. <text>公司调研电话会</text>
  27. </view>
  28. <view class="collect-conten">
  29. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/collect_icon.png"></image>
  30. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/collect_act.png"></image> 88
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {};
  39. },
  40. methods: {
  41. previewImageMediahandler() {
  42. uni.previewImage({
  43. urls: ["https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/Maskgroupbg.png"], //查看图片的数组
  44. });
  45. },
  46. },
  47. };
  48. </script>
  49. <style lang="scss" scope>
  50. .note-and-viewpoint {
  51. padding: 30rpx;
  52. background: #f3f5f9;
  53. .content-item {
  54. padding: 40rpx;
  55. background-color: #fff;
  56. .type-time {
  57. display: flex;
  58. align-items: center;
  59. justify-content: space-between;
  60. color: #666666;
  61. .type {
  62. width: 110rpx;
  63. height: 42rpx;
  64. line-height: 42rpx;
  65. text-align: center;
  66. border-radius: 38rpx;
  67. color: #928563;
  68. background-color: #fff6de;
  69. font-weight: 500;
  70. }
  71. }
  72. .title-item {
  73. margin: 10rpx 0 20rpx;
  74. color: #333;
  75. font-size: 32rpx;
  76. font-weight: 500;
  77. line-height: 46rpx;
  78. }
  79. .file-item {
  80. width: 100%;
  81. height: 42rpx;
  82. margin: 20rpx 0;
  83. display: flex;
  84. align-items: center;
  85. background-color: #f8f8fa;
  86. color: #376cbb;
  87. }
  88. .image-conten {
  89. display: flex;
  90. flex-wrap: wrap;
  91. image {
  92. width: 144rpx;
  93. height: 144rpx;
  94. margin-right: 20rpx;
  95. }
  96. }
  97. .lable-conten {
  98. display: flex;
  99. margin: 20rpx 0;
  100. font-size: 24rpx;
  101. text {
  102. height: 34rpx;
  103. border-radius: 44rpx;
  104. padding: 3rpx 35rpx 3rpx 35rpx;
  105. background-color: #f0f1f3;
  106. margin-right: 20rpx;
  107. }
  108. }
  109. .collect-conten {
  110. display: flex;
  111. justify-content: flex-end;
  112. align-items: center;
  113. color: #666666;
  114. image {
  115. width: 27rpx;
  116. height: 26rpx;
  117. margin-right: 8rpx;
  118. }
  119. }
  120. .author-name {
  121. display: flex;
  122. align-items: center;
  123. margin-bottom: 50rpx;
  124. .img-box {
  125. width: 48rpx;
  126. height: 48rpx;
  127. overflow: hidden;
  128. font-size: 28rpx;
  129. color: #333;
  130. image {
  131. width: 100%;
  132. height: 100%;
  133. }
  134. }
  135. }
  136. }
  137. }
  138. </style>