index.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <template>
  2. <view class="page-wrap">
  3. <view class="item-row">
  4. <view class="wrap">
  5. <view class="name">天津超易达胜科技发展有限公司</view>
  6. <view class="text">信用代码:911201033006420997</view>
  7. <view class="text">企业认证:已认证</view>
  8. <view class="text">团队成员:3人</view>
  9. </view>
  10. <button class="btn" @click="handleOpenInfo">企业资料</button>
  11. <button class="btn">删除</button>
  12. </view>
  13. <view class="item-row">
  14. <view class="wrap">
  15. <view class="name">天津超易达胜科技发展有限公司</view>
  16. <view class="text">信用代码:911201033006420997</view>
  17. <view class="text">企业认证:已认证</view>
  18. <view class="text">团队成员:3人</view>
  19. </view>
  20. <button class="btn">企业资料</button>
  21. <button class="btn">删除</button>
  22. </view>
  23. <view class="item-row">
  24. <view class="wrap">
  25. <view class="name">天津超易达胜科技发展有限公司</view>
  26. <view class="text">信用代码:911201033006420997</view>
  27. <view class="text">企业认证:已认证</view>
  28. <view class="text">团队成员:3人</view>
  29. </view>
  30. <button class="btn">企业资料</button>
  31. <button class="btn">删除</button>
  32. </view>
  33. <button class="add-btn" @click="handleOpenAddEnterprise">+ 添加企业</button>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. data() {
  39. return {};
  40. },
  41. methods: {
  42. handleOpenInfo(){
  43. uni.navigateTo({
  44. url: 'info?id=1'
  45. })
  46. },
  47. handleOpenAddEnterprise(){
  48. uni.navigateTo({
  49. url: 'info',
  50. })
  51. }
  52. }
  53. };
  54. </script>
  55. <style lang="scss" scoped>
  56. .page-wrap {
  57. padding-top: 13.74rpx;
  58. }
  59. .item-row {
  60. background: #fff;
  61. margin-bottom: 13.74rpx;
  62. height: 178.57rpx;
  63. padding: 0 27.47rpx;
  64. box-sizing: border-box;
  65. display: flex;
  66. align-items: center;
  67. .wrap {
  68. flex: 1;
  69. }
  70. .name {
  71. font-size: 32.97rpx;
  72. white-space: nowrap;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. margin-bottom: 6.87rpx;
  76. }
  77. .text {
  78. font-size: 27.47rpx;
  79. color: #999;
  80. }
  81. .btn {
  82. background: none;
  83. border: none;
  84. font-size: 27.47rpx;
  85. color: #f97631;
  86. white-space: nowrap;
  87. padding: 0;
  88. margin-left: 13.74rpx;
  89. }
  90. }
  91. .add-btn {
  92. margin-top: 27.47rpx;
  93. font-size: 27.47rpx;
  94. color: #00bcd2;
  95. height: 82.42rpx;
  96. line-height: 82.42rpx;
  97. display: block;
  98. text-align: left;
  99. padding: 0 0 0 54.95rpx;
  100. background: #fff;
  101. border: none;
  102. border-radius: 13.74rpx;
  103. }
  104. </style>