dongtai.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <template>
  2. <view class="box">
  3. <u-navbar title="动态" :placeholder="true" bgColor="rgba(255,255,255,0)" :leftIconSize="0" titleStyle="font-weight:bold;color:#000000"></u-navbar>
  4. <view style="width: 90%; margin: auto">
  5. <u-swiper
  6. :list="swiperList"
  7. imgMode="aspectFill"
  8. :height="160"
  9. :indicator="true"
  10. radius="0"
  11. :autoplay="true"
  12. :circular="true"
  13. indicatorStyle="bottom: 10px"
  14. indicatorMode="dot"
  15. indicatorActiveColor="#fff"
  16. indicatorInactiveColor="rgba(255, 255, 255, 0.35)"
  17. ></u-swiper>
  18. </view>
  19. <view class="map_tit" style="margin-left: 96rpx">
  20. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  21. <view class="">巡查动态</view>
  22. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  23. </view>
  24. <view class="sh_rw">
  25. <view class="item_rw">
  26. <view>巡查文章</view>
  27. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  28. </view>
  29. <view class="item_rw">
  30. <view>巡查视频</view>
  31. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  32. </view>
  33. </view>
  34. <view class="gg_box">
  35. <view class="gg_item" v-for="item in 2" :key="item">
  36. <view class="" style="display: flex; align-items: center">
  37. <image
  38. src="https://feicheng.16fw.cn:1443/uploads/20230425/suo34008e6935b8f2e920d95d58f8039a71.jpg"
  39. style="margin-right: 30rpx; width: 128rpx; height: 128rpx"
  40. ></image>
  41. <view class="">
  42. <view>
  43. <view class="rw_tit1">巡查文章标题</view>
  44. <view class="rw_tit2">巡查内容</view>
  45. </view>
  46. </view>
  47. </view>
  48. <view>
  49. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  50. </view>
  51. </view>
  52. </view>
  53. <!-- 投稿动态 -->
  54. <view class="map_tit" style="margin-left: 96rpx">
  55. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  56. <view class="">投稿动态</view>
  57. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  58. </view>
  59. <view class="sh_rw">
  60. <view class="item_rw">
  61. <view>投稿文章</view>
  62. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  63. </view>
  64. <view class="item_rw">
  65. <view>投稿视频</view>
  66. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  67. </view>
  68. </view>
  69. <view class="gg_box">
  70. <view class="gg_item" v-for="item in 2" :key="item">
  71. <view class="" style="display: flex; align-items: center">
  72. <image
  73. src="https://feicheng.16fw.cn:1443/uploads/20230425/suo34008e6935b8f2e920d95d58f8039a71.jpg"
  74. style="margin-right: 30rpx; width: 128rpx; height: 128rpx"
  75. ></image>
  76. <view class="">
  77. <view>
  78. <view class="rw_tit1">投稿文章标题</view>
  79. <view class="rw_tit2">投稿内容</view>
  80. </view>
  81. </view>
  82. </view>
  83. <view>
  84. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  85. </view>
  86. </view>
  87. </view>
  88. <!-- 综合动态 -->
  89. <view class="map_tit" style="margin-left: 96rpx">
  90. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  91. <view class="">综合动态</view>
  92. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  93. </view>
  94. <view class="gg_box">
  95. <view class="gg_item" v-for="item in 2" :key="item">
  96. <view class="" style="display: flex; align-items: center">
  97. <image
  98. src="https://feicheng.16fw.cn:1443/uploads/20230425/suo34008e6935b8f2e920d95d58f8039a71.jpg"
  99. style="margin-right: 30rpx; width: 128rpx; height: 128rpx"
  100. ></image>
  101. <view class="">
  102. <view>
  103. <view class="rw_tit1">巡查文章标题</view>
  104. <view class="rw_tit2">巡查内容</view>
  105. </view>
  106. </view>
  107. </view>
  108. <view>
  109. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. </template>
  115. <script>
  116. let that;
  117. export default {
  118. components: {},
  119. data() {
  120. return {
  121. swiperList: ['https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/dt_lb1.jpg']
  122. };
  123. },
  124. onLoad(option) {
  125. that = this;
  126. },
  127. methods: {}
  128. };
  129. </script>
  130. <style>
  131. .box {
  132. height: auto;
  133. width: 100%;
  134. padding-bottom: 50rpx;
  135. background-image: url('https://huli-app.wenlvti.net/app_static/minnanhun/image/sh_bg.png');
  136. background-repeat: repeat-y;
  137. background-size: cover;
  138. }
  139. /deep/.u-swiper-indicator__wrapper__dot--active {
  140. width: 5px !important;
  141. }
  142. .map_tit {
  143. display: flex;
  144. align-items: center;
  145. margin-left: 50rpx;
  146. margin-top: 40rpx;
  147. font-size: 40rpx;
  148. font-family: Songti SC, Songti SC;
  149. font-weight: 900;
  150. line-height: 52rpx;
  151. color: #444444;
  152. }
  153. .gg_box {
  154. width: 670rpx;
  155. margin: auto;
  156. margin-top: 20rpx;
  157. padding: 20rpx;
  158. border: 2rpx solid #ebc9a9;
  159. }
  160. .gg_item {
  161. display: flex;
  162. align-items: center;
  163. justify-content: space-between;
  164. margin-top: 25rpx;
  165. width: 630rpx;
  166. }
  167. .rw_tit1 {
  168. font-size: 28rpx;
  169. color: #444444;
  170. line-height: 44rpx;
  171. }
  172. .rw_tit2 {
  173. font-size: 24rpx;
  174. color: rgba(68, 68, 68, 0.4);
  175. line-height: 40rpx;
  176. }
  177. .sh_rw {
  178. width: 60%;
  179. margin: auto;
  180. margin-top: 24rpx;
  181. justify-content: space-evenly;
  182. display: flex;
  183. align-items: center;
  184. }
  185. .item_rw {
  186. width: 176rpx;
  187. height: 56rpx;
  188. align-items: center;
  189. text-align: center;
  190. display: flex;
  191. justify-content: center;
  192. border: 2rpx #eba869 solid;
  193. }
  194. </style>