love.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <template>
  2. <view class="content">
  3. <view class="love">
  4. <image src="../../static/img/love-top.png" mode="widthFix" class="love-top"></image>
  5. </view>
  6. <view class="item-wrapper" style="height: 318rpx;padding: 70rpx 34rpx 0;margin-top: 60rpx;">
  7. <view class="item-tit">
  8. 线上捐款
  9. </view>
  10. <view class="item-info">
  11. 荆州市红十字会现已开通线上捐款通道 ,点击下方按钮可直接进行线上捐款。
  12. </view>
  13. <view class="item-btn flex">
  14. <view class="item-btn-btn" @click="goto()">
  15. 立即捐款
  16. </view>
  17. </view>
  18. </view>
  19. <view class="item-wrapper" style="height: 259rpx;padding:75rpx 34rpx 40rpx 34rpx;">
  20. <view class="item-tit">
  21. 银行转账
  22. </view>
  23. <view class="item-info">
  24. <view class="info-item">
  25. <view class="left-name">
  26. <view class="">
  27. </view>
  28. <view class="">
  29. </view>
  30. <view class="">
  31. </view>
  32. </view>
  33. :荆州市红十字会
  34. </view>
  35. <view class="info-item">
  36. <view class="left-name">
  37. <view class="">
  38. </view>
  39. <view class="">
  40. </view>
  41. <view class="">
  42. </view>
  43. <view class="">
  44. </view>
  45. </view>
  46. :566457531072
  47. </view>
  48. <view class="info-item">
  49. <view class="left-name">
  50. <view class="">
  51. </view>
  52. <view class="">
  53. </view>
  54. <view class="">
  55. </view>
  56. </view>
  57. :中国银行荆州分行营业部
  58. </view>
  59. </view>
  60. </view>
  61. <view class="item-wrapper" style="height: 259rpx;padding:75rpx 34rpx 40rpx 34rpx;margin-bottom: 0;">
  62. <view class="item-tit">
  63. 线下捐物
  64. </view>
  65. <view class="item-info">
  66. <view class="info-item">
  67. <view class="left-name">
  68. <view class="">
  69. </view>
  70. <view class="">
  71. </view>
  72. <view class="">
  73. </view>
  74. </view>
  75. :高楠清
  76. </view>
  77. <view class="info-item">
  78. <view class="left-name">
  79. <view class="">
  80. </view>
  81. <view class="">
  82. </view>
  83. <view class="">
  84. </view>
  85. <view class="">
  86. </view>
  87. </view>
  88. :0716-4163849
  89. </view>
  90. <view class="info-item">
  91. <view class="left-name">
  92. <view class="">
  93. </view>
  94. <view class="">
  95. </view>
  96. </view>
  97. :荆州市沙市区关沮镇青藜路128号
  98. </view>
  99. </view>
  100. </view>
  101. <view class="love">
  102. <image src="../../static/img/love-btm.png" mode="widthFix" class="love-top"></image>
  103. </view>
  104. </view>
  105. </template>
  106. <script>
  107. export default {
  108. data() {
  109. return {
  110. }
  111. },
  112. onLoad() {
  113. },
  114. onShow() {
  115. },
  116. onReachBottom() {
  117. },
  118. onReady() {
  119. },
  120. methods: {
  121. goto() {
  122. uni.navigateTo({
  123. url:'/pages/applic/contribution'
  124. })
  125. }
  126. }
  127. }
  128. </script>
  129. <style lang="scss">
  130. page {
  131. min-height: 100%;
  132. height: auto;
  133. background-color: #f9f2ea;
  134. }
  135. .love {
  136. .love-top {
  137. width: 750rpx;
  138. }
  139. width: 750rpx;
  140. }
  141. .item-wrapper {
  142. width: 636rpx;
  143. margin: 0 auto 76rpx;
  144. border: 1px dashed #C9101B;
  145. background: #fff;
  146. border-radius: 10px;
  147. position: relative;
  148. .item-tit {
  149. border: 1px solid #da0000;
  150. width: 260rpx;
  151. height: 70rpx;
  152. background: #fff;
  153. border-radius: 35rpx;
  154. text-align: center;
  155. line-height: 70rpx;
  156. font-size: 34rpx;
  157. font-weight: bold;
  158. color: #da0000;
  159. position: absolute;
  160. top: -28rpx;
  161. left: 0;
  162. right: 0;
  163. margin: auto;
  164. box-shadow: 7rpx 5rpx 5rpx #c9c6cd;
  165. }
  166. .item-info {
  167. font-size: 32rpx;
  168. font-family: PingFang SC;
  169. font-weight: 500;
  170. color: #ed4530;
  171. line-height: 49rpx;
  172. // background: linear-gradient(0deg, #C9101B 0%, #F24D33 99.267578125%);
  173. // -webkit-background-clip: text;
  174. // -webkit-text-fill-color: transparent;
  175. width: 100%;
  176. .info-item {
  177. display: flex;
  178. .left-name {
  179. width: 130rpx;
  180. // display: inline-block;
  181. display: flex;
  182. justify-content: space-between;
  183. }
  184. }
  185. }
  186. .item-btn {
  187. justify-content: center;
  188. align-items: center;
  189. height: 72rpx;
  190. position: absolute;
  191. bottom: 50rpx;
  192. width: 568rpx;
  193. .xcb {
  194. width: 80rpx;
  195. height: 50rpx;
  196. }
  197. .item-btn-btn {
  198. width: 412rpx;
  199. height: 72rpx;
  200. margin: 0 10rpx;
  201. background: #d70000;
  202. border-radius: 20rpx;
  203. line-height: 72rpx;
  204. text-align: center;
  205. font-size: 34rpx;
  206. font-family: PingFang SC;
  207. font-weight: 500;
  208. color: #FFFFFF;
  209. }
  210. }
  211. .tab-wrap {
  212. padding: 53rpx 40rpx 28rpx 33rpx;
  213. height: 410rpx;
  214. .tab-item {
  215. line-height: 45rpx;
  216. height: 45rpx;
  217. align-items: center;
  218. justify-content: space-between;
  219. font-size: 30rpx;
  220. font-family: PingFang SC;
  221. font-weight: bold;
  222. color: #ed4530;
  223. // background: linear-gradient(0deg, #C9101B 0%, #F24D33 99.267578125%);
  224. // -webkit-background-clip: text;
  225. // -webkit-text-fill-color: transparent;
  226. }
  227. }
  228. }
  229. </style>