circle-info.vue 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. <template>
  2. <view class="circle-info-box iPhone-bottom flex-common-css box-border-box bgc-f">
  3. <view class="nav-box bgc-f">
  4. <Nav :leftShow='false' :customNav='true' bgckgroundBox='transparent'>
  5. <template>
  6. <view slot="custom" class="display-flex">
  7. <image class="nav-img" @click="toBack()" src="@/static/img/takeout/bg-back.png" mode="scaleToFill"></image>
  8. <view class="info-nav display-flex">
  9. <image src="@/static/img/my/lqzx-bg.png" mode=""></image>
  10. <view class="">
  11. <view class="fs-32 fw-600 w348 text-overflow-ellipsis-one">最佳损友最佳损友最佳最佳损友最佳损友最佳</view>
  12. <view class="fs-24 fc-9 fw-400">2021-04-18 15:53</view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. </Nav>
  18. </view>
  19. <scroll-view scroll-y="true" class="scroll-view-css">
  20. <view>
  21. <view class="box-border-box mb-50">
  22. <swiper class="swiper mb-32 " circular indicator-dots indicator-active-color="#4FB3EF" :autoplay="true" :interval="3000" :duration="500">
  23. <swiper-item v-for="(item,i) in 3" :key="i">
  24. <image class="swiper-item" src="@/static/img/buy/group-bg.png" mode="scaleToFill"></image>
  25. </swiper-item>
  26. </swiper>
  27. </view>
  28. <view class="box-border-box bz-box bgc-f b-b-F9F9F9">
  29. <view class="fs-30 fw-600 mb-32">我是阳光大男孩</view>
  30. <view class="card-4 flex-wrap-wrap">
  31. <view class="">重庆工商职业学校</view>
  32. <view class="">买卖闲置</view>
  33. <view class="">买卖闲置</view>
  34. <view class="">买卖闲置</view>
  35. <view class="">买卖闲置</view>
  36. <view class="">买卖闲置</view>
  37. <view class="">买卖闲置</view>
  38. <view class="">买卖闲置</view>
  39. <view class="">买卖闲置</view>
  40. </view>
  41. </view>
  42. <view class="pop-box pop-msg box-border-box p-24">
  43. <view class=" box-border-box plr-24">
  44. <view class="list-box flex-justify-space" v-for="(item,i) in 10" :key="i">
  45. <image class="list-box-img" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
  46. <view class="flex-1">
  47. <view class=" flex-justify-space">
  48. <view class="p-b-20 b-b-F9F9F9 mr-20">
  49. <view class="fs-28 fw-400 fc-9 mb-8">
  50. 最佳损友最佳损友 <span class='only-box text-align-center fs-24 fc-41ABF5 ml-10'>作者</span>
  51. </view>
  52. <view class="fs-30 fw-400 mb-8" @click="openInput()">
  53. 回关一下啊,这么近这么近这么近这么近这么近这么近
  54. </view>
  55. <view class="flex-wrap-wrap mb-8">
  56. <image class="msg-img" v-for="(item,i) in 4" :key="i" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
  57. </view>
  58. <view class="fs-24 fw-400 fc-9 mb-8">2021-04-17 15:53</view>
  59. </view>
  60. <view class="display-flex">
  61. <uni-icons type="hand-up" size="20" color="#999"></uni-icons>
  62. <view class="fs-24 fw-400 fc-9 mt-5">11</view>
  63. </view>
  64. </view>
  65. <view class="list-box flex-justify-space" v-for="(info,index) in 5" :key="index">
  66. <image class="list-box-img" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
  67. <view class="flex-1">
  68. <view class=" flex-justify-space">
  69. <view class="p-b-20 b-b-F9F9F9 mr-20">
  70. <view class="fs-28 fw-400 fc-9 mb-8">
  71. 最佳损友最佳损友 <span class='only-box text-align-center fs-24 fc-41ABF5 ml-10'>作者</span>
  72. </view>
  73. <view class="fs-30 fw-400 mb-8" @click="openInput()">
  74. 回关一下啊,这么近这么近这么近这么近这么近这么近
  75. </view>
  76. <view class="flex-wrap-wrap mb-8">
  77. <image class="msg-img-1 msg-img" v-for="(item,i) in 4" :key="i" src="@/static/img/my/bg.png" mode="scaleToFill"></image>
  78. </view>
  79. <view class="fs-24 fw-400 fc-9 mb-8">2021-04-17 15:53</view>
  80. </view>
  81. <view class="display-flex">
  82. <uni-icons type="hand-up" size="20" color="#999"></uni-icons>
  83. <view class="fs-24 fw-400 fc-9 mt-5">11</view>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </scroll-view>
  94. <view class="card-5 flex-justify-space box-border-box">
  95. <view class="align-items-center">
  96. <image src="@/static/img/school/fx.png" mode=""></image>
  97. <view class="fs-24 fc-9">分享</view>
  98. </view>
  99. <view class="align-items-center" @click.stop="handUp()">
  100. <uni-icons type="hand-up" size="22" color="#999"></uni-icons>
  101. <view class="fs-24 fc-9">12</view>
  102. </view>
  103. <view class="align-items-center" @click.stop="openInput()">
  104. <image src="@/static/img/school/info.png" mode=""></image>
  105. <view class="fs-24 fc-9">6</view>
  106. </view>
  107. </view>
  108. <uni-popup ref="popup" type="bottom">
  109. <view class="pop-input">
  110. <view class="head-pop flex-justify-space align-items-center mb-24 box-border-box p-24">
  111. <uni-icons @click="closeInput()" type="closeempty" size="24"></uni-icons>
  112. <view class="fs-36 fc-0 fw-600">评论</view>
  113. <view class="fs-28 fw-600 fc-41ABF5" @click="save()">确定</view>
  114. </view>
  115. <view class="scroll-view-css">
  116. <view class="bgc-f box-border-box p-32">
  117. <view class="fs-34 fw-600 mb-20">评论</view>
  118. <textarea class=" fs-24" placeholder='友善评论,文明发言'></textarea>
  119. </view>
  120. <view class="">
  121. <EnUpload></EnUpload>
  122. </view>
  123. </view>
  124. </view>
  125. </uni-popup>
  126. </view>
  127. </template>
  128. <script>
  129. import EnUpload from '@/components/en-from/en-upload/en-upload.vue';
  130. import tools from "@/service/tools";
  131. export default {
  132. components:{EnUpload},
  133. data(){
  134. return{
  135. id:0,
  136. }
  137. },
  138. methods:{
  139. toBack(){
  140. tools.leftClick()
  141. },
  142. openInput(){
  143. this.$refs.popup.open();
  144. },
  145. closeInput(){
  146. this.$refs.popup.close();
  147. },
  148. handUp(){
  149. },
  150. save(){
  151. this.closeInput()
  152. },
  153. },
  154. }
  155. </script>
  156. <style scoped lang="scss">
  157. .circle-info-box{
  158. .card-5{
  159. padding: 50rpx;
  160. image{
  161. width: 40rpx;
  162. height: 40rpx;
  163. margin-right: 8rpx;
  164. }
  165. }
  166. .w348{
  167. width: 348rpx;
  168. }
  169. .nav-box{
  170. padding-bottom: 10rpx;
  171. .nav-img{
  172. width: 56rpx;
  173. height: 56rpx;
  174. margin-right: 30rpx;
  175. }
  176. .info-nav{
  177. image{
  178. width: 64rpx;
  179. height: 64rpx;
  180. border-radius: 50%;
  181. margin-right: 20rpx;
  182. }
  183. }
  184. }
  185. .swiper{
  186. width: 100%rpx;
  187. height: 920rpx;
  188. .swiper-item{
  189. width: 100%;
  190. height: 920rpx;
  191. background-color: skyblue;
  192. }
  193. }
  194. .bz-box{
  195. padding: 0 32rpx 20rpx 32rpx;
  196. .card-4{
  197. view{
  198. padding: 4rpx 16rpx;
  199. background: #F2F2F2;
  200. border-radius: 200rpx;
  201. font-size: 24rpx;
  202. color: #999;
  203. margin-right: 20rpx;
  204. margin-bottom: 10rpx;
  205. }
  206. }
  207. }
  208. .pop-input{
  209. width: 100%;
  210. height: 70vh;
  211. background-color: #fff;
  212. bottom: 0;
  213. left: 0;
  214. border-top: 1rpx solid #ccc;
  215. border-radius: 20rpx 20rpx 0 0;
  216. display: flex;
  217. flex-direction: column;
  218. }
  219. .pop-box{
  220. width: 100%;
  221. height: 50vh;
  222. background-color: #fff;
  223. border-radius: 24rpx 24rpx 0rpx 0rpx;
  224. display: flex;
  225. flex-direction: column;
  226. .item-box{
  227. width: 100%;
  228. height: 92rpx;
  229. border-radius: 200rpx;
  230. line-height: 92rpx;
  231. text-align: center;
  232. margin-bottom: 24rpx;
  233. }
  234. }
  235. .pop-msg{
  236. height: 70vh;
  237. .head-pop{
  238. padding-bottom: 34rpx !important;
  239. border-bottom: 1rpx solid #F2F2F2;
  240. }
  241. .list-box{
  242. .list-box-img{
  243. width: 80rpx;
  244. height: 80rpx;
  245. border-radius: 50%;
  246. margin-right: 16rpx;
  247. }
  248. .only-box{
  249. padding: 4rpx 16rpx;
  250. background: rgba(65,171,245,0.1);
  251. border-radius: 8rpx 8rpx 8rpx 8rpx;
  252. }
  253. .msg-img{
  254. width: 144rpx;
  255. height: 144rpx;
  256. border-radius: 12rpx;
  257. margin-right:5rpx;
  258. margin-bottom: 5rpx;
  259. }
  260. .msg-img:nth-child(3n){
  261. margin-right: 0rpx;
  262. }
  263. .msg-img-1{
  264. width: 100rpx !important;
  265. height: 100rpx !important;
  266. }
  267. }
  268. }
  269. }
  270. </style>