云链智安app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.vue 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. <!-- -->
  2. <template>
  3. <view class="container" @click="popup">
  4. <view class="container_navbar">
  5. <view class="container_top">
  6. </view>
  7. <uni-nav-bar color="#222" :border="false" :shadow="false" :fixed="true" backgroundColor="rgba(255, 255, 255, 0.3)" shadow title="" @clickLeft="onclickLeft"/>
  8. </view>
  9. <image class="account_numberimage" :src="ImageCollection[0]" mode="aspectFill">
  10. </image>
  11. <view class="prompt" @click.stop="changselect">
  12. <image class="promptimage" @click.stop="changenotification" src="https://esos-iot.bjdexn.cn/myminio/project/3e87f3b55b51413f814eb0737faf298a.png" mode=""></image>
  13. <view class="promptbox" v-if="notification">
  14. <view class="promptbox1">
  15. 能力云
  16. </view>
  17. <view class="promptbox1">
  18. 消防系统
  19. </view>
  20. <view class="promptbox1">
  21. 电站/柜体
  22. </view>
  23. <view class="promptbox1">
  24. 并网点
  25. </view>
  26. </view>
  27. </view>
  28. <view class="toptabbar">
  29. <view class="toptabbar_box">
  30. 产品理念
  31. <view class="uni-margin-wrap">
  32. <swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay"
  33. :interval="interval" :duration="duration">
  34. <swiper-item>
  35. <view class="swiper-itembody">
  36. <image class="swiper-item"
  37. :src="ImageCollection[1]"
  38. mode="aspectFit" :lazy-load="true"></image>
  39. <view class="swiper-title">
  40. <view class="swiper-title1">
  41. All in One工商业储能
  42. </view>
  43. <view class="swiper-title2">
  44. 灵活配置 · 安全可靠 · 智能管理
  45. </view>
  46. </view>
  47. </view>
  48. </swiper-item>
  49. <swiper-item>
  50. <view class="swiper-itembody">
  51. <image class="swiper-item"
  52. :src="ImageCollection[2]"
  53. mode="aspectFit" :lazy-load="true"></image>
  54. <view class="swiper-title">
  55. <view class="swiper-title1">
  56. 智慧能源,高效集成
  57. </view>
  58. <view class="swiper-title2">
  59. 一站式解决工商业用电需求,降本增效新选择
  60. </view>
  61. </view>
  62. </view>
  63. </swiper-item>
  64. <swiper-item>
  65. <view class="swiper-itembody">
  66. <image class="swiper-item"
  67. :src="ImageCollection[3]"
  68. mode="aspectFit" :lazy-load="true"></image>
  69. <view class="swiper-title">
  70. <view class="swiper-title1">
  71. 工商业一体化储能解决方案
  72. </view>
  73. <view class="swiper-title2">
  74. 模块化设计,让能源更自由
  75. </view>
  76. </view>
  77. </view>
  78. </swiper-item>
  79. <swiper-item>
  80. <view class="swiper-itembody">
  81. <image class="swiper-item"
  82. :src="ImageCollection[4]"
  83. mode="aspectFit" :lazy-load="true"></image>
  84. <view class="swiper-title">
  85. <view class="swiper-title1">
  86. 智储未来 · 工商无忧
  87. </view>
  88. <view class="swiper-title2">
  89. 一体化储能箱,赋能企业能源独立
  90. </view>
  91. </view>
  92. </view>
  93. </swiper-item>
  94. </swiper>
  95. </view>
  96. <view class="uni-title uni-common-mt">
  97. <text>控制器</text>
  98. </view>
  99. <view>
  100. <scroll-view scroll-x="true">
  101. <view class="scroll-view-item_H uni-bg-red">
  102. <image class="swiper-items"
  103. :src="ImageCollection[5]"
  104. mode="aspectFit" :lazy-load="true"></image>
  105. <view class="swiper_title">
  106. BMS
  107. </view>
  108. </view>
  109. <view class="scroll-view-item_H uni-bg-red">
  110. <image class="swiper-items" :src="ImageCollection[6]"
  111. mode="aspectFit" :lazy-load="true" alt="示例图片"></image>
  112. <view class="swiper_title">
  113. CCU
  114. </view>
  115. </view>
  116. <view class="scroll-view-item_H uni-bg-red">
  117. <image class="swiper-items"
  118. :src="ImageCollection[7]"
  119. mode="aspectFit" :lazy-load="true"></image>
  120. <view class="swiper_title">
  121. HPCS
  122. </view>
  123. </view>
  124. </scroll-view>
  125. </view>
  126. </view>
  127. <view class="toptabbar_box uni-common-mttitle">
  128. <view class="uni-title">
  129. <text>源网侧智慧储能舱</text>
  130. </view>
  131. <view>
  132. <view class="Sourcenetwork">
  133. <image class="uni-bg-green"
  134. :src="ImageCollection[8]"
  135. mode="aspectFit" :lazy-load="true">
  136. </image>
  137. <view class="Sourcenetwork_title">
  138. 源网储能4.0——集中式储能系统
  139. </view>
  140. </view>
  141. <view class="Sourcenetwork">
  142. <image class="uni-bg-green"
  143. :src="ImageCollection[9]"
  144. mode="aspectFit" :lazy-load="true"></image>
  145. <view class="Sourcenetwork_title">
  146. 源网侧储能箱——电网级“稳定器”
  147. </view>
  148. </view>
  149. <view class="Sourcenetwork">
  150. <image class="uni-bg-green"
  151. :src="ImageCollection[10]"
  152. mode="aspectFit" :lazy-load="true"></image>
  153. <view class="Sourcenetwork_title">
  154. Grid-Scale源网储能箱
  155. </view>
  156. </view>
  157. <view class="Sourcenetwork">
  158. <image class="uni-bg-green"
  159. :src="ImageCollection[11]"
  160. mode="aspectFit" :lazy-load="true"></image>
  161. <view class="Sourcenetwork_title">
  162. 源网“能量枢纽”储能解决方案
  163. </view>
  164. </view>
  165. </view>
  166. </view>
  167. </view>
  168. </view>
  169. </template>
  170. <!--
  171. -->
  172. <script>
  173. export default {
  174. data() {
  175. return {
  176. background: ['color1', 'color2', 'color3'],
  177. indicatorDots: true,
  178. autoplay: true,
  179. interval: 2000,
  180. duration: 500,
  181. scrollTop: 0,
  182. old: {
  183. scrollTop: 0
  184. },
  185. ImageCollection:[],
  186. value: 0,
  187. range: [
  188. { value: 0, text: "篮球" },
  189. { value: 1, text: "足球" },
  190. { value: 2, text: "游泳" },
  191. ],
  192. notification:false
  193. }
  194. },
  195. onLoad() {
  196. this.ImageCollection = [
  197. 'https://esos-iot.bjdexn.cn/myminio/project/891e77523d9e4abcb5c86f0b65ea68be.png',
  198. 'https://esos-iot.bjdexn.cn/myminio/project/f3a4fc253ee64f59a5f315b8fecbe954.png',
  199. 'https://esos-iot.bjdexn.cn/myminio/project/1aa4d24ff7174774a7c4c3d540ee056d.png',
  200. 'https://esos-iot.bjdexn.cn/myminio/project/6f2068c504984021b7c06d34f546a032.png',
  201. 'https://esos-iot.bjdexn.cn/myminio/project/e5e2fc77a57f43708e7ef79f40051ad0.png',
  202. 'https://esos-iot.bjdexn.cn/myminio/project/78215264f74049bab24afdbbc02a91fa.png',
  203. 'https://esos-iot.bjdexn.cn/myminio/project/a140c71802694f8aba4b06932b88d0bc.png',
  204. 'https://esos-iot.bjdexn.cn/myminio/project/dfd0f4b25b774d0c8236f7ca04dee097.png',
  205. 'https://esos-iot.bjdexn.cn/myminio/project/89e6f464162c4843bed56189dc6b139c.png',
  206. 'https://esos-iot.bjdexn.cn/myminio/project/4ec73bc44cb24b93b11090a27ac5aadb.png',
  207. 'https://esos-iot.bjdexn.cn/myminio/project/396879ec40994c26922089d7ed58a95d.png',
  208. 'https://esos-iot.bjdexn.cn/myminio/project/f60de2b8cbc9433e8f3a63abc5d08009.png'
  209. ]
  210. },
  211. methods: {
  212. changeIndicatorDots(e) {
  213. this.indicatorDots = !this.indicatorDots
  214. },
  215. changeAutoplay(e) {
  216. this.autoplay = !this.autoplay
  217. },
  218. intervalChange(e) {
  219. this.interval = e.target.value
  220. },
  221. durationChange(e) {
  222. this.duration = e.target.value
  223. },
  224. changenotification() {
  225. this.notification=!this.notification
  226. },
  227. changselect(){
  228. this.notification=true
  229. },
  230. popup(){
  231. this.notification=false
  232. }
  233. }
  234. }
  235. </script>
  236. <!-- -->
  237. <style scoped>
  238. .uni-page {
  239. width: 100%;
  240. height: 100%;
  241. }
  242. .container {
  243. box-sizing: border-box;
  244. padding-bottom: 20rpx;
  245. background: linear-gradient(to bottom, #f0f5f5 -40%, #f0f5f5 40%, #f0f5f5 100%);
  246. }
  247. .container_navbar{
  248. width: 100%;
  249. position: fixed;
  250. top: 0rpx;
  251. left: 0rpx;
  252. padding: 0rpx;
  253. z-index: 1;
  254. }
  255. .container_top{
  256. width: 100%;
  257. height: 80rpx;
  258. background-color:rgba(255, 255, 255, 0.5);
  259. }
  260. .account_number {
  261. width: 100%;
  262. box-sizing: border-box;
  263. /* background-image: url('https://esos-iot.bjdexn.cn/myminio/project/731f52fb6b3449e8a8eab718bf6a6d13.png'); */
  264. }
  265. .account_numberimage {
  266. width: 100%;
  267. padding: 0rpx;
  268. margin: 0rpx;
  269. }
  270. .account_image {
  271. width: 100%;
  272. }
  273. .toptabbar {
  274. width: 100%;
  275. padding: 0rpx 16rpx;
  276. margin-top: 16rpx;
  277. box-sizing: border-box;
  278. }
  279. .toptabbar_box {
  280. width: 100%;
  281. background-color: #ffffff;
  282. border-radius: 10rpx;
  283. padding: 20rpx 30rpx;
  284. box-sizing: border-box;
  285. }
  286. .uni-margin-wrap {
  287. width: 100%;
  288. margin-top: 20rpx;
  289. border-radius: 10rpx;
  290. overflow: auto;
  291. }
  292. .swiper {
  293. height: 300rpx;
  294. }
  295. .swiper-itembody {
  296. width: 100%;
  297. height: 100%;
  298. padding: 0rpx 20rpx;
  299. display: flex;
  300. justify-content: space-between;
  301. /* justify-content: space-around; */
  302. background-color: #EFF0F2;
  303. border-radius: 10rpx;
  304. box-sizing: border-box;
  305. }
  306. .swiper-title {
  307. flex: 1;
  308. display: flex;
  309. flex-direction: column;
  310. justify-content: center;
  311. padding-left: 20rpx;
  312. }
  313. .swiper-title1 {
  314. font-size: 30rpx;
  315. }
  316. .swiper-title2 {
  317. font-size: 24rpx;
  318. margin-top: 10rpx;
  319. color: #999999;
  320. }
  321. .swiper-item {
  322. width: 222rpx;
  323. height: 100%;
  324. text-align: center;
  325. }
  326. .uni-bg-red {
  327. display: flex;
  328. flex-direction: column;
  329. padding: 8rpx;
  330. box-sizing: border-box;
  331. }
  332. .swiper-items {
  333. width: 100%;
  334. height: 240rpx;
  335. border-radius: 10rpx;
  336. overflow: auto;
  337. background-color: #EFF0F2;
  338. }
  339. .swiper_title {
  340. width: 100%;
  341. height: 20rpx;
  342. display: flex;
  343. align-items: center;
  344. justify-content: center;
  345. font-size: 28rpx;
  346. margin-top: 20rpx;
  347. }
  348. .scroll-Y {
  349. height: 300rpx;
  350. }
  351. .uni-title {
  352. margin-top: 20rpx;
  353. margin-bottom: 10rpx;
  354. }
  355. .uni-common-mttitle {
  356. margin-top: 24rpx;
  357. }
  358. .scroll-view_H {
  359. white-space: nowrap;
  360. width: 100%;
  361. }
  362. .scroll-view-item {
  363. height: 300rpx;
  364. line-height: 300rpx;
  365. text-align: center;
  366. font-size: 36rpx;
  367. }
  368. .scroll-view-item_H {
  369. width: 100%;
  370. line-height: 300rpx;
  371. text-align: center;
  372. font-size: 36rpx;
  373. }
  374. .Sourcenetwork{
  375. width: 100%;
  376. position: relative;
  377. }
  378. .uni-bg-green {
  379. width: 100%;
  380. background-color: #EFF0F2;
  381. margin-top: 20rpx;
  382. border-radius: 10rpx;
  383. }
  384. .Sourcenetwork_title{
  385. width: 100%;
  386. padding: 10rpx;
  387. box-sizing: border-box;
  388. box-sizing: border-box;
  389. position: absolute;
  390. bottom: 0rpx;
  391. left: 0rpx;
  392. border-bottom-right-radius: 10rpx;
  393. border-bottom-left-radius: 10rpx;
  394. background-color: rgba(0, 117, 69, 0.3);
  395. font-size: 28rpx;
  396. color: #fff;
  397. }
  398. .image-placeholder {
  399. width: 100%;
  400. height: 100%;
  401. background-color: #EFF0F2;
  402. /* 灰色背景 */
  403. display: flex;
  404. justify-content: center;
  405. align-items: center;
  406. }
  407. .text {
  408. font-size: 12px;
  409. color: #666;
  410. margin-top: 5px;
  411. }
  412. .uni-px-5 {
  413. padding-left: 10px;
  414. padding-right: 10px;
  415. }
  416. .uni-pb-5 {
  417. padding-bottom: 10px;
  418. }
  419. .prompt{
  420. position: fixed;
  421. top: 80rpx;
  422. right: 20rpx;
  423. text-align: right;
  424. z-index: 9;
  425. }
  426. .promptimage{
  427. width: 60rpx;
  428. height: 60rpx;
  429. }
  430. .promptbox{
  431. background-color: #fff;
  432. border-radius: 8rpx;
  433. text-align: left;
  434. }
  435. .promptbox1{
  436. padding:10rpx 20rpx;
  437. }
  438. </style>