1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{1495:function(e,t,n){"use strict";n.r(t);var o=n("ed27"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},"14ab":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var o={wmWatermark:function(){return n.e("components/wm-watermark/wm-watermark").then(n.bind(null,"e144"))},uAvatar:function(){return n.e("uni_modules/vk-uview-ui/components/u-avatar/u-avatar").then(n.bind(null,"c634"))},uButton:function(){return n.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(n.bind(null,"51b1b"))},uIcon:function(){return n.e("uni_modules/vk-uview-ui/components/u-icon/u-icon").then(n.bind(null,"ccaa"))},uLine:function(){return n.e("uni_modules/vk-uview-ui/components/u-line/u-line").then(n.bind(null,"4dda"))},uImage:function(){return n.e("uni_modules/vk-uview-ui/components/u-image/u-image").then(n.bind(null,"9340"))},uEmpty:function(){return n.e("uni_modules/vk-uview-ui/components/u-empty/u-empty").then(n.bind(null,"078a"))},uPopup:function(){return n.e("uni_modules/vk-uview-ui/components/u-popup/u-popup").then(n.bind(null,"7401"))},uParse:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/vk-uview-ui/components/u-parse/u-parse")]).then(n.bind(null,"fea7"))},uDivider:function(){return n.e("uni_modules/vk-uview-ui/components/u-divider/u-divider").then(n.bind(null,"9569"))},uSkeleton:function(){return n.e("uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton").then(n.bind(null,"b17d"))}},i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.userInfo.estate_govern&&e.userInfo.estate_govern.length>0),o=e.userInfo.estate_govern&&e.userInfo.estate_govern.length>0,i=e.propertyList.length,r=e._f("filtersRichText")(e.curHtml);e._isMounted||(e.e0=function(t){e.commonRulesShow=!0},e.e1=function(e){this.isOneRow=!this.isOneRow}),e.$mp.data=Object.assign({},{$root:{g0:n,g1:o,g2:i,f0:r}})},r=[]},2188:function(e,t,n){"use strict";var o=n("e5f1"),i=n.n(o);i.a},"55e7":function(e,t,n){"use strict";(function(e,t){var o=n("4ea4");n("2ab2");o(n("66fd"));var i=o(n("9df4"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"9df4":function(e,t,n){"use strict";n.r(t);var o=n("14ab"),i=n("1495");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("2188");var u=n("f0c5"),a=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"27c63e38",null,!1,o["a"],void 0);t["default"]=a.exports},e5f1:function(e,t,n){},ed27:function(e,t,n){"use strict";(function(e){var o=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("448a")),r=o(n("9523")),u=n("66f6");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={components:{backTop:function(){n.e("components/back-top/back-top").then(function(){return resolve(n("b585"))}.bind(null,n)).catch(n.oe)},wmWatermark:function(){n.e("components/wm-watermark/wm-watermark").then(function(){return resolve(n("e144"))}.bind(null,n)).catch(n.oe)}},filters:{filtersRichText:function(e){var t=e.replace(/<img[^>]*>/gi,(function(e,t){return e=e.replace(/style="[^"]+"/gi,"").replace(/style='[^']+'/gi,""),e=e.replace(/width="[^"]+"/gi,"").replace(/width='[^']+'/gi,""),e=e.replace(/height="[^"]+"/gi,"").replace(/height='[^']+'/gi,""),e}));return t=t.replace(/style="[^"]+"/gi,(function(e,t){return e=e.replace(/width:[^;]+;/gi,"max-width:100%;").replace(/width:[^;]+;/gi,"max-width:100%;"),e})),t=t.replace(/<br[^>]*\/>/gi,""),t=t.replace(/\<img/gi,'<img style="max-width:100%;height:auto;display:inline-block;margin:10rpx auto;"'),t}},data:function(){return{qrcodeShow:!1,qrcodeBcObj:{},remind_total:0,curRoles:"",isOneRow:!1,curHtml:"",backTop:{src:"../../static/back-top/top.png",scrollTop:0},userInfo:{},skeletonLoading:!0,agentTypeList:["","自由经纪人","渠道经纪人","老业主"],propertyList:[{estate_name:"在售项目1",pri_image:"https://zdcdn.2bwin.cn/uploads/20220501/af6eb9c2a5d462be10a15c2302e5e6b5.jpg",sale_tag:"刚需好盘",rulesInfo:{des:"内容加载中1....",des_content:"内容加载中2...."}}],commonRulesShow:!1,propertyPopupShow:!1,currentPropertyIndex:0,currentPropertyObj:{},data:{},form1:{},scrollTop:0,reportStepCountObj:{},areaTypeObj:{},twoObj:{},GT:""}},onPageScroll:function(e){this.scrollTop=e.scrollTop,this.backTop.scrollTop=e.scrollTop},onLoad:function(){},onReady:function(){},onShow:function(){this.init(),this.checkUpdate()},onHide:function(){},onReachBottom:function(){},onResize:function(){},onShareAppMessage:function(e){},created:function(){},methods:{callHandle:function(t){e.makePhoneCall({phoneNumber:t})},checkUpdate:function(){var t=e.getUpdateManager();t.onUpdateReady((function(n){e.showModal({title:"更新提示",content:"新版本已经准备好,是否重启应用?",success:function(e){e.confirm&&t.applyUpdate()}})}))},oneImgHandle:function(t){e.navigateTo({url:"/pages/estate/dtl?id=".concat(t.id)})},scanHandle:function(){e.scanCode({success:function(t){e.navigateTo({url:"/pages/agent/recommend/detail2?id=".concat(t.result)})}})},scan2Handle:function(){var t=this;e.scanCode({success:function(n){e.api.cust.apiactivitysign({code:n.result}).then((function(e){t.qrcodeShow=!0,t.qrcodeBcObj=e||{}}))}})},init:function(t){var n=this,o=e.getStorageSync("MD_userInfo2");this.curRoles=o?o.roles:"",this.GT=o?o.group_type:"",this.userInfo=o||{},e.api.estate.apireportcount().then((function(e){var t=e.report_step_count||[],o={};t.forEach((function(e){o[e.report_step]=e.total||0})),n.reportStepCountObj=c({},o)})),e.api.estate.apiestatelist({page_size:100,is_pub:1,hide_state:1}).then((function(t){var o=t.list||[],r=e.getStorageSync("MD_dict"),a=(0,u.arrToObj)(r.area_type),s={};o.forEach((function(e){s[e.area_type]?s[e.area_type].list.push(e):s[e.area_type]={list:[e],str:a[e.area_type]}})),n.twoObj=c({},s),n.propertyList=(0,i.default)(o)})),e.api.cust.apirecordremindcount().then((function(e){n.remind_total=e.remind_total||0})),this.skeletonLoading=!1},pageTo:function(t){"dev"!==t?e.navigateTo({url:t}):e.$msg("开发中~")},showDetail:function(t,n){this.curHtml="",this.userInfo&&1==this.userInfo.auth_state?e.navigateTo({url:"/pages/estate/dtl?id=".concat(n.id)}):e.$msgConfirm("请点击首页右上角设置,进行实名认证,实名认证后可查看详细信息")}},watch:{},computed:{}};t.default=s}).call(this,n("543d")["default"])}},[["55e7","common/runtime","common/vendor"]]]);
|