text: (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/jiesuan/jiesuan"],{
  
  /***/ 74:
  /*!*************************************************************!*\
    !*** C:/分/fen/main.js?{"page":"pages%2Fjiesuan%2Fjiesuan"} ***!
    \*************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  /* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 4);
  var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
  var _jiesuan = _interopRequireDefault(__webpack_require__(/*! ./pages/jiesuan/jiesuan.vue */ 75));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
  createPage(_jiesuan.default);
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
  
  /***/ }),
  
  /***/ 75:
  /*!******************************************!*\
    !*** C:/分/fen/pages/jiesuan/jiesuan.vue ***!
    \******************************************/
  /*! no static exports found */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _jiesuan_vue_vue_type_template_id_16f35f32___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./jiesuan.vue?vue&type=template&id=16f35f32& */ 76);
  /* harmony import */ var _jiesuan_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./jiesuan.vue?vue&type=script&lang=js& */ 78);
  /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _jiesuan_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 _jiesuan_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
  /* harmony import */ var _jiesuan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jiesuan.vue?vue&type=style&index=0&lang=css& */ 80);
  /* 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 */ 10);
  
  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"])(
    _jiesuan_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
    _jiesuan_vue_vue_type_template_id_16f35f32___WEBPACK_IMPORTED_MODULE_0__["render"],
    _jiesuan_vue_vue_type_template_id_16f35f32___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
    false,
    null,
    null,
    null,
    false,
    _jiesuan_vue_vue_type_template_id_16f35f32___WEBPACK_IMPORTED_MODULE_0__["components"],
    renderjs
  )
  
  component.options.__file = "pages/jiesuan/jiesuan.vue"
  /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  
  /***/ }),
  
  /***/ 76:
  /*!*************************************************************************!*\
    !*** C:/分/fen/pages/jiesuan/jiesuan.vue?vue&type=template&id=16f35f32& ***!
    \*************************************************************************/
  /*! 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_jiesuan_vue_vue_type_template_id_16f35f32___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!./jiesuan.vue?vue&type=template&id=16f35f32& */ 77);
  /* 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_jiesuan_vue_vue_type_template_id_16f35f32___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_jiesuan_vue_vue_type_template_id_16f35f32___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_jiesuan_vue_vue_type_template_id_16f35f32___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_jiesuan_vue_vue_type_template_id_16f35f32___WEBPACK_IMPORTED_MODULE_0__["components"]; });
  
  
  
  /***/ }),
  
  /***/ 77:
  /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./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!C:/分/fen/pages/jiesuan/jiesuan.vue?vue&type=template&id=16f35f32& ***!
    \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! 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
  var render = function() {
    var _vm = this
    var _h = _vm.$createElement
    var _c = _vm._self._c || _h
  }
  var recyclableRender = false
  var staticRenderFns = []
  render._withStripped = true
  
  
  
  /***/ }),
  
  /***/ 78:
  /*!*******************************************************************!*\
    !*** C:/分/fen/pages/jiesuan/jiesuan.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_jiesuan_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!./jiesuan.vue?vue&type=script&lang=js& */ 79);
  /* 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_jiesuan_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_jiesuan_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_jiesuan_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_jiesuan_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_jiesuan_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a); 
  
  /***/ }),
  
  /***/ 79:
  /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./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!C:/分/fen/pages/jiesuan/jiesuan.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 {
        car_list: '',
        user_address: '',
        isShow: false,
        words: '',
        //配送费
        afare: 0,
        //总价	
        allprice: 0,
        ask: -1,
        num: 1,
        specs_id: 0,
        specs_name: '',
        isadds: '',
        level: '',
        member_money: '' };
  
    },
    onLoad: function onLoad(options) {var _this = this;
  
      this.user_id = uni.getStorageSync('user_id');
      // console.log(uni.getStorageSync("user_id"),this.user_id)
      var ask = options.ask,
      num = options.num,
      specs_id = options.specs_id,
      id = options.id;
      // console.log(ask)
      this.ask = options.ask;
      this.num = options.num;
      this.specs_id = options.specs_id;
      this.goods_id = options.id;
      this.member_money = options.member_money;
      // console.log(this.member_money)
  
      var _that = this;
      if (ask == 0) {
        this.arr = JSON.parse(uni.getStorageSync('cartId'));
        var str = "";
        for (var i = 0; i < this.arr.length; i++) {
          str = str + this.arr[i] + ",";
        }
        uni.request({
          url: 'https://www.jrtjrt.top/index/shopping_cart/shopping_cart_lst_d',
          data: {
            user_id: this.user_id,
            id: str.substring(0, str.length - 1) },
  
          methods: "post",
          success: function success(res) {
            _that.car_list = res.data.data;
            var afare = 0;
            var topric = 0;
            // for (let i = 0; i < _that.car_list.length; i++) {
            // 	afare += Number(this.car_list[i].fare);
            // 	// var afare += this.fare
            // 	topric = topric + this.car_list[i].num * Number(this.car_list[i].money)
  
            // }
            // // console.log(topric)
            // _that.afare = afare;
            // _that.allprice = afare + topric;
            uni.request({
              url: 'https://www.jrtjrt.top/index/user/user_lst_d',
              data: {
                user_id: _this.user_id },
  
              method: 'POST',
              success: function success(res) {
                // console.log(res.data.data.level);
                _that.level = res.data.data.level;
                // console.log(_that.level)
                if (_that.level == 0) {
                  for (var _i = 0; _i < _that.car_list.length; _i++) {
                    afare += Number(_this.car_list[_i].fare);
                    // var afare += this.fare
                    topric = topric + _this.car_list[_i].num * Number(_this.car_list[_i].money);
  
                  }
                  // console.log(topric)
                  _that.afare = afare;
                  _that.allprice = afare + topric;
                } else if (_that.level == 1) {
                  for (var _i2 = 0; _i2 < _that.car_list.length; _i2++) {
                    afare += Number(_this.car_list[_i2].fare);
                    // var afare += this.fare
                    console.log(afare);
                    topric = topric + _this.car_list[_i2].num * Number(_this.car_list[_i2].member_money);
  
                  }
                  // console.log(topric)
                  _that.afare = afare;
                  _that.allprice = afare + topric;
                } else if (_that.level == 2) {
                  for (var _i3 = 0; _i3 < _that.car_list.length; _i3++) {
                    afare += Number(_this.car_list[_i3].fare);
                    // var afare += this.fare
                    console.log(afare);
                    topric = topric + _this.car_list[_i3].num * Number(_this.car_list[_i3].member_money);
  
                  }
                  // console.log(topric)
                  _that.afare = afare;
                  _that.allprice = afare + topric;
                } else if (_that.level == 3) {
                  for (var _i4 = 0; _i4 < _that.car_list.length; _i4++) {
                    afare += Number(_this.car_list[_i4].fare);
                    // var afare += this.fare
                    console.log(afare);
                    topric = topric + _this.car_list[_i4].num * Number(_this.car_list[_i4].member_money);
  
                  }
                  // console.log(topric)
                  _that.afare = afare;
                  _that.allprice = afare + topric;
                }
              } });
  
  
  
          } });
  
      } else if (ask == 1) {
  
        uni.request({
          url: 'https://www.jrtjrt.top/index/goods/goods_lst_ds',
          data: {
            user_id: this.user_id,
            id: id },
  
          methods: "post",
          success: function success(res) {
            _that.car_list = res.data.data;
            // console.log(res.data)
            var afare = 0;
            var topric = 0;
            // afare=_that.car_list.fare;
            // topric=_that.num * Number(this.car_list.money)
            // _that.afare = afare;
            // _that.allprice = Number(afare) + Number(topric);
            uni.request({
              url: 'https://www.jrtjrt.top/index/user/user_lst_d',
              data: {
                user_id: _this.user_id },
  
              method: 'POST',
              success: function success(res) {
                // console.log(res.data.data.level);
                _that.level = res.data.data.level;
                // console.log(_that.level)
                if (_that.level == 0) {
                  afare = _that.car_list.fare;
                  topric = _that.num * Number(_this.car_list.money);
                  _that.afare = afare;
                  _that.allprice = Number(afare) + Number(topric);
                } else if (_that.level == 1) {
                  afare = _that.car_list.fare;
                  topric = _that.num * Number(_that.member_money);
                  _that.afare = afare;
                  // console.log(afare)
                  _that.allprice = Number(afare) + Number(topric);
                } else if (_that.level == 2) {
                  afare = _that.car_list.fare;
                  topric = _that.num * Number(_that.member_money);
                  _that.afare = afare;
                  // console.log(afare)
                  _that.allprice = Number(afare) + Number(topric);
                } else if (_that.level == 3) {
                  // console.log(1)
                  afare = _that.car_list.fare;
                  topric = _that.num * Number(_that.member_money);
                  _that.afare = afare;
                  // console.log(afare)
                  _that.allprice = Number(afare) + Number(topric);
                }
              } });
  
            uni.request({
              url: 'https://www.jrtjrt.top/index/specs/specs_lst_d',
              data: {
                id: _that.specs_id },
  
              method: 'POST',
              success: function success(res) {
                // console.log(res.data.data.name)
                _that.specs_name = res.data.data.name;
              } });
  
          } });
  
      }
  
    },
    onShow: function onShow() {var _this2 = this;
      this.user_address = uni.getStorageSync('user_address');
      // console.log(uni.getStorageSync('cartId'));
      if (this.user_address.length == 0) {
        this.isadds = 0;
      } else {
        this.isadds = 1;
      }
      uni.request({
        url: 'https://www.jrtjrt.top/index/user/user_lst_d',
        data: {
          user_id: this.user_id },
  
        method: 'POST',
        success: function success(res) {
          // console.log(res.data.data.level);
          _this2.level = res.data.data.level;
          // console.log(_that.level)
          if (_this2.level == 0) {
  
          } else if (_this2.level == 1) {
  
          } else if (_this2.level == 2) {
  
          } else if (_this2.level == 3) {
  
          }
        } });
  
  
    },
    methods: {
      addr: function addr() {
        uni.navigateTo({
          url: '../shaddress/shaddress' });
  
      },
      btn_submit: function btn_submit() {
        var car_arr = [];
  
        var allprice = this.allprice;
        // console.log(allprice)
        for (var i = 0; i < this.car_list.length; i++) {
          car_arr.push(this.car_list[i].id);
  
        }
        var str1 = "";
        for (var _i5 = 0; _i5 < car_arr.length; _i5++) {
          str1 = str1 + car_arr[_i5] + ",";
        }
        if (this.ask == 0) {
          uni.request({
            url: 'https://www.jrtjrt.top/index/goods_order/goods_order_adds',
            data: {
              user_id: this.user_id,
              goods_id: str1.substring(0, str1.length - 1),
              address_id: this.user_address.id,
              content: this.words },
  
            method: 'POST',
            success: function success(res) {
              // console.log(res.data.data)
              if (res.data.code == 1) {
                uni.requestPayment({
                  provider: 'wxpay',
                  timeStamp: res.data.data.timeStamp,
                  nonceStr: res.data.data.nonceStr,
                  package: res.data.data.package,
                  signType: res.data.data.signType,
                  paySign: res.data.data.paySign,
                  success: function success(res) {
                    // console.log('success:' + JSON.stringify(res));
                    uni.navigateTo({
                      url: '../paymentsuccessful/paymentsuccessful?allprice=' + allprice });
  
                  },
                  fail: function fail(err) {
                    // console.log('fail:' + JSON.stringify(err));
                    uni.showToast({
                      icon: "none",
                      title: "未支付" });
  
                    uni.navigateTo({
                      url: '../order/order?type=0' });
  
                  } });
  
              } else if (res.data.code == 0) {
                uni.showToast({
                  icon: 'none',
                  title: res.data.message });
  
              }
  
            } });
  
        } else if (this.ask == 1) {
          // console.log(this.num);
          // console.log(this.specs_id);
          // console.log(this.goods_id);
          // console.log(this.user_address.id);
          // console.log(this.words);
          uni.request({
            url: 'https://www.jrtjrt.top/index/goods_order/goods_order_add',
            data: {
              user_id: this.user_id,
              goods_id: this.goods_id,
              specs_id: this.specs_id,
              num: this.num,
              address_id: this.user_address.id,
              content: this.words },
  
            method: 'POST',
            success: function success(res) {
              // console.log(res.data.code)
              if (res.data.code == 1) {
                // console.log(res.data.code)
                uni.requestPayment({
                  provider: 'wxpay',
                  timeStamp: res.data.data.timeStamp,
                  nonceStr: res.data.data.nonceStr,
                  package: res.data.data.package,
                  signType: res.data.data.signType,
                  paySign: res.data.data.paySign,
                  success: function success(res) {
                    // console.log('success:' + JSON.stringify(res));
                    uni.navigateTo({
                      url: '../paymentsuccessful/paymentsuccessful?allprice=' + allprice });
  
                  },
                  fail: function fail(err) {
                    // console.log('fail:' + JSON.stringify(err));
                    uni.showToast({
                      icon: "none",
                      title: "未支付" });
  
                    uni.navigateTo({
                      url: '../order/order?type=0' });
  
                  } });
  
              } else if (res.data.code == 0) {
                // console.log(res.data)
                uni.showToast({
                  icon: 'none',
                  title: res.data.message });
  
                // if(res.data.message){
                // 	uni.showToast({
                // 		icon:'none',
                // 		title:res.data.message
                // 	})
                // }else{
                // 	uni.showToast({
                // 		icon:'none',
                // 		title:res.data
                // 	})
                // }
  
              }
  
              // console.log(res)
            } });
  
        }
  
      } } };exports.default = _default;
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
  
  /***/ }),
  
  /***/ 80:
  /*!***************************************************************************!*\
    !*** C:/分/fen/pages/jiesuan/jiesuan.vue?vue&type=style&index=0&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_jiesuan_vue_vue_type_style_index_0_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!./jiesuan.vue?vue&type=style&index=0&lang=css& */ 81);
  /* 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_jiesuan_vue_vue_type_style_index_0_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_jiesuan_vue_vue_type_style_index_0_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_jiesuan_vue_vue_type_style_index_0_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_jiesuan_vue_vue_type_style_index_0_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_jiesuan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a); 
  
  /***/ }),
  
  /***/ 81:
  /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
    !*** ./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!C:/分/fen/pages/jiesuan/jiesuan.vue?vue&type=style&index=0&lang=css& ***!
    \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  // extracted by mini-css-extract-plugin
      if(false) { var cssReload; }
    
  
  /***/ })
  
  },[[74,"common/runtime","common/vendor"]]]);
  //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/jiesuan/jiesuan.js.map