lpindex.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  1. $(function (){
  2. var mySwiper1= new Swiper(".swiper-container1",{
  3. // loop : true,
  4. loopedSlides:4,
  5. autoplay:5500,
  6. autoplayDisableOnInteraction : false,
  7. // 如果需要分页器
  8. pagination : '.swiper-pagination',
  9. paginationType : 'custom',
  10. paginationCustomRender: function (swiper, current, total) {
  11. return current + ' / ' + total;
  12. },
  13. });
  14. var mySwiper1= new Swiper("#swiper1",{
  15. loop : true,
  16. loopedSlides:4,
  17. autoplay:5500,
  18. autoplayDisableOnInteraction : false,
  19. // 如果需要分页器
  20. // pagination: '.swiper-pagination',
  21. slidesPerView :"auto"
  22. });
  23. var mySwiper = new Swiper ('.y_lphomepc_cent_list .swiper-container2', {
  24. loop : true,
  25. loopedSlides:4,
  26. autoplay:5500,
  27. // 如果需要分页器
  28. pagination: '.swiper-pagination',
  29. // 如果需要前进后退按钮
  30. prevButton:'.swiper-button-prev',
  31. nextButton:'.swiper-button-next',
  32. slidesPerView :"auto"
  33. })
  34. })
  35. // 报名切换
  36. var mySwiper = new Swiper('#wcon',{
  37. // loop : true,
  38. // spaceBetween: 20,
  39. // centeredSlides: true,
  40. slidesPerView: 'auto',
  41. touchRatio: 0.5,
  42. slideToClickedSlide: true
  43. })
  44. // var m_Huxing_lunbo = new Swiper('.m_zx_lunbo', {
  45. // loop : true,
  46. // spaceBetween: 10,
  47. // centeredSlides: true,
  48. // slidesPerView: 'auto',
  49. // touchRatio: 0.5,
  50. // slideToClickedSlide: true
  51. // });
  52. // $('.m_lunbo_box ul li').on('click',function(){
  53. // var _value = $(this).attr('value');
  54. // var _hid = $(this).attr('hid');
  55. // var _mindex = $(this).attr('mindex');
  56. // window.location='/house/pvimage/'+_hid+'?album_id='+_value+'&mindex='+_mindex+'&hid='+_hid+'';
  57. // })
  58. // 楼盘首页地图
  59. $(function(){
  60. //获取周边配套
  61. $('.y_lpdt_list ul li a').on('click',function(){
  62. $('.y_lpdt_list ul li a').removeClass('on');
  63. $(this).addClass('on');
  64. var _data = $(this).find('p.y_text').text(); //选择中的内容
  65. var _longitude =$('#y_lpmap').attr('data-jwd'); //获取经纬度
  66. var pintx = _longitude.split(',')[0];
  67. var pinty = _longitude.split(',')[1];
  68. _longitude = new BMap.Point(pintx,pinty);
  69. doSearch(_data,_longitude);//调用地图弹窗
  70. })
  71. });
  72. // 百度地图API功能
  73. var map = new BMap.Map("y_lpmap");
  74. var _lTude =$('#y_lpmap').attr('data-jwd'); //获取经纬度
  75. var _lJg =$('#y_lpmap').attr('data-jg'); //获取楼盘价格
  76. var _lTitle =$('#y_lpmap').attr('data-title'); //获取楼盘标题
  77. var pintx = _lTude.split(',')[0];
  78. var pinty = _lTude.split(',')[1];
  79. _lTude = new BMap.Point(pintx,pinty);
  80. map.centerAndZoom(_lTude, 15);
  81. map.enableScrollWheelZoom(); //启用滚轮放大缩小,默认禁用
  82. // 复杂的自定义覆盖物
  83. function ComplexCustomOverlay(_lTude, text, mouseoverText){
  84. this._point = _lTude;
  85. this._text = text;
  86. this._overText = mouseoverText;
  87. }
  88. ComplexCustomOverlay.prototype = new BMap.Overlay();
  89. ComplexCustomOverlay.prototype.initialize = function(map){
  90. this._map = map;
  91. var div = this._div = document.createElement("div");
  92. div.style.position = "absolute";
  93. div.style.zIndex = BMap.Overlay.getZIndex(this._point.lat);
  94. div.style.backgroundColor = "#fff";
  95. div.style.border = "1px solid #e1e1e1";
  96. div.style.color = "666";
  97. // div.style.height = "18px";
  98. div.style.padding = "5px 10px";
  99. // div.style.lineHeight = "10px";
  100. div.style.whiteSpace = "nowrap";
  101. // div.style.MozUserSelect = "none";
  102. div.style.fontSize = "14px"
  103. var span = this._span = document.createElement("span");
  104. div.appendChild(span);
  105. span.appendChild(document.createTextNode(this._text));
  106. var that = this;
  107. var arrow = this._arrow = document.createElement("div");
  108. arrow.style.background = "url(../../image/ico_map1.png) no-repeat center";
  109. arrow.style.backgroundSize = "100%";
  110. arrow.style.position = "absolute";
  111. arrow.style.width = "20px";
  112. arrow.style.height = "28px";
  113. arrow.style.top = "30px";
  114. arrow.style.left = "25px";
  115. arrow.style.overflow = "hidden";
  116. div.appendChild(arrow);
  117. div.onmouseover = function(){
  118. this.style.backgroundColor = "#6BADCA";
  119. this.style.borderColor = "#3487ab";
  120. this.getElementsByTagName("span")[0].innerHTML = that._overText;
  121. arrow.style.backgroundPosition = "0px -20px";
  122. }
  123. div.onmouseout = function(){
  124. this.style.backgroundColor = "#EE5D5B";
  125. this.style.borderColor = "#BC3B3A";
  126. this.getElementsByTagName("span")[0].innerHTML = that._text;
  127. arrow.style.backgroundPosition = "0px 0px";
  128. }
  129. map.getPanes().labelPane.appendChild(div);
  130. return div;
  131. }
  132. ComplexCustomOverlay.prototype.draw = function(){
  133. var map = this._map;
  134. var pixel = map.pointToOverlayPixel(this._point);
  135. this._div.style.left = pixel.x - parseInt(this._arrow.style.left) -13 + "px";
  136. this._div.style.top = pixel.y - 45 + "px";
  137. }
  138. var txt = _lTitle, mouseoverTxt = txt + " " + _lJg ;
  139. var myCompOverlay = new ComplexCustomOverlay(_lTude, _lTitle ,mouseoverTxt);
  140. map.addOverlay(myCompOverlay);
  141. //map展现结果的地图实例
  142. //autoViewport检索结束后是否自动调整地图视野,false 不调整地图视野
  143. var local = new BMap.LocalSearch(map,{renderOptions:{map:map,autoViewport:true}});
  144. //地址检索
  145. function doSearch(Odata,Opoint){
  146. var address = Odata;
  147. local.searchNearby(address,Opoint);
  148. }
  149. $(function(){
  150. $('.y_centerpc').find('img').each(function(){
  151. var $that = $(this);
  152. var _alt = $that.attr('alt');
  153. if(_alt != 'code'){
  154. $that.removeAttr('width');
  155. $that.removeAttr('height');
  156. $that.css({'display':'block','width':'100%','height':'auto'});
  157. }
  158. })
  159. $('.y_lphomejg p.y_yxq span').text(yxqtime);
  160. })
  161. /*
  162. * 楼盘预售许可证弹窗
  163. *
  164. */
  165. $(function(){
  166. var lic_id; //为了这些变量在其它地方用;
  167. $('.y_ckysz').on('click',function(){
  168. var $that = $(this);
  169. var height = $('.y_licence').outerHeight();
  170. var width = $('.y_licence').outerWidth();
  171. CreatePopLayerDiv2(width,width,'/public/licence');
  172. $('#offDiv1').css({'top':height+'px'}).animate({top:'20%'})
  173. // 向弹窗传数据
  174. parent.lic_id = $that.attr('data-id'); //把楼盘名称传向父级
  175. })
  176. // 看房定制数量修改
  177. var random = Math.floor(Math.random()*150+101);
  178. // console.log(random)
  179. $('.y_lpkfdz_dzrs span em').html(random)
  180. // 房贷计算户型面积处理
  181. $('.info_xllist li').each(function(){
  182. var acreage = $(this).attr("size");
  183. if(acreage.indexOf('m') != -1){
  184. var akx = acreage.split("m");
  185. $(this).attr("size",parseInt(akx[0]));
  186. if(akx[0].indexOf('-') != -1){
  187. var ak = acreage.split("-");
  188. $(this).attr("size",parseInt(ak[0]));
  189. }
  190. }
  191. if(acreage.indexOf('-') != -1){
  192. var ak = acreage.split("-");
  193. $(this).attr("size",parseInt(ak[0]));
  194. }
  195. })
  196. //房贷参考
  197. var _listhtml = $('.info_xllist li').eq(0).html();
  198. $('.info_xl span').html(_listhtml); //默认第一个
  199. var doughnutData;
  200. var _jiage = $('.jiage').html(); //楼盘价格
  201. var unit = $('.unit').html() //价格单位
  202. var _Size = $('.info_xllist li').eq(0).attr('Size'); //默认面积
  203. // 当面积内容出来 “约” 时的处理
  204. _Size = (_Size.indexOf('约') != -1) ? _Size.slice(_Size.indexOf('约')+1) : _Size;
  205. var price = (unit.indexOf('万') != -1) ? _jiage : Math.ceil((_jiage * _Size) /10000); //计算总价
  206. if(!(unit.indexOf('万') != -1)){
  207. $('body').on('click','.info_xl',function(){
  208. $('.info_xllist').toggle();
  209. })
  210. }else{
  211. $('.info_xl').css({"background":"#fff"});
  212. $('.info_xl').html('主力户型');
  213. }
  214. Calculation();
  215. $('.info_xllist li').on('click',function(){
  216. _Size = $(this).attr('Size'); //面积
  217. _Size = (_Size.indexOf('约') != -1) ? _Size.slice(_Size.indexOf('约')+1) : _Size; // 当面积内容出来 “约” 时的处理
  218. _listhtml = $(this).html();
  219. $('.info_xl span').html(_listhtml);
  220. price = Math.ceil((_jiage * _Size) /10000)
  221. // console.log(price);
  222. $('.info_xllist').hide();
  223. Calculation();
  224. })
  225. function Calculation(){
  226. var cal = new Calculator();
  227. var firstPay=Math.round(price * 0.3 * 100) / 100;
  228. var biz=Math.round((price - firstPay) * 100) / 100;
  229. var data1 = cal.loanResult({
  230. type: 2, //商贷
  231. total:price,firstPay: firstPay,acc:0,biz:biz,rate:0,year: 20,calType:2
  232. }, 2); //本金
  233. $(".perMonth").text(Math.round(data1.perMonthPay*10000*100)/100);
  234. $("#totalPay").text(price);
  235. $("#firstPay").text(firstPay);
  236. $("#loanPrice").text(biz);
  237. $("#interset").text(data1.interestPay);
  238. doughnutData = [{
  239. value: firstPay,
  240. color: "#007AF5"
  241. },{
  242. value: biz,
  243. color: "#FFA245"
  244. },{
  245. value: Math.round(data1.interestPay * 100) / 100,
  246. color: "#62BE4B"
  247. }];
  248. }
  249. var myDoughnut = new Chart(document.getElementById("canvas_fdck").getContext("2d")).Doughnut(doughnutData, {
  250. animation: true,
  251. animationEasing : "easeOutQuart",
  252. height:145,
  253. width:145,
  254. });
  255. })
  256. //创建一个弹出层,width 宽度,height 高度,url
  257. function CreatePopLayerDiv2(width,height,url){
  258. var Iheight=$(window).outerHeight();
  259. var Iwidth =$(window).outerWidth();
  260. var heights = height || 300;
  261. var widths = width || 500;
  262. var Oheight= (Iheight -heights) / 2;
  263. var Owidth = (Iwidth - widths) /2;
  264. var div ='<div id="InDiv1" style="width:'+Iwidth+'px;height:'+Iheight+'px;background:rgba(0,0,0,0.6);position:fixed;z-index:10000;top:0;left:0;">';
  265. div+='<div id="offDiv1" style=" width:100%; height:100%; left:0px; top:30%; position:fixed;z-index:100003;">';
  266. div+='<div id="Content1"></div>';
  267. div+='</div>';
  268. div+='</div>';
  269. $(document.body).append(div);
  270. if(url != ""){
  271. $("#Content1").load(url);
  272. }
  273. }
  274. //移除弹出层
  275. function RemoveDiv1(){
  276. $("#InDiv1").remove();
  277. $("#offDiv1").remove();
  278. }
  279. function btnCloses1(){
  280. RemoveDiv1();
  281. }
  282. // 限制时间
  283. function getNextMonth(date) {
  284. var arr = date.split('/');
  285. var year = arr[0];
  286. var month = arr[1];
  287. var day = arr[2];
  288. var days = new Date(year, month, 0);
  289. days = days.getDate();
  290. var year2 = year;
  291. var month2 = parseInt(month) + 2;
  292. if (month2 > 13) {
  293. year2 = parseInt(year2) + 1;
  294. if (parseInt(month)==11) {
  295. month2 = 1;
  296. }else if (parseInt(month)==12) {
  297. month2 = 2;
  298. };
  299. }
  300. var day2 = day;
  301. var days2 = new Date(year2, month2, 0);
  302. days2 = days2.getDate();
  303. if (day2 > days2) {
  304. day2 = days2;
  305. }
  306. if (month2 < 10) {
  307. month2 = '0' + month2;
  308. }
  309. var t2 = year2 + '/' + month2 + '/' + day2;
  310. return t2;
  311. }
  312. var myDate = new Date;
  313. var year = myDate.getFullYear();
  314. var yue = myDate.getMonth()+1;
  315. if (yue<10) {
  316. yue= '0' + yue;
  317. };
  318. var time = year+'/'+yue+'/01';
  319. var time_yxq= year+'/'+yue+'/01-'+getNextMonth(time);
  320. var yxqtime=time+'-'+getNextMonth(time);
  321. // $('.w-commonality span').html(time_yxq); //制限时间
  322. // $('.sell_conter_right .date').html('有效期 | '+ time_yxq);
  323. // 2018-12-8 --------------
  324. $(function(){
  325. // 用户点评
  326. var obj = new Object();
  327. // 马上提交
  328. $('.remark-btn').on('click',function(){
  329. var _this = $(this);
  330. var txt = _this.siblings('textarea[name="content"]').val();
  331. if(txt != ''){
  332. obj.content = txt;
  333. $('.w_up_ap').fadeIn();
  334. $('.w_up_ap').animate({top:"50%"});
  335. $('.cover').fadeIn();
  336. }else{
  337. var M = {};
  338. if(M.dialog1){
  339. return M.dialog1.show();
  340. }
  341. M.dialog1 = jqueryAlert({
  342. 'content' : '点评内容不能为空!',
  343. 'closeTime' : 2000,
  344. })
  345. }
  346. })
  347. // 确定按钮
  348. $('.w_sbtn').on('click',function(){
  349. var hid = $('.w_up_info').find('input[name="hid"]').val();
  350. var tel = $('.w_up_info').find('input[name="mobile"]').val();
  351. tel = FilterHTMLTag(tel);
  352. if(PhoneVerification(tel)){
  353. obj.mobile = tel;
  354. obj.hid = hid;
  355. DataAjax(obj); //提交数据
  356. }else{
  357. var M = {};
  358. if(M.dialog1){
  359. return M.dialog1.show();
  360. }
  361. M.dialog1 = jqueryAlert({
  362. 'content' : '请输入正确的电话码!',
  363. 'closeTime' : 2000,
  364. })
  365. }
  366. })
  367. /* 过滤代码标签 */
  368. function FilterHTMLTag(htmlStr){
  369. var msg = htmlStr.replace(/<\/?[^>]*>/g, ''); //去除HTML Tag
  370. return msg;
  371. }
  372. /* 电话验证 */
  373. function PhoneVerification(tel) {
  374. var pattern = /(13\d|14[57]|15[^4,\D]|17[678]|18\d)\d{8}$|170[059]\d{7}$/;
  375. return pattern.test(tel);
  376. }
  377. // 用户点击关闭按钮
  378. $('.cover').on('click',function(){
  379. $('.w_up_ap').fadeOut();
  380. $('.w_up_ap').animate({top:"-100%"});
  381. $(this).fadeOut();
  382. })
  383. $('.ws_up_cls').on('click',function(){
  384. $('.w_up_ap').fadeOut();
  385. $('.w_up_ap').animate({top:"-100%"});
  386. $('.cover').fadeOut();
  387. })
  388. // 数据提交
  389. function DataAjax(data){
  390. $.ajax({
  391. url:'/house/remarkfrom',
  392. type:'post',
  393. data:data,
  394. dataType:"json",
  395. success:function(data){
  396. if(data.code == 200){
  397. var M = {};
  398. if(M.dialog1){
  399. return M.dialog1.show();
  400. }
  401. M.dialog1 = jqueryAlert({
  402. 'content' : '提交成功!',
  403. 'closeTime' : 2000,
  404. })
  405. $('.w_up_ap').fadeOut();
  406. $('.w_up_ap').animate({top:"-100%"});
  407. $('.cover').fadeOut();
  408. }
  409. }
  410. });
  411. }
  412. })
  413. $(window).scroll(function (){
  414. var st = $(this).scrollTop();
  415. if(st >250){
  416. $('.y_lpindexnav').show();
  417. // $('.y_header').hide();
  418. }else{
  419. $('.y_lpindexnav').hide();
  420. // $('.y_header').show();
  421. }
  422. });
  423. var Homeurl=window.location.href
  424. $(function(){
  425. var telurl=$('.y_modtel .y_modtel_text p.y_call span').html();
  426. if(Homeurl.indexOf("?source=pc")!=-1){
  427. return window.location.href = 'tel:'+telurl;
  428. };
  429. })
  430. // 开发商弹窗
  431. var ster = 0;
  432. $(window).scroll(function (){
  433. ster = $(this).scrollTop();
  434. // console.log(ster);
  435. });
  436. var _top = '';
  437. $('.m_Article_click a').on('click',function(){
  438. $('.Developers_tc').fadeIn(80);
  439. $('.Developers_tx').animate({bottom:'0%'},400);
  440. _top = $(window).scrollTop(); // 弹窗开启 遮罩层以外的东西不移动
  441. $('body').css("top",-ster+"px");
  442. $('body').addClass('add');
  443. // console.log(_top);
  444. $('.m_lpdescribe_text').scrollTop(0);
  445. })
  446. $('.Developers_zhez').on('click',function(){
  447. $('.Developers_tx').animate({bottom:'-88%'},400);
  448. setTimeout(function(){
  449. $('.Developers_tc').fadeOut(80);
  450. },400)
  451. $('body').removeClass('add');//去掉给body的类
  452. $('body').attr('style','');
  453. $(window).scrollTop(_top);//设置页面滚动的高度,如果不设置,关闭弹出层时页面会回到顶部。
  454. })
  455. $('.Developers_gb').on('click',function(){
  456. $('.Developers_tx').animate({bottom:'-88%'},400);
  457. setTimeout(function(){
  458. $('.Developers_tc').fadeOut(80);
  459. },400)
  460. $('body').removeClass('add');//去掉给body的类
  461. $('body').attr('style','');
  462. $(window).scrollTop(_top);//设置页面滚动的高度,如果不设置,关闭弹出层时页面会回到顶部。
  463. })
  464. var _imgid ="";
  465. // 相册
  466. $('.m_lunbo_box ul li').on('click',function(){
  467. $('#LXB_CONTAINER_SHOW').hide();
  468. $('#LRdiv3').attr('class','none');
  469. _imgid = $(this).attr('data-hid')-1;// 索引第几张图片
  470. console.log(_imgid);
  471. $('.m_swiper_xc').show();
  472. StitchingData(_imgid);
  473. })
  474. // 相册
  475. function StitchingData(imgid){
  476. lpxc=new Array(); //定义数组存放图片
  477. $('.m_lunbo_box ul li').each(function(){
  478. var _src = $(this).find('img').attr('src');
  479. lpxc.push(_src);
  480. })
  481. lpindex_xc(lpxc , imgid);
  482. }
  483. // 相册
  484. function lpindex_xc(data , imgid){
  485. var html = '';
  486. console.log(imgid);
  487. html+= '<div class="m_tcswiper_box">';
  488. html+='<div class="m_swiper_head">';
  489. html+='<div class="m_swiper_fh"><img src="/image/v2/lpindex3.png" alt=""></div>';
  490. html+='<div class="swiper-pagination" id="swiperzs"></div>';
  491. html+='<div class="m_swiper_qb"><a href="/house/album/1662">全部图片</a></div>';
  492. html+='</div>';
  493. // html+= '<div class="m_swiper_gb"><img src="/image/guanbi.png" alt=""></div>';
  494. html+= '<div class="m_swiper">';
  495. html+= '<div class="m_swiper_ul swiper-wrapper">';
  496. $.each(data, function (i, data) {
  497. html+= '<div class="m_swiper_li swiper-slide">';
  498. html+= '<div class="swiper-zoom-container">';
  499. html+= '<img src="'+data+'">';
  500. html+= '</div>';
  501. html+= '</div>';
  502. });
  503. html+= '</div>';
  504. html+= '<div class="swiper-button-prev"></div>';
  505. html+= '<div class="swiper-button-next"></div>';
  506. html+= '</div>';
  507. html+= '</div>';
  508. $('.m_swiper_ajax').html(html);
  509. // 相册插件
  510. var swipercx = new Swiper('.m_swiper', {
  511. // loop : true,
  512. zoom: true,
  513. // autoHeight: true,
  514. initialSlide :imgid,
  515. nextButton: '.swiper-button-next',
  516. prevButton: '.swiper-button-prev',
  517. pagination : '.swiper-pagination',
  518. paginationType : 'custom',
  519. paginationCustomRender: function (swiper, current, total) {
  520. return current + ' / ' + total;
  521. },
  522. // onInit: function(swiper){
  523. // $('#swiperzs').hide();
  524. // },
  525. observer:true,//修改swiper自己或子元素时,自动初始化swiper
  526. // onSlideChangeEnd: function(){
  527. // $('#swiperzs').show();
  528. // },
  529. });
  530. // 关闭相册
  531. $('.m_swiper_fh').on('click',function(){
  532. $('#LXB_CONTAINER_SHOW').show();
  533. $('.m_swiper_xc').hide();
  534. })
  535. }
  536. if($('.m_pm').attr('data-text') != '暂无资料'){
  537. jQuery(".m_pm").slide({mainCell:".bd ul",autoPlay:true,effect:"leftMarquee",interTime:50,trigger:"click"});
  538. }
  539. // 点评电话加密
  540. $('.remark-list ul li').each(function(){
  541. var _tel = $(this).find('p em span').attr('tel-data').replace(/(\d{3})(\d{4})(\d{4})/,"$1****$3");
  542. $(this).find('p em span').html(_tel);
  543. })
  544. // var _dataid = $('.m_hq li.cur').attr('dataid');
  545. //demo示例六 通过id调取 底部菜单插件
  546. $('#demo05').navbarscroll({
  547. defaultSelect:0,
  548. scrollerWidth:6,
  549. fingerClick:1,
  550. endClickScroll:function(obj){
  551. // console.log(obj.text())
  552. }
  553. });