game-comment.vue 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <template>
  2. <view>
  3. <!-- 自定义导航栏 -->
  4. <uni-nav-bar id="nav-bar" status-bar="true" @clickLeft="showClickEvent('DrawerModalL')"
  5. title="游戏" color="#FFFFFF" fixed="true">
  6. <view slot="left">
  7. <view class=" flex align-center margin-left">
  8. <image class="png-more" src="../../../static/more.png"></image>
  9. </view>
  10. </view>
  11. <view slot="right">
  12. </view>
  13. </uni-nav-bar>
  14. <view class="cu-bar bg-white">
  15. <view class="action " @tap="onBack">
  16. <text class="cuIcon-back text-gray"></text> 返回
  17. </view>
  18. <view class="content text-bold">
  19. 评论详情
  20. </view>
  21. </view>
  22. <view class="cu-card dynamic no-card" >
  23. <view class="cu-item shadow">
  24. <view class="cu-list menu-avatar">
  25. <view class="cu-item">
  26. <view class="cu-avatar round lg" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg);"></view>
  27. <view class="content flex-sub">
  28. <view>凯尔</view>
  29. <view class="text-gray text-sm flex justify-between">
  30. 2019年12月3日
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="text-content">
  36. 折磨生出苦难,苦难又会加剧折磨,凡间这无穷的循环,将有我来终结!
  37. </view>
  38. <view class="grid flex-sub padding-lr col-3 grid-square">
  39. <view class="bg-img" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg);"
  40. v-for="(item,index) in 3" :key="index">
  41. </view>
  42. </view>
  43. <view class="text-gray text-sm text-left padding">
  44. <text class="cuIcon-attentionfill margin-lr-xs"></text> 10
  45. <text class="cuIcon-appreciatefill margin-lr-xs"></text> 20
  46. <text class="cuIcon-messagefill margin-lr-xs"></text> 30
  47. </view>
  48. <view class="cu-list menu-avatar comment solids-top">
  49. <view class="cu-item">
  50. <view class="cu-avatar round" style="background-image:url(https://ossweb-img.qq.com/images/lol/img/champion/Morgana.png);"></view>
  51. <view class="content">
  52. <view class="text-grey">莫甘娜</view>
  53. <view class="text-gray text-content text-df">
  54. 凯尔,你被自己的光芒变的盲目。
  55. </view>
  56. <view class="bg-grey padding-sm radius margin-top-sm text-sm">
  57. <view class="flex">
  58. <view>凯尔:</view>
  59. <view class="flex-sub">妹妹,你在帮他们给黑暗找借口吗?</view>
  60. </view>
  61. </view>
  62. <view class="margin-top-sm flex justify-between">
  63. <view class="text-gray text-df">2018年12月4日</view>
  64. <view>
  65. <text class="cuIcon-appreciatefill text-red"></text>
  66. <text class="cuIcon-messagefill text-gray margin-left-sm"></text>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="cu-item">
  72. <view class="cu-avatar round" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10006.jpg);"></view>
  73. <view class="content">
  74. <view class="text-grey">凯尔</view>
  75. <view class="text-gray text-content text-df">
  76. 妹妹,如果不是为了飞翔,我们要这翅膀有什么用?
  77. </view>
  78. <view class="bg-grey padding-sm radius margin-top-sm text-sm">
  79. <view class="flex">
  80. <view>莫甘娜:</view>
  81. <view class="flex-sub">如果不能立足于大地,要这双脚又有何用?</view>
  82. </view>
  83. </view>
  84. <view class="margin-top-sm flex justify-between">
  85. <view class="text-gray text-df">2018年12月4日</view>
  86. <view>
  87. <text class="cuIcon-appreciate text-gray"></text>
  88. <text class="cuIcon-messagefill text-gray margin-left-sm"></text>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. <sideBar ref="sideBar">
  97. </sideBar>
  98. </view>
  99. </template>
  100. <script>
  101. import uniNavBar from "@/components/uni-nav-bar/uni-nav-bar.vue";
  102. import sideBar from "@/components/side-bar/side-bar.vue";
  103. export default {
  104. components: {
  105. uniNavBar,
  106. sideBar
  107. },
  108. data() {
  109. return {
  110. }
  111. },
  112. methods: {
  113. showClickEvent(){
  114. this.$refs.sideBar.showModal();
  115. },
  116. onBack(){
  117. uni.navigateBack({
  118. delta:1
  119. })
  120. }
  121. }
  122. }
  123. </script>
  124. <style>
  125. </style>