contribution.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <view class="content">
  3. <view class="box">
  4. <view class="box">
  5. <view class="box-item">
  6. <view class="box-left">
  7. 捐款意向
  8. </view>
  9. <view class="box-right">
  10. <input type="text" value="" />
  11. </view>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="buttom" :class="{ action: loding }" @click="!loding?join():''">
  16. 提交
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. import {
  22. joinSec
  23. } from '@/api/index.js';
  24. import {
  25. upload
  26. } from '@/api/ask.js';
  27. export default {
  28. data() {
  29. return{}
  30. },
  31. computed: {},
  32. methods: {}
  33. }
  34. </script>
  35. <style lang="scss">
  36. page {
  37. background-color: #f8f8f8
  38. }
  39. .content {
  40. .box{
  41. .box-item{
  42. display: flex;
  43. align-items: center;
  44. border-bottom: 1rpx solid #f2f2f2;
  45. }
  46. }
  47. .buttom {
  48. width: 660rpx;
  49. height: 100rpx;
  50. background: linear-gradient(0deg, #C90F1B, #F14D33);
  51. border-radius: 50rpx;
  52. margin: 50rpx auto;
  53. font-size: 36rpx;
  54. font-weight: 400;
  55. color: #FFFFFF;
  56. line-height: 100rpx;
  57. text-align: center;
  58. &.action {
  59. background: #999999;
  60. }
  61. }
  62. }
  63. </style>