company.vue 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <template>
  2. <view class="padding-bottom-20">
  3. <swiper class="screen-swiper square-dot " :indicator-dots="true" :circular="true"
  4. :autoplay="true" interval="5000" duration="500">
  5. <swiper-item v-for="(item,index) in bannerList" :key="index">
  6. <image :src="item.banners" mode="aspectFill" ></image>
  7. </swiper-item>
  8. </swiper>
  9. <view class="card">
  10. <view class="flex flex-direction justify-center padding-left-20">
  11. <text class="text-bold text-lg" style="padding-bottom: 12rpx;">{{detail.enterpriseName}}</text>
  12. </view>
  13. </view>
  14. <view class="desc">
  15. <view class="flex">
  16. <image style="width: 35rpx;height: 35rpx;display: block;padding-top: 6rpx;padding-right: 10rpx;" src="../../static/icon/tag1.png" mode=""></image>
  17. <text class="text-lg text-bold">公司简介</text>
  18. </view>
  19. <view class="sub-title">
  20. <text style="padding-left: 60rpx;">
  21. {{detail.enterpriseIntroduce || '暂无简介'}}
  22. </text>
  23. </view>
  24. </view>
  25. <view class="bg-white text-black">
  26. <view class="flex padding-left-30">
  27. <image style="width: 35rpx;height: 35rpx;display: block;padding-top: 6rpx;padding-right: 10rpx;" src="../../static/icon/tag1.png" mode=""></image>
  28. <text class="text-lg text-bold">其他信息</text>
  29. </view>
  30. <view class="cu-list menu text-df padding-top-20">
  31. <view class="cu-item">
  32. <view class="content">
  33. <u-icon size="34" color="#5064eb" name="account" style="padding-left: 10rpx;padding-right: 12rpx;"></u-icon>
  34. <text class="text-lg">法定代表人</text>
  35. </view>
  36. <view class="action">
  37. <text>{{detail.representative}}</text>
  38. </view>
  39. </view>
  40. <view class="cu-item">
  41. <view class="content">
  42. <u-icon size="38" color="#5064eb" name="plus-circle" style="padding-left: 10rpx;padding-right: 12rpx;"></u-icon>
  43. <text class="text-lg">统一社会信用代码</text>
  44. </view>
  45. <view class="action">
  46. <text>{{detail.creditCode}}</text>
  47. </view>
  48. </view>
  49. <view class="cu-item">
  50. <view class="content">
  51. <u-icon size="38" color="#5064eb" name="rmb-circle" style="padding-left: 10rpx;padding-right: 12rpx;"></u-icon>
  52. <text class="text-lg">注册金额</text>
  53. </view>
  54. <view class="action">
  55. <text>{{detail.registeredCapital}}</text>
  56. </view>
  57. </view>
  58. <view class="cu-item flex flex-direction" style="align-items: flex-start;padding:20rpx 30rpx;">
  59. <view class="content" style="flex-basis: 45%;padding-bottom: 10rpx;">
  60. <u-icon size="36" color="#5064eb" name="map" style="padding-left: 10rpx;padding-right: 12rpx;"></u-icon>
  61. <text class="text-lg">公司地址</text>
  62. </view>
  63. <view class="action" style="padding-left: 60rpx;line-height: 50rpx;">
  64. <text>{{detail.region}}</text>
  65. </view>
  66. </view>
  67. <view class="cu-item flex flex-direction" style="align-items: flex-start;padding:20rpx 30rpx;">
  68. <view class="content" style="flex-basis: 45%;padding-bottom: 10rpx;">
  69. <u-icon size="34" color="#5064eb" name="info-circle" style="padding-left: 10rpx;padding-right: 12rpx;"></u-icon>
  70. <text class="text-lg">注册地址</text>
  71. </view>
  72. <view class="action" style="padding-left: 60rpx;line-height: 50rpx;">
  73. <text>{{detail.registeredAddress}}</text>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </template>
  80. <script>
  81. import setting from '@/assets/http/setting.js'
  82. export default {
  83. data() {
  84. return {
  85. id:this.$cache.get('enterpriseId'),
  86. detail:{},
  87. bannerList: setting.indexBanner,
  88. }
  89. },
  90. onLoad() {
  91. this.fetchDeatil()
  92. // this.fetchBanner()
  93. },
  94. methods: {
  95. fetchDeatil(){
  96. this.$api.enterprise.detail({id:this.id}).then(res=>{
  97. this.detail=res.data
  98. })
  99. },
  100. fetchBanner(){
  101. let params={
  102. // tenantId:this.$cache.get('agencyTenantId')
  103. }
  104. this.$api.banner.page(params).then(res=>{
  105. if (!this.$isEmpty(res.data.records)) {
  106. this.bannerList=res.data.records
  107. console.log(this.bannerList);
  108. }
  109. })
  110. },
  111. }
  112. }
  113. </script>
  114. <style lang="scss">
  115. page{
  116. background-color: #FFFFFF;
  117. }
  118. .card{
  119. padding:40rpx 20rpx;
  120. background-color: #FFFFFF;
  121. margin: 10rpx;
  122. border-radius: 10rpx;
  123. display: flex;
  124. box-shadow: 0 10rpx rgba(248, 248, 248,.9) , -10rpx 0rpx rgba(248, 248, 248,.9) ,10rpx 0rpx rgba(248, 248, 248,.9);
  125. image{
  126. border: 1rpx solid #f1f1f1;
  127. width:100rpx;
  128. height: 100rpx;
  129. border-radius: 50%;
  130. }
  131. }
  132. .desc{
  133. background-color: #FFFFFF;
  134. padding:40rpx 30rpx;
  135. .sub-title{
  136. padding-top: 40rpx;
  137. font-size: 28rpx;
  138. line-height: 50rpx;
  139. }
  140. }
  141. .top{
  142. padding-bottom: 30rpx;
  143. display: flex;
  144. justify-content: space-between;
  145. }
  146. .address{
  147. margin-top: 20rpx;
  148. background-color: #FFFFFF;
  149. padding: 30rpx;
  150. .item{
  151. padding-top: 40rpx;
  152. .sub-address{
  153. padding-left: 70rpx;font-size: 26rpx;color: #bababa;
  154. }
  155. }
  156. }
  157. .u-node {
  158. width: 44rpx;
  159. height: 44rpx;
  160. border-radius: 100rpx;
  161. display: flex;
  162. justify-content: center;
  163. align-items: center;
  164. background: #d0d0d0;
  165. }
  166. .u-order-title {
  167. color: #333333;
  168. font-weight: bold;
  169. font-size: 32rpx;
  170. }
  171. .u-order-desc {
  172. padding-top: 20rpx;
  173. color: #8d8d8d;
  174. font-size: 26rpx;
  175. line-height: 48rpx;
  176. margin-bottom: 6rpx;
  177. }
  178. .u-order-time {
  179. color: rgb(200, 200, 200);
  180. font-size: 26rpx;
  181. }
  182. </style>