gengDuoChengGuo.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <template>
  2. <view class="box">
  3. <u-navbar :autoBack="true" title="成果展示" bgColor="rgba(255,255,255,0)" :placeholder="true" titleStyle="font-weight:bold;color:#000000"></u-navbar>
  4. <view @click="$common.navigateTo('/index_fenbao/HuoHuaLiYong/chanPin/chengGuo?id=' + item.id)" v-for="item in achievement" :key="item.id" class="yx_box">
  5. <view style="position: absolute; left: 6rpx; top: 6rpx">
  6. <image style="width: 160rpx; height: 240rpx" :src="item.image"></image>
  7. </view>
  8. <view style="margin-left: 200rpx">
  9. <view class="wwd">{{ item.title }}</view>
  10. </view>
  11. <view class="baoming">
  12. <text>查看</text>
  13. <image style="margin-left: 10rpx; width: 32rpx; height: 32rpx" src="/static/img/arrow-right-line.png"></image>
  14. </view>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. let that;
  20. export default {
  21. data() {
  22. return {
  23. achievement: []
  24. };
  25. },
  26. onLoad(o) {
  27. that = this;
  28. this.travelPath();
  29. },
  30. methods: {
  31. travelPath() {
  32. this.$api.getContentList({ main_body_id: 1, model_id: 11, main_body_column_id: 84 }, function (res) {
  33. that.achievement = res.data;
  34. console.log(that.achievement, '活化利用成果');
  35. });
  36. }
  37. }
  38. };
  39. </script>
  40. <style>
  41. .box {
  42. width: 100%;
  43. padding-bottom: 50rpx;
  44. background-image: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/xbg_2.png');
  45. background-size: 100% 100%;
  46. background-attachment: fixed;
  47. background-repeat: repeat-y;
  48. height: 100%;
  49. }
  50. .img {
  51. width: 100%;
  52. height: 100%;
  53. }
  54. .xq {
  55. width: 55rpx;
  56. height: 180rpx;
  57. text-align: center;
  58. line-height: 50rpx;
  59. font-size: 30rpx;
  60. margin-left: 50rpx;
  61. margin-top: 80rpx;
  62. color: #ffffff;
  63. background-image: url('/static/img/wc_tit_bg.png');
  64. background-size: 100% 100%;
  65. }
  66. .right_box {
  67. writing-mode: vertical-lr;
  68. writing-mode: tb-lr;
  69. letter-spacing: 6rpx;
  70. }
  71. .tit {
  72. font-size: 28rpx;
  73. font-weight: 600;
  74. background: linear-gradient(180deg, #af7e44 0%, #934b36 100%);
  75. -webkit-background-clip: text;
  76. -webkit-text-fill-color: transparent;
  77. }
  78. .fenge {
  79. width: 2rpx;
  80. height: 200rpx;
  81. background-color: #934b36;
  82. margin-top: 55rpx;
  83. margin-left: 10rpx;
  84. background-image: linear-gradient(to bottom right, #ecd9c3, #934b36);
  85. }
  86. .kc_box {
  87. width: 92%;
  88. margin: auto;
  89. padding: 30upx;
  90. display: flex;
  91. align-items: center;
  92. margin-top: 30rpx;
  93. }
  94. .b-cover {
  95. width: 225rpx;
  96. height: 125rpx;
  97. }
  98. .b-main {
  99. flex: 1;
  100. margin-left: 20upx;
  101. }
  102. .text_23 {
  103. color: #272727;
  104. font-size: 28rpx;
  105. margin-top: 10rpx;
  106. font-weight: 600;
  107. }
  108. .text_25 {
  109. font-size: 26rpx;
  110. color: #727070;
  111. margin-top: 10rpx;
  112. font-weight: 400;
  113. }
  114. .text_23 {
  115. color: #272727;
  116. font-size: 28rpx;
  117. margin-top: 10rpx;
  118. font-weight: 600;
  119. }
  120. .text_25 {
  121. font-size: 26rpx;
  122. color: #727070;
  123. margin-top: 10rpx;
  124. font-weight: 400;
  125. }
  126. .yx_box {
  127. position: relative;
  128. width: 670rpx;
  129. height: 252rpx;
  130. display: flex;
  131. align-items: center;
  132. margin: auto;
  133. margin-top: 34rpx;
  134. background-image: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/hh_item_bg.png');
  135. background-size: 100% 100%;
  136. }
  137. .wwd {
  138. width: 300rpx;
  139. font-size: 36rpx;
  140. font-weight: 400;
  141. color: #444444;
  142. line-height: 52rpx;
  143. }
  144. .time {
  145. font-size: 28rpx;
  146. color: rgba(68, 68, 68, 0.6);
  147. line-height: 44rpx;
  148. margin-top: 12rpx;
  149. }
  150. .baoming {
  151. display: flex;
  152. width: 116rpx;
  153. height: 56rpx;
  154. line-height: 56rpx;
  155. justify-content: center;
  156. align-items: center;
  157. margin-left: 32rpx;
  158. font-size: 28rpx;
  159. color: #eba869;
  160. border: 2rpx solid #eba869;
  161. }
  162. </style>