company.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <template>
  2. <view>
  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. <text class="text-sm">{{detail.enterpriseType}}</text>
  13. </view>
  14. </view>
  15. <view class="desc">
  16. <view class="flex">
  17. <image style="width: 35rpx;height: 35rpx;display: block;padding-top: 6rpx;padding-right: 10rpx;" src="../../static/icon/tag1.png" mode=""></image>
  18. <text class="text-lg text-bold">公司简介</text>
  19. </view>
  20. <view class="sub-title">
  21. <text style="padding-left: 60rpx;">
  22. {{detail.enterpriseIntroduce}}
  23. </text>
  24. </view>
  25. </view>
  26. <view class="bg-white text-black">
  27. <view class="flex padding-left-30">
  28. <image style="width: 35rpx;height: 35rpx;display: block;padding-top: 6rpx;padding-right: 10rpx;" src="../../static/icon/tag1.png" mode=""></image>
  29. <text class="text-lg text-bold">其他信息</text>
  30. </view>
  31. <view class="cu-list menu text-df padding-top-20">
  32. <view class="cu-item">
  33. <view class="content">
  34. <text class="cuIcon-profile base-color" style="font-size: 32rpx;"></text>
  35. <text class="">法定代表人</text>
  36. </view>
  37. <view class="action">
  38. <text>{{detail.representative}}</text>
  39. </view>
  40. </view>
  41. <view class="cu-item">
  42. <view class="content">
  43. <text class="cuIcon-news base-color" style="font-size: 32rpx;"></text>
  44. <text class="">统一社会信用代码</text>
  45. </view>
  46. <view class="action">
  47. <text>{{detail.creditCode}}</text>
  48. </view>
  49. </view>
  50. <view class="cu-item">
  51. <view class="content">
  52. <text class="cuIcon-recharge base-color" style="font-size: 32rpx;"></text>
  53. <text class="">注册金额</text>
  54. </view>
  55. <view class="action">
  56. <text>{{detail.registeredCapital}}</text>
  57. </view>
  58. </view>
  59. <view class="cu-item flex">
  60. <view class="content" style="flex-basis: 45%;">
  61. <text class="cuIcon-location base-color" style="font-size: 32rpx;"></text>
  62. <text class="">公司地址</text>
  63. </view>
  64. <view class="action">
  65. <text>{{detail.region}}</text>
  66. </view>
  67. </view>
  68. <view class="cu-item">
  69. <view class="content" style="flex-basis: 45%;">
  70. <text class="cuIcon-focus base-color" style="font-size: 32rpx;"></text>
  71. <text class="">注册地址</text>
  72. </view>
  73. <view class="action">
  74. <text>{{detail.registeredAddress}}</text>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="">
  80. <u-divider height="100" bgColor="#ffffff">到底了</u-divider>
  81. </view>
  82. <!-- <view class="history">
  83. <view class="top u-border-bottom margin-bottom-40">
  84. <text class="text-bold text-lg">发展历程</text>
  85. <view class="text-sm padding-top-10 text-gray">
  86. <text>更多</text>
  87. <text class="cuIcon-right padding-left-10"></text>
  88. </view>
  89. </view>
  90. <u-time-line>
  91. <u-time-line-item nodeTop="2" v-for="(item,index) in historyList" :key="index">
  92. <template v-slot:node>
  93. <view class="u-node" style="background-color: rgba(200, 217, 243,.6);">
  94. <u-icon name="clock-fill" color="#093c8f" :size="28"></u-icon>
  95. </view>
  96. </template>
  97. <template v-slot:content>
  98. <view>
  99. <view class="u-order-title">{{item.time}}</view>
  100. <view class="u-order-desc">{{item.content}}</view>
  101. </view>
  102. </template>
  103. </u-time-line-item>
  104. </u-time-line>
  105. </view>
  106. <view class="address">
  107. <view class="top u-border-bottom">
  108. <text class="text-bold text-lg">公司地址</text>
  109. </view>
  110. <view class="item" >
  111. <view class="flex">
  112. <u-icon name="map" size="50"></u-icon>
  113. <text class="padding-left-20 text-lg">鹏鼎控股深圳园区</text>
  114. </view>
  115. <text class="sub-address">广东省深圳市宝安区燕罗街道松罗路</text>
  116. </view>
  117. </view> -->
  118. </view>
  119. </template>
  120. <script>
  121. export default {
  122. data() {
  123. return {
  124. id:this.$cache.get('enterpriseId'),
  125. detail:{},
  126. bannerList: [
  127. {
  128. 'banners': "http://139.9.103.171:1888/miniofile/xlyq/banner.jpg"
  129. },
  130. ],
  131. historyList:[],
  132. }
  133. },
  134. onLoad() {
  135. this.fetchDeatil()
  136. // this.fetchBanner()
  137. },
  138. methods: {
  139. fetchDeatil(){
  140. this.$api.enterprise.detail({id:this.id}).then(res=>{
  141. this.detail=res.data
  142. })
  143. },
  144. fetchBanner(){
  145. let params={
  146. tenantId:this.$cache.get('agencyTenantId')
  147. }
  148. this.$api.banner.page(params).then(res=>{
  149. if (!this.$isEmpty(res.data.records)) {
  150. this.bannerList=res.data.records
  151. console.log(this.bannerList);
  152. }
  153. })
  154. },
  155. }
  156. }
  157. </script>
  158. <style lang="scss">
  159. page{
  160. }
  161. .card{
  162. padding: 20rpx;
  163. background-color: #FFFFFF;
  164. margin: 10rpx;
  165. border-radius: 10rpx;
  166. display: flex;
  167. box-shadow: 0 10rpx rgba(248, 248, 248,.9) , -10rpx 0rpx rgba(248, 248, 248,.9) ,10rpx 0rpx rgba(248, 248, 248,.9);
  168. image{
  169. border: 1rpx solid #f1f1f1;
  170. width:100rpx;
  171. height: 100rpx;
  172. border-radius: 50%;
  173. }
  174. }
  175. .desc{
  176. background-color: #FFFFFF;
  177. padding:40rpx 30rpx;
  178. .sub-title{
  179. padding-top: 40rpx;
  180. font-size: 28rpx;
  181. line-height: 50rpx;
  182. }
  183. }
  184. .history{
  185. background-color: #FFFFFF;
  186. margin-top: 20rpx;
  187. padding: 40rpx 20rpx 20rpx 50rpx;
  188. }
  189. .top{
  190. padding-bottom: 30rpx;
  191. display: flex;
  192. justify-content: space-between;
  193. }
  194. .address{
  195. margin-top: 20rpx;
  196. background-color: #FFFFFF;
  197. padding: 30rpx;
  198. .item{
  199. padding-top: 40rpx;
  200. .sub-address{
  201. padding-left: 70rpx;font-size: 26rpx;color: #bababa;
  202. }
  203. }
  204. }
  205. .u-node {
  206. width: 44rpx;
  207. height: 44rpx;
  208. border-radius: 100rpx;
  209. display: flex;
  210. justify-content: center;
  211. align-items: center;
  212. background: #d0d0d0;
  213. }
  214. .u-order-title {
  215. color: #333333;
  216. font-weight: bold;
  217. font-size: 32rpx;
  218. }
  219. .u-order-desc {
  220. padding-top: 20rpx;
  221. color: #8d8d8d;
  222. font-size: 26rpx;
  223. line-height: 48rpx;
  224. margin-bottom: 6rpx;
  225. }
  226. .u-order-time {
  227. color: rgb(200, 200, 200);
  228. font-size: 26rpx;
  229. }
  230. </style>