| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- <template>
- <view>
- <swiper class="screen-swiper square-dot " :indicator-dots="true" :circular="true"
- :autoplay="true" interval="5000" duration="500">
- <swiper-item v-for="(item,index) in bannerList" :key="index">
- <image :src="item.banners" mode="aspectFill" ></image>
- </swiper-item>
- </swiper>
-
- <view class="card">
- <!-- <image src="http://139.9.103.171:1888/miniofile/xlyq/del/logo1.jpg"></image> -->
- <view class="flex flex-direction justify-center padding-left-20">
- <text class="text-bold text-lg" style="padding-bottom: 12rpx;">{{detail.enterpriseName}}</text>
- <text class="text-sm">{{detail.enterpriseType}}</text>
- </view>
- </view>
- <view class="desc">
- <text class="text-lg text-bold">公司简介</text>
- <view class="sub-title">
- <text style="padding-left: 60rpx;">
- {{detail.enterpriseIntroduce}}
- </text>
- </view>
- </view>
- <view class="bg-white text-black">
- <text class="text-lg text-bold " style="padding:0 30rpx;">其他信息</text>
- <view class="cu-list menu text-df padding-top-20">
- <view class="cu-item">
- <view class="content">
- <text class="cuIcon-profile" style="font-size: 32rpx;"></text>
- <text class="">法定代表人</text>
- </view>
- <view class="action">
- <text>{{detail.representative}}</text>
- </view>
- </view>
-
- <view class="cu-item">
- <view class="content">
- <text class="cuIcon-news" style="font-size: 32rpx;"></text>
- <text class="">统一社会信用代码</text>
- </view>
- <view class="action">
- <text>{{detail.creditCode}}</text>
- </view>
- </view>
-
- <view class="cu-item">
- <view class="content">
- <text class="cuIcon-recharge" style="font-size: 32rpx;"></text>
- <text class="">注册金额</text>
- </view>
- <view class="action">
- <text>{{detail.registeredCapital}}</text>
- </view>
- </view>
-
- <view class="cu-item flex">
- <view class="content" style="flex-basis: 45%;">
- <text class="cuIcon-location" style="font-size: 32rpx;"></text>
- <text class="">公司地址</text>
- </view>
- <view class="action">
- <text>{{detail.region}}</text>
- </view>
- </view>
-
- <view class="cu-item">
- <view class="content" style="flex-basis: 45%;">
- <text class="cuIcon-focus" style="font-size: 32rpx;"></text>
- <text class="">注册地址</text>
- </view>
- <view class="action">
- <text>{{detail.registeredAddress}}</text>
- </view>
- </view>
- </view>
- </view>
-
- <view class="">
- <u-divider height="100" bgColor="#ffffff">到底了</u-divider>
- </view>
- <!-- <view class="history">
- <view class="top u-border-bottom margin-bottom-40">
- <text class="text-bold text-lg">发展历程</text>
- <view class="text-sm padding-top-10 text-gray">
- <text>更多</text>
- <text class="cuIcon-right padding-left-10"></text>
- </view>
- </view>
- <u-time-line>
- <u-time-line-item nodeTop="2" v-for="(item,index) in historyList" :key="index">
- <template v-slot:node>
- <view class="u-node" style="background-color: rgba(200, 217, 243,.6);">
- <u-icon name="clock-fill" color="#093c8f" :size="28"></u-icon>
- </view>
- </template>
- <template v-slot:content>
- <view>
- <view class="u-order-title">{{item.time}}</view>
- <view class="u-order-desc">{{item.content}}</view>
- </view>
- </template>
- </u-time-line-item>
- </u-time-line>
- </view>
- <view class="address">
- <view class="top u-border-bottom">
- <text class="text-bold text-lg">公司地址</text>
- </view>
-
- <view class="item" >
- <view class="flex">
- <u-icon name="map" size="50"></u-icon>
- <text class="padding-left-20 text-lg">鹏鼎控股深圳园区</text>
- </view>
- <text class="sub-address">广东省深圳市宝安区燕罗街道松罗路</text>
- </view>
- </view> -->
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- id:this.$cache.get('enterpriseId'),
- detail:{},
- bannerList: [
- {
- 'banners': "http://139.9.103.171:1888/miniofile/xlyq/banner01.jpg"
- },
- ],
- historyList:[],
- }
- },
- onLoad() {
- this.fetchDeatil()
- this.fetchBanner()
- },
- methods: {
- fetchDeatil(){
- this.$api.enterprise.detail({id:this.id}).then(res=>{
- this.detail=res.data
- })
- },
- fetchBanner(){
- let params={
- tenantId:this.$cache.get('agencyTenantId')
- }
- this.$api.banner.page(params).then(res=>{
- if (!this.$isEmpty(res.data.records)) {
- this.bannerList=res.data.records
- console.log(this.bannerList);
- }
- })
- },
- }
- }
- </script>
- <style lang="scss">
- page{
- }
-
- .card{
- padding: 20rpx;
- background-color: #FFFFFF;
- margin: 10rpx;
- border-radius: 10rpx;
- display: flex;
- box-shadow: 0 10rpx rgba(248, 248, 248,.9) , -10rpx 0rpx rgba(248, 248, 248,.9) ,10rpx 0rpx rgba(248, 248, 248,.9);
- image{
- border: 1rpx solid #f1f1f1;
- width:100rpx;
- height: 100rpx;
- border-radius: 50%;
- }
- }
-
- .desc{
- background-color: #FFFFFF;
- padding:40rpx 30rpx;
- .sub-title{
- padding-top: 40rpx;
- font-size: 28rpx;
- line-height: 50rpx;
- }
- }
-
- .history{
- background-color: #FFFFFF;
- margin-top: 20rpx;
- padding: 40rpx 20rpx 20rpx 50rpx;
- }
-
- .top{
- padding-bottom: 30rpx;
- display: flex;
- justify-content: space-between;
- }
-
- .address{
- margin-top: 20rpx;
- background-color: #FFFFFF;
- padding: 30rpx;
-
-
- .item{
- padding-top: 40rpx;
- .sub-address{
- padding-left: 70rpx;font-size: 26rpx;color: #bababa;
- }
- }
- }
-
-
- .u-node {
- width: 44rpx;
- height: 44rpx;
- border-radius: 100rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- background: #d0d0d0;
- }
-
- .u-order-title {
- color: #333333;
- font-weight: bold;
- font-size: 32rpx;
- }
-
- .u-order-desc {
- padding-top: 20rpx;
- color: #8d8d8d;
- font-size: 26rpx;
- line-height: 48rpx;
- margin-bottom: 6rpx;
- }
-
- .u-order-time {
- color: rgb(200, 200, 200);
- font-size: 26rpx;
- }
- </style>
|