(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/main"],[
/* 0 */
/*!*************************************************************************************!*\
  !*** F:/CYZH/cyzh-community-cloud/mini-program/mini-community/CommunityApp/main.js ***!
  \*************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(uni, createApp) {__webpack_require__(/*! uni-pages */ 4);var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 5));

var _store = _interopRequireDefault(__webpack_require__(/*! @/store */ 13));
var _server = _interopRequireDefault(__webpack_require__(/*! ./utils/server */ 15));
var _storage = _interopRequireDefault(__webpack_require__(/*! ./utils/storage */ 17));
var _api = _interopRequireDefault(__webpack_require__(/*! ./utils/api */ 19));
var _mixin = _interopRequireDefault(__webpack_require__(/*! ./utils/mixin */ 32));
var _global = _interopRequireDefault(__webpack_require__(/*! ./utils/global */ 21));
var _auth = _interopRequireDefault(__webpack_require__(/*! ./utils/auth */ 22));
var _cache = _interopRequireDefault(__webpack_require__(/*! ./utils/cache */ 18));
var _util = _interopRequireDefault(__webpack_require__(/*! ./utils/util2 */ 23));
var _dialog = _interopRequireDefault(__webpack_require__(/*! ./utils/dialog */ 30));
var _filter = _interopRequireDefault(__webpack_require__(/*! ./utils/filter */ 33));
var _mpi = _interopRequireDefault(__webpack_require__(/*! ./utils/mpi */ 34));




var _api2 = __webpack_require__(/*! assets/http/api.js */ 35);






var _uviewUi = _interopRequireDefault(__webpack_require__(/*! uview-ui */ 50));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}_vue.default.prototype.$http = _api2.api;var vuexStore = __webpack_require__(/*! @/store/$u.mixin.js */ 76);_vue.default.mixin(vuexStore); //uview
_vue.default.use(_uviewUi.default);

_vue.default.config.productionTip = false;

_App.default.mpType = 'app';var MescrollBody = function MescrollBody() {Promise.all(/*! require.ensure | comps/mescroll-body/mescroll-body */[__webpack_require__.e("common/vendor"), __webpack_require__.e("comps/mescroll-body/mescroll-body")]).then((function () {return resolve(__webpack_require__(/*! @/comps/mescroll-body/mescroll-body.vue */ 1117));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};


_vue.default.component('mescroll-body', MescrollBody);

//小程序参数
_vue.default.prototype.$wxData = {
  APPID: 'wxaeb044e4a6b97df4',
  SECRET: '0c575e3f4ae59ea630bbb90abcc4852c',
  GRANTTYPE: 'client_credential' };


//解决ios系统时间显示错误问题
_vue.default.prototype.$commonDate = function (value) {
  return new Date(value.replace(/\-/g, '/'));
};
//封装小程序审核时的标题设置
_vue.default.prototype.$setNavigationBarTitle = function (auditTitle, title) {
  var appletType = uni.getStorageSync('appletType');
  if (appletType == 0) {
    uni.setNavigationBarTitle({
      title: auditTitle });

  } else {
    uni.setNavigationBarTitle({
      title: title });

  }
  return appletType;
};

//封装判空函数
_vue.default.prototype.$isEmpty = function (value) {
  switch (typeof value) {
    case 'undefined':
      return true;
    case 'string':
      if (value == 'undefined') return true;
      if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
      break;
    case 'boolean':
      if (!value) return true;
      break;
    case 'number':
      if (0 === value || isNaN(value)) return true;
      break;
    case 'object':
      if (null === value || value.length === 0) return true;
      for (var i in value) {
        return false;
      }
      return true;}

  return false;
};

// 商城 begin
// 设置服务器
_global.default.server = _server.default;
// 版本
_cache.default.preKey = _server.default.version;
// 全局注入
_vue.default.mixin(_mixin.default);
// 全局筛选器
Object.keys(_filter.default).forEach(function (key) {
  _vue.default.filter(key, _filter.default[key]);
});
// 全局属性 接口
_vue.default.prototype.$api = Object.assign({}, _api.default);

// 全局属性 全局变量
_vue.default.prototype.$global = _global.default;

// 全局缓存
_vue.default.prototype.$storage = _storage.default;

// 同意授权
_vue.default.prototype.$auth = _auth.default;

// 全局属性 工具函数
_vue.default.prototype.$util = _util.default;

// 微信函数封装
_vue.default.prototype.$mpi = _mpi.default;

// 全局属性 对话框函数
_dialog.default.config = Object.assign(_dialog.default.config, {
  cancelColor: '#333',
  confirmColor: '#333',
  title: '温馨提示' });

_vue.default.prototype.$dialog = _dialog.default;
// 商城 end


var app = new _vue.default(_objectSpread({
  store: _store.default },
_App.default));

createApp(app).$mount();
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createApp"]))

/***/ }),
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */,
/* 5 */
/*!*************************************************************************************!*\
  !*** F:/CYZH/cyzh-community-cloud/mini-program/mini-community/CommunityApp/App.vue ***!
  \*************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./App.vue?vue&type=script&lang=js& */ 6);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./App.vue?vue&type=style&index=0&lang=scss& */ 10);
/* harmony import */ var _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 12);
var render, staticRenderFns, recyclableRender, components
var renderjs





/* normalize component */

var component = Object(_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
  _App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"],
  render,
  staticRenderFns,
  false,
  null,
  null,
  null,
  false,
  components,
  renderjs
)

component.options.__file = "App.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);

/***/ }),
/* 6 */
/*!**************************************************************************************************************!*\
  !*** F:/CYZH/cyzh-community-cloud/mini-program/mini-community/CommunityApp/App.vue?vue&type=script&lang=js& ***!
  \**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js& */ 7);
/* harmony import */ var _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),
/* 7 */
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!F:/CYZH/cyzh-community-cloud/mini-program/mini-community/CommunityApp/App.vue?vue&type=script&lang=js& ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
var _StringUtil = _interopRequireDefault(__webpack_require__(/*! @/utils/StringUtil.js */ 8));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
var md5 = __webpack_require__(/*! ./utils/md5.js */ 9);var _default =
{
  data: function data() {
    return {
      param: null };

  },
  onLaunch: function onLaunch(e) {
    // uni.setEnableDebug({
    //     enableDebug: true
    // })

    //更新版本
    var updateManager = uni.getUpdateManager();

    updateManager.onCheckForUpdate(function (res) {
      // 请求完新版本信息的回调
      console.log("是否有新版本：", res.hasUpdate);
    });

    updateManager.onUpdateReady(function (res) {
      uni.showModal({
        title: '更新提示',
        content: '新版本已经准备好，是否重启应用？',
        success: function success(res) {
          if (res.confirm) {
            // 新的版本已经下载好，调用 applyUpdate 应用新版本并重启
            updateManager.applyUpdate();
          }
        } });


    });

    updateManager.onUpdateFailed(function (res) {
      // 新的版本下载失败
    });

    this.param = e;
    this.execParam();
    this.globalData.checkIsIPhoneX();

    this.getOpenId();
  },
  onShow: function onShow(e) {
    this.param = e;
    this.execParam();
  },
  onHide: function onHide() {
    console.log('App Hide');
  },
  methods: {
    execParam: function execParam() {
      if (this.param == null || this.param.referrerInfo == null) return;
      var path = this.param.path;
      if (_StringUtil.default.startEqualsIgnoreCase(path, 'pages/pages/')) {
        path = _StringUtil.default.replace(path, 'pages/pages/', 'pages/');
        if (_StringUtil.default.eqlObjIgnoreCase(path, '/pagesM/pages/goods_des')) {
          var query = this.param.query;
          if (query == null || query.id == null || parseInt(query.id) == null || parseInt(query.id) <= 0) {
            path = "pages/life";
          } else {
            path = "pages/life?type=share&id=".concat(query.id, "&path=").concat(path);
          }
        }
        this.param.path = path;
        uni.reLaunch({ url: path });
        return;
      }
      this.param.path = path;
      var reqParam = this.param.referrerInfo.extraData;
      wx.setStorageSync('reqParam', reqParam);
      this.param.referrerInfo = null;
    },
    getOpenId: function getOpenId() {
      var that = this;
      uni.login({
        success: function success(res) {
          var params = {};
          params['js_code'] = res.code;
          params['name'] = 'community';
          params['app_type'] = 1;
          // let operation = 'miniprogram/getOpenid'; //发起请求
          that.$http.getOpenid(params).then(function (res) {
            //获取成功
            if (res.data.result_code == 1) {
              console.log("获取openid成功");
              //openid存入缓存
              uni.setStorageSync("openid", res.data.openid);
              uni.setStorageSync("appletType", res.data.appletType);
              that.$u.vuex('vuex_appletType', res.data.appletType);
            } else {
              that.globalData.oneFailHint(res.data.result_msg);
            }
          });

        } });

    } },

  globalData: {
    //机构id
    org_id: "1",
    token: "j2qctr89u1xfmbjkp69hegfmqhwquycw",
    //对接后台的api地址
    apiurl: "http://192.168.1.69/app-service/app/",
    //远程的
    // apiurl: "https://community.58fo.com/api/app/",
    // apiurl: "http://192.168.1.19:9082/app/",
    // apiurl: "http://25d3f66612.zicp.vip/wuye/app-gateway/app/",
    // apiurl: "http://192.168.1.218:9082/app/",
    // apiurl: "http://192.168.1.244:9082/app/",
    member: null,
    //用户信息--后台
    userInfo: null,
    //小程序用户信息,
    room_list: null,
    //会员的房屋列表 
    own_room_list: null,
    //业主身份的房子
    device_list: null,
    //会员的授权设备列表
    anyHousePass: false, //判断是否是第二次认证,
    //封装request请求
    /**
     * params 参数
     * operation 操作
     * callBack 回调函数
     */
    postRequest: function postRequest(params, operation, callBack) {
      var that = this; //公共参数
      params['org_id'] = that.org_id;
      params['token'] = that.token;
      // uni.showLoading({
      //   mask: true
      // });

      var jsonStr = JSON.stringify(params); //数据md5签名

      var dataSign = md5.hex_md5(jsonStr);
      uni.request({
        url: that.apiurl + operation,
        method: 'POST',
        header: {
          'content-type': 'application/json',
          'data-sign': dataSign },

        data: jsonStr,
        success: function success(res) {
          // console.info(res.header['data-sign']);
          // console.info(md5.hex_md5(JSON.stringify(res.data)));
          // uni.hideLoading(); 

          callBack(res);
        },
        fail: function fail(res) {
          uni.hideLoading();
          uni.showModal({
            title: '警告',
            content: '网络异常' + res.errMsg,
            showCancel: false,
            confirmText: '确认' });

        } });

    },
    postRequestAsync: function postRequestAsync(params, operation) {
      var that = this; //公共参数
      params['org_id'] = that.org_id;
      params['token'] = that.token;
      var jsonStr = JSON.stringify(params); //数据md5签名
      var dataSign = md5.hex_md5(jsonStr);
      return new Promise(function (resolve, reject) {
        uni.request({
          url: that.apiurl + operation,
          method: 'POST',
          header: {
            'content-type': 'application/json',
            'data-sign': dataSign },

          data: jsonStr,
          success: function success(res) {
            resolve(res);
          },
          fail: function fail(err) {
            uni.hideLoading();
            uni.showModal({
              title: '警告',
              content: '网络异常' + res.errMsg,
              showCancel: false,
              confirmText: '确认' });

          } });

      });
    },

    //上传文件
    uploadBase64: function uploadBase64(base_64_str, is_need_md5, callback) {
      var that = this;
      var params = {};
      params['base_64_str'] = base_64_str;
      params['is_need_md5'] = is_need_md5; //公共参数

      params['org_id'] = that.org_id;
      params['token'] = that.token;
      var operation = 'applyUser/uploadBase64File';
      that.postRequest(params, operation, function (res) {
        if (res.data.result_code == 1) {
          callback(res);
        } else {
          that.autoFailHint(res.data.result_msg);
        }
      });
    },

    /**
        * 失败提示方法方法--单按钮--手动点击关闭
        */
    oneFailHint: function oneFailHint(result_msg, callBack) {
      uni.showModal({
        content: result_msg,
        showCancel: false,
        confirmText: '确认',
        success: function success(res) {
          if (res.confirm) {
            if (callBack) {
              callBack();
            }
          }
        } });

    },

    /**
        * 失败提示方法方法--双按钮--手动点击关闭
        */
    twoFailHint: function twoFailHint(result_msg, callBack) {
      uni.showModal({
        content: result_msg,
        confirmText: '确认',
        success: function success(res) {
          if (res.confirm) {
            if (callBack) {
              callBack();
            }
          }
        } });

    },

    /**
         * 失败提示方法方法--自动关闭
         */
    autoFailHint: function autoFailHint(result_msg, callBack) {
      uni.showToast({
        title: result_msg,
        icon: 'none',
        duration: 2000,
        success: function success() {
          if (callBack) {
            callBack();
          }
        } });

    },

    /**
       * 提示用户身份注册
       */
    footaddmore: function footaddmore() {
      uni.showModal({
        title: '提示',
        content: ' 请先完成注册',
        //cancelText:'去绑定',
        cancelText: '取消',
        confirmText: '去注册',
        success: function success(res) {
          if (res.confirm) {
            //跳转到认证页面
            uni.navigateTo({
              url: "/pages/register/register" });

          } else {//res.cancel
            //绑定界面--暂时不用
            // wx.navigateTo({
            //   url: '/pages/binding/binding',
            // })
          }
        } });

    },
    //房屋信息完善
    choosePlot: function choosePlot() {
      uni.showModal({
        title: '提示',
        content: ' 未获取到房屋信息，是否去完善',
        //cancelText:'去绑定',
        cancelText: '取消',
        confirmText: '去完善',
        success: function success(res) {
          if (res.confirm) {
            console.log('用户点击了确认-去完善'); //跳转到认证页面
            if (!this.$isEmpty(this.globalData.totalStep)) {
              this.globalData.totalStep = 2;
            }
            uni.navigateTo({
              url: "/pages/auth/auth" });

          }
        } });

    },
    //检测是否是iphonex以上的机型
    checkIsIPhoneX: function checkIsIPhoneX() {
      var self = this;
      uni.getSystemInfo({
        success: function success(res) {
          // 根据 model 进行判断
          if (res.model.search('iPhone X') != -1) {
            //self.isIPX = true
            uni.setStorageSync("isIPX", true);
          } else {
            uni.setStorageSync("isIPX", false);
          }
        } });

    } } };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))

/***/ }),
/* 8 */,
/* 9 */,
/* 10 */
/*!***********************************************************************************************************************!*\
  !*** F:/CYZH/cyzh-community-cloud/mini-program/mini-community/CommunityApp/App.vue?vue&type=style&index=0&lang=scss& ***!
  \***********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss& */ 11);
/* harmony import */ var _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_HBuilderX_2_8_3_20200728_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_App_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),
/* 11 */
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!./node_modules/postcss-loader/src??ref--8-oneOf-1-3!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!F:/CYZH/cyzh-community-cloud/mini-program/mini-community/CommunityApp/App.vue?vue&type=style&index=0&lang=scss& ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

// extracted by mini-css-extract-plugin
    if(false) { var cssReload; }
  

/***/ })
],[[0,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/main.js.map