staticProject.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <template>
  2. <view>
  3. <view class="head">
  4. <view class="nameImage">
  5. <image class="image1" src="../../static/项目管理/图像@2x.png"></image>
  6. <text class="name">仲恺公司</text>
  7. <view class="tianchong"></view>
  8. <view class="bottom">
  9. <view class="contact">
  10. <view class="con">
  11. <image class="image2" src="../../static/项目管理/联系人@2x.png"></image>
  12. <text class="con1">联系人</text>
  13. </view>
  14. <text class="contact1">陈一 13512345124</text>
  15. </view>
  16. <view class="address">
  17. <view class="add">
  18. <image class="image3" src="../../static/项目管理/地址@2x.png"></image>
  19. <text class="add1">地 址</text>
  20. </view>
  21. <text class="address1">广东省广州市海珠区东沙街24号</text>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="xiaban"></view>
  27. <view class="mid">
  28. <text class="gateway" style="font-size: 40rpx;font-weight: 550;">网关列表</text>
  29. <view class="tiao"></view>
  30. </view>
  31. <view class="gatewayList" >
  32. <view class="col">
  33. <view class="switch">
  34. <switch checked color="#007AFE" @change="switchChange" />
  35. </view>
  36. <view class="list">设备列表 ></view>
  37. </view>
  38. <text class="title">GATEWAY001</text>
  39. <view class="content">
  40. <text>网关IP:192.168.0.1</text>
  41. <text>点位名称:1楼2层3栋</text>
  42. </view>
  43. </view>
  44. <view class="uni-btn-v">
  45. <button form-type="submit" class="button1">删除项目</button>
  46. <button form-type="submit" class="button2">修改项目信息</button>
  47. </view>
  48. </view>
  49. </template>
  50. <script>
  51. export default {
  52. data() {
  53. return {
  54. gateways: [],
  55. formData: {
  56. name: '',
  57. number: '',
  58. description: '',
  59. customer: '',
  60. customerTel: '',
  61. address: '',
  62. province: '',
  63. city: '',
  64. }
  65. }
  66. },
  67. methods: {
  68. }
  69. }
  70. </script>
  71. <style>
  72. .list{
  73. font-size: 28rpx;
  74. color: #007AFF;
  75. margin-right: 20rpx;
  76. margin-top: 85rpx;
  77. }
  78. .switch{
  79. transform: scale(0.6);
  80. margin-left: 30rpx;
  81. }
  82. .col{
  83. float: right;
  84. }
  85. .uni-btn-v {
  86. display: flex;
  87. flex-direction: row;
  88. margin-top: 100rpx;
  89. }
  90. .button1 {
  91. width: 315rpx;
  92. height: 76rpx;
  93. margin-top: 30rpx;
  94. background-color: #E02021;
  95. color: white;
  96. font-size: unset;
  97. }
  98. .button2 {
  99. width: 315rpx;
  100. height: 76rpx;
  101. margin-top: 30rpx;
  102. background-color: #007AFF;
  103. color: white;
  104. font-size: unset;
  105. }
  106. .gatewayList {
  107. width: 702rpx;
  108. height: 230rpx;
  109. background-color: white;
  110. margin-top: 30rpx;
  111. margin-left: 24rpx;
  112. border-radius: 10rpx;
  113. padding-top: 30rpx;
  114. }
  115. .content {
  116. display: flex;
  117. flex-direction: column;
  118. margin-top: 30rpx;
  119. margin-left: 30rpx;
  120. line-height: 60rpx;
  121. color: #444546;
  122. }
  123. .title {
  124. font-size: 36rpx;
  125. margin-left: 30rpx;
  126. color: #282828;
  127. font-weight: 600;
  128. }
  129. .mid {
  130. display: flex;
  131. flex-direction: column;
  132. align-items: center;
  133. margin-top: 36rpx;
  134. }
  135. .tiao {
  136. width: 60px;
  137. height: 3px;
  138. margin-top: 20rpx;
  139. background: #007AFF;
  140. }
  141. .address1 {
  142. float: right;
  143. margin-right: 40rpx;
  144. margin-top: 40rpx;
  145. }
  146. .add1 {
  147. color: #848586;
  148. margin-left: 20rpx;
  149. }
  150. .add {
  151. float: left;
  152. margin-left: 60rpx;
  153. margin-top: 40rpx;
  154. display: flex;
  155. flex-direction: row;
  156. }
  157. .contact1 {
  158. float: right;
  159. margin-right: 40rpx;
  160. margin-top: 40rpx;
  161. }
  162. .con1 {
  163. color: #848586;
  164. margin-left: 20rpx;
  165. padding-top: 20rpx;
  166. }
  167. .con {
  168. float: left;
  169. margin-left: 60rpx;
  170. margin-top: 40rpx;
  171. }
  172. .image2 {
  173. float: left;
  174. width: 36rpx;
  175. height: 36rpx;
  176. }
  177. .image3 {
  178. width: 36rpx;
  179. height: 36rpx;
  180. }
  181. .xiaban {
  182. height: 50rpx;
  183. width: 702rpx;
  184. background-color: white;
  185. margin-left: 24rpx;
  186. border-bottom-left-radius: 10rpx;
  187. border-bottom-right-radius: 10rpx;
  188. }
  189. .head {
  190. height: 420rpx;
  191. background: linear-gradient(180deg, #2A8FFB 0%, #0467FB 100%);
  192. display: flex;
  193. justify-content: center;
  194. }
  195. .image1 {
  196. margin-left: 280rpx;
  197. height: 140rpx;
  198. width: 140rpx;
  199. margin-top: 41rpx;
  200. }
  201. .name {
  202. font-size: 36rpx;
  203. color: white;
  204. margin-top: 20rpx;
  205. margin-bottom: ;
  206. }
  207. .nameImage {
  208. display: flex;
  209. flex-direction: column;
  210. text-align: center;
  211. }
  212. .tianchong {
  213. width: 702rpx;
  214. height: 65rpx;
  215. }
  216. .bottom {
  217. width: 702rpx;
  218. height: 145rpx;
  219. background-color: white;
  220. border-top-left-radius: 10rpx;
  221. border-top-right-radius: 10rpx;
  222. display: flex;
  223. flex-direction: column;
  224. font-size: 26rpx;
  225. }
  226. </style>