sign.uvue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <template>
  2. <view class="page-container">
  3. <!-- 头部 -->
  4. <view class="header">
  5. <view class="header-left" @click="goBack">
  6. <u-icon name="arrow-left" size="24" color="#333"/>
  7. </view>
  8. <view class="header-title">
  9. 签约
  10. </view>
  11. <view class="header-right">
  12. </view>
  13. </view>
  14. <!-- 内容区域 -->
  15. <view class="content">
  16. <!-- 合同列表 -->
  17. <view class="contract-item">
  18. <text class="contract-name">
  19. 特别承诺书
  20. </text>
  21. <view class="contract-status signed">
  22. 已签约
  23. </view>
  24. <u-icon name="arrow-right" size="16" color="#999"/>
  25. </view>
  26. <view class="contract-item">
  27. <text class="contract-name">
  28. 保密协议
  29. </text>
  30. <view class="contract-status signed">
  31. 已签约
  32. </view>
  33. <u-icon name="arrow-right" size="16" color="#999"/>
  34. </view>
  35. <view class="contract-item">
  36. <text class="contract-name">
  37. 代理合作合同
  38. </text>
  39. <view class="contract-status unsigned">
  40. 未上传
  41. </view>
  42. <u-icon name="arrow-right" size="16" color="#999"/>
  43. </view>
  44. </view>
  45. </view>
  46. </template>
  47. <script setup lang="ts">
  48. const goBack = () => {
  49. uni.navigateBack();
  50. };
  51. </script>
  52. <style scoped>
  53. .page-container {
  54. background-color: #f5f5f5;
  55. min-height: 100vh;
  56. }
  57. .header {
  58. display: flex;
  59. align-items: center;
  60. justify-content: space-between;
  61. padding: 20rpx;
  62. background-color: #ffffff;
  63. border-bottom: 1rpx solid #f0f0f0;
  64. }
  65. .header-left, .header-right {
  66. width: 60rpx;
  67. }
  68. .header-title {
  69. font-size: 32rpx;
  70. font-weight: bold;
  71. color: #333;
  72. }
  73. .content {
  74. padding: 30rpx;
  75. }
  76. .contract-item {
  77. display: flex;
  78. align-items: center;
  79. justify-content: space-between;
  80. padding: 20rpx;
  81. background-color: #ffffff;
  82. border-radius: 16rpx;
  83. margin-bottom: 20rpx;
  84. }
  85. .contract-name {
  86. font-size: 28rpx;
  87. color: #333;
  88. }
  89. .contract-status {
  90. font-size: 24rpx;
  91. padding: 4rpx 12rpx;
  92. border-radius: 12rpx;
  93. margin-right: 20rpx;
  94. }
  95. .contract-status.signed {
  96. background-color: #e6f7ee;
  97. color: #52c41a;
  98. }
  99. .contract-status.unsigned {
  100. background-color: #fff2e8;
  101. color: #fa8c16;
  102. }
  103. </style>