IndexEdit.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. <template>
  2. <div>
  3. <el-drawer
  4. v-loading="loading"
  5. :show-close="false"
  6. :title="curObj.id ? '编辑楼盘' : '新增楼盘'"
  7. :wrapper-closable="false"
  8. :close-on-press-escape="false"
  9. :visible.sync="isShow"
  10. size="960px"
  11. custom-class="xl-drawer"
  12. direction="rtl"
  13. >
  14. <base-form ref="ruleForm" class="lib-edit" :data="formData" :is-inline="false" label-width="110px" :insertSlotArr="[23,24]">
  15. <div slot="OI23" class="scoped-product">
  16. <div class="sp-item" v-for="(product, one) in productData" :key="one">
  17. <div class="sp-title">{{product.product_type_name}}
  18. <div class="scoped-sp-box" @click="openPtPopup(product, one)">
  19. 修改类型
  20. </div>
  21. </div>
  22. <div class="sp-content">
  23. <div class="sc-input">
  24. <el-form-item label-width="80px" label="产品均价">
  25. <el-input v-model="product.average_price" placeholder="数字如:15000"></el-input>
  26. </el-form-item>
  27. <el-form-item label-width="80px" label="梯户比">
  28. <el-input v-model="product.stairs_rate" placeholder="如:2梯4户"></el-input>
  29. </el-form-item>
  30. <el-form-item label-width="80px" label="最低单价">
  31. <el-input v-model="product.price_min" placeholder="选填"></el-input>
  32. </el-form-item>
  33. <el-form-item label-width="80px" label="最高单价">
  34. <el-input v-model="product.price_max" placeholder="选填"></el-input>
  35. </el-form-item>
  36. </div>
  37. <el-form-item label="户型">
  38. <el-select v-model="product.house_type_list_val" placeholder="请选择" :multiple="true" @change="houseTypeChange(one)">
  39. <el-option
  40. v-for="item in $dictData.house_type"
  41. :key="item.val"
  42. :label="item.key"
  43. :value="item.val">
  44. </el-option>
  45. </el-select>
  46. </el-form-item>
  47. <div class="room-box">
  48. <div class="room-item" v-for="(room, two) in product.house_type_list" :key="two">
  49. <div class="ri-title">{{room.house_type_name}}
  50. <el-button type="small" icon="el-icon-plus" class="xl-form-btn xs t3" @click="roomAreaAdd(one, two)">添加</el-button>
  51. </div>
  52. <div class="ri-content">
  53. <div class="ri-op" v-for="(area, three) in room.area_list" :key="three">
  54. <el-upload
  55. class="ri-img"
  56. :action="`${domainUrl}/adm/upload/cloud`"
  57. :data="{logic_type: 'estate', token}"
  58. name="upload"
  59. :show-file-list="false"
  60. :on-success="roomAreaUploadSuccess"
  61. :on-error="roomAreaUploadError"
  62. :before-upload="roomAreaUploadBefore"
  63. >
  64. <img v-if="area.img_url" :src="area.img_url" class="img" @click="roomAreaUploadImg(one, two, three)">
  65. <i v-else class="el-icon-plus icon" @click="roomAreaUploadImg(one, two, three)"/>
  66. <img :src="area.img_url" class="ri-img-big">
  67. </el-upload>
  68. <div class="ri-deal">
  69. <input class="ri-input" v-model="area.area" type="text" placeholder="输面积">
  70. <span class="ri-del" @click="roomAreaDel(one, two, three)">删除</span>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. <div slot="OI24" class="scoped-other-form">
  80. <el-form-item label="点位坐标" class="scoped-item-two item">
  81. 纬度N<el-input v-model="cObj.latitude" disabled />
  82. 经度E<el-input v-model="cObj.longitude" disabled />
  83. <el-button type="primary" class="map-btn" size="small" @click="openMap">点击从地图获取</el-button>
  84. </el-form-item>
  85. </div>
  86. </base-form>
  87. <div class="xl-form">
  88. <div class="xl-form-footer fixed" style="width:960px;padding-top: 20px;border-top: 1px solid #dcdcdc;right:0;">
  89. <el-button class="xl-form-btn t2" @click="close">关 闭</el-button>
  90. <el-button class="xl-form-btn t1" @click="close('confirm')">确定</el-button>
  91. </div>
  92. </div>
  93. </el-drawer>
  94. <handle-map :is-show="isShowMap" @close="closeMap" />
  95. <pt-edit
  96. :isShow="isPtShow"
  97. :curObj="ptObj"
  98. @close="closePtPopup"
  99. />
  100. </div>
  101. </template>
  102. <script>
  103. import { arrToObj } from '@/utils'
  104. import handleMap from '@/components/Common/Map'
  105. import PtEdit from './ProductTypeEdit'
  106. export default {
  107. components: {
  108. handleMap,
  109. PtEdit,
  110. },
  111. mixins,
  112. props: {
  113. isShow: Boolean,
  114. curObj: Object
  115. },
  116. inject: ['parentData'],
  117. data() {
  118. const token = window.sessionStorage.getItem('fp_token')
  119. let domainUrl = process.env.VUE_APP_BASE_API
  120. return {
  121. domainUrl,
  122. token,
  123. loading: false,
  124. formData: [],
  125. cObj: {},
  126. isShowMap: false,
  127. productData: [],
  128. tempImgIndex: [0, 0, 0],
  129. ptObj: {},
  130. isPtShow: false,
  131. }
  132. },
  133. watch: {
  134. isShow: function(val) {
  135. if (val) {
  136. if (this.curObj.id) {
  137. this.loading = true
  138. this.$api.house.admestatedetail({id: this.curObj.id}).then(res => {
  139. let curData = res || {}
  140. if (curData.house_type) curData.house_type = curData.house_type.split(',')
  141. if (curData.product_type) curData.product_type = curData.product_type.split(',')
  142. if (curData.hospital_type) curData.hospital_type = curData.hospital_type.split(',')
  143. if (curData.high_street) curData.high_street = curData.high_street.split(',')
  144. if (curData.park_type) curData.park_type = curData.park_type.split(',')
  145. if (curData.metro_line) curData.metro_line = curData.metro_line.split(',')
  146. if (curData.metro_type) curData.metro_type = curData.metro_type.split(',')
  147. this.cObj = curData || {}
  148. let productData = curData.area_data || []
  149. productData.map((one, oneIndex) =>{
  150. one.product_type_name = arrToObj(this.$dictData.product_type)[one.product_type_val]
  151. let houseTypeList = one.house_type_list || []
  152. one.house_type_list_val = []
  153. houseTypeList.map(two => {
  154. two.house_type_name = arrToObj(this.$dictData.house_type)[two.house_type_val]
  155. one.house_type_list_val.push(String(two.house_type_val))
  156. })
  157. })
  158. this.productData = [...productData]
  159. this.getDef()
  160. this.loading = false
  161. })
  162. } else {
  163. this.cObj = this.curObj
  164. this.getDef()
  165. }
  166. }
  167. },
  168. },
  169. methods: {
  170. closePtPopup (bcData) {
  171. this.isPtShow = false
  172. if (bcData) {
  173. let productData = [...this.productData]
  174. let cObj = productData[bcData.index]
  175. cObj.product_type_val = bcData.ptVal
  176. cObj.product_type_name = bcData.ptName
  177. productData[bcData.index] = cObj
  178. this.productData = [...productData]
  179. let params = {...this.$refs.ruleForm.baseForm}
  180. let curPt = [...params.product_type]
  181. curPt[bcData.index] = bcData.ptVal
  182. params.product_type = curPt
  183. this.setDefaultValue(params)
  184. }
  185. },
  186. openPtPopup (row, index) {
  187. // console.log(row)
  188. // console.log(index)
  189. this.isPtShow = true
  190. this.ptObj = {
  191. row,
  192. index
  193. }
  194. },
  195. houseTypeChange (one) {
  196. let productData = [...this.productData]
  197. let tempList = []
  198. let houseTypeList = productData[one].house_type_list || []
  199. const curVal = productData[one].house_type_list_val ||[]
  200. curVal.forEach(v =>{
  201. let cObj = {
  202. house_type_name: arrToObj(this.$dictData.house_type)[v],
  203. house_type_val: v,
  204. area_list: [{img_url: '', area: '0'}]
  205. }
  206. houseTypeList.forEach((h, hIndex) =>{
  207. if (v === String(h.house_type_val)) {
  208. cObj.area_list = houseTypeList[hIndex].area_list || []
  209. }
  210. })
  211. tempList.push(cObj)
  212. })
  213. productData[one].house_type_list = tempList
  214. this.productData = [...productData]
  215. },
  216. roomAreaDel (one, two, three) {
  217. let productData = [...this.productData]
  218. productData[one].house_type_list[two].area_list.splice(three, 1)
  219. this.productData = [...productData]
  220. },
  221. roomAreaAdd (one, two) {
  222. let productData = [...this.productData]
  223. productData[one].house_type_list[two].area_list.push({img_url: '', area: '0'})
  224. this.productData = [...productData]
  225. },
  226. roomAreaUploadImg (one, two, three) {
  227. this.tempImgIndex = [one, two, three]
  228. },
  229. roomAreaUploadSuccess(res, file) {
  230. const data = res.data || {}
  231. let productData = [...this.productData]
  232. // productData[this.tempImgIndex[0]].house_type_list[this.tempImgIndex[1]].area_list[this.tempImgIndex[2]].img_url = `${data.domain}${data.url}?url=${data.url}&id=${data.file_id}`
  233. productData[this.tempImgIndex[0]].house_type_list[this.tempImgIndex[1]].area_list[this.tempImgIndex[2]].img_url = `${data.url}`
  234. this.productData = [...productData]
  235. },
  236. roomAreaUploadError(file) {
  237. // this.changeHandle(file)
  238. },
  239. roomAreaUploadBefore(file) {
  240. const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
  241. const isLt2M = file.size / 1024 / 1024 < 2
  242. if (!isJPGPNG) {
  243. this.$message.error('上传图片只能是 JPG PNG 格式!')
  244. }
  245. if (!isLt2M) {
  246. this.$message.error('上传图片大小不能超过 2M!')
  247. }
  248. return isJPGPNG && isLt2M
  249. },
  250. metroLineChange (val) {
  251. this.getDef('change', 'metro_line')
  252. },
  253. productTypeChange (val, op, item) {
  254. const valArr = [...val]
  255. const productData = [...this.productData]
  256. let newArr = []
  257. valArr.forEach(v => {
  258. let vObj = {
  259. product_type_name: arrToObj(this.$dictData.product_type)[v],
  260. product_type_val: v,
  261. }
  262. productData.forEach(old =>{
  263. if (v === String(old.product_type_val)) {
  264. vObj = {...old}
  265. }
  266. })
  267. newArr.push(vObj)
  268. })
  269. this.productData = [...newArr]
  270. },
  271. getDef (str, strKey, strParams) {
  272. let params = {}
  273. if (str === 'change') {
  274. params = {...this.cObj, ...this.$refs.ruleForm.baseForm}
  275. } else {
  276. params = { ...this.cObj }
  277. }
  278. let metroLine = params.metro_line || []
  279. let metroTypeArr = []
  280. if (str === 'change' && strKey === 'metro_line') params.metro_type = ''
  281. const metroTypeAll = this.$dictData.metro_type || []
  282. metroTypeAll.map(item => {
  283. metroLine.map(mline => {
  284. if (item.option1.indexOf(mline) > -1) {
  285. metroTypeArr.push(item)
  286. }
  287. })
  288. })
  289. let disabled = false
  290. if (params.id) disabled = true
  291. const remoteOptionsSchoolList = []
  292. if (params.school_list) {
  293. params.school_id_list = params.school_list.map(item => {
  294. remoteOptionsSchoolList.push({ keyRO: item.school_name, valRO: item.id })
  295. return item.id
  296. })
  297. } else {
  298. params.school_id_list = []
  299. }
  300. this.formData = [
  301. { label: '楼盘名称', key: 'estate_name', rules: 1 },
  302. { label: '所属区域', key: 'area_type', type: 'select', class: 'c-3', options: this.$dictData.area_type },
  303. { label: '地铁线路', key: 'metro_line', type: 'select', class: 'c-3', options: this.$dictData.metro_line, changeHandle: this.metroLineChange, multiple: true },
  304. { label: '地铁站名', key: 'metro_type', type: 'select', class: 'c-3', options: metroTypeArr, multiple: true},
  305. // { label: '周边医院', key: 'hospital_type', type: 'select', class: 'c-3', options: this.$dictData.hospital_type, multiple: true },
  306. // { label: '周边商圈', key: 'high_street', type: 'select', class: 'c-3', options: this.$dictData.high_street, multiple: true },
  307. // { label: '周边公园', key: 'park_type', type: 'select', class: 'c-3', options: this.$dictData.park_type, multiple: true },
  308. { label: '建设时间', key: 'build_time', class: 'c-3', type: 'datePicker', type2: 'month', valueFormat: 'yyyy-MM'},
  309. { label: '竣工时间', key: 'complete_time', class: 'c-3', type: 'datePicker', type2: 'month', valueFormat: 'yyyy-MM'},
  310. { label: '容积率', key: 'plot_ratio', class: 'c-3'},
  311. { label: '占地面积', key: 'acreage', class: 'c-3', type: 'inputFont', appendFont: '㎡'},
  312. { label: '建筑面积', key: 'built_up_area', class: 'c-3', type: 'inputFont', appendFont: '㎡'},
  313. { label: '总户数', key: 'household', class: 'c-3', type: 'inputFont', appendFont: '户'},
  314. { label: '物业公司', key: 'property_type', class: 'c-3'},
  315. { label: '物业费', key: 'property_fee', class: 'c-3'},
  316. { label: '车位数量', key: 'parking', class: 'c-3', type: 'inputFont', appendFont: '个'},
  317. { label: '绿化率', key: 'green_rate', class: 'c-3', type: 'inputFont', appendFont: '%' },
  318. { label: '楼盘标签', key: 'estate_tag', type: 'select', class: 'c-3', options: this.$dictData.estate_tag, rules: 1 },
  319. { label: '自定义标签', key: 'custom_tag', class: 'c-3' },
  320. { label: '开发商', key: 'developer', class: 'c-3' },
  321. { label: '楼栋数', key: 'seat_sum', class: 'c-3', type: 'inputFont', appendFont: '栋' },
  322. { label: '产权年限', key: 'ownership', class: 'c-3' },
  323. { label: '初次交付时间', key: 'deliver_time', class: 'c-3', type: 'datePicker', type2: 'month', valueFormat: 'yyyy-MM'},
  324. { label: '楼盘单价', key: 'price_range', class: 'c-3', type: 'inputFont', appendFont: '/㎡', rules: 1 },
  325. { label: '户型面积区间', key: 'built_area', class: 'c-3', type: 'inputFont', appendFont: '㎡' },
  326. { label: '产品类型', key: 'product_type', type: 'select', options: this.$dictData.product_type, multiple: true, changeHandle: this.productTypeChange},
  327. // { label: '房型', key: 'house_type', type: 'select', options: this.$dictData.house_type, multiple: true},
  328. // { label: '面积', label2: '多个面积英文逗号,分开(如:100,120)', key: 'house_area', type: 'inputFont', appendFont: '㎡'},
  329. // { label: '均价范围1', key: 'price_min', class: 'c-3', type: 'inputFont', appendFont: '元(最小)'},
  330. // { label: '均价范围2', key: 'price_max', class: 'c-3', type: 'inputFont', appendFont: '元(最大)'},
  331. { label: '就读学校', key: 'school_id_list', type: 'selectRemote', multiple: true,
  332. remoteParams: { skey: 'school_name', api: `house.admschoollist`, opKey: 'school_name', opVal: 'id' },
  333. remoteOptions: remoteOptionsSchoolList
  334. },
  335. { label: '楼盘地址', key: 'address', rules: 1 },
  336. { label: '是否新房', key: 'is_new', type: 'select', class: 'c-3', options: this.$dictData.sys_yesno, rules: 1 },
  337. // { label: '梯户比', label2: '如:2梯4户', key: 'stairs_rate', class: 'c-3' },
  338. { label: '不利因素', key: 'minus_points' },
  339. { label: '楼盘图', key: 'pri_image', class: 'c-3', type: 'upload', rules: 1 },
  340. { label: '简评', key: 'remarked', class: 'c-3s', type: 'textarea' },
  341. ]
  342. this.setDefaultValue(params)
  343. },
  344. close (str) {
  345. if (str === 'confirm') {
  346. this.$refs['ruleForm'].$refs['baseForm'].validate((valid) => {
  347. if (valid) {
  348. const oldform = this.$refs.ruleForm.baseForm
  349. const newForm = { ...oldform }
  350. if (this.curObj.id) newForm.id = this.curObj.id
  351. if (newForm.school_id_list && newForm.school_id_list.length > 0) {
  352. newForm.school_id_list = newForm.school_id_list.join(',')
  353. } else {
  354. newForm.school_id_list = ''
  355. }
  356. newForm.longitude = this.cObj.longitude
  357. newForm.latitude = this.cObj.latitude
  358. if (!newForm.longitude) return this.$msgw('请选择经度!')
  359. else if (!newForm.latitude) return this.$msgw('请选择纬度!')
  360. if (newForm.house_type) newForm.house_type = newForm.house_type.join(',')
  361. if (newForm.product_type) newForm.product_type = newForm.product_type.join(',')
  362. if (newForm.hospital_type) newForm.hospital_type = newForm.hospital_type.join(',')
  363. if (newForm.high_street) newForm.high_street = newForm.high_street.join(',')
  364. if (newForm.park_type) newForm.park_type = newForm.park_type.join(',')
  365. if (newForm.metro_line) newForm.metro_line = newForm.metro_line.join(',')
  366. if (newForm.metro_type) newForm.metro_type = newForm.metro_type.join(',')
  367. newForm.custom_tag = newForm.custom_tag.replace(/,|、|\/|\\/g, ',')
  368. // newForm.stairs_rate = newForm.stairs_rate.replace(',', ',')
  369. let productData = this.productData || []
  370. let pFlag = false
  371. productData.forEach(pOne => {
  372. if (!pOne.average_price || !pOne.house_type_list_val) {
  373. pFlag = true
  374. }
  375. if (!pOne.stairs_rate) pOne.stairs_rate = ''
  376. })
  377. if (pFlag) {
  378. this.$msg('请输入完整的产品均价、户型图!')
  379. return
  380. }
  381. if (productData.length === 0) {
  382. newForm.area_data = ''
  383. } else {
  384. newForm.area_data = JSON.stringify([...productData])
  385. }
  386. let apiStr = 'admestateadd'
  387. if (this.curObj.id) apiStr = 'admestateedit'
  388. this.$api.house[apiStr](newForm).then(data => {
  389. this.$msgs(newForm.id ? '编辑成功' : '新增成功')
  390. this.productData = []
  391. this.$emit('close', newForm)
  392. })
  393. }
  394. })
  395. } else {
  396. this.$emit('close')
  397. this.productData = []
  398. this.setDefaultValue()
  399. }
  400. },
  401. openMap() { // 定位
  402. this.isShowMap = true
  403. const pointObj = {
  404. latitude: this.cObj.latitude || '',
  405. longitude: this.cObj.longitude || '',
  406. address: this.cObj.address || ''
  407. }
  408. this.$root.$emit('handleMap', pointObj)
  409. },
  410. closeMap(obj) {
  411. if (obj) {
  412. const oldform = this.$refs.ruleForm.baseForm
  413. const newForm = { ...oldform, ...obj }
  414. this.cObj = newForm
  415. this.setDefaultValue(newForm)
  416. }
  417. this.isShowMap = false
  418. }
  419. }
  420. }
  421. </script>
  422. <style lang="scss" scoped>
  423. @import '../../../../styles/libEdit.scss';
  424. .lib-edit {
  425. width: 900px;
  426. padding-top: 0;
  427. padding-left: 0;
  428. padding-bottom: 40px;
  429. ::v-deep .el-form-item {
  430. margin-bottom: 10px;
  431. }
  432. ::v-deep .el-date-editor.el-input {
  433. width: 100%;
  434. }
  435. }
  436. .scoped-other-form {
  437. .scoped-item-two {
  438. .el-input {
  439. display: inline-block;
  440. width: 140px;
  441. margin: 0 10px;
  442. }
  443. }
  444. }
  445. .map-btn{
  446. height: 36px;
  447. }
  448. ::v-deep .el-drawer__header {
  449. margin-bottom: 10px;
  450. }
  451. .scoped-product {
  452. width: 100%;
  453. .sp-item {
  454. position: relative;
  455. border: 1px solid #dcdcdc;
  456. margin-bottom: 10px;
  457. margin-left: 55px;
  458. margin-right: 30px;
  459. border-radius: 10px;
  460. }
  461. .sp-title {
  462. background: #dcdcdc;
  463. font-weight: bold;
  464. padding: 10px;
  465. border-top-left-radius: 10px;
  466. border-top-right-radius: 10px;
  467. font-size: 14px;
  468. color: #666;
  469. }
  470. .sp-content {
  471. padding: 10px 10px 0;
  472. }
  473. .sc-input {
  474. display: flex;
  475. }
  476. }
  477. .room-box {
  478. margin: 0 20px 10px 80px;
  479. .room-item {
  480. background: #f7f7f7;
  481. border-radius: 10px;
  482. padding: 10px;
  483. margin-bottom: 10px;
  484. }
  485. .ri-title {
  486. color: #666;
  487. margin-bottom: 10px;
  488. }
  489. .ri-op {
  490. text-align: center;
  491. display: inline-block;
  492. vertical-align: middle;
  493. margin-right: 20px;
  494. margin-bottom: 10px;
  495. }
  496. .ri-img {
  497. display: inline-block;
  498. vertical-align: middle;
  499. width: 82px;
  500. height: 82px;
  501. border: 1px dashed #999;
  502. position: relative;
  503. box-sizing: border-box;
  504. &:hover {
  505. .ri-img-big {
  506. display: block;
  507. }
  508. }
  509. img {
  510. width: 80px;
  511. height: 80px;
  512. }
  513. .ri-img-big {
  514. position: absolute;
  515. top: 80px;
  516. left: 0;
  517. width: 400px;
  518. height: auto;
  519. display: none;
  520. box-shadow: 0 0 20px #ccc;
  521. z-index: 99;
  522. }
  523. .el-icon-plus {
  524. color: #999;
  525. padding: 30px;
  526. }
  527. }
  528. .ri-deal {
  529. display: inline-block;
  530. vertical-align: middle;
  531. width: 50px;
  532. }
  533. .ri-input {
  534. width: 50px;
  535. border: 1px solid #dcdcdc;
  536. height: 30px;
  537. text-align: center;
  538. border-radius: 0;
  539. outline: none;
  540. color: #666;
  541. font-size: 12px;
  542. margin-top: -5px;
  543. }
  544. .ri-del {
  545. font-size: 12px;
  546. background: #e6a23c;
  547. color: #fff;
  548. width: 100%;
  549. height: 26px;
  550. line-height: 26px;
  551. margin-top: 10px;
  552. cursor: pointer;
  553. display: inline-block;
  554. }
  555. }
  556. .scoped-sp-box {
  557. position: absolute;
  558. top: -2px;
  559. right: 0;
  560. background: #fff;
  561. ::v-deep {
  562. .el-input__inner {
  563. width: 80px;
  564. }
  565. .el-input-group__append {
  566. background: #f2f2f2;
  567. }
  568. }
  569. }
  570. </style>