company.vue 5.9 KB

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