CollectiveResettlementSurvey.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. <template>
  2. <div class="survey">
  3. <div class="Outside">
  4. <!-- 图表标题区域 -->
  5. <div class="chart-title">
  6. <div class="left"><span class="circle"></span>总安置</div>
  7. <div class="right"><span class="circle"></span>过度进度</div>
  8. </div>
  9. <!-- 图表区域 -->
  10. <div class="survey-chart">
  11. <!-- 左侧栏图表 -->
  12. <div class="left">
  13. <div class="left-left">
  14. <div
  15. class="arrange-item"
  16. v-for="item in arrangeList"
  17. :key="item.id"
  18. v-show="item.id < 3"
  19. >
  20. <div class="img">
  21. <img :src="item.img" alt="" />
  22. </div>
  23. <div class="text">
  24. <div>{{ item.num }}户</div>
  25. <span>{{ item.name }}</span>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="left-right">
  30. <div class="" id="chart1"></div>
  31. </div>
  32. </div>
  33. <!-- 中间栏图表 -->
  34. <div class="center">
  35. <div class="center-left">
  36. <div
  37. class="arrange-item"
  38. v-for="item in arrangeList"
  39. :key="item.id"
  40. v-show="item.id > 2"
  41. >
  42. <div class="img">
  43. <img :src="item.img" alt="" />
  44. </div>
  45. <div class="text">
  46. <div>{{ item.num }}户</div>
  47. <span>{{ item.name }}</span>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="center-right">
  52. <div class="" id="chart2"></div>
  53. </div>
  54. </div>
  55. <!-- 右侧栏图表 -->
  56. <div class="right">
  57. <div class="right-left">
  58. <div class="arrange-item">
  59. <div class="img">
  60. <img src="@/assets/ResettlementManagement/momery.png" alt="" />
  61. </div>
  62. <div class="text">
  63. <div>1000&#165;</div>
  64. <span>总金额</span>
  65. </div>
  66. </div>
  67. <div class="arrange-item"></div>
  68. <div class="arrange-item"></div>
  69. </div>
  70. <div class="right-right">
  71. <div id="chart3"></div>
  72. </div>
  73. </div>
  74. </div>
  75. <!-- 表格标题区域 -->
  76. <div class="table—title">
  77. <div class="left" style="border-right:1px solid #e7e7e7">
  78. <span class="circle"></span>安置列表
  79. </div>
  80. <div class="right"><span class="circle"></span>过度列表</div>
  81. </div>
  82. <!-- 表格内容区域 -->
  83. <div class="survey-table">
  84. <div class="left">
  85. <div class="table-header">
  86. <div
  87. class="header-item"
  88. v-for="item in arrangeTableHeader"
  89. :key="item.id"
  90. >
  91. {{ item.name }}
  92. </div>
  93. </div>
  94. <div class="table-wrapper">
  95. <div
  96. class="table-content"
  97. v-for="item in arrangeTableData"
  98. :key="item.id"
  99. >
  100. <el-tooltip
  101. :content="item.street"
  102. :disabled="isShowTooltip"
  103. effect="dark"
  104. placement="top"
  105. >
  106. <div
  107. class="content-item street"
  108. @mouseover="onMouseOver(item.id + 1 * item.id)"
  109. >
  110. <span ref="str">{{ `${item.street}` }}</span>
  111. </div>
  112. </el-tooltip>
  113. <div class="content-item">{{ item.arrangeSumHost }}</div>
  114. <div class="content-item">{{ item.arrangeHosted }}</div>
  115. <div class="content-item blue">
  116. {{ item.arrangeHostPercentage }}
  117. </div>
  118. <div class="content-item">{{ item.arrangeSumSet }}</div>
  119. <div class="content-item">{{ item.arrangeSeted }}</div>
  120. <div class="content-item blue">
  121. {{ item.arrangeSetPercentage }}
  122. </div>
  123. <el-tooltip
  124. :content="item.remarks"
  125. :disabled="isShowTooltip"
  126. effect="dark"
  127. placement="top"
  128. >
  129. <div
  130. class="content-item remark"
  131. @mouseover="onMouseOver(item.id + 1 * item.id + 1)"
  132. >
  133. <span ref="str">{{ `${item.remarks}` }}</span>
  134. </div>
  135. </el-tooltip>
  136. </div>
  137. </div>
  138. </div>
  139. <div class="right">
  140. <div class="table-header">
  141. <div
  142. class="header-item"
  143. v-for="item in transitionTableHeader"
  144. :key="item.id"
  145. >
  146. {{ item.name }}
  147. </div>
  148. </div>
  149. <div class="table-wrapper">
  150. <div
  151. class="table-content"
  152. v-for="item in transitionTableData"
  153. :key="item.id"
  154. >
  155. <div class="content-item ">
  156. <span ref="str">{{ `${item.street}` }}</span>
  157. </div>
  158. <div class="content-item">{{ item.arrangeSumHost }}</div>
  159. <div class="content-item">{{ item.arrangeHosted }}</div>
  160. <div class="content-item">
  161. {{ item.transitionHost }}
  162. </div>
  163. <div class="content-item">{{ item.transitionMerony }}</div>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. </template>
  171. <script>
  172. export default {
  173. data() {
  174. return {
  175. // 安置列表
  176. arrangeList: [
  177. {
  178. id: 0,
  179. img: require("@/assets/ResettlementManagement/survey_one.png"),
  180. num: 1000,
  181. name: "没有安置"
  182. },
  183. {
  184. id: 1,
  185. img: require("../../../../assets/ResettlementManagement/survey_two.png"),
  186. num: 1000,
  187. name: "完全安置"
  188. },
  189. {
  190. id: 2,
  191. img: require("../../../../assets/ResettlementManagement/survey_three.png"),
  192. num: 1000,
  193. name: "部分安置"
  194. },
  195. {
  196. id: 3,
  197. img: require("../../../../assets/ResettlementManagement/survey_four.png"),
  198. num: 1000,
  199. name: "没有安置"
  200. },
  201. {
  202. id: 4,
  203. img: require("../../../../assets/ResettlementManagement/survey_five.png"),
  204. num: 1000,
  205. name: "完全安置"
  206. },
  207. {
  208. id: 5,
  209. img: require("../../../../assets/ResettlementManagement/survey_six.png"),
  210. num: 1000,
  211. name: "部分安置"
  212. }
  213. ],
  214. // 图表1
  215. options1: {
  216. color: ["#f175a2", "#f5bc00", "#ac45f7"],
  217. legend: {
  218. right: "0",
  219. orient: "vertical",
  220. itemGap: 24,
  221. icon: "circle"
  222. },
  223. series: [
  224. {
  225. type: "pie",
  226. radius: ["50%", "80%"],
  227. center: ["40%", "50%"],
  228. roseType: "area",
  229. label: {
  230. show: true,
  231. formatter: `{c}m({d|{d}%})`,
  232. rich: {
  233. d: {
  234. color: "#5246f7"
  235. }
  236. }
  237. },
  238. labelLine: {
  239. normal: {
  240. show: true,
  241. length: 5,
  242. length2: 10,
  243. lineStyle: {
  244. width: 1
  245. },
  246. position: "outer"
  247. },
  248. emphasis: {
  249. show: true
  250. }
  251. },
  252. data: [
  253. { name: "完全安置", value: 500 },
  254. { name: "部分安置", value: 200 },
  255. { name: "没有安置", value: 300 }
  256. ]
  257. },
  258. {
  259. type: "pie",
  260. selectedMode: "single",
  261. radius: ["0%", "30%"],
  262. center: ["40%", "50%"],
  263. label: {
  264. position: "inner",
  265. fontSize: 14
  266. },
  267. labelLine: {
  268. show: false
  269. },
  270. data: [
  271. { name: "完全安置", value: 500 },
  272. { name: "部分安置", value: 200 },
  273. { name: "没有安置", value: 300 }
  274. ]
  275. }
  276. ]
  277. },
  278. // 图表2
  279. options2: {
  280. color: ["#f06e00", "#48aac7", "#324fdc"],
  281. legend: {
  282. right: "0",
  283. orient: "vertical",
  284. itemGap: 24,
  285. icon: "circle"
  286. },
  287. series: [
  288. {
  289. type: "pie",
  290. radius: ["50%", "80%"],
  291. center: ["40%", "50%"],
  292. roseType: "area",
  293. label: {
  294. lineHeight: 18,
  295. show: true,
  296. formatter: "{c}m({d|{d}%})\n",
  297. rich: {
  298. d: {
  299. color: "#5246f7"
  300. }
  301. }
  302. },
  303. labelLine: {
  304. normal: {
  305. show: true,
  306. length: 5,
  307. length2: 10,
  308. lineStyle: {
  309. width: 1
  310. },
  311. position: "outer"
  312. },
  313. emphasis: {
  314. show: true
  315. }
  316. },
  317. data: [
  318. { name: "完全安置", value: 600 },
  319. { name: "部分安置", value: 400 },
  320. { name: "没有安置", value: 700 }
  321. ]
  322. },
  323. {
  324. type: "pie",
  325. selectedMode: "single",
  326. radius: ["0%", "30%"],
  327. center: ["40%", "50%"],
  328. label: {
  329. position: "inner",
  330. fontSize: 14
  331. },
  332. labelLine: {
  333. show: false
  334. },
  335. data: [
  336. { name: "完全安置", value: 600 },
  337. { name: "部分安置", value: 400 },
  338. { name: "没有安置", value: 700 }
  339. ]
  340. }
  341. ]
  342. },
  343. // 图表3
  344. options3: {
  345. title: {
  346. text: "过渡安置",
  347. left: "29%",
  348. top: "center"
  349. },
  350. color: ["#5b90fc", "#bcd3fc"],
  351. legend: {
  352. right: "0",
  353. orient: "vertical",
  354. itemGap: 24,
  355. icon: "circle"
  356. },
  357. series: [
  358. {
  359. type: "pie",
  360. radius: ["40%", "70%"],
  361. center: ["40%", "50%"],
  362. roseType: "area",
  363. label: {
  364. width: 97,
  365. height: 28,
  366. lineHeight: 28,
  367. color: "#fff",
  368. borderRadius: 4,
  369. backgroundColor: "#3a6ee8",
  370. position: "inside",
  371. show: true,
  372. formatter: `{b}:{d}%`,
  373. rich: {}
  374. },
  375. labelLine: {
  376. show: false
  377. },
  378. data: [
  379. { name: "已安置", value: 500 },
  380. { name: "未安置", value: 200 }
  381. ]
  382. }
  383. ]
  384. },
  385. //是否显示文字提示组件
  386. isShowTooltip: false,
  387. //安置表格表头列
  388. arrangeTableHeader: [
  389. { id: 0, name: "街道" },
  390. { id: 1, name: "安置总户数" },
  391. { id: 2, name: "已安置户数" },
  392. { id: 3, name: "安置户数比例" },
  393. { id: 4, name: "安置房总套数" },
  394. { id: 5, name: "已安置套数" },
  395. { id: 6, name: "安置套数比例" },
  396. { id: 7, name: "备注" }
  397. ],
  398. // 安置表格数据
  399. arrangeTableData: [
  400. {
  401. id: 0,
  402. street: "古塘街道",
  403. arrangeSumHost: 1356, //安置总户数
  404. arrangeHosted: 869, //已安置户数
  405. arrangeHostPercentage: "20%", //安置户数比例
  406. arrangeSumSet: 564, //安置房总套数
  407. arrangeSeted: 321, //已安置套数
  408. arrangeSetPercentage: "25%", //安置套数比例
  409. remarks: "未安置套数不多,还需加油把剩下的弄完" //备注
  410. },
  411. {
  412. id: 1,
  413. street: "白沙提街道",
  414. arrangeSumHost: 1356, //安置总户数
  415. arrangeHosted: 869, //已安置户数
  416. arrangeHostPercentage: "20%", //安置户数比例
  417. arrangeSumSet: 564, //安置房总套数
  418. arrangeSeted: 321, //已安置套数
  419. arrangeSetPercentage: "25%", //安置套数比例
  420. remarks: "未安置套数不多,还需加油把剩下的弄完" //备注
  421. },
  422. {
  423. id: 2,
  424. street: "祥福街街道",
  425. arrangeSumHost: 1356, //安置总户数
  426. arrangeHosted: 869, //已安置户数
  427. arrangeHostPercentage: "20%", //安置户数比例
  428. arrangeSumSet: 564, //安置房总套数
  429. arrangeSeted: 321, //已安置套数
  430. arrangeSetPercentage: "25%", //安置套数比例
  431. remarks: "未安置套数不多,还需加油把剩下的弄完" //备注
  432. },
  433. {
  434. id: 3,
  435. street: "上塘街道",
  436. arrangeSumHost: 1356, //安置总户数
  437. arrangeHosted: 869, //已安置户数
  438. arrangeHostPercentage: "20%", //安置户数比例
  439. arrangeSumSet: 564, //安置房总套数
  440. arrangeSeted: 321, //已安置套数
  441. arrangeSetPercentage: "25%", //安置套数比例
  442. remarks: "未安置套数不多,还需加油把剩下的弄完" //备注
  443. },
  444. {
  445. id: 4,
  446. street: "瓜山街道",
  447. arrangeSumHost: 1356, //安置总户数
  448. arrangeHosted: 869, //已安置户数
  449. arrangeHostPercentage: "20%", //安置户数比例
  450. arrangeSumSet: 564, //安置房总套数
  451. arrangeSeted: 321, //已安置套数
  452. arrangeSetPercentage: "25%", //安置套数比例
  453. remarks: "未安置套数不多,还需加油把剩下的弄完" //备注
  454. },
  455. {
  456. id: 5,
  457. street: "光明街道",
  458. arrangeSumHost: 1356, //安置总户数
  459. arrangeHosted: 869, //已安置户数
  460. arrangeHostPercentage: "20%", //安置户数比例
  461. arrangeSumSet: 564, //安置房总套数
  462. arrangeSeted: 321, //已安置套数
  463. arrangeSetPercentage: "25%", //安置套数比例
  464. remarks: "未安置套数不多,还需加油把剩下的弄完" //备注
  465. },
  466. {
  467. id: 6,
  468. street: "蔡马人家街道",
  469. arrangeSumHost: 1356, //安置总户数
  470. arrangeHosted: 869, //已安置户数
  471. arrangeHostPercentage: "20%", //安置户数比例
  472. arrangeSumSet: 564, //安置房总套数
  473. arrangeSeted: 321, //已安置套数
  474. arrangeSetPercentage: "25%", //安置套数比例
  475. remarks: "未安置套数不多,还需加油把剩下的弄完" //备注
  476. }
  477. ],
  478. // 过渡表格表头列
  479. transitionTableHeader: [
  480. {
  481. id: 0,
  482. name: "街道"
  483. },
  484. {
  485. id: 1,
  486. name: "安置总户数"
  487. },
  488. {
  489. id: 2,
  490. name: "已完成户数"
  491. },
  492. {
  493. id: 3,
  494. name: "过渡户数"
  495. },
  496. {
  497. id: 4,
  498. name: "已放过渡费"
  499. }
  500. ],
  501. // 过渡表格数据
  502. transitionTableData: [
  503. {
  504. id: 0,
  505. street: "古塘街道",
  506. arrangeSumHost: 1356, //安置总户数
  507. arrangeHosted: 869, //已安置户数
  508. transitionHost: 3564, //过渡户数
  509. transitionMerony: 256412 //已发放过过渡费
  510. },
  511. {
  512. id: 1,
  513. street: "古塘街道",
  514. arrangeSumHost: 1356, //安置总户数
  515. arrangeHosted: 869, //已安置户数
  516. transitionHost: 3564, //过渡户数
  517. transitionMerony: 256412 //已发放过过渡费
  518. },
  519. {
  520. id: 2,
  521. street: "古塘街道",
  522. arrangeSumHost: 1356, //安置总户数
  523. arrangeHosted: 869, //已安置户数
  524. transitionHost: 3564, //过渡户数
  525. transitionMerony: 256412 //已发放过过渡费
  526. },
  527. {
  528. id: 3,
  529. street: "古塘街道",
  530. arrangeSumHost: 1356, //安置总户数
  531. arrangeHosted: 869, //已安置户数
  532. transitionHost: 3564, //过渡户数
  533. transitionMerony: 256412 //已发放过过渡费
  534. },
  535. {
  536. id: 4,
  537. street: "古塘街道",
  538. arrangeSumHost: 1356, //安置总户数
  539. arrangeHosted: 869, //已安置户数
  540. transitionHost: 3564, //过渡户数
  541. transitionMerony: 256412 //已发放过过渡费
  542. }
  543. ]
  544. };
  545. },
  546. mounted() {
  547. var myChart1 = this.$echarts.init(document.getElementById("chart1"));
  548. myChart1.setOption(this.options1);
  549. var myChart2 = this.$echarts.init(document.getElementById("chart2"));
  550. myChart2.setOption(this.options2);
  551. var myChart3 = this.$echarts.init(document.getElementById("chart3"));
  552. myChart3.setOption(this.options3);
  553. },
  554. computed: {},
  555. methods: {
  556. // 处理文字提示组件是否显示
  557. onMouseOver(index) {
  558. // 内容超出,显示文字提示内容
  559. const tag = this.$refs.str;
  560. console.log("index------", tag, index);
  561. const parentWidth = tag[index].parentNode.offsetWidth; // 获取元素父级可视宽度
  562. console.log("parentWidth-------", parentWidth);
  563. const contentWidth = tag[index].offsetWidth; // 获取元素可视宽度
  564. console.log("contentWidth-------", contentWidth);
  565. this.isShowTooltip = contentWidth <= parentWidth;
  566. }
  567. }
  568. };
  569. </script>
  570. <style scoped lang="less">
  571. .survey {
  572. width: 100%;
  573. height: 100%;
  574. .Outside {
  575. width: 100%;
  576. height: 100%;
  577. box-shadow: 3px 2px 12px 0px rgba(0, 0, 0, 0.1);
  578. }
  579. // 图表标题与表格标题公共样式
  580. .chart-title,
  581. .table—title {
  582. width: 100%;
  583. height: 60px;
  584. font-size: 16px;
  585. display: flex;
  586. background-color: #fafafa;
  587. .left,
  588. .right {
  589. width: 50%;
  590. height: 60px;
  591. line-height: 60px;
  592. padding-left: 42px;
  593. box-sizing: border-box;
  594. }
  595. }
  596. .chart-title {
  597. .left {
  598. width: 70%;
  599. border-right: 1px solid #e7e7e7;
  600. }
  601. .right {
  602. width: 30%;
  603. }
  604. }
  605. // 图表样式
  606. .survey-chart {
  607. width: 100%;
  608. height: 346px;
  609. display: flex;
  610. border-bottom: 1px solid #e7e7e7;
  611. .left,
  612. .center {
  613. height: 346px;
  614. border-right: 1px solid #e7e7e7;
  615. width: 35%;
  616. box-sizing: border-box;
  617. }
  618. .left,
  619. .center,
  620. .right {
  621. padding: 22px 16px 42px 32px;
  622. display: flex;
  623. justify-content: space-between;
  624. box-sizing: border-box;
  625. .left-left,
  626. .center-left,
  627. .right-left {
  628. width: 25%;
  629. display: flex;
  630. flex-direction: column;
  631. justify-content: space-around;
  632. .arrange-item {
  633. width: 100%;
  634. display: flex;
  635. justify-content: space-between;
  636. align-items: center;
  637. height: 50px;
  638. .img {
  639. img {
  640. width: 50px;
  641. height: 50px;
  642. }
  643. }
  644. .text {
  645. margin-left: 10px;
  646. div {
  647. font-size: 20px;
  648. font-family: Microsoft YaHei-Regular, Microsoft YaHei;
  649. color: #000000;
  650. line-height: 23px;
  651. }
  652. span {
  653. font-size: 14px;
  654. font-family: Microsoft YaHei-Regular, Microsoft YaHei;
  655. color: #666666;
  656. line-height: 16px;
  657. }
  658. }
  659. }
  660. }
  661. .left-right,
  662. .center-right {
  663. width: 80%;
  664. flex: 1;
  665. }
  666. }
  667. .right {
  668. width: 30%;
  669. .right-right {
  670. width: 75%;
  671. }
  672. }
  673. }
  674. // 表格样式
  675. .survey-table {
  676. width: 100%;
  677. height: 316px;
  678. display: flex;
  679. .left {
  680. width: 50%;
  681. height: 316px;
  682. border-right: 1px solid #e7e7e7;
  683. box-sizing: border-box;
  684. }
  685. // 共用表格样式
  686. .table-header {
  687. width: 100%;
  688. height: 49px;
  689. padding: 0 20px;
  690. box-sizing: border-box;
  691. background: #f2f3f5;
  692. display: flex;
  693. align-items: center;
  694. justify-content: space-between;
  695. .header-item {
  696. width: 12.5%;
  697. text-align: center;
  698. color: #666666;
  699. font-size: 14px;
  700. font-weight: bold;
  701. }
  702. .header-item:first-of-type {
  703. width: 11%;
  704. }
  705. .header-item:last-of-type {
  706. width: 11%;
  707. }
  708. }
  709. .table-wrapper {
  710. width: 100%;
  711. height: 49px;
  712. min-height: 245px;
  713. overflow-y: auto;
  714. background: #ffff;
  715. .table-content {
  716. width: 100%;
  717. padding: 0 20px;
  718. box-sizing: border-box;
  719. display: flex;
  720. align-items: center;
  721. justify-content: space-between;
  722. height: 49px;
  723. color: #666666;
  724. font-size: 14px;
  725. border-bottom: 1px solid #efecec;
  726. .content-item {
  727. width: 12.5%;
  728. text-align: center;
  729. }
  730. .street {
  731. width: 11%;
  732. overflow: hidden;
  733. white-space: nowrap;
  734. text-overflow: ellipsis;
  735. }
  736. .remark {
  737. width: 8%;
  738. overflow: hidden;
  739. white-space: nowrap;
  740. text-overflow: ellipsis;
  741. }
  742. .blue {
  743. color: #4067ff;
  744. font-weight: bold;
  745. }
  746. }
  747. }
  748. .right {
  749. width: 50%;
  750. //不同于左侧表格的样式
  751. .header-item {
  752. width: 20% !important;
  753. }
  754. .content-item {
  755. width: 20% !important;
  756. }
  757. }
  758. }
  759. // 共用小圆点样式
  760. .circle {
  761. width: 10px;
  762. height: 10px;
  763. border-radius: 50%;
  764. background-color: #1c53d9;
  765. display: inline-block;
  766. margin-right: 6px;
  767. }
  768. }
  769. // 以下是图表样式
  770. #chart1 {
  771. width: 100%;
  772. height: 300px;
  773. }
  774. #chart2 {
  775. width: 100%;
  776. height: 300px;
  777. }
  778. #chart3 {
  779. width: 100%;
  780. height: 300px;
  781. }
  782. </style>