You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

989 lines
66 KiB

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["dynamic/pages/detail"],{
/***/ 951:
/*!************************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/main.js?{"page":"dynamic%2Fpages%2Fdetail"} ***!
\************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(wx, createPage) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
__webpack_require__(/*! uni-pages */ 26);
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
var _detail = _interopRequireDefault(__webpack_require__(/*! ./dynamic/pages/detail.vue */ 952));
// @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_detail.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
/***/ }),
/***/ 952:
/*!*****************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/dynamic/pages/detail.vue ***!
\*****************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./detail.vue?vue&type=template&id=1092eb5a& */ 953);
/* harmony import */ var _detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./detail.vue?vue&type=script&lang=js& */ 955);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _detail_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./detail.vue?vue&type=style&index=0&lang=scss& */ 957);
/* harmony import */ var _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 68);
var renderjs
/* normalize component */
var component = Object(_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__["render"],
_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
null,
null,
false,
_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "dynamic/pages/detail.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 953:
/*!************************************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/dynamic/pages/detail.vue?vue&type=template&id=1092eb5a& ***!
\************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=template&id=1092eb5a& */ 954);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_template_id_1092eb5a___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 954:
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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--17-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:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/dynamic/pages/detail.vue?vue&type=template&id=1092eb5a& ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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 g0 =
_vm.detail.id &&
_vm.detail.status == 2 &&
_vm.detail.coach_info.status === 2 &&
_vm.detail.type == 1
? _vm.detail.imgs.length
: null
var g1 =
_vm.detail.id &&
_vm.detail.status == 2 &&
_vm.detail.coach_info.status === 2 &&
_vm.detail.type == 1 &&
!_vm.showText
? _vm.detail.text.substring(0, 42)
: null
var g2 =
_vm.detail.id &&
_vm.detail.status == 2 &&
_vm.detail.coach_info.status === 2 &&
_vm.detail.type == 1
? _vm.list.data.length
: null
var g3 =
_vm.detail.id &&
_vm.detail.status == 2 &&
_vm.detail.coach_info.status === 2 &&
_vm.detail.type == 1 &&
_vm.loading
? _vm.list.current_page >= _vm.list.last_page && _vm.list.data.length > 0
: null
var g4 =
_vm.detail.id &&
_vm.detail.status == 2 &&
_vm.detail.coach_info.status === 2 &&
_vm.detail.type == 2 &&
!_vm.showText
? _vm.detail.text.substring(0, 42)
: null
var g5 = _vm.detail.id && _vm.detail.type == 2 ? _vm.list.data.length : null
var g6 =
_vm.detail.id && _vm.detail.type == 2 && _vm.loading
? _vm.list.current_page >= _vm.list.last_page && _vm.list.data.length > 0
: null
var g7 = _vm.detail.id ? !_vm.loading && _vm.serviceList.length <= 0 : null
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
$event.stopPropagation()
return _vm.$refs.show_item.open()
}
_vm.e1 = function ($event) {
$event.stopPropagation()
return _vm.$refs.show_item.open()
}
_vm.e2 = function ($event) {
$event.stopPropagation()
return _vm.$refs.show_item.close()
}
_vm.e3 = function ($event) {
$event.stopPropagation()
return _vm.$refs.comment_item.close()
}
}
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0,
g1: g1,
g2: g2,
g3: g3,
g4: g4,
g5: g5,
g6: g6,
g7: g7,
},
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 955:
/*!******************************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/dynamic/pages/detail.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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=script&lang=js& */ 956);
/* harmony import */ var _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 956:
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-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:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/dynamic/pages/detail.vue?vue&type=script&lang=js& ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 30));
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
var _vuex = __webpack_require__(/*! vuex */ 33);
var _siteinfo = _interopRequireDefault(__webpack_require__(/*! @/siteinfo.js */ 51));
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); 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 = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
var _default = {
data: function data() {
return {
iconType: {
1: 'icon-kefuwu',
2: 'iconjishifuwu',
3: 'iconkeyuyue',
4: 'iconkeyuyue'
},
textType: {
1: '可服务',
2: '服务中',
3: '可预约',
4: '不可预约'
},
options: {},
detail: {},
videoNavHeight: '15px',
showText: false,
loading: true,
param: {
page: 1
},
list: {
data: []
},
serviceList: [],
videoContexts: null,
isPlay: false,
scrollTop: 0,
pageScrollTop: 0,
showComment: false,
inputFocus: false,
subForm: {
text: ''
},
rule: [{
name: "text",
checkType: "isNotNull",
errorMsg: "请输入评论内容",
regType: 2
}],
popupInfo: {},
lockTap: false
};
},
computed: (0, _vuex.mapState)({
primaryColor: function primaryColor(state) {
return state.config.configInfo.primaryColor;
},
subColor: function subColor(state) {
return state.config.configInfo.subColor;
},
configInfo: function configInfo(state) {
return state.config.configInfo;
},
userInfo: function userInfo(state) {
return state.user.userInfo;
},
location: function location(state) {
return state.user.location;
},
isGzhLogin: function isGzhLogin(state) {
return state.user.isGzhLogin;
},
carList: function carList(state) {
return state.order.carList;
}
}),
onLoad: function onLoad(options) {
var _this = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
return _regenerator.default.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_this.$util.showLoading();
_this.options = options;
_this.param.dynamic_id = options.id;
_this.$util.showLoading();
_context.next = 6;
return _this.initIndex();
case 6:
case "end":
return _context.stop();
}
}
}, _callee);
}))();
},
onUnload: function onUnload() {
console.log("====onUnload");
if (this.isPlay) {
this.videoContexts.pause();
}
},
onPageScroll: function onPageScroll(e) {
var scrollTop = e.scrollTop;
this.pageScrollTop = scrollTop;
},
onPullDownRefresh: function onPullDownRefresh() {
uni.showNavigationBarLoading();
this.initRefresh();
uni.stopPullDownRefresh();
},
onReachBottom: function onReachBottom() {
if (this.list.current_page >= this.list.last_page || this.loading) return;
this.param.page = this.param.page + 1;
this.loading = true;
this.getList();
},
onShareAppMessage: function onShareAppMessage(e) {
var _this$userInfo$id = this.userInfo.id,
pid = _this$userInfo$id === void 0 ? 0 : _this$userInfo$id;
var _this$detail = this.detail,
id = _this$detail.id,
title = _this$detail.title,
imageUrl = _this$detail.cover;
var path = "/dynamic/pages/detail?pid=".concat(pid, "&id=").concat(id);
this.$util.log(path);
return {
title: title,
imageUrl: imageUrl,
path: path
};
},
methods: _objectSpread(_objectSpread(_objectSpread({}, (0, _vuex.mapActions)(['getConfigInfo', 'getUserInfo', 'getCarList', 'getServiceCoachList'])), (0, _vuex.mapMutations)(['updateUserItem'])), {}, {
initIndex: function initIndex() {
var _arguments = arguments,
_this2 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
var refresh, _this2$userInfo$id, uid, isGzhLogin, navBarHeight, dynamic_type;
return _regenerator.default.wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
refresh = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
if (!(!_this2.configInfo.id || refresh)) {
_context2.next = 4;
break;
}
_context2.next = 4;
return _this2.getConfigInfo();
case 4:
_this2$userInfo$id = _this2.userInfo.id, uid = _this2$userInfo$id === void 0 ? 0 : _this2$userInfo$id;
isGzhLogin = _this2.isGzhLogin;
_context2.next = 8;
return _this2.getDetail(refresh);
case 8:
navBarHeight = _this2.configInfo.navBarHeight;
dynamic_type = _this2.detail.type;
_this2.videoNavHeight = navBarHeight * 1 + 15 + 'px';
_this2.$util.setNavigationBarColor({
bg: _this2.primaryColor
});
case 12:
case "end":
return _context2.stop();
}
}
}, _callee2);
}))();
},
initRefresh: function initRefresh() {
this.param.page = 1;
this.initIndex(true);
},
toAppShare: function toAppShare() {
var _this$userInfo$id2 = this.userInfo.id,
pid = _this$userInfo$id2 === void 0 ? 0 : _this$userInfo$id2;
var _this$detail2 = this.detail,
id = _this$detail2.id,
title = _this$detail2.title,
imageUrl = _this$detail2.cover;
var summary = '';
var siteroot = _siteinfo.default.siteroot;
var url = siteroot.split('/index.php')[0];
var href = "".concat(url, "/h5/#/dynamic/pages/detail?id=").concat(id, "&pid=").concat(pid);
},
getDetail: function getDetail() {
var _arguments2 = arguments,
_this3 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
var refresh, id, _this3$location, location, _location, _location$lat, lat, _location$lng, lng, data, have_show_text;
return _regenerator.default.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
refresh = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : false;
id = _this3.options.id;
_this3$location = _this3.location, location = _this3$location === void 0 ? {
lat: 0,
lng: 0
} : _this3$location;
if (location.lat) {
_context3.next = 8;
break;
}
_context3.next = 6;
return _this3.$util.getBmapLocation();
case 6:
location = _context3.sent;
_this3.updateUserItem({
key: 'location',
val: location
});
case 8:
_location = location, _location$lat = _location.lat, lat = _location$lat === void 0 ? 0 : _location$lat, _location$lng = _location.lng, lng = _location$lng === void 0 ? 0 : _location$lng;
_context3.next = 11;
return _this3.$api.dynamic.dynamicInfo({
id: id,
lat: lat,
lng: lng
});
case 11:
data = _context3.sent;
have_show_text = data.text.length > 42;
data.have_show_text = have_show_text;
_this3.showText = !have_show_text;
_this3.detail = data;
_this3.$util.hideAll();
_context3.next = 19;
return _this3.getList();
case 19:
case "end":
return _context3.stop();
}
}
}, _callee3);
}))();
},
getList: function getList() {
var _this4 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
var oldList, param, newList;
return _regenerator.default.wrap(function _callee4$(_context4) {
while (1) {
switch (_context4.prev = _context4.next) {
case 0:
oldList = _this4.list, param = _this4.param;
_context4.next = 3;
return _this4.$api.dynamic.commentList(param);
case 3:
newList = _context4.sent;
if (_this4.param.page == 1) {
_this4.list = newList;
} else {
newList.data = oldList.data.concat(newList.data);
_this4.list = newList;
}
_this4.loading = false;
_this4.$util.hideAll();
case 7:
case "end":
return _context4.stop();
}
}
}, _callee4);
}))();
},
goBanner: function goBanner(current) {
this.$util.previewImage({
current: current,
urls: this.detail.imgs
});
},
scrolltolower: function scrolltolower(e) {
if (this.list.current_page >= this.list.last_page || this.loading) return;
this.param.page = this.param.page + 1;
this.loading = true;
this.getList();
},
toShowHide: function toShowHide(key) {
this[key] = !this[key];
},
inputBlur: function inputBlur() {
var _this5 = this;
if (this.showComment) {
this.$refs.comment_item.close();
}
this.$nextTick(function () {
_this5.showComment = false;
_this5.inputFocus = false;
});
},
// type 1关注,2点赞,3查看全部评论,4不喜欢TA的作品
toChangeItem: function toChangeItem(type) {
var _this6 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
var _this6$detail, id, coach_id, dynamic_type, follow_status, thumbs_status, thumbs_num, scrollTop, pageScrollTop, _this6$configInfo$nav, navBarHeight, query, methodArr, _methodArr$type, methodKey, methodModel, param, num;
return _regenerator.default.wrap(function _callee5$(_context5) {
while (1) {
switch (_context5.prev = _context5.next) {
case 0:
_this6$detail = _this6.detail, id = _this6$detail.id, coach_id = _this6$detail.coach_id, dynamic_type = _this6$detail.type, follow_status = _this6$detail.follow_status, thumbs_status = _this6$detail.thumbs_status, thumbs_num = _this6$detail.thumbs_num;
if (!(type == 3)) {
_context5.next = 9;
break;
}
_this6.showText = false;
scrollTop = _this6.scrollTop, pageScrollTop = _this6.pageScrollTop;
if (dynamic_type == 1 && (!scrollTop || scrollTop && pageScrollTop < scrollTop)) {
if (!scrollTop) {
_this6$configInfo$nav = _this6.configInfo.navBarHeight, navBarHeight = _this6$configInfo$nav === void 0 ? 88 : _this6$configInfo$nav;
query = uni.createSelectorQuery().in(_this6);
query.select('.comment-list-info').boundingClientRect(function (data) {
_this6.scrollTop = data.top - navBarHeight;
uni.pageScrollTo({
scrollTop: data.top - navBarHeight,
duration: 0
});
}).exec();
} else {
uni.pageScrollTo({
scrollTop: scrollTop,
duration: 0
});
}
}
_this6.showComment = dynamic_type == 1;
_this6.$refs.comment_item.open();
setTimeout(function () {
_this6.$nextTick(function () {
_this6.inputFocus = true;
// this.$refs.elInput.focus()
}, 10);
}, 200);
return _context5.abrupt("return");
case 9:
methodArr = {
1: {
methodKey: 'dynamic',
methodModel: 'followAddOrCancek',
param: {
dynamic_id: id,
coach_id: coach_id
}
},
2: {
methodKey: 'dynamic',
methodModel: 'thumbsAddOrCancek',
param: {
dynamic_id: id
}
},
4: {
methodKey: 'mine',
methodModel: 'shieldCoachAdd',
param: {
type: 1,
coach_id: coach_id
}
}
};
_methodArr$type = methodArr[type], methodKey = _methodArr$type.methodKey, methodModel = _methodArr$type.methodModel, param = _methodArr$type.param;
_context5.next = 13;
return _this6.$api[methodKey][methodModel](param);
case 13:
_context5.t0 = type;
_context5.next = _context5.t0 === 1 ? 16 : _context5.t0 === 2 ? 18 : _context5.t0 === 4 ? 22 : 25;
break;
case 16:
_this6.detail.follow_status = follow_status ? 0 : 1;
return _context5.abrupt("break", 25);
case 18:
num = thumbs_status ? -1 : 1;
_this6.detail.thumbs_num = thumbs_num + num;
_this6.detail.thumbs_status = num > 0 ? 1 : 0;
return _context5.abrupt("break", 25);
case 22:
_this6.$util.showToast({
title: "\u64CD\u4F5C\u6210\u529F"
});
setTimeout(function () {
_this6.$util.back();
_this6.$util.goUrl({
url: 1,
openType: "navigateBack"
});
}, 2000);
return _context5.abrupt("break", 25);
case 25:
case "end":
return _context5.stop();
}
}
}, _callee5);
}))();
},
//表单验证
validate: function validate(param) {
var validate = new this.$util.Validate();
this.rule.map(function (item) {
var name = item.name;
validate.add(param[name], item);
});
var message = validate.start();
return message;
},
toComment: function toComment() {
var _this7 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
var subForm, id, msg, _yield$_this7$$api$dy, _yield$_this7$$api$dy2, status;
return _regenerator.default.wrap(function _callee6$(_context6) {
while (1) {
switch (_context6.prev = _context6.next) {
case 0:
subForm = _this7.$util.deepCopy(_this7.subForm);
id = _this7.options.id;
subForm.dynamic_id = id;
msg = _this7.validate(subForm);
if (!msg) {
_context6.next = 6;
break;
}
return _context6.abrupt("return");
case 6:
subForm.text = subForm.text.substring(0, 200);
if (!_this7.lockTap) {
_context6.next = 9;
break;
}
return _context6.abrupt("return");
case 9:
_this7.lockTap = true;
_this7.$util.showLoading();
_context6.prev = 11;
_context6.next = 14;
return _this7.$api.dynamic.commentAdd(subForm);
case 14:
_yield$_this7$$api$dy = _context6.sent;
_yield$_this7$$api$dy2 = _yield$_this7$$api$dy.status;
status = _yield$_this7$$api$dy2 === void 0 ? 1 : _yield$_this7$$api$dy2;
_this7.$util.hideAll();
_this7.$util.showToast({
title: status == 1 ? '正在审核中' : "\u8BC4\u8BBA\u6210\u529F"
});
_this7.lockTap = false;
_this7.subForm.text = '';
if (_this7.showComment) {
_this7.$refs.comment_item.close();
}
_this7.$nextTick(function () {
_this7.showComment = false;
_this7.inputFocus = false;
});
setTimeout(function () {
_this7.initRefresh();
}, 1000);
_context6.next = 29;
break;
case 26:
_context6.prev = 26;
_context6.t0 = _context6["catch"](11);
setTimeout(function () {
_this7.lockTap = false;
_this7.$util.hideAll();
}, 2000);
case 29:
case "end":
return _context6.stop();
}
}
}, _callee6, null, [[11, 26]]);
}))();
},
toDel: function toDel(index) {
var _this$list$data$index = this.list.data[index],
id = _this$list$data$index.id,
image = _this$list$data$index.cover,
del_auth = _this$list$data$index.del_auth,
status = _this$list$data$index.status;
if (del_auth) {
this.popupInfo = {
id: id,
name: "",
image: "",
index: index,
status: status
};
this.$refs.del_item.open();
}
},
// 确认:删除评论
confirmDel: function confirmDel() {
var _this8 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
var _this8$popupInfo, id, index, status, comment_num;
return _regenerator.default.wrap(function _callee7$(_context7) {
while (1) {
switch (_context7.prev = _context7.next) {
case 0:
_this8$popupInfo = _this8.popupInfo, id = _this8$popupInfo.id, index = _this8$popupInfo.index, status = _this8$popupInfo.status;
comment_num = _this8.detail.comment_num;
if (!_this8.lockTap) {
_context7.next = 4;
break;
}
return _context7.abrupt("return");
case 4:
_this8.lockTap = true;
_this8.$util.showLoading();
_context7.prev = 6;
_context7.next = 9;
return _this8.$api.dynamic.commentDel({
id: id
});
case 9:
_this8.lockTap = false;
_this8.$util.hideAll();
_this8.list.data.splice(index, 1);
// await this.getList(1)
if (status != 1) {
_this8.detail.comment_num = comment_num - 1;
}
_this8.$util.showToast({
title: "\u5220\u9664\u6210\u529F"
});
_this8.$refs.del_item.close();
_context7.next = 20;
break;
case 17:
_context7.prev = 17;
_context7.t0 = _context7["catch"](6);
setTimeout(function () {
_this8.lockTap = false;
_this8.$util.hideAll();
}, 2000);
case 20:
case "end":
return _context7.stop();
}
}
}, _callee7, null, [[6, 17]]);
}))();
},
getServiceList: function getServiceList() {
var _this9 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
var is_work, coach_id, _yield$_this9$$api$se, data, arr;
return _regenerator.default.wrap(function _callee8$(_context8) {
while (1) {
switch (_context8.prev = _context8.next) {
case 0:
is_work = _this9.detail.coach_info.is_work;
if (is_work) {
_context8.next = 4;
break;
}
_this9.$util.showToast({
title: "\u8BE5".concat(_this9.$t('action.attendantName'), "\u672A\u4E0A\u73ED")
});
return _context8.abrupt("return");
case 4:
coach_id = _this9.detail.coach_id;
_context8.next = 7;
return _this9.getCarList({
coach_id: coach_id
});
case 7:
_context8.next = 9;
return _this9.$api.service.coachServiceList({
coach_id: coach_id
});
case 9:
_yield$_this9$$api$se = _context8.sent;
data = _yield$_this9$$api$se.data;
arr = [];
if (_this9.carList.list && _this9.carList.list.length > 0) {
_this9.carList.list.map(function (item) {
arr.push(item.service_id);
});
}
if (data && data.length > 0) {
data.map(function (item) {
if (arr.includes(item.id)) {
var carInd = arr.findIndex(function (aitem) {
return aitem == item.id;
});
item.num = _this9.carList.list[carInd].num;
item.cart_id = _this9.carList.list[carInd].id;
}
});
}
_this9.serviceList = data;
_this9.$refs.technician_item.open();
case 16:
case "end":
return _context8.stop();
}
}
}, _callee8);
}))();
},
// 加/减数量
changeNum: function changeNum(mol, serInd) {
var _this10 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
var coach_id, _this10$serviceList$s, service_id, _this10$serviceList$s2, cart_id, methodModel, param, add_cart_id, _this10$serviceList$s3, _this10$serviceList$s4, num, _this10$serviceList$s5, _cart_id;
return _regenerator.default.wrap(function _callee9$(_context9) {
while (1) {
switch (_context9.prev = _context9.next) {
case 0:
coach_id = _this10.detail.coach_id;
_this10$serviceList$s = _this10.serviceList[serInd], service_id = _this10$serviceList$s.id, _this10$serviceList$s2 = _this10$serviceList$s.cart_id, cart_id = _this10$serviceList$s2 === void 0 ? 0 : _this10$serviceList$s2;
if (!_this10.lockTap) {
_context9.next = 4;
break;
}
return _context9.abrupt("return");
case 4:
_this10.lockTap = true;
methodModel = mol > 0 ? 'addCar' : 'delCar';
param = mol > 0 ? {
service_id: service_id,
coach_id: coach_id,
num: 1
} : {
id: cart_id,
num: 1
};
if (!(methodModel == 'delCar' && !param.id)) {
_context9.next = 10;
break;
}
_this10.lockTap = false;
return _context9.abrupt("return");
case 10:
_context9.prev = 10;
_context9.next = 13;
return _this10.$api.order[methodModel](param);
case 13:
add_cart_id = _context9.sent;
_this10$serviceList$s3 = _this10.serviceList[serInd], _this10$serviceList$s4 = _this10$serviceList$s3.num, num = _this10$serviceList$s4 === void 0 ? 0 : _this10$serviceList$s4, _this10$serviceList$s5 = _this10$serviceList$s3.cart_id, _cart_id = _this10$serviceList$s5 === void 0 ? 0 : _this10$serviceList$s5;
_this10.serviceList[serInd].num = num + mol;
if (add_cart_id && mol > 0 && !_cart_id) {
_this10.serviceList[serInd].cart_id = add_cart_id;
}
if (_this10.serviceList[serInd].num < 1) {
_this10.serviceList[serInd].cart_id = 0;
}
_context9.next = 20;
return _this10.getCarList({
coach_id: coach_id
});
case 20:
_this10.lockTap = false;
_context9.next = 26;
break;
case 23:
_context9.prev = 23;
_context9.t0 = _context9["catch"](10);
_this10.lockTap = false;
case 26:
case "end":
return _context9.stop();
}
}
}, _callee9, null, [[10, 23]]);
}))();
},
// 下单
toOrder: function toOrder() {
if (this.carList.car_count < 1) {
this.$util.showToast({
title: "\u8BF7\u9009\u62E9\u670D\u52A1"
});
return;
}
var id = this.detail.coach_id;
this.$refs.technician_item.close();
this.$util.goUrl({
url: "/user/pages/order?id=".concat(id)
});
},
toTechnicianInfo: function toTechnicianInfo() {
var coach_id = this.detail.coach_id;
this.$refs.technician_item.close();
this.$util.goUrl({
url: "/user/pages/technician-info?id=".concat(coach_id)
});
},
screenChange: function screenChange(e) {
var _this11 = this;
var _e$detail$fullScreen = e.detail.fullScreen,
fullScreen = _e$detail$fullScreen === void 0 ? false : _e$detail$fullScreen;
if (!fullScreen) {
this.$nextTick(function () {
_this11.videoContexts.pause();
_this11.videoContexts = null;
_this11.isPlay = false;
});
}
},
playAndPauseVideo: function playAndPauseVideo() {
var _this12 = this;
var _this$videoContexts = this.videoContexts,
videoContexts = _this$videoContexts === void 0 ? null : _this$videoContexts;
var isPlay = this.$util.deepCopy(this.isPlay);
if (videoContexts == null) {
var id = this.detail.id;
this.videoContexts = uni.createVideoContext("video_".concat(id), this);
this.isPlay = true;
}
var methodModel = !isPlay ? 'play' : 'pause';
this.$nextTick(function () {
_this12.videoContexts[methodModel]();
});
},
onPlay: function onPlay(e) {
this.isPlay = true;
},
onPause: function onPause(e) {
this.isPlay = false;
},
onEnded: function onEnded(e) {
this.isPlay = false;
},
onError: function onError(e) {},
onTimeUpdate: function onTimeUpdate(e) {},
onWaiting: function onWaiting(e) {},
onProgress: function onProgress(e) {},
onLoadedMetaData: function onLoadedMetaData(e) {}
})
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }),
/***/ 957:
/*!***************************************************************************************************************************************************************************!*\
!*** C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/dynamic/pages/detail.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 _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-2!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--8-oneOf-1-3!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--8-oneOf-1-5!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./detail.vue?vue&type=style&index=0&lang=scss& */ 958);
/* harmony import */ var _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_2_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_8_oneOf_1_5_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Downloads_HBuilderX_3_99_2023122611_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_detail_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 958:
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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/@dcloudio/vue-cli-plugin-uni/packages/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!C:/Users/Administrator/Documents/WeChat Files/wxid_4mbfe5m00xwy21/FileStorage/File/2024-07/uniapp/wechat/dynamic/pages/detail.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; }
/***/ })
},[[951,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/dynamic/pages/detail.js.map