敢为人鲜小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

176 lines
3.5 KiB

5 months ago
5 months ago
5 months ago
5 months ago
  1. <!-- 合伙人页面 -->
  2. <template>
  3. <view class="recruit">
  4. <!-- 导航栏 -->
  5. <navbar title="合伙人" leftClick @leftClick="$utils.navigateBack" bgColor="#E3441A" color="#fff" />
  6. <view class="b-relative" style="width: 710rpx;margin: 20rpx;">
  7. <image src="@/pages_order/static/recruit/bg.png" style="width: 710rpx;height: 310rpx;"></image>
  8. </view>
  9. <view class="item-card">
  10. <view class="item-line">
  11. <view class="before"></view>
  12. <view class="label">合伙人</view>
  13. </view>
  14. <view class="item-line">
  15. <view class="label">您的姓名</view>
  16. <input placeholder="请输入姓名" v-model="partnership.name" />
  17. </view>
  18. <view class="item-line">
  19. <view class="label">联系方式</view>
  20. <input placeholder="请输入联系方式" v-model="partnership.phone" />
  21. </view>
  22. <view class="item-line">
  23. <view class="label">所在地区</view>
  24. <input placeholder="请输入所在地区" v-model="partnership.city" />
  25. </view>
  26. <view class="item-line">
  27. <view class="label">详细地址</view>
  28. <textarea v-model="partnership.detailAddress" placeholder="请输入详细地址"></textarea>
  29. </view>
  30. </view>
  31. <view class="b-fiexd">
  32. <view @click="addOrUpdateMsgTer" class="button-submit">提交</view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. name: "Recruit",
  39. data() {
  40. return {
  41. partnership: {
  42. name: "",
  43. phone: "",
  44. city: "",
  45. detailAddress: ""
  46. }
  47. }
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. .recruit {
  53. .item-card {
  54. width: calc(710rpx - 40rpx);
  55. height: auto;
  56. background: #ffffff;
  57. border-radius: 16rpx;
  58. margin: 40rpx auto 20rpx;
  59. padding: 40rpx 20rpx;
  60. }
  61. .item-line {
  62. display: flex;
  63. height: 60rpx;
  64. font-size: 28rpx;
  65. font-family: PingFang SC, PingFang SC-Bold;
  66. font-weight: 700;
  67. text-align: left;
  68. color: #333333;
  69. margin-bottom: 40rpx;
  70. &:nth-child(1) {
  71. margin-bottom: 0rpx;
  72. .label {
  73. font-size: 36rpx;
  74. }
  75. }
  76. &:last-child {
  77. margin-bottom: 0rpx;
  78. height: auto;
  79. }
  80. }
  81. .item-line .before {
  82. content: "";
  83. width: 8rpx;
  84. height: 30rpx;
  85. background: $uni-color;
  86. border-radius: 4rpx;
  87. margin-right: 10rpx;
  88. margin-top: 15rpx;
  89. }
  90. .item-line .label {
  91. display: flex;
  92. align-items: center;
  93. width: 152rpx;
  94. height: 60rpx;
  95. }
  96. .item-line input,
  97. .item-line textarea {
  98. width: 90%;
  99. height: 60rpx;
  100. line-height: 60rpx;
  101. background: #f5f5f5;
  102. border-radius: 12rpx;
  103. font-size: 24rpx;
  104. font-family: PingFang SC, PingFang SC-Medium;
  105. font-weight: 500;
  106. text-align: left;
  107. color: #939393;
  108. padding: 0 20rpx;
  109. }
  110. .item-line textarea {
  111. height: 120rpx;
  112. padding: 10rpx;
  113. }
  114. .upload {
  115. display: flex;
  116. align-items: center;
  117. justify-content: center;
  118. width: 200rpx;
  119. height: 200rpx;
  120. background: rgba(245, 245, 245, 0.82);
  121. border: 2rpx dashed #99dcd0;
  122. border-radius: 16rpx;
  123. margin: 10rpx 12rpx;
  124. }
  125. .upload-img {
  126. width: calc(100% - 4rpx);
  127. height: calc(100% - 4rpx);
  128. border: 2rpx dashed #ccc;
  129. margin: 2rpx;
  130. }
  131. .b-fiexd {
  132. position: fixed;
  133. left: 0;
  134. bottom: 0;
  135. width: 100%;
  136. .button-submit {
  137. display: flex;
  138. align-items: center;
  139. justify-content: center;
  140. width: 596rpx;
  141. height: 90rpx;
  142. background: #E3441A;
  143. border-radius: 46rpx;
  144. margin: 20rpx auto;
  145. font-size: 28rpx;
  146. font-family: PingFang SC, PingFang SC-Regular;
  147. font-weight: 400;
  148. text-align: center;
  149. color: #ffffff;
  150. }
  151. }
  152. }
  153. </style>