123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- <template>
- <view>
- <view class="head">
- <view class="nameImage">
- <image class="image1" src="../../static/项目管理/图像@2x.png"></image>
- <text class="name">仲恺公司</text>
- <view class="tianchong"></view>
- <view class="bottom">
- <view class="contact">
- <view class="con">
- <image class="image2" src="../../static/项目管理/联系人@2x.png"></image>
- <text class="con1">联系人</text>
- </view>
- <text class="contact1">陈一 13512345124</text>
- </view>
- <view class="address">
- <view class="add">
- <image class="image3" src="../../static/项目管理/地址@2x.png"></image>
- <text class="add1">地 址</text>
- </view>
- <text class="address1">广东省广州市海珠区东沙街24号</text>
- </view>
- </view>
- </view>
- </view>
- <view class="xiaban"></view>
- <view class="mid">
- <text class="gateway" style="font-size: 40rpx;font-weight: 550;">网关列表</text>
- <view class="tiao"></view>
- </view>
- <view class="gatewayList" >
-
- <view class="col">
- <view class="switch">
- <switch checked color="#007AFE" @change="switchChange" />
- </view>
- <view class="list">设备列表 ></view>
- </view>
-
-
-
- <text class="title">GATEWAY001</text>
- <view class="content">
- <text>网关IP:192.168.0.1</text>
- <text>点位名称:1楼2层3栋</text>
- </view>
- </view>
- <view class="uni-btn-v">
- <button form-type="submit" class="button1">删除项目</button>
- <button form-type="submit" class="button2">修改项目信息</button>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- gateways: [],
- formData: {
- name: '',
- number: '',
- description: '',
- customer: '',
- customerTel: '',
- address: '',
- province: '',
- city: '',
- }
- }
- },
-
- methods: {
- }
- }
- </script>
- <style>
- .list{
- font-size: 28rpx;
- color: #007AFF;
- margin-right: 20rpx;
- margin-top: 85rpx;
- }
- .switch{
- transform: scale(0.6);
- margin-left: 30rpx;
- }
- .col{
- float: right;
- }
- .uni-btn-v {
- display: flex;
- flex-direction: row;
- margin-top: 100rpx;
- }
- .button1 {
- width: 315rpx;
- height: 76rpx;
- margin-top: 30rpx;
- background-color: #E02021;
- color: white;
- font-size: unset;
- }
- .button2 {
- width: 315rpx;
- height: 76rpx;
- margin-top: 30rpx;
- background-color: #007AFF;
- color: white;
- font-size: unset;
- }
- .gatewayList {
- width: 702rpx;
- height: 230rpx;
- background-color: white;
- margin-top: 30rpx;
- margin-left: 24rpx;
- border-radius: 10rpx;
- padding-top: 30rpx;
- }
- .content {
- display: flex;
- flex-direction: column;
- margin-top: 30rpx;
- margin-left: 30rpx;
- line-height: 60rpx;
- color: #444546;
- }
- .title {
- font-size: 36rpx;
- margin-left: 30rpx;
- color: #282828;
- font-weight: 600;
- }
- .mid {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 36rpx;
- }
- .tiao {
- width: 60px;
- height: 3px;
- margin-top: 20rpx;
- background: #007AFF;
- }
- .address1 {
- float: right;
- margin-right: 40rpx;
- margin-top: 40rpx;
- }
- .add1 {
- color: #848586;
- margin-left: 20rpx;
- }
- .add {
- float: left;
- margin-left: 60rpx;
- margin-top: 40rpx;
- display: flex;
- flex-direction: row;
- }
- .contact1 {
- float: right;
- margin-right: 40rpx;
- margin-top: 40rpx;
- }
- .con1 {
- color: #848586;
- margin-left: 20rpx;
- padding-top: 20rpx;
- }
- .con {
- float: left;
- margin-left: 60rpx;
- margin-top: 40rpx;
- }
- .image2 {
- float: left;
- width: 36rpx;
- height: 36rpx;
- }
- .image3 {
- width: 36rpx;
- height: 36rpx;
- }
- .xiaban {
- height: 50rpx;
- width: 702rpx;
- background-color: white;
- margin-left: 24rpx;
- border-bottom-left-radius: 10rpx;
- border-bottom-right-radius: 10rpx;
- }
- .head {
- height: 420rpx;
- background: linear-gradient(180deg, #2A8FFB 0%, #0467FB 100%);
- display: flex;
- justify-content: center;
- }
- .image1 {
- margin-left: 280rpx;
- height: 140rpx;
- width: 140rpx;
- margin-top: 41rpx;
- }
- .name {
- font-size: 36rpx;
- color: white;
- margin-top: 20rpx;
- margin-bottom: ;
- }
- .nameImage {
- display: flex;
- flex-direction: column;
- text-align: center;
- }
- .tianchong {
- width: 702rpx;
- height: 65rpx;
- }
- .bottom {
- width: 702rpx;
- height: 145rpx;
- background-color: white;
- border-top-left-radius: 10rpx;
- border-top-right-radius: 10rpx;
- display: flex;
- flex-direction: column;
- font-size: 26rpx;
- }
- </style>
|