index.js 5.6 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"0b3f":function(e,n,t){"use strict";t.r(n);var o=t("e290"),r=t("efa7");for(var u in r)"default"!==u&&function(e){t.d(n,e,(function(){return r[e]}))}(u);t("3df8");var i,c=t("f0c5"),a=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,"036098be",null,!1,o["a"],i);n["default"]=a.exports},"3df8":function(e,n,t){"use strict";var o=t("d733"),r=t.n(o);r.a},"6d2e":function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t("d0e4");function r(e){return a(e)||c(e)||i(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,n){if(e){if("string"===typeof e)return s(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,n):void 0}}function c(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function a(e){if(Array.isArray(e))return s(e)}function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){p(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function p(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var d=function(){t.e("components/back-top/back-top").then(function(){return resolve(t("3387"))}.bind(null,t)).catch(t.oe)},b={components:{backTop:d},data:function(){return{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,data:{},form1:{},scrollTop:0,reportStepCountObj:{},areaTypeObj:{}}},onPageScroll:function(e){this.scrollTop=e.scrollTop,this.backTop.scrollTop=e.scrollTop},onLoad:function(){},onReady:function(){},onShow:function(){this.init();var n=e.getStorageSync("MD_dict");this.areaTypeObj=(0,o.arrToObj)(n.area_type)},onHide:function(){},onReachBottom:function(){},onResize:function(){},onShareAppMessage:function(e){},created:function(){},methods:{scanHandle:function(){e.scanCode({success:function(n){e.navigateTo({url:"/pages/agent/recommend/detail2?id=".concat(n.result)})}})},init:function(n){var t=this,o=e.getStorageSync("MD_userInfo2");this.userInfo=o||{},e.api.estate.apireportcount().then((function(e){var n=e.report_step_count||[],o={};n.forEach((function(e){o[e.report_step]=e.total||0})),t.reportStepCountObj=f({},o)})),e.api.estate.apiestatelist({page_size:100}).then((function(e){var n=e.list||[];t.propertyList=r(n)})),this.skeletonLoading=!1},pageTo:function(n){"dev"!==n?e.navigateTo({url:n}):e.$msg("开发中~")},showDetail:function(e,n){this.currentPropertyIndex=e,this.propertyPopupShow=!0}},watch:{},computed:{}};n.default=b}).call(this,t("543d")["default"])},d733:function(e,n,t){},e290:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){return o}));var o={uAvatar:function(){return t.e("uni_modules/vk-uview-ui/components/u-avatar/u-avatar").then(t.bind(null,"2143"))},uButton:function(){return t.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(t.bind(null,"ce9e"))},uIcon:function(){return t.e("uni_modules/vk-uview-ui/components/u-icon/u-icon").then(t.bind(null,"ba35"))},uLine:function(){return t.e("uni_modules/vk-uview-ui/components/u-line/u-line").then(t.bind(null,"a2cb"))},uImage:function(){return t.e("uni_modules/vk-uview-ui/components/u-image/u-image").then(t.bind(null,"2afb"))},uEmpty:function(){return t.e("uni_modules/vk-uview-ui/components/u-empty/u-empty").then(t.bind(null,"2654"))},uPopup:function(){return t.e("uni_modules/vk-uview-ui/components/u-popup/u-popup").then(t.bind(null,"c565"))},uParse:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/vk-uview-ui/components/u-parse/u-parse")]).then(t.bind(null,"b2fd"))},uDivider:function(){return t.e("uni_modules/vk-uview-ui/components/u-divider/u-divider").then(t.bind(null,"d07e"))},uSkeleton:function(){return t.e("uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton").then(t.bind(null,"fe2a"))}},r=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.commonRulesShow=!0})},u=[]},e6df:function(e,n,t){"use strict";(function(e){t("3690");o(t("66fd"));var n=o(t("0b3f"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},efa7:function(e,n,t){"use strict";t.r(n);var o=t("6d2e"),r=t.n(o);for(var u in o)"default"!==u&&function(e){t.d(n,e,(function(){return o[e]}))}(u);n["default"]=r.a}},[["e6df","common/runtime","common/vendor"]]]);