company.vue 6.7 KB

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