详情小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

165 lines
3.7 KiB

  1. <template>
  2. <view>
  3. <view class="cu-chat">
  4. <view class="cu-info round lf-m-t-30">此小程序是一个半开放的本地陌生人交友相亲平台请注意文明相亲交友不违公序良俗!</view>
  5. <view class="cu-info round">请谨慎沟通若收到借款投资索要礼物等行为请马上<text style="color: red;">投诉举报</text>谨防诈骗平台求证后会做永久封号处理</view>
  6. <view class="cu-item lf-m-t-40">
  7. <view class="cu-avatar radius">
  8. <image class="lf-w-100 lf-h-100" src="../../static/logo.png" mode="aspectFill" ></image>
  9. </view>
  10. <view class="main">
  11. <view class="content shadow">
  12. <view class="lf-font-32 lf-color-222 lf-p-b-20 lf-w-100 lf-row-center" style="border-bottom: 1rpx solid #F5F5F5;">需要帮你联系吗?</view>
  13. <view class="lf-m-t-30 lf-p-b-30" style="border-bottom: 1rpx solid #F5F5F5;">
  14. <view class="lf-font-28">温馨提示</view>
  15. <view class="lf-font-28">申请对方联系方式将消耗一条红线</view>
  16. </view>
  17. <view class="lf-row-round lf-w-100 lf-p-t-20">
  18. <view class="lf-font-28" style="color: #E21196;">是的</view>
  19. <view class="lf-font-28">不了</view>
  20. </view>
  21. </view>
  22. </view>
  23. <!-- <view class="date "> 13:23</view> -->
  24. </view>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. </script>
  30. <style>
  31. page{
  32. padding-bottom: 100upx;
  33. background-color: #F5F5F5;
  34. }
  35. </style>
  36. <style lang="scss" scoped="scoped">
  37. .cu-chat {
  38. display: flex;
  39. flex-direction: column;
  40. }
  41. .cu-chat .cu-item {
  42. display: flex;
  43. padding: 30upx 30upx 70upx;
  44. position: relative;
  45. }
  46. .cu-chat .cu-item>.cu-avatar {
  47. width: 80upx;
  48. height: 80upx;
  49. border-radius: 50%;
  50. }
  51. .cu-chat .cu-item>.main {
  52. max-width: calc(100% - 200rpx);
  53. margin: 0 40upx;
  54. display: flex;
  55. align-items: center;
  56. }
  57. .cu-chat .cu-item>image {
  58. height: 320upx;
  59. }
  60. .cu-chat .cu-item>.main .content {
  61. padding: 20upx;
  62. border-radius: 6upx;
  63. display: inline-flex;
  64. width: 600rpx;
  65. align-items: center;
  66. font-size: 30upx;
  67. position: relative;
  68. min-height: 80upx;
  69. line-height: 40upx;
  70. text-align: left;
  71. display: flex;
  72. flex-direction: column;
  73. }
  74. .cu-chat .cu-item>.main .content:not([class*="bg-"]) {
  75. background-color: #ffffff;
  76. color: #333333;
  77. }
  78. .cu-chat .cu-item .date {
  79. position: absolute;
  80. font-size: 24upx;
  81. color: #8799a3;
  82. width: calc(100% - 320upx);
  83. bottom: 20upx;
  84. left: 160upx;
  85. }
  86. .cu-chat .cu-item .action {
  87. padding: 0 30upx;
  88. display: flex;
  89. align-items: center;
  90. }
  91. .cu-chat .cu-item>.main .content::after {
  92. content: "";
  93. top: 27upx;
  94. transform: rotate(45deg);
  95. position: absolute;
  96. z-index: 100;
  97. display: inline-block;
  98. overflow: hidden;
  99. width: 24upx;
  100. height: 24upx;
  101. left: -12upx;
  102. right: initial;
  103. background-color: inherit;
  104. }
  105. .cu-chat .cu-item.self>.main .content::after {
  106. left: auto;
  107. right: -12upx;
  108. }
  109. .cu-chat .cu-item>.main .content::before {
  110. content: "";
  111. top: 30upx;
  112. transform: rotate(45deg);
  113. position: absolute;
  114. z-index: -1;
  115. display: inline-block;
  116. overflow: hidden;
  117. width: 24upx;
  118. height: 24upx;
  119. left: -12upx;
  120. right: initial;
  121. background-color: inherit;
  122. filter: blur(5upx);
  123. opacity: 0.3;
  124. }
  125. .cu-chat .cu-item>.main .content:not([class*="bg-"])::before {
  126. background-color: #333333;
  127. opacity: 0.1;
  128. }
  129. .cu-chat .cu-item.self>.main .content::before {
  130. left: auto;
  131. right: -12upx;
  132. }
  133. .cu-chat .cu-item.self {
  134. justify-content: flex-end;
  135. text-align: right;
  136. }
  137. .cu-chat .cu-info {
  138. display: inline-block;
  139. margin: 20upx auto;
  140. font-size: 24upx;
  141. padding: 8upx 12upx;
  142. background-color: rgba(0, 0, 0, 0.2);
  143. border-radius: 6upx;
  144. color: #ffffff;
  145. max-width: 690rpx;
  146. line-height: 1.4;
  147. }
  148. </style>