jobDetail.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <template>
  2. <view class="job-detail-page">
  3. <!-- 固定顶部导航栏 -->
  4. <view class="fixed-header">
  5. <!-- 自定义导航栏 -->
  6. <view class="custom-navbar">
  7. <view class="navbar-content">
  8. <view class="nav-left" @click="goBack">
  9. <u-icon name="arrow-leftward" color="#333" size="32"></u-icon>
  10. </view>
  11. <view class="nav-title">职位详情</view>
  12. <view class="nav-right"></view>
  13. </view>
  14. </view>
  15. </view>
  16. <!-- 主要内容区域 -->
  17. <view class="main-content">
  18. <!-- 审核状态提示 -->
  19. <view class="status-section">
  20. <view class="status-icon">
  21. <image src="../../static/images/index/redGantan.svg" class="status-icon-img"></image>
  22. </view>
  23. <view class="status-title">职位审核失败</view>
  24. </view>
  25. <!-- 职位信息卡片 -->
  26. <view class="job-info-card">
  27. <view class="job-header">
  28. <view class="job-title-section">
  29. <text class="job-title">亚马逊运营</text>
  30. </view>
  31. <view class="job-status">
  32. <text class="status-text">审核未通过</text>
  33. </view>
  34. </view>
  35. <view class="job-info">
  36. <text class="job-details">深圳-西乡 本科 1-3年 10-15K·13薪 全职</text>
  37. </view>
  38. </view>
  39. <!-- 失败原因 -->
  40. <view class="failure-reason-section">
  41. <view class="section-title">失败原因</view>
  42. <view class="reason-list">
  43. <view class="reason-item">
  44. <text class="reason-text">1.这是一段由平台端填写的审核详情</text>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. <!-- 底部重新发布按钮 -->
  50. <view class="bottom-action">
  51. <view class="republish-btn" @click="republishJob">
  52. <text class="republish-text">重新发布</text>
  53. </view>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. export default {
  59. data() {
  60. return {
  61. }
  62. },
  63. methods: {
  64. goBack() {
  65. uni.navigateBack()
  66. },
  67. republishJob() {
  68. // 跳转到重新发布页面
  69. uni.navigateTo({
  70. url: '/package/addJob/addJob'
  71. })
  72. }
  73. }
  74. }
  75. </script>
  76. <style lang="scss" scoped>
  77. page {
  78. background-color: #ffffff;
  79. }
  80. .job-detail-page {
  81. min-height: 100vh;
  82. background-color: #ffffff;
  83. }
  84. .fixed-header {
  85. position: fixed;
  86. top: 0;
  87. left: 0;
  88. right: 0;
  89. z-index: 9999;
  90. background-color: #ffffff;
  91. }
  92. .custom-navbar {
  93. padding-top: 80rpx;
  94. background-color: #ffffff;
  95. box-sizing: border-box;
  96. .navbar-content {
  97. display: flex;
  98. align-items: center;
  99. justify-content: space-between;
  100. height: 88rpx;
  101. padding: 0 40rpx;
  102. .nav-left, .nav-right {
  103. width: 60rpx;
  104. height: 60rpx;
  105. display: flex;
  106. align-items: center;
  107. justify-content: center;
  108. }
  109. .nav-title {
  110. color: rgba(51, 51, 51, 1);
  111. font-family: DM Sans;
  112. font-size: 30rpx;
  113. font-weight: 700;
  114. line-height: 52px;
  115. letter-spacing: 0.5%;
  116. text-align: center;
  117. }
  118. }
  119. }
  120. .main-content {
  121. padding: 0 40rpx;
  122. margin-top: 200rpx;
  123. padding-bottom: 120rpx;
  124. }
  125. .status-section {
  126. display: flex;
  127. justify-content: center;
  128. align-items: center;
  129. margin-bottom: 40rpx;
  130. .status-icon {
  131. margin-right: 20rpx;
  132. display: flex;
  133. align-items: center;
  134. .status-icon-img {
  135. width: 48rpx;
  136. height: 48rpx;
  137. }
  138. }
  139. .status-title {
  140. color: rgba(29, 33, 41, 1);
  141. font-family: DM Sans;
  142. font-size: 36rpx;
  143. font-weight: 500;
  144. line-height: 48rpx;
  145. letter-spacing: 0%;
  146. text-align: left;
  147. display: flex;
  148. align-items: center;
  149. }
  150. }
  151. .job-info-card {
  152. background: #ffffff;
  153. border-radius: 12rpx;
  154. margin-bottom: 40rpx;
  155. padding: 32rpx;
  156. border: 0.5px solid rgba(227, 231, 236, 1);
  157. .job-header {
  158. display: flex;
  159. justify-content: space-between;
  160. align-items: flex-start;
  161. margin-bottom: 16rpx;
  162. .job-title-section {
  163. flex: 1;
  164. .job-title {
  165. color: rgba(153, 153, 153, 1);
  166. font-family: DM Sans;
  167. font-size: 28rpx;
  168. font-weight: 400;
  169. line-height: 44rpx;
  170. letter-spacing: 0.5%;
  171. text-align: left;
  172. }
  173. }
  174. .job-status {
  175. .status-text {
  176. color: rgba(153, 153, 153, 1);
  177. font-family: DM Sans;
  178. font-size: 18rpx;
  179. font-weight: 400;
  180. line-height: 20rpx;
  181. letter-spacing: -0.5px;
  182. text-align: right;
  183. }
  184. }
  185. }
  186. .job-info {
  187. .job-details {
  188. color: rgba(153, 153, 153, 1);
  189. font-family: DM Sans;
  190. font-size: 28rpx;
  191. font-weight: 400;
  192. line-height: 36rpx;
  193. letter-spacing: 0.5%;
  194. text-align: left;
  195. }
  196. }
  197. }
  198. .failure-reason-section {
  199. .section-title {
  200. color: rgba(31, 44, 55, 1);
  201. font-family: DM Sans;
  202. font-size: 28rpx;
  203. font-weight: 500;
  204. line-height: 44rpx;
  205. letter-spacing: 0.5%;
  206. text-align: left;
  207. margin-bottom: 20rpx;
  208. }
  209. .reason-list {
  210. .reason-item {
  211. margin-bottom: 16rpx;
  212. .reason-text {
  213. color: rgba(153, 153, 153, 1);
  214. font-family: DM Sans;
  215. font-size: 24rpx;
  216. font-weight: 500;
  217. line-height: 48rpx;
  218. letter-spacing: 0.5%;
  219. text-align: left;
  220. }
  221. }
  222. }
  223. }
  224. .bottom-action {
  225. position: fixed;
  226. bottom: 0;
  227. left: 0;
  228. right: 0;
  229. padding: 30rpx 40rpx;
  230. background: #ffffff;
  231. z-index: 9999;
  232. .republish-btn {
  233. width: 100%;
  234. height: 88rpx;
  235. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  236. border-radius: 44rpx;
  237. display: flex;
  238. align-items: center;
  239. justify-content: center;
  240. .republish-text {
  241. color: rgba(255, 255, 255, 1);
  242. font-family: DM Sans;
  243. font-size: 32rpx;
  244. font-weight: 400;
  245. line-height: 48rpx;
  246. letter-spacing: 0%;
  247. text-align: center;
  248. }
  249. }
  250. }
  251. </style>