flying-monkey/pages/dataQuery/details.vue

359 lines
11 KiB
Vue
Raw Normal View History

2022-03-22 03:38:06 +00:00
<template>
2022-03-31 02:38:37 +00:00
<view class="content arc-content" >
2022-03-28 07:33:10 +00:00
<statusNav returnColor="#c2c2c2" navBarTitle="客户详情"></statusNav>
2022-03-25 09:18:08 +00:00
<container-subgroup-two>
<view slot="content" style="margin: 0 -30rpx;">
<view class="details-nav">
2022-03-31 02:38:37 +00:00
<view class="li" @click="essentialInformation('listOne')">
<image class="icon" src="../../static/iocn/ty.png" mode=""></image>
<view class="text">基本信息</view>
2022-03-22 03:38:06 +00:00
</view>
2022-03-31 02:38:37 +00:00
<view class="li" @click="essentialInformation('listTwo')">
2022-03-25 09:18:08 +00:00
<image class="icon" src="../../static/iocn/kh.png" mode=""></image>
<view class="text">联系人</view>
2022-03-22 03:38:06 +00:00
</view>
2022-03-31 02:38:37 +00:00
<view class="li" @click="essentialInformation('listThree ')">
2022-03-25 09:18:08 +00:00
<image class="icon" src="../../static/iocn/xs.png" mode=""></image>
<view class="text">项目列表</view>
2022-03-22 03:38:06 +00:00
</view>
</view>
2022-03-31 02:38:37 +00:00
<view class="details-content listOne">
2022-03-30 10:04:40 +00:00
2022-03-25 09:18:08 +00:00
<view class="title">
<image class="img" src="../../static/iocn/dn.png" mode=""></image>
<text class="text">基本信息</text>
2022-03-22 03:38:06 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="text-content">
<view class="li">
客户名称<text class="cor">长沙警校</text>
</view>
<view class="li">
客户编号<text class="cor">xxxxxxxxx</text>
</view>
<view class="li">
客户等级<text class="cor">VIP1</text>
</view>
<view class="li">
所属行业<text class="cor">安防</text>
</view>
<view class="li">
客户类型<text class="cor">xxxx</text>
</view>
<view class="li">
入库时间<text class="cor">2022.3.1</text>
</view>
<view class="li">
项目数量<text class="cor1">50</text>
</view>
<view class="li">
所属区域<text class="cor">长沙</text>
</view>
<view class="li">
详细地址<text class="cor">长沙xxxxx</text>
</view>
2022-03-22 03:38:06 +00:00
</view>
</view>
2022-03-31 02:38:37 +00:00
<view class="details-content listTwo">
2022-03-22 03:38:06 +00:00
<view class="title">
2022-03-25 09:18:08 +00:00
<image class="img" src="../../static/iocn/lxr.png" mode=""></image>
<text class="text">联系人</text>
2022-03-22 03:38:06 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="text-content">
<view class="li">
姓名<text class="cor">Eveal</text>
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="li">
所属部门<text class="cor">产品研发部</text>
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="li">
职务<text class="cor">经理</text>
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="li">
电话<text class="cor">154751787</text>
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="li">
微信<text class="cor">14250</text>
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="li">
qq<text class="cor">9090000</text>
</view>
<view class="li">
邮箱<text class="cor">1216311@qq.com</text>
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
<view class="li">
负责时间段<text class="cor">xxxxx </text>
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
2022-03-25 09:12:59 +00:00
</view>
2022-03-25 09:18:08 +00:00
</view>
2022-03-31 02:38:37 +00:00
<view class="project-list listThree">
2022-03-25 09:18:08 +00:00
<view class="title-content">
<view class="title">
<image class="icon" src="../../static/iocn/xmlb.png" mode=""></image>
<view class="text">
项目列表
</view>
</view>
<picker mode="date" :value="time" @change="bindTimeChange">
<view class="date">
选择年份 <image class="icon" src="../../static/iocn/sjx.png" mode=""></image>
</view>
</picker>
2022-03-22 03:38:06 +00:00
</view>
2022-03-25 09:18:08 +00:00
2022-03-31 02:38:37 +00:00
<view class="project-list-content" v-for="item in 5">
2022-03-25 09:18:08 +00:00
<view class="li">
<view class="text">
南城校区液晶显示屏
</view>
<view class="date">
2022/3/1
</view>
2022-03-25 09:12:59 +00:00
</view>
</view>
</view>
2022-03-31 02:38:37 +00:00
<view class="contact-way" @click="copyWxFun()">
2022-03-22 03:38:06 +00:00
<view class="title">
2022-03-25 09:18:08 +00:00
客户微信
2022-03-22 03:38:06 +00:00
</view>
2022-03-25 09:18:08 +00:00
<image class="icon" src="../../static/iocn/wx.png" mode=""></image>
2022-03-25 09:12:59 +00:00
</view>
2022-03-31 02:38:37 +00:00
<view class="contact-way" @click="telFun()">
2022-03-25 09:18:08 +00:00
<view class="title">
客户电话
</view>
<image class="icon1" src="../../static/iocn/dh.png" mode=""></image>
2022-03-22 03:38:06 +00:00
</view>
2022-03-25 09:18:08 +00:00
2022-03-22 03:38:06 +00:00
</view>
2022-03-25 09:18:08 +00:00
</container-subgroup-two>
2022-03-22 03:38:06 +00:00
</view>
</template>
<script>
2022-03-25 09:18:08 +00:00
import containerSubgroupTwo from '@/components/containers/container-subgroup-two.vue';
2022-03-25 09:12:59 +00:00
import statusNav from '../../components/status-nav.vue';
export default {
components: {
2022-03-25 09:18:08 +00:00
statusNav,
containerSubgroupTwo
2022-03-25 09:12:59 +00:00
},
2022-03-22 03:38:06 +00:00
data() {
return {
2022-03-31 02:38:37 +00:00
time: '12:01',
// dataArr:{
// customerName:"长沙警校",
// customerCode:"xxxxxxxxx",
// customerVIP:"VIP1",
// industryInvolved:"安防",
// customerType:"xxxx",
// warehouseTime:"2022.3.1" ,
// }
projectList:[],
2022-03-22 03:38:06 +00:00
}
},
methods: {
2022-03-30 10:04:40 +00:00
getData(){
},
2022-03-31 02:38:37 +00:00
// 拨打电话
telFun(){
uni.makePhoneCall({
phoneNumber: '13608235524' //仅为示例
});
},
// 选择年份
bindTimeChange(data) {
console.log(data.detail.value)
},
essentialInformation(classText){
// uni.createSelectorQuery().select('.'+classText).boundingClientRect(data=>{//目标位置的节点类或者id
// uni.createSelectorQuery().select(".arc-content").boundingClientRect(res=>{//最外层盒子的节点类或者id
// uni.pageScrollTo({
// duration: 100,//过渡时间
// scrollTop:data.top - res.top -uni.getSystemInfoSync().statusBarHeight-40,//到达距离顶部的top值
// })
// }).exec()
// }).exec();
},
// 复制微信
copyWxFun(){
uni.setClipboardData({
data: 'hello',
success: function () {
console.log('success');
}
});
2022-03-22 03:38:06 +00:00
}
2022-03-31 02:38:37 +00:00
2022-03-22 03:38:06 +00:00
}
}
</script>
<style>
.content {
padding-right: 27rpx;
padding-left: 27rpx;
}
.details-nav {
display: flex;
justify-content: space-between;
padding: 23rpx 63rpx;
background-color: #FFFFFF;
}
.details-nav .li .icon {
width: 79rpx;
height: 79rpx;
}
.details-nav .li {
text-align: center;
}
.details-nav .li .text {
font-size: 24rpx;
color: #333333;
}
.details-content {
margin-top: 20rpx;
background-color: #FFFFFF;
padding: 20rpx 18rpx;
border-bottom: 2rpx solid #DFDFDF;
2022-03-25 09:12:59 +00:00
border-radius: 0rpx 0rpx 10rpx 10rpx;
2022-03-22 03:38:06 +00:00
}
.details-content .title {
display: flex;
align-items: center;
padding-bottom: 15rpx;
border-bottom: 2rpx solid #E5E5E5;
}
.details-content .title .img {
width: 27rpx;
height: 26rpx;
margin-right: 9rpx;
}
.details-content .title .text {
font-size: 28rpx;
color: #999999;
}
.text-content {
display: flex;
flex-wrap: wrap;
}
.text-content .li {
width: 50%;
font-size: 24rpx;
color: #999999;
margin-top: 22rpx;
}
.cor {
color: #333333;
}
.cor1 {
color: #FF4C4C;
}
2022-03-25 09:12:59 +00:00
.project-list {
2022-03-22 03:38:06 +00:00
background-color: #FFFFFF;
padding: 22rpx 18rpx;
margin-top: 20rpx;
}
2022-03-25 09:12:59 +00:00
.project-list .title-content {
2022-03-22 03:38:06 +00:00
display: flex;
justify-content: space-between;
2022-03-22 10:10:39 +00:00
padding-bottom: 16rpx;
2022-03-22 03:38:06 +00:00
font-size: 24rpx;
2022-03-25 09:12:59 +00:00
border-bottom: 2rpx solid #E5E5E5;
2022-03-22 03:38:06 +00:00
color: #999999;
}
2022-03-25 09:12:59 +00:00
.project-list .title-content .title {
2022-03-22 03:38:06 +00:00
display: flex;
align-items: center;
}
2022-03-25 09:12:59 +00:00
.project-list .title-content .title .icon {
2022-03-22 03:38:06 +00:00
width: 23rpx;
height: 25rpx;
margin-right: 10rpx;
}
2022-03-25 09:12:59 +00:00
.project-list .title-content .date {
width: 120rpx;
height: 40rpx;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10rpx;
border: 2rpx solid #999999;
font-size: 24rpx;
display: flex;
2022-03-22 03:38:06 +00:00
align-items: center;
}
2022-03-25 09:12:59 +00:00
.project-list .title-content .date .icon {
2022-03-22 03:38:06 +00:00
width: 12rpx;
height: 18rpx;
margin-left: 5rpx;
}
2022-03-25 09:12:59 +00:00
.project-list-content .li {
2022-03-22 03:38:06 +00:00
display: flex;
justify-content: space-between;
2022-03-22 10:10:39 +00:00
border-bottom: 2rpx solid #E5E5E5;
2022-03-22 03:43:04 +00:00
padding: 18rpx;
2022-03-22 03:38:06 +00:00
}
2022-03-25 09:12:59 +00:00
.project-list-content .li .text {
2022-03-22 10:10:39 +00:00
font-weight: bold;
color: #4ca5ff;
font-size: 24rpx
}
2022-03-25 09:12:59 +00:00
.project-list-content .li .date {
2022-03-22 10:10:39 +00:00
color: #888888;
font-size: 24rpx
}
2022-03-25 09:12:59 +00:00
.contact-way {
2022-03-22 10:10:39 +00:00
display: flex;
align-items: center;
padding: 40rpx 20rpx 34rpx;
color: #696666;
justify-content: space-between;
font-size: 28rpx;
2022-03-25 09:12:59 +00:00
border-bottom: 2rpx solid #E5E5E5;
2022-03-22 10:10:39 +00:00
}
2022-03-25 09:12:59 +00:00
.contact-way .icon {
2022-03-22 10:10:39 +00:00
width: 41rpx;
height: 32rpx;
}
2022-03-25 09:12:59 +00:00
.contact-way .icon1 {
2022-03-22 10:10:39 +00:00
width: 35rpx;
height: 39rpx;
}
2022-03-22 03:38:06 +00:00
</style>