cooperate.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <template>
  2. <view class="flex-common-css">
  3. <Nav title="商务合作" titleColor="#333" bgckgroundBox='#fff'></Nav>
  4. <scroll-view :scroll-y="true" class="scroll-view-css" @scrolltolower="scrolltolower">
  5. <view class="content-box box-border-box">
  6. <view class="bgc-f p-24 b-rad-20 mb-20 box-sizing-border">
  7. <view class="fs-36 fw-600 fc-3 mb-8">
  8. 请描述你想合作的想法
  9. </view>
  10. <view class="textarea-box">
  11. <textarea placeholder-style="color:#ccc" auto-height maxlength='100' placeholder="请输入" />
  12. </view>
  13. <view class="up-img-box align-items-center flex-wrap-wrap">
  14. <view class="up-img" v-for="(itme, index) in formData.imgList" :key="index">
  15. <image class="img" src="../static/img/my/bg.png" mode=""></image>
  16. <uni-icons @click="deleteImg(index)" class="delete-icons" color="#000" type="clear"
  17. size="20"></uni-icons>
  18. </view>
  19. <view class="add-img-box flex-direction flex-justify-center align-items-center bgc-F6F6F6 bgc-F6F6F6">
  20. <image class="add-img" src="@/static/img/my/sc.png" mode=""></image>
  21. <view class="fs-24 fc-9">
  22. 上传照片
  23. </view>
  24. <view class="fs-24 fc-9">
  25. (最多3张)
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="bgc-f b-rad-20 box-sizing-border phone-box">
  31. <view class="fs-32 fc-3 mb-20">
  32. 联系方式
  33. </view>
  34. </view>
  35. </view>
  36. </scroll-view>
  37. </view>
  38. </template>
  39. <script>
  40. export default {
  41. components: {},
  42. data() {
  43. return {
  44. formData: {
  45. rate: '',
  46. imgList: []
  47. },
  48. };
  49. },
  50. onLoad(data) {},
  51. mounted() {},
  52. methods: {
  53. scrolltolower() {
  54. console.log('触底');
  55. },
  56. },
  57. }
  58. </script>
  59. <style lang="scss" scoped>
  60. .content-box {
  61. padding: 26rpx 24rpx 0;
  62. }
  63. .textarea-box {
  64. width: 100%;
  65. height: 200rpx;
  66. }
  67. .up-img {
  68. width: 152rpx;
  69. height: 152rpx;
  70. margin: 0 0 10rpx 0;
  71. position: relative;
  72. .img {
  73. width: 100%;
  74. height: 100%;
  75. border-radius: 4rpx;
  76. }
  77. .delete-icons {
  78. position: absolute;
  79. right: 0;
  80. top: 0;
  81. }
  82. }
  83. .add-img-box {
  84. width: 152rpx;
  85. height: 152rpx;
  86. border: 1px dashed #ccc;
  87. border-radius: 4rpx;
  88. .add-img {
  89. width: 56rpx;
  90. height: 56rpx;
  91. }
  92. }
  93. .phone-box{
  94. padding: 32rpx 24rpx;
  95. }
  96. </style>