(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/homeCards/index"],[
/* 0 */,
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */,
/* 7 */,
/* 8 */,
/* 9 */,
/* 10 */,
/* 11 */,
/* 12 */
/*!*********************************************************************************!*\
  !*** D:/coco/dream/uniapp/jueqing/main.js?{"page":"pages%2FhomeCards%2Findex"} ***!
  \*********************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 5);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
var _index = _interopRequireDefault(__webpack_require__(/*! ./pages/homeCards/index.vue */ 13));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_index.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))

/***/ }),
/* 13 */
/*!**************************************************************!*\
  !*** D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue ***!
  \**************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=86ffa444&scoped=true& */ 14);
/* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js& */ 16);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _index_vue_vue_type_style_index_0_id_86ffa444_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css& */ 18);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);

var renderjs





/* normalize component */

var component = Object(_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
  _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
  _index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
  _index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
  false,
  null,
  "86ffa444",
  null,
  false,
  _index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
  renderjs
)

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

/***/ }),
/* 14 */
/*!*********************************************************************************************************!*\
  !*** D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?vue&type=template&id=86ffa444&scoped=true& ***!
  \*********************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=86ffa444&scoped=true& */ 15);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });

/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_86ffa444_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });



/***/ }),
/* 15 */
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.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!D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?vue&type=template&id=86ffa444&scoped=true& ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
try {
  components = {
    zSwiper: function() {
      return Promise.all(/*! import() | uni_modules/zebra-swiper/components/z-swiper/z-swiper */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/zebra-swiper/components/z-swiper/z-swiper")]).then(__webpack_require__.bind(null, /*! @/uni_modules/zebra-swiper/components/z-swiper/z-swiper.vue */ 52))
    },
    zSwiperItem: function() {
      return Promise.all(/*! import() | uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item")]).then(__webpack_require__.bind(null, /*! @/uni_modules/zebra-swiper/components/z-swiper-item/z-swiper-item.vue */ 151))
    }
  }
} catch (e) {
  if (
    e.message.indexOf("Cannot find module") !== -1 &&
    e.message.indexOf(".vue") !== -1
  ) {
    console.error(e.message)
    console.error("1. 排查组件名称拼写是否正确")
    console.error(
      "2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
    )
    console.error(
      "3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件"
    )
  } else {
    throw e
  }
}
var render = function() {
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true



/***/ }),
/* 16 */
/*!***************************************************************************************!*\
  !*** D:/coco/dream/uniapp/jueqing/pages/homeCards/index.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 _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js& */ 17);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_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 _HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),
/* 17 */
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./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!D:/coco/dream/uniapp/jueqing/pages/homeCards/index.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 _default =
{
  data: function data() {
    return {
      err: null,
      disabledSubmit: false,
      id: 274,
      showUserInfo: false,
      userName: '',
      // avatarUrl: 'https://admin.mindepoch.com:8089/static/poster1.png',
      code: '',
      clickNoArgee: false,
      clickArgee: false,
      isBindPhone: false,
      needDialog: true,
      nickName: '',
      // avatarUrl:'/static/photo/default.jpg',
      avatarUrl: 'https://admin.mindepoch.com:8089/worlds/default.jpg',
      OpenId: '',
      i: 0,
      photo: [
      'https://admin.mindepoch.com:8089/worlds/情圣日记.png',
      'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',
      'https://admin.mindepoch.com:8089/worlds/舌战群儒.png'],

      list: [
        // {image:'https://admin.mindepoch.com:8089/worlds/情圣日记.png',title:'情圣日记',content1:'-Love&Entropy',content2:'你还...记得我吗？'},
        // {image:'https://admin.mindepoch.com:8089/worlds/荒村公寓.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来，身处陌生的公寓,奇怪的规则，神秘的怪谈,我该如何逃生'},
        // {image:'https://admin.mindepoch.com:8089/worlds/舌战群儒.png',title:'荒村公寓',content1:'-规则怪谈',content2:'一觉醒来，身处陌生的公寓,奇怪的规则，神秘的怪谈,我该如何逃生'},
      ],
      options: {
        effect: 'cards',
        loop: true },

      slideCustomStyle: {
        display: 'flex',
        alignItems: 'center',
        justifyContent: 'center',
        borderRadius: '36rpx' } };


  },
  mounted: function mounted() {
    //用户验证用户是否登陆过
    // console.log(this)
    var that = this;
    wx.login({
      success: function success(res) {
        if (res.code) {
          // uni.setStorageSync('code', res.code)
          that.code = res.code;
          console.log('code', that.code);
          // 将 res.code 发送至后台服务器进行处理
          uni.request({
            url: 'https://admin.mindepoch.com:8089/wechat/CheckWxUserIsRegisterAndBindPhone',
            method: 'POST',
            header: {
              'Content-Type': 'application/x-www-form-urlencoded' },

            data: { code: res.code },
            success: function success(res) {
              console.log('resres', res);
              that.isBindPhone = res.data.isBindPhone;
              that.wxUid = res.data.wxUid;

              if (res.data.message === "微信用户已注册，模拟登录成功!") {
                uni.setStorageSync('wxUid', res.data.wxUid); //保存用户id
                uni.setStorageSync('userName', res.data.userName);
                uni.setStorageSync('session_token', res.cookies[0].split(';')[0]); //保存cookie值
                that.init();
              } else {
                if (res.data.code === 1) {
                  //用户已注册
                  that.init();
                } else {
                  that.showUserInfo = true;
                }
              }


            },
            fail: function fail(err) {
              console.log(err);
            } });

        } else {
          console.error('登录失败！' + res.errMsg);
        }
      } });


  },
  onload: function onload() {},
  methods: {
    init: function init() {var _this = this;
      uni.request({
        url: 'https://admin.mindepoch.com:8089/QueryWorldsByLikeName',
        header: {
          'Cookie': "".concat(uni.getStorageSync('session_token')),
          'Content-Type': 'application/x-www-form-urlencoded' },

        method: 'post',
        data: {
          worldName: '' } }).

      then(function (result) {
        console.log(111, result[1].data);
        if (result[1].data.code === 1) {
          if (result[1].data.worldInfoAndAsset.length > 0) {
            _this.list = result[1].data.worldInfoAndAsset;
          }
        }
      }).catch(function (err) {
        console.log(222, err);
      });
    },
    preImage: function preImage() {
      // console.log('pre')
      this.$refs.zSwiper.swiper.slidePrev();
    },
    nextImage: function nextImage() {
      // console.log('next')
      this.$refs.zSwiper.swiper.slideNext();
    },
    //获取到用户昵称  以及用户头像
    handleSubmit: function handleSubmit() {
      this.disabledSubmit = true;
      var that = this;
      wx.login({
        success: function success(res) {
          if (!res.code) {
            return;
          }
          uni.uploadFile({
            url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',
            method: 'POST',
            filePath: that.avatarUrl,
            name: 'avatar',
            formData: {
              code: res.code,
              username: that.userName },

            success: function success(uploadRes) {
              uni.showToast({
                title: 'AppletWeChatRegisterOrLogin',
                icon: 'none' });

              console.log('上传成功uploadRes', uploadRes);
              console.log(JSON.parse(uploadRes.data));
              var data = JSON.parse(uploadRes.data);
              if (data.code === 1) {
                uni.showToast({
                  title: '成功！',
                  icon: 'none' });

                uni.setStorageSync('userName', that.userName);
                uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值
                uni.setStorageSync('wxUid', data.wxUid); //保存用户id
                uni.setStorageSync('openId', data.openId); //保存用户id
                that.showUserInfo = false; //隐藏用户填写的表单
                that.init();
              } else {
                //失败
                // uni.showModal({
                //     title: '弹窗标题', // 弹窗的标题
                //     content: JSON.parse(uploadRes.data), // 弹窗的文本内容
                //     showCancel: true, // 是否显示取消按钮，默认为 true
                //     cancelText: '取消', // 取消按钮的文字，默认为"取消"
                //     cancelColor: '#000000', // 取消按钮的文字颜色
                //     confirmText: '确定', // 确定按钮的文字，默认为"确定"
                //     confirmColor: '#576B95', // 确定按钮的文字颜色
                //     success: function (res) {
                //         if (res.confirm) {
                //             console.log('用户点击确定');
                //         } else if (res.cancel) {
                //             console.log('用户点击取消');
                //         }
                //     },
                //     fail: function (err) {
                //         console.log('API 调用失败: ', err);
                //     }
                // });
                that.disabledSubmit = false;
              }
            },
            fail: function fail(uploadErr) {
              console.error('上传失败', uploadErr);
              uni.showModal({
                title: '弹窗标题', // 弹窗的标题
                content: '1', // 弹窗的文本内容 JSON.parse(uploadErr.errMsg)
                showCancel: true, // 是否显示取消按钮，默认为 true
                cancelText: '取消', // 取消按钮的文字，默认为"取消"
                cancelColor: '#000000', // 取消按钮的文字颜色
                confirmText: '确定', // 确定按钮的文字，默认为"确定"
                confirmColor: '#576B95', // 确定按钮的文字颜色
                success: function success(res) {
                  if (res.confirm) {
                    console.log('用户点击确定');
                  } else if (res.cancel) {
                    console.log('用户点击取消');
                  }
                },
                fail: function fail(err) {
                  console.log('API 调用失败: ', err);
                } });


            } });


          // uni.downloadFile({
          //     url: that.avatarUrl,
          //     success: downloadRes => {
          //         if (downloadRes.statusCode === 200) {
          //             // 图片下载成功后获取临时文件路径
          //             const tempFilePath = downloadRes.tempFilePath;
          //             console.log('--------------',downloadRes)
          //             uni.uploadFile({
          //                 url: 'https://admin.mindepoch.com:8089/wechat/AppletWeChatRegisterOrLogin',
          //                 method: 'POST',
          //                 filePath:tempFilePath,
          //                 name: 'avatar',
          //                 formData: {
          //                     code: res.code,
          //                     username: that.userName,
          //                 },
          //                 success: uploadRes => {
          //                     uni.showToast({
          //                         title: 'AppletWeChatRegisterOrLogin',
          //                         icon: 'none'
          //                     })
          //                     console.log('上传成功uploadRes', uploadRes);
          //                     console.log(JSON.parse(uploadRes.data))
          //                     const data = JSON.parse(uploadRes.data)
          //                     if(data.code===1){
          //                         uni.showToast({
          //                             title: '成功！',
          //                             icon: 'none'
          //                         });
          //                         uni.setStorageSync('userName', that.userName);
          //                         uni.setStorageSync('session_token', uploadRes.cookies[0].split(';')[0]); //保存cookie值
          //                         uni.setStorageSync('wxUid', data.wxUid); //保存用户id
          //                         uni.setStorageSync('openId', data.openId); //保存用户id
          //                         that.showUserInfo = false //隐藏用户填写的表单
          //                         that.init()
          //                     }else{
          //                         //失败
          //                         // uni.showModal({
          //                         //     title: '弹窗标题', // 弹窗的标题
          //                         //     content: JSON.parse(uploadRes.data), // 弹窗的文本内容
          //                         //     showCancel: true, // 是否显示取消按钮，默认为 true
          //                         //     cancelText: '取消', // 取消按钮的文字，默认为"取消"
          //                         //     cancelColor: '#000000', // 取消按钮的文字颜色
          //                         //     confirmText: '确定', // 确定按钮的文字，默认为"确定"
          //                         //     confirmColor: '#576B95', // 确定按钮的文字颜色
          //                         //     success: function (res) {
          //                         //         if (res.confirm) {
          //                         //             console.log('用户点击确定');
          //                         //         } else if (res.cancel) {
          //                         //             console.log('用户点击取消');
          //                         //         }
          //                         //     },
          //                         //     fail: function (err) {
          //                         //         console.log('API 调用失败: ', err);
          //                         //     }
          //                         // });
          //                         that.disabledSubmit = false
          //                     }
          //                 },
          //                 fail: uploadErr => {
          //                     // uni.showModal({
          //                     //     title: '弹窗标题', // 弹窗的标题
          //                     //     content: JSON.parse(uploadErr), // 弹窗的文本内容
          //                     //     showCancel: true, // 是否显示取消按钮，默认为 true
          //                     //     cancelText: '取消', // 取消按钮的文字，默认为"取消"
          //                     //     cancelColor: '#000000', // 取消按钮的文字颜色
          //                     //     confirmText: '确定', // 确定按钮的文字，默认为"确定"
          //                     //     confirmColor: '#576B95', // 确定按钮的文字颜色
          //                     //     success: function (res) {
          //                     //         if (res.confirm) {
          //                     //             console.log('用户点击确定');
          //                     //         } else if (res.cancel) {
          //                     //             console.log('用户点击取消');
          //                     //         }
          //                     //     },
          //                     //     fail: function (err) {
          //                     //         console.log('API 调用失败: ', err);
          //                     //     }
          //                     // });
          //                     console.error('上传失败', uploadErr);
          //                 }
          //             })
          //         }
          //     },
          //     fail: downloadErr => {
          //         console.error('下载图片失败', downloadErr)
          //         // uni.showModal({
          //         //     title: '弹窗标题', // 弹窗的标题
          //         //     content: JSON.stringify(downloadErr), // 弹窗的文本内容
          //         //     showCancel: true, // 是否显示取消按钮，默认为 true
          //         //     cancelText: '取消', // 取消按钮的文字，默认为"取消"
          //         //     cancelColor: '#000000', // 取消按钮的文字颜色
          //         //     confirmText: '确定', // 确定按钮的文字，默认为"确定"
          //         //     confirmColor: '#576B95', // 确定按钮的文字颜色
          //         //     success: function (res) {
          //         //         if (res.confirm) {
          //         //             console.log('用户点击确定');
          //         //         } else if (res.cancel) {
          //         //             console.log('用户点击取消');
          //         //         }
          //         //     },
          //         //     fail: function (err) {
          //         //         console.log('API 调用失败: ', err);
          //         //     }
          //         // });
          //     }
          // });
        },
        fail: function fail(err) {
          console.log(err);
          uni.showToast({
            title: err.toString(),
            icon: 'none' });

        } });

    },
    onChooseAvatar: function onChooseAvatar(e) {
      console.log('e', e);var
      avatarUrl = e.detail.avatarUrl;
      this.avatarUrl = avatarUrl;
    },

    NavTo: function NavTo(data) {
      uni.navigateTo({
        url: "/pages/index/index?params=".concat(JSON.stringify(data)) });


      // console.log(title)
      // if(title==='情圣日记'){
      // }else{
      //     uni.showToast({
      //         title: '敬请期待',
      //         icon: 'none'
      //     });
      // }
    },
    onSlideChange: function onSlideChange(swiper, index) {
      console.log(swiper, index);
      // const len = this.photo.length + 1
      if (this.photo.length + 1 == index) {
        this.i = 0;
      } else if (index == 0) {
        this.i = this.photo.length - 1;
      } else {
        this.i = index - 1;
      }
      // 你可以在这里获取当前的swiper索引
      // const currentIndex = swiper.activeIndex;
      // 执行你想要的操作，比如更新页面标题
      // uni.setNavigationBarTitle('当前页: ' + (currentIndex + 1));
    },

    getAuth: function getAuth() {
      wx.getUserProfile({
        withCredentials: true,
        lang: 'zh_CN',
        desc: '提升用户体验，减少用户操作',
        success: function success(userRes) {
          console.log('userRes', userRes);
          // var userInfo = userRes.userInfo;
          // console.log("用户昵称为：" + userInfo.nickName);
          // console.log("用户头像地址为：" + userInfo.avatarUrl);
          // this.nickName = userInfo.nickName
          // this.avatarUrl = userInfo.avatarUrl
          // this.$globalData.userPhoto = userInfo.avatarUrl
        },
        fail: function fail() {
          console.error('获取用户信息失败');
        } });

    },

    handleUserDestory: function handleUserDestory() {
      uni.request({
        url: 'https://admin.mindepoch.com:8089/UnregisterUser',
        method: 'POST',
        header: {
          'Content-Type': 'application/x-www-form-urlencoded',
          'Cookie': "".concat(uni.getStorageSync('session_token')) },

        data: { id: uni.getStorageSync('wxUid') },
        success: function success(res) {
          console.log(res);
          uni.showToast({
            title: '注销成功！',
            icon: 'none' });

        },
        fail: function fail(err) {
          console.log(err);
        } });

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

/***/ }),
/* 18 */
/*!***********************************************************************************************************************!*\
  !*** D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css& ***!
  \***********************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_86ffa444_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css& */ 19);
/* harmony import */ var _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_86ffa444_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_86ffa444_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_86ffa444_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_86ffa444_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
 /* harmony default export */ __webpack_exports__["default"] = (_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_id_86ffa444_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); 

/***/ }),
/* 19 */
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-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--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/coco/dream/uniapp/jueqing/pages/homeCards/index.vue?vue&type=style&index=0&id=86ffa444&scoped=true&lang=css& ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

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

/***/ })
],[[12,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/homeCards/index.js.map