diff --git a/components/company/company.vue b/components/company/company.vue index 5f990eb..2f3f5f8 100644 --- a/components/company/company.vue +++ b/components/company/company.vue @@ -15,8 +15,13 @@ - 区域:{{company.address}} + + + + 区域: + + {{company.province_name+company.city_name+company.area_name+company.address}} + @@ -70,8 +75,8 @@ 姓名:{{company.master_name}} 职位:{{company.master_position}} - 联系电话:{{company.master_phone}} - 邮箱:{{company.master_email}} + 联系电话:{{company.master_phone}} + 邮箱:{{company.master_email}} @@ -84,8 +89,8 @@ 姓名:{{other.name}} 职位:{{other.position}} - 联系电话:{{other.phone}} - 邮箱:{{other.email}} + 联系电话:{{other.phone}} + 邮箱:{{other.email}} @@ -117,6 +122,7 @@ import { contractView } from "@/api/contract.js" import { companyView } from "@/api/company.js" import { download_file } from "@/api/junziqian.js" + import { Toast } from '@/libs/uniApi.js' export default { name: "company", @@ -201,6 +207,17 @@ } } }) + }, + copyPhone(str="", type="号码"){ + if(str) uni.setClipboardData({ + data:str+"", + success: (e) => { + Toast(type+'已复制') + }, + fail: (e) => { + Toast('复制失败') + } + }) } }, } @@ -273,18 +290,23 @@ .bottom { display: flex; - align-items: center; + align-items: flex-start; color: #666666FF; margin-top: 32rpx; - .location { - margin-left: 8rpx; + .left{ + display: flex; + align-items: center; + .location { + margin-left: 8rpx; + } } + } .one { .linkman { - height: 44rpx; + // height: 44rpx; font-size: 32rpx; font-weight: 500; color: #333333; diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue index 2f17c24..496292c 100644 --- a/pages/oaHome/oaHome.vue +++ b/pages/oaHome/oaHome.vue @@ -384,7 +384,7 @@ width: 580rpx; /* 设置元素宽度,根据需要进行调整 */ &::before { - content: '提醒'; + content: '公告'; display: inline-block; color: #FF8C1A; padding: 2px 8px; diff --git a/subpkg/companyInfo/companyInfo.vue b/subpkg/companyInfo/companyInfo.vue index f97772a..c83ca77 100644 --- a/subpkg/companyInfo/companyInfo.vue +++ b/subpkg/companyInfo/companyInfo.vue @@ -9,20 +9,23 @@ - + {{item.company_name}} {{item.company_type_name}} - 详情 + 详情 主要联系人:{{item.master_name}} - 联系方式:{{item.master_phone}} - 区县乡镇:{{item.city+'/'+item.street}} + 联系方式:{{item.master_phone}} + + 区县乡镇: + {{item.city_name+'/'+item.area_name+'/'+item.street_name}} + @@ -33,7 +36,8 @@