chen 2022-03-28 08:57:07 +08:00
commit 1ef8bfb99c
6 changed files with 143 additions and 190 deletions

View File

@ -1,45 +1,28 @@
<template> <template>
<view class="content"> <view class="content">
<statusNav navBarTitle="客户(查询结果列表)"></statusNav> <statusNav navBarTitle="客户(查询结果列表)"></statusNav>
<container-subgroup-two> <container-subgroup-two>
<view class="client-content" slot="content" style="margin: 0 -30rpx;"> <view class="client-content" slot="content" style="margin: 0 -30rpx;">
<view class="li"> <view @tap="goDetail(index)" class="li" v-for="(item,index) in 10" :key="index">
<view class="li-content"> <view class="li-content">
<view class=""> <view class="">
<view class="title"> <view class="title">湖南争鸣光电科技有限公司</view>
湖南争鸣光电科技有限公司 <view class="code">编号KH20220304-002</view>
</view>
<view class="code">
编号KH20220304-002
</view>
<view class="label-content"> <view class="label-content">
<view class="label"> <view class="label">弱电安防</view>
弱电安防 <view class="label">弱电安防</view>
</view> <view class="label">弱电安防</view>
<view class="label">
弱电安防
</view>
<view class="label">
弱电安防
</view> </view>
</view> </view>
</view> <view class="icon">13</view>
<view class="icon">
13
</view>
</view> </view>
<view class="address"> <view class="address">
<image class="img" src="../../static/iocn/dizi.png" mode=""></image> <image class="img" src="../../static/iocn/dizi.png" mode=""></image>
<view class="text"> <view class="text">湖南省长沙市高新开发区谷园路109号像素大厦1205</view>
湖南省长沙市高新开发区谷园路109号像素大厦1205
</view>
</view> </view>
</view> </view>
</view> </view>
</container-subgroup-two> </container-subgroup-two>
</view> </view>
</template> </template>
@ -57,46 +40,57 @@
} }
}, },
methods: { methods: {
//
goDetail(index){
uni.navigateTo({
url:'/pages/dataQuery/details'
})
}
} }
} }
</script> </script>
<style> <style>
.client-content .li { .client-content .li {
background-color: #FFFFFF; background-color: #FFFFFF;
margin-top: 20rpx; margin-top: 20rpx;
padding: 30rpx 34rpx 30rpx 53rpx; padding: 30rpx 34rpx 30rpx 53rpx;
} }
.client-content .li .title { .client-content .li .title {
font-size: 28rpx; font-size: 28rpx;
color: #333333; color: #333333;
margin-bottom: 25rpx; margin-bottom: 25rpx;
} }
.client-content .li .code { .client-content .li .code {
font-size: 24rpx; font-size: 24rpx;
margin-bottom: 25rpx; margin-bottom: 25rpx;
color: #666666; color: #666666;
} }
.client-content .li .label-content { .client-content .li .label-content {
display: flex; display: flex;
padding-bottom: 22rpx; padding-bottom: 22rpx;
} }
.client-content .li .label-content .label { .client-content .li .label-content .label {
padding: 10rpx 21rpx; padding: 10rpx 21rpx;
background-color: #EDEDED;margin-right: 12rpx; background-color: #EDEDED;
margin-right: 12rpx;
color: #999999; color: #999999;
font-size: 24rpx; font-size: 24rpx;
border-radius: 5rpx; border-radius: 5rpx;
} }
.client-content .li .li-content { .client-content .li .li-content {
display: flex; display: flex;
align-items: center; align-items: center;
border-bottom: 2rpx solid #EDEDED; border-bottom: 2rpx solid #EDEDED;
justify-content: space-between; justify-content: space-between;
} }
.client-content .li .li-content .icon { .client-content .li .li-content .icon {
width: 71rpx; width: 71rpx;
height: 66rpx; height: 66rpx;
@ -117,6 +111,7 @@
color: #666666; color: #666666;
font-size: 24rpx font-size: 24rpx
} }
.client-content .li .address .img { .client-content .li .address .img {
width: 17rpx; width: 17rpx;
height: 24rpx; height: 24rpx;

View File

@ -6,21 +6,15 @@
<view class="details-nav"> <view class="details-nav">
<view class="li"> <view class="li">
<image class="icon" src="../../static/iocn/ty.png" mode=""></image> <image class="icon" src="../../static/iocn/ty.png" mode=""></image>
<view class="text"> <view class="text">基本信息</view>
基本信息
</view>
</view> </view>
<view class="li"> <view class="li">
<image class="icon" src="../../static/iocn/kh.png" mode=""></image> <image class="icon" src="../../static/iocn/kh.png" mode=""></image>
<view class="text"> <view class="text">联系人</view>
联系人
</view>
</view> </view>
<view class="li"> <view class="li">
<image class="icon" src="../../static/iocn/xs.png" mode=""></image> <image class="icon" src="../../static/iocn/xs.png" mode=""></image>
<view class="text"> <view class="text">项目列表</view>
项目列表
</view>
</view> </view>
</view> </view>
<view class="details-content"> <view class="details-content">

View File

@ -7,40 +7,22 @@
<view class="li" @click="projectDetailsFun()"> <view class="li" @click="projectDetailsFun()">
<view class="message"> <view class="message">
<image class="img" src="../../static/del/img001.png" mode="aspectFill"></image> <image class="img" src="../../static/del/img001.png" mode="aspectFill"></image>
<view class="text"> <view class="text">
<view class="title"> <view class="title">湖南工业大学化工学院会议室P2.5全彩LED显示屏</view>
湖南工业大学化工学院会议室P2.5全彩LED显示屏 <view class="serial-number">项目编号20220108-1001</view>
</view> <view class="specification">规格型号DS-CK25FI/H</view>
<view class="serial-number"> <view class="specification">产品尺寸3.94*2.02</view>
项目编号20220108-1001 <view class="installation-site">安装位置xxx综合楼2楼会议室</view>
</view>
<view class="specification">
规格型号DS-CK25FI/H
</view>
<view class="specification">
产品尺寸3.94*2.02
</view>
<view class="installation-site">
安装位置xxx综合楼2楼会议室
</view> </view>
</view> </view>
</view>
<view class="project-list-address"> <view class="project-list-address">
<view class="address"> <view class="address">
<image class="img" src="../../static/iocn/im.png" mode="aspectFill"></image> <image class="img" src="../../static/iocn/im.png" mode="aspectFill"></image>
<view class="text"> <view class="text">湖南省长沙市高新开发区谷园路109号像素大厦1205</view>
湖南省长沙市高新开发区谷园路109号像素大厦1205
</view> </view>
<view class="date">2022/01/08</view>
</view> </view>
<view class="date"> <view class="icon iconBer">质保到期</view>
2022/01/08
</view>
</view>
<view class="icon iconBer">
质保到期
</view>
</view> </view>
<view class="li"> <view class="li">
<view class="message"> <view class="message">

View File

@ -1,14 +1,8 @@
<template> <template>
<view> <view>
<view class="head"> <view class="head">
<view class="text"> <view class="text">查询功能</view>
查询功能
</view> </view>
</view>
<view class="queryFunction-head-content"> <view class="queryFunction-head-content">
<view class="queryFunction-head-nav"> <view class="queryFunction-head-nav">
<view class="li" @click="navIndex(index)" <view class="li" @click="navIndex(index)"
@ -16,47 +10,27 @@
v-for="(item,index) in dataList"> v-for="(item,index) in dataList">
{{item.title}} {{item.title}}
</view> </view>
</view> </view>
<view class="queryFunction-head-Fun"> <view class="queryFunction-head-Fun">
<input type="text" placeholder="请输入关键词进行查询" class="queryFunction-head-input" value="" /> <input type="text" placeholder="请输入关键词进行查询" class="queryFunction-head-input" value="" />
<view class="button"> <view @tap="checkEv(dataIndex)" class="button">查询</view>
查询
</view> </view>
</view> </view>
<view class="recently-query-title">最近查询</view>
</view>
<view class="recently-query-title">
最近查询
</view>
<view class="recently-query-content"> <view class="recently-query-content">
<view class="li"> <view class="li">
<image class="icon" src="../../static/iocn/jfd.png" mode=""></image> <image class="icon" src="../../static/iocn/jfd.png" mode=""></image>
<view class="text-content"> <view class="text-content">
<view class="title"> <view class="title">湖南争鸣光电科技有限公司</view>
湖南争鸣光电科技有限公司 <view class="text">编号FRID23123141123321124</view>
</view> <view class="text">2121-1-8 12:23</view>
<view class="text">
编号FRID23123141123321124
</view>
<view class="text">
2121-1-8 12:23
</view> </view>
</view> </view>
</view> </view>
</view>
<view class="imgJCon"> <view class="imgJCon">
<image class="imgJ" src="../../static/iocn/jh.png" mode=""></image> <image class="imgJ" src="../../static/iocn/jh.png" mode=""></image>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
@ -86,8 +60,15 @@
this.dataIndex = index this.dataIndex = index
}, },
// //
checkEv() { checkEv(index) {
console.log(this.key_word); let urls = [
'/pages/dataQuery/client',
'/pages/dataQuery/projectQuery',
'/pages/dataQuery/dataQuery'
]
uni.navigateTo({
url: `${urls[index]}?key_word=${this.key_word}`
})
} }
} }
} }

View File

@ -226,7 +226,7 @@
}, },
data() { data() {
return { return {
role: 4, // 1 2: 3: 4 role: 3, // 1 2: 3: 4
statusHeight: uni.getSystemInfoSync().statusBarHeight + 50, statusHeight: uni.getSystemInfoSync().statusBarHeight + 50,
messageNumber: 16 ,// messageNumber: 16 ,//
noticeList:['2021年11月06日公司团建维修服务暂停一天服务暂停一天服务暂停一天。','51akslfj;dkpiojasdjf;j1ij'],// noticeList:['2021年11月06日公司团建维修服务暂停一天服务暂停一天服务暂停一天。','51akslfj;dkpiojasdjf;j1ij'],//
@ -382,8 +382,8 @@
// //
otherEv(index) { otherEv(index) {
let otherUrls = [ let otherUrls = [
'', '/pages/faultStatistics/faultStatistics',
'', '/pages/faultStatistics/projectOverview',
'/pagesB/new-product/new-product', '/pagesB/new-product/new-product',
]; ];
uni.navigateTo({ uni.navigateTo({

View File

@ -16,3 +16,4 @@
:paddingStr="'20rpx'"></pitera> :paddingStr="'20rpx'"></pitera>
--> -->