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

1786 lines
88 KiB
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/detail/index"],{
/***/ 86:
/*!***********************************************************************************************************************!*\
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/main.js?{"page":"pages%2Fdetail%2Findex"} ***!
\***********************************************************************************************************************/
/*! 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 _index = _interopRequireDefault(__webpack_require__(/*! ./pages/detail/index.vue */ 87));
// @ts-ignore
wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
createPage(_index.default);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["createPage"]))
/***/ }),
/***/ 87:
/*!****************************************************************************************************!*\
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/detail/index.vue ***!
\****************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index.vue?vue&type=template&id=12dbf08d& */ 88);
/* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.vue?vue&type=script&lang=js& */ 90);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_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 _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index.vue?vue&type=style&index=0&lang=css& */ 94);
/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 32);
var renderjs
/* normalize component */
var component = Object(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__["render"],
_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
null,
null,
false,
_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/detail/index.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 88:
/*!***********************************************************************************************************************************!*\
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/detail/index.vue?vue&type=template&id=12dbf08d& ***!
\***********************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=template&id=12dbf08d& */ 89);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_template_id_12dbf08d___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 89:
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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!/Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/detail/index.vue?vue&type=template&id=12dbf08d& ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! 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.labelColor.length
var g1 = _vm.bgColor.length
var g2 = _vm.labelColor.length
var g3 = _vm.bgColor.length
var g4 = _vm.images.length
_vm.$mp.data = Object.assign(
{},
{
$root: {
g0: g0,
g1: g1,
g2: g2,
g3: g3,
g4: g4,
},
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 90:
/*!*****************************************************************************************************************************!*\
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/detail/index.vue?vue&type=script&lang=js& ***!
\*****************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js& */ 91);
/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 91:
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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!/Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/detail/index.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 _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
var _methods;
var bottomDrawer = function bottomDrawer() {
Promise.all(/*! require.ensure | components/bottom-drawer/index */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/bottom-drawer/index")]).then((function () {
return resolve(__webpack_require__(/*! ../../components/bottom-drawer/index */ 443));
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
};
var app = getApp();
var commonUtil = __webpack_require__(/*! ../../utils/commonUtil */ 51);
var _require = __webpack_require__(/*! ./demo.js */ 92),
wxml = _require.wxml,
style = _require.style;
var QQMapWX = __webpack_require__(/*! ../../utils/qqmap-wx-jssdk.min.js */ 93);
var qqmapsdk;
var _default = {
components: {
bottomDrawer: bottomDrawer
},
data: function data() {
return {
recordShow: false,
images: [],
isLogin: false,
statusBarHeight: uni.getStorageSync('statusBarHeight'),
// 状态栏高度
navigationBarHeight: uni.getStorageSync('navigationBarHeight'),
// 导航栏高度
menuButtonHeight: uni.getStorageSync('menuButtonHeight'),
// 胶囊按钮高度
menuButton: uni.getStorageSync('menuButtonInfo'),
// 胶囊信息
backHeight: uni.getMenuButtonBoundingClientRect().top + uni.getMenuButtonBoundingClientRect().height / 2 + 'px',
storeJobId: '',
iosDialog: false,
//职位ID
searchForm: {
storeJobId: '',
lng: '',
lat: ''
},
fullScreen: false,
bclr: '',
djxx: '',
currIndex: '1',
jobDetail: {
jobName: '',
genderRestrict: '',
jobSpecialLabelNames: [],
jobRequestLabelNames: [],
storeAddr: '',
jobInfo: '',
interviewDuration: '',
tripMode: '',
interviewDesp: '',
entryDesp: '',
leaveRequire: '',
leaveDesp: '',
agencyStatement: '',
agencyProfit: '',
deductTaxDesp: '',
outListTime: '',
settlementTime: '',
jobDesp: '',
jobDesp1: '',
customServiceUser: {
tel: '',
weChat: ''
}
},
//详情
wxCode: '',
pbtm: 0,
shareTitle: '',
isCollect: false,
src: '',
word: 'woca',
phoneDialog: false,
isImg: true,
labelColor: ['#c41d7f', '#096dd9', '#531dab', '#d46b08', '#389e0d', '#08979c', '#cf1322'],
bgColor: ['#fff0f6', '#e6f7ff', '#f9f0ff', '#fff7e6', '#f6ffed', '#e6fffb', '#fff1f0'],
wxml: {
text: '啊啊按'
},
addressNew: '',
citys: '',
showSexAgeText: '',
fuWuFei: '',
isServicePriceShow: true,
isAgency: true,
isShareShow: false,
managerRoleClassify: false,
// 管理员权限
serviceInfo: app.globalData.serviceInfo,
isMaskShow: false,
onSiteRemark: '',
img: 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/bg.png',
canvasImg: '',
isLoading: true,
iosDialogTobe: false,
// 成为代理弹窗显示
userInfo: {
agencyStatus: 0,
noticeEndStr: false,
tel: ''
},
shareListImg: 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/detail830-1.png',
shareDetailImg: 'https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/posterbg1.1.png',
posterImg: '',
safeBottom: uni.getWindowInfo().screenHeight - uni.getWindowInfo().safeArea.height + 'px',
swiperHeight: 0,
bottomLift: 0,
showfixToast: false,
current: 0,
corpUserFlag: '',
posterShow: false,
currentInfo: ''
};
},
onShow: function onShow() {
var that = this;
uni.getSystemInfo({
success: function success(res) {
that.bottomLift = res.screenHeight - res.safeArea.bottom + 60;
},
fail: function fail(err) {
console.log(err);
}
});
console.log(that.bottomLift);
this.setData({
bottomLift: that.bottomLift,
isLogin: app.globalData.isLogin,
// backHeight:wx.getMenuButtonBoundingClientRect().top,
isLoading: true
// userInfo:{...app.globalData.loginUserInfo, agencyStatus:0},
});
if (app.globalData.isLogin) {
that.setData({
// agencyStatus: app.globalData.agencyStatus,
userInfo: app.globalData.loginUserInfo
});
} else {
this.wxLogin();
}
},
onLoad: function onLoad(query) {
var that = this;
console.log(app.globalData.loginUserInfo);
qqmapsdk = new QQMapWX({
key: '5PTBZ-YI7C6-MZGS3-ES7QN-4T5O2-EJFVR'
});
that.setData({
isAgency: app.globalData.loginUserInfo.agencyStatus == 1 ? true : false,
corpUserFlag: app.globalData.loginUserInfo.corpUserFlag,
managerRoleClassify: app.globalData.loginUserInfo.managerRoleClassify,
userInfo: app.globalData.loginUserInfo
});
that.widget = that.zpSelectComponent('.widget');
uni.getSystemInfo({
success: function success(res) {
console.log('手机信息res' + res.model);
var modelmes = res.model;
console.log(modelmes.search('iPhone X'));
if (modelmes.search('iPhone 12 Pro') != -1 || modelmes.search('iPhone X') != -1 || modelmes.search('iPhone XR') != -1 || modelmes.search('iPhone XS max') != -1 || modelmes.search('iPhone 11') != -1) {
that.setData({
pbtm: 40
});
} else {}
}
});
console.log(query);
console.log('HHHHHHHHHHHHH' + query.storeJobId);
if (app.globalData.isNotEmptyCheck(query.storeJobId)) {
console.log('HHHHHHHHHHHHH');
this.searchForm.storeJobId = query.storeJobId;
} else if (app.globalData.isNotEmptyCheck(query.scene)) {
console.log('XXXXXXXXXXXX');
//扫小程序码携带参数
var sceneStr = decodeURIComponent(query.scene);
var sceneJson = commonUtil.sceneToJson(sceneStr);
console.log('sceneJson===', sceneJson);
this.searchForm.storeJobId = sceneJson.storeJobId;
}
// this.data.wxCode = query.wxCode;
// this.getLocation();
this.getStoreJobDetailById();
// that.setData({
// wxCode: that.data.wxCode
// })
uni.setStorageSync({
key: 'storeJobId',
data: query.storeJobId
});
var agencyUserId = query.agencyUserId;
if (agencyUserId) {
uni.setStorageSync('storageSyncAgencyUserId', agencyUserId);
console.log('agencyUserId', agencyUserId);
app.globalData.isCommission = 1;
}
},
onShareAppMessage: function onShareAppMessage() {},
methods: (_methods = {
cth: function cth() {
return false;
},
showVideo: function showVideo(e) {
console.log(e.target.dataset.id);
console.log(uni.getSystemInfo());
var that = this;
that.videoContext = uni.createVideoContext("".concat(e.target.dataset.id), that);
console.log(that.videoContext);
console.log('=========================');
that.videoContext.requestFullScreen();
that.videoContext.hideStatusBar();
that.videoContext.play();
// setTimeout(() => {
// that.setData({
// isShareShow: true,
// });
// }, 500);
},
fullScreenFun: function fullScreenFun() {
if (!e.detail.fullScreen) {
this.setData({
isShareShow: false
});
this.videoContext.stop();
}
},
doNothing: function doNothing() {},
closeFix: function closeFix() {
this.setData({
showfixToast: false
});
},
bindchange: function bindchange(e) {
console.log(e.detail.current);
this.setData({
current: e.detail.current
});
},
showFix: function showFix(e) {
var that = this;
console.log(e.currentTarget.dataset.id);
var id = e.currentTarget.dataset.id;
var profiles = that.jobDetail.storeImage;
var currentProfileIndex = (profiles || []).findIndex(function (profile) {
return profile.id === id;
});
console.log(currentProfileIndex);
this.setData({
current: currentProfileIndex,
showfixToast: true
});
},
showdialog: function showdialog() {
this.setData({
iosDialog: true
});
},
closeDialog: function closeDialog() {
this.setData({
iosDialog: false
});
},
showphone: function showphone() {
var that = this;
// console.log( that.data.serviceInfo.workPhone);
uni.makePhoneCall({
// number: that.data.jobDetail.assistantUserTel + ""
phoneNumber: that.jobDetail.customServiceUser.tel || '0371-6611 3723'
});
},
close: function close() {
this.setData({
phoneDialog: false
});
},
wxLogin: function wxLogin() {
var that = this;
uni.login({
success: function success(res) {
if (res.code) {
that.setData({
wxCode: res.code
});
} else {
console.log('获取code失败' + res.errMsg);
}
}
});
},
showImage: function showImage(e) {
var resImg = e.currentTarget.dataset.src;
var imgArr = [];
this.images.forEach(function (item) {
// let regs = /\.(jpg|jpeg|png)(\?.*)?$/;
// item.isImg = regs.test(item.url.toLowerCase());
if (item.isImg) {
imgArr.push(item.url);
}
});
uni.previewImage({
current: e.currentTarget.dataset.src,
// 当前显示图片的http链接
urls: imgArr
});
},
renderToCanvas: function renderToCanvas() {
var _this = this;
var p1 = this.widget.renderToCanvas({
wxml: wxml(that.data.wxml),
style: style
});
p1.then(function (res) {
console.log('container', res.layoutBox);
_this.container = res;
console.log(res);
});
},
extraImage: function extraImage() {
var that = this;
// return new Promise(function (resolve, reject) {
that.widget.renderToCanvas({
wxml: wxml(that.wxml),
style: style
}).then(function (res1) {
var p2 = that.widget.canvasToTempFilePath();
p2.then(function (res) {
console.log(res);
that.setData({
src: res.tempFilePath
});
});
});
// });
},
searchAnimate: function searchAnimate() {
var _this2 = this;
var that = this;
uni.createSelectorQuery().in(uni).select('#listBox').fields({
scrollOffset: true,
size: true
}, function (res) {
_this2.$scope.animate('.navigatorBar', [{
opacity: 0
}, {
opacity: 1
}], 800, {
scrollSource: '#listBox',
timeRange: 1000,
startScrollOffset: 0,
endScrollOffset: that.swiperHeight - 34
});
_this2.$scope.animate('.noBack', [{
opacity: 1
}, {
opacity: 0
}], 800, {
scrollSource: '#listBox',
timeRange: 1000,
startScrollOffset: 0,
endScrollOffset: 1
});
}).exec();
},
// onReady() {
// let that = this;
// var query = wx.createSelectorQuery();
// query.select(".page-section").boundingClientRect();
// query.exec(function (res) {
// //res就是 所有标签为v1的元素的信息 的数组
// console.log(res);
// //取高度
// console.log(res[0].height);
// that.setData({
// swiperHeight: res[0].height,
// });
// });
// },
getAgencyInfo: function getAgencyInfo(job) {
var that = this;
console.log(job);
console.log('打印基本信息');
var objAgency = {
returnFeeDesp: job.returnFeeDesp,
returnFeeType: job.returnFeeType,
transferFee: job.transferFee,
returnFee: job.returnFee != null ? new Number(job.returnFee).toFixed(2) : null
};
var agencyStr = '';
if (app.globalData.isNotEmptyCheck(job.transferFee)) {
agencyStr = '伯才利润:' + job.transferFee + ';';
}
if (job.returnFeeType == 0) {
agencyStr += "\n\u670D\u52A1\u8D39\uFF1Axxx\u5143/\u65F6";
} else if (job.returnFeeType == 1) {
agencyStr += "\n\u670D\u52A1\u8D39\uFF1Axxx\u5143/\u5929";
} else if (job.returnFeeType == 2) {
agencyStr += "\n\u670D\u52A1\u8D39\uFF1Axxx\u5143/\u6708";
} else if (job.returnFeeType == 3) {
agencyStr += "\n\u670D\u52A1\u8D39\uFF1Axxx\u5143/\u6B21";
}
if (objAgency.returnFee > 0) {
agencyStr = agencyStr.replace('xxx', objAgency.returnFee);
} else if (app.globalData.isNotEmptyCheck(job.transferFee)) {
agencyStr = '伯才利润:' + job.transferFee + ';';
} else {
agencyStr = '-';
}
if (app.globalData.isEmptyCheck(objAgency.returnFeeDesp)) {
// return agencyStr
that.setData({
bclr: agencyStr
});
} else {
that.setData({
bclr: agencyStr + '\n' + objAgency.returnFeeDesp
});
// return agencyStr + '\n' + objAgency.returnFeeDesp;
}
},
toMapChoice: function toMapChoice(e) {
var that = this;
console.log(e.currentTarget.dataset.address);
var address = e.currentTarget.dataset.address;
uni.openLocation({
latitude: Number(address.storeLat),
longitude: Number(address.storeLng),
name: address.storeName,
address: address.storeAddr,
scale: 15,
success: function success(res) {
console.log(res);
},
fail: function fail(res) {
console.log(res);
}
});
// wx.getLocation({
// type: 'gcj02', //返回可以用于wx.openLocation的经纬度
// success (res) {
// console.log(res)
// wx.openLocation({
// latitude: Number(address.storeLat),
// longitude: Number(address.storeLng),
// name: address.storeName,
// address: address.storeAddr,
// scale: 15,
// success (res) {
// console.log(res)
// },
// fail (res) {
// console.log(res)
// }
// });
// },
// fail(res){
// console.log(res);
// }
// })
// console.log(e);
// try {
// wx.setStorageSync("onSiteRemark", that.data.onSiteRemark);
// wx.setStorageSync("addressList", e.currentTarget.dataset.address);
// } catch (error) {
// console.log(error);
// }
// wx.navigateTo({
// url: "../mine/addressPage/index",
// });
},
// openMap(e) {
// wx.showLoading({
// title: "加载中",
// });
// console.log(e);
// let address = e.currentTarget.dataset.address;
// let lat = e.currentTarget.dataset.lat;
// var formatted_addresses = "";
// qqmapsdk.reverseGeocoder({
// location: `${e.currentTarget.dataset.lat},${e.currentTarget.dataset.lng}`,
// success: function (res) {
// console.log(res);
// formatted_addresses = res.result.formatted_addresses.recommend;
// },
// });
// console.log(formatted_addresses);
// console.log(lat);
// wx.getLocation({
// type: "gcj02", //返回可以用于wx.openLocation的经纬度
// success(res) {
// wx.openLocation({
// latitude: e.currentTarget.dataset.lat - 0,
// longitude: e.currentTarget.dataset.lng - 0,
// name: formatted_addresses,
// address: address,
// scale: 8,
// });
// },
// complete(res) {
// wx.hideLoading();
// console.log(1123213);
// },
// });
// },
changeMenu: function changeMenu(e) {
var currentIndex = parseInt(e.currentTarget.dataset.id);
this.setData({
currIndex: e.currentTarget.dataset.id
});
},
getLocation: function getLocation() {
var that = this;
uni.getSetting({
success: function success(res) {
console.log(res); // res.authSetting.location
if (res.authSetting.location) {
uni.getLocation({
success: function success(res1) {
console.log('获取位置');
console.log(res1);
if (app.globalData.isNotEmptyCheck(res1.latitude) && app.globalData.isNotEmptyCheck(res1.longitude)) {
that.searchForm.lat = res1.latitude;
that.searchForm.lng = res1.longitude;
}
that.getStoreJobDetailById();
},
fail: function fail() {
that.getStoreJobDetailById();
}
});
} else {
that.getStoreJobDetailById();
}
}
}); // my.getLocation({
// success(res) {
// my.hideLoading();
// console.log(res)
// that.data.searchForm.lng = res.longitude;
// that.data.searchForm.lat = res.latitude;
// that.getStoreJobDetailById();
// },
// fail() {
// my.hideLoading();
// that.getStoreJobDetailById();
// },
// })
},
// onShareAppMessage1: function () {
// var path = commonUtil.getCurrentPageUrlWithArgs();
// if (app.globalData.isLogin && app.globalData.agencyStatus - 0 != 0) {
// //当前用户是代理人
// path += "&agencyUserId=" + app.globalData.loginUserInfo.id;
// }
// var that = this;
// // const promise = new Promise(resolve => {
// // that.widget.renderToCanvas({ wxml:wxml(that.data.jobDetail), style }).then(res1 => {
// // const p2 = that.widget.canvasToTempFilePath()
// // p2.then(res => {
// // console.log(res);
// // resolve({
// // title:that.data.shareTitle,
// // imageUrl: res.tempFilePath,
// // })
// // })
// // });
// // });
// return this.getCanvas().then(()=>{
// return {
// title: that.data.shareTitle,
// imageUrl: that.data.canvasImg,
// path: path,
// // promise
// };
// })
// },
getCanvas: function getCanvas() {
var that = this;
return new Promise(function (resolve) {
var mycenter = 0; //文字左右居中显示
var myheight = 0; //文字高度
var query = uni.createSelectorQuery();
query.select('#canvasId').fields({
node: true,
size: true
}).exec(function (res) {
console.log(res);
var canvas = res[0].node;
var ctx = canvas.getContext('2d');
new Promise(function (resolve) {
// 绘制背景图片
uni.getImageInfo({
src: that.img,
//网络图片,如果不行请换一个
success: function success(res) {
console.log(res);
var width = res.width;
var height = res.height;
mycenter = width / 2;
myheight = height;
canvas.width = width;
canvas.height = height;
var img = canvas.createImage();
console.log(ctx);
img.src = res.path;
img.onload = function () {
ctx.drawImage(img, 0, 0, width, height);
resolve(true);
};
}
});
}).then(function () {
ctx.font = '500 70px Arial';
ctx.textAlign = 'left';
// ctx.fillStyle = "#333";
ctx.fillStyle = '#fff';
// console.log(that.data.factoryBill.totalSalary.toString().length);
// let steNumber = that.data.factoryBill.totalSalary.toString().length
// ctx.fillRect(40, 168, steNumber * 30, 72);
ctx.fillText('职位详情', 40, 210);
}).then(function () {
uni.canvasToTempFilePath({
canvas: canvas,
success: function success(res) {
console.log(res);
that.setData({
canvasImg: res.tempFilePath
// base64: canvas.toDataURL(),
});
resolve();
// console.log(that.data.canvasImg);
}
});
}).catch(function (err) {});
});
});
}
}, (0, _defineProperty2.default)(_methods, "getCanvas", function getCanvas() {
var that = this;
return new Promise(function (resolve) {
var mycenter = 0; //文字左右居中显示
var myheight = 0; //文字高度
var query = uni.createSelectorQuery();
query.select('#canvasId').fields({
node: true,
size: true
}).exec(function (res) {
console.log(res);
var canvas = res[0].node;
var ctx = canvas.getContext('2d');
new Promise(function (resolve) {
// 绘制背景图片
uni.getImageInfo({
src: that.shareDetailImg,
//网络图片,如果不行请换一个
success: function success(res) {
console.log(res);
var width = res.width;
var height = res.height;
mycenter = width / 2;
myheight = height;
canvas.width = width;
canvas.height = height;
var img = canvas.createImage();
console.log(ctx);
img.src = res.path;
img.onload = function () {
ctx.drawImage(img, 0, 0, width, height);
resolve(true);
};
}
});
}).then(function () {
console.log(530);
var fillTextLineBreak = function fillTextLineBreak(ctx, text, x, y, lw, lh) {
var color = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '#333';
var font = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '32';
var weight = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : '500';
var i = 0;
var n = 0;
var r = -1;
var initHeight = 0;
ctx.font = weight + ' ' + font + 'px Arial'; //字体大小
ctx.fillStyle = color; //字体颜色
while (i < text.length) {
while (ctx.measureText(text.substring(n, i)).width < lw && i < text.length) {
i++;
}
r++;
ctx.fillText(text.substring(n, i), x, y + lh * r);
n = i;
}
initHeight = lh * r;
// wx.setStorageSync("initHeight", initHeight);
};
var roundRect = function roundRect(ctx, img, bg_x, bg_y, bg_w, bg_h, bg_r) {
// 开始绘制
ctx.save();
ctx.beginPath();
ctx.arc(bg_x + bg_r, bg_y + bg_r, bg_r, Math.PI, Math.PI * 1.5);
ctx.arc(bg_x + bg_w - bg_r, bg_y + bg_r, bg_r, Math.PI * 1.5, Math.PI * 2);
ctx.arc(bg_x + bg_w - bg_r, bg_y + bg_h - bg_r, bg_r, 0, Math.PI * 0.5);
ctx.arc(bg_x + bg_r, bg_y + bg_h - bg_r, bg_r, Math.PI * 0.5, Math.PI);
ctx.clip();
ctx.drawImage(img, bg_x, bg_y, bg_w, bg_h);
// 恢复之前保存的绘图上下文
ctx.restore();
};
var roundRect_yuan = function roundRect_yuan(ctx, x, y, size) {
// 开始绘制
ctx.save(); // 保存
ctx.beginPath(); // 开始绘制
// ctx.arc(100, 75, 50, 0, 2 * Math.PI)
ctx.arc(size / 2 + x, size / 2 + y, size / 2, 0, Math.PI * 2, false);
ctx.clip();
// 恢复之前保存的绘图上下文
ctx.restore();
};
function roundRect1(ctx, x, y, w, h, r, color) {
//绘制圆角矩形(无填充色))
ctx.save();
ctx.fillStyle = color;
ctx.strokeStyle = color;
ctx.lineJoin = 'round'; //交点设置成圆角
ctx.lineWidth = r;
ctx.strokeRect(x + r / 2, y + r / 2, w - r, h - r);
ctx.fillRect(x + r, y + r, w - r * 2, h - r * 2);
ctx.stroke();
ctx.closePath();
}
//使用:
new Promise(function (imgres) {
// that.data.checkedList.forEach((item, index) => {
console.log(587);
var labelLeft = 0;
// ctx.arcTo()
var baseTop;
var logoLeft;
var logoSize;
var titleSize;
var ageTop;
var salaryClassifyValueLeft;
var salaryClassifyValueTop;
var monthlyPaySize;
var position;
var markTop;
var roundRectHeight;
logoLeft = 112;
// if (that.data.checkedList.length == 1) {
baseTop = 740;
logoSize = 192;
titleSize = 72;
roundRectHeight = 520;
ageTop = 220;
salaryClassifyValueLeft = 352;
salaryClassifyValueTop = 108;
monthlyPaySize = 56;
markTop = 290;
console.log(603);
// }
// else {
// baseTop = 2 * 294;
// logoSize = 2 * 80;
// titleSize = 2 * 32;
// roundRectHeight = 2 * 226;
// ageTop = 2 * 88;
// salaryClassifyValueLeft = 2 * 156;
// salaryClassifyValueTop = 2 * 48;
// monthlyPaySize = 2 * 24;
// markTop = 2 * 115;
// }
roundRect1(ctx, 48, baseTop - 100, 1104, roundRectHeight, 32, '#fff');
console.log(that.jobDetail.store);
that.jobDetail.jobSpecialLabelNames.forEach(function (item1, index) {
// console.log(item1);
// console.log(ctx.measureText(item1).width);
if (index <= 2) {
fillTextLineBreak(ctx, item1, 120 + labelLeft, baseTop + markTop + 60, 800, 20, '#333', monthlyPaySize); // 标签字符
roundRect1(ctx, 104 + labelLeft, baseTop + markTop, ctx.measureText(item1).width + 32, 80, 64, '#00000008');
labelLeft += ctx.measureText(item1).width + 64;
}
});
console.log(that.jobDetail.store);
console.log(that.jobDetail);
fillTextLineBreak(ctx, that.jobDetail.store.aliasName, logoLeft, baseTop, 1000, 20, '#333', titleSize, '600'); // 岗位标题
console.log(630);
fillTextLineBreak(ctx, that.jobDetail.hourlyPay, salaryClassifyValueLeft, baseTop + salaryClassifyValueTop, 800, 20, '#ff4400', titleSize, '600'); // 时薪
fillTextLineBreak(ctx, that.jobDetail.monthlyPay, salaryClassifyValueLeft + ctx.measureText(that.jobDetail.monthlyPay).width, baseTop + salaryClassifyValueTop, 800, 20, '#ff4400', monthlyPaySize, '400'); // 月工资
fillTextLineBreak(ctx, that.jobDetail.store.districtStr + '丨', salaryClassifyValueLeft, baseTop + ageTop, 600, 20, '#333', monthlyPaySize); // 省市年龄
fillTextLineBreak(ctx, that.jobDetail.age, salaryClassifyValueLeft + ctx.measureText(that.jobDetail.store.districtStr + '丨').width, baseTop + ageTop, 600, 20, '#333', monthlyPaySize); // 省市年龄
// let src
// src = that.data.jobDetail.store.logo.indexOf("https") > -1 ? that.data.jobDetail.store.logo : that.data.jobDetail.store.logo.replace("http", "https")
console.log(that.jobDetail.store.logo);
uni.downloadFile({
url: that.jobDetail.store.logo,
//网络图片,如果不行请换一个
success: function success(res) {
console.log(res);
var img = canvas.createImage();
img.src = res.tempFilePath;
img.onload = function () {
roundRect(ctx, img, logoLeft, baseTop + 40, logoSize, logoSize, 8);
// if (index == that.data.checkedList.length - 1) {
setTimeout(function () {
imgres();
}, 200);
// }
};
},
fail: function fail(err) {
console.log(err);
}
});
// });
// setTimeout(() => {
// },500);
}).then(function () {
uni.canvasToTempFilePath({
canvas: canvas,
success: function success(res) {
console.log(res);
that.setData({
canvasImg: res.tempFilePath
});
resolve(res);
},
fail: function fail(res) {
uni.hideLoading();
uni.showToast({
title: res.errMsg,
icon: 'error'
});
}
});
}).catch(function (err) {
console.log(err);
});
});
});
});
}), (0, _defineProperty2.default)(_methods, "sharePoster", function sharePoster() {
var _this3 = this;
uni.showLoading({
title: '生成中...'
});
this.getCanvas().then(function (res) {
console.log(res);
uni.hideLoading();
_this3.setData({
posterImg: res.tempFilePath,
posterShow: true
});
});
// this.setData({
// });
}), (0, _defineProperty2.default)(_methods, "hidePoster", function hidePoster() {
this.setData({
posterShow: false
});
}), (0, _defineProperty2.default)(_methods, "saveToalbum", function saveToalbum() {
var that = this;
uni.saveImageToPhotosAlbum({
filePath: that.posterImg,
success: function success(res) {
console.log(res);
if (res.errMsg == 'saveImageToPhotosAlbum:ok') {
uni.showToast({
title: '图片已保存',
icon: 'none',
duration: 1500
});
}
},
fail: function fail(res) {
console.log(res);
uni.showToast({
title: '图片保存失败',
icon: 'none',
duration: 1500
});
}
});
}), (0, _defineProperty2.default)(_methods, "goBack", function goBack() {
uni.navigateBack({
delta: -1
});
}), (0, _defineProperty2.default)(_methods, "getStoreJobDetailById", function getStoreJobDetailById() {
var that = this;
uni.showLoading({
title: '加载中...'
});
uni.request({
// url: app.globalData.ip + "/store/job/getStoreJobDetailById?storeJobId=" + that.data.searchForm.storeJobId,
url: app.globalData.ip + '/yishoudan/custom/job/detailApp/' + that.searchForm.storeJobId,
method: 'get',
header: app.globalData.headers,
success: function success(res) {
console.log(res);
if (res.data.status == 200) {
var result = {};
result = res.data.data.record;
var title = result.jobName;
// var title1 = result.store.aliasName;
// that.data.logo2
// wx.setStorageSync({
// key: "onSiteRemark",
// data: result.onSiteRemark,
// })
var regs = /\.(jpg|jpeg|png)(\?.*)?$/;
res.data.data.images.forEach(function (item) {
item.isImg = regs.test(item.url.toLowerCase());
});
result.genderRestrict = commonUtil.getGenderByMinAge(result);
that.setData({
shareTitle: title,
images: res.data.data.images,
onSiteRemark: result.onSiteRemark
});
if (app.globalData.isNotEmptyCheck(title)) {
title = result.jobName;
} else {
title = result.store.aliasName;
}
uni.setNavigationBarTitle({
title: title
});
result.workType = commonUtil.getWorkTypeById(result.workTypeMulti);
if (app.globalData.isNotEmptyCheck(result.calculationSalaryType)) {
result.calculationSalaryType = result.calculationSalaryType.split('#')[0];
}
if (app.globalData.isNotEmptyCheck(result.jobDesp)) {
result.jobDesp = result.jobDesp.replaceAll('*****', '').split('————————')[0];
result['jobDesp1'] = result.jobDesp.replace('⚠', "<i class='t-icon t-icon-zhuyi' style='margin-bottom:-2px;width:17px;height:17px;background-repeat:no-repeat;background-size:100% 100%'></i>");
result['jobDesp1'] = result.jobDesp1.replace('[红包]', "<i class='t-icon t-icon-hongbao' style='margin-bottom:-2px;width:17px;height:17px;background-repeat:no-repeat;background-size:100% 100%'></i>");
}
if (app.globalData.isNotEmptyCheck(result.paymentSalaryType)) {
result.paymentSalaryType = result.paymentSalaryType.split('');
}
if (app.globalData.isNotEmptyCheck(result.salaryDesp)) {
result.salaryDesp = result.salaryDesp.split('');
}
if (app.globalData.isNotEmptyCheck(result.workDurationDesp)) {
result.workDurationDesp = result.workDurationDesp.split('');
}
if (app.globalData.isNotEmptyCheck(result.probationDesp)) {
result.probationDesp = result.probationDesp.split('');
}
if (app.globalData.isNotEmptyCheck(result.workingLunchDesp)) {
result.workingLunchDesp = result.workingLunchDesp.split('');
}
if (app.globalData.isNotEmptyCheck(result.dormitoryDesp)) {
result.dormitoryDesp = result.dormitoryDesp.split('');
}
if (app.globalData.isNotEmptyCheck(result.foregift)) {
result.foregift = result.foregift.split('');
var arrTemp = [];
result.foregift.forEach(function (item) {
var arr = item.split('');
if (app.globalData.length > 0) {
arrTemp.push({
item0: arr[0].split('#')[0],
item1: arr[1].split('#')[0]
});
}
});
result.foregift = arrTemp;
} else {
result.foregift = '无押金';
}
// result.store.distance = commonUtil.getDistanceName(result.store.distance);
// if (app.isNotEmptyCheck(result.store.distance)) {
// result.store.distance = "丨" + result.store.distance;
// }
/*if (app.isNotEmptyCheck(result.store.district)) {
var tempArr = result.store.district.split(",");
if (tempArr.length == 1) {
result.store.district = tempArr[0];
} else if (tempArr.length == 2) {
result.store.district = tempArr[0] + "" + tempArr[1];
} else if (tempArr.length > 2) {
result.store.district = tempArr[1] + "" + tempArr[2];
}
}*/
// getStoreAddress
that.disposeJobListData(result);
// if (app.isNotEmptyCheck(result.store.logo)) {
// result["logo2"] = result.store.logo.replace("http:", "https:");
// result.store.logo.indexOf("https") > -1 ? result.store.logo : result.store.logo.replace("http", "https")
// } else {
// result["logo2"] = "";
// }
// console.log(commonUtil.getReturnFeeTypeName1ById(result.returnFeeType, result.returnFee));
console.log('isout');
if (app.globalData.isNotEmptyCheck(result.returnFeeType) || result.returnFeeType == '0' || result.returnFee == '0') {
that.setData({
fuWuFei: commonUtil.getReturnFeeTypeName1ById(result.returnFeeType, result.returnFee)
});
}
// else if (result.returnFeeType == 7) {
// that.setData({
// fuWuFei: commonUtil.getReturnFeeTypeNameById(result.returnFeeType),
// });
// }
else {
that.setData({
fuWuFei: '-'
});
}
console.log(result);
console.log(commonUtil);
var citys = commonUtil.setJobInfoPosition(result.storeDistrict);
// result.storeImage.splice(0,1)
that.jobDetail['storeName'] = result.storeName;
that.jobDetail['notes'] = result.jobInfo;
that.setData({
jobDetail: result,
isMaskShow: !(result.recruitment == '1'),
citys: citys || '-'
// addressNew: result.store.district.replace(/,/g, "") + result.store.detailPosition,
});
that.showSexAge();
// that.getAgencyInfo(res.data.data.storeJob);
// if (app.isEmptyCheck(res.data.data.storeJob.handoverInfo)) {
// that.setData({
// djxx: "暂无对接信息",
// });
// } else {
// that.setData({
// djxx: res.data.data.storeJob.handoverInfo,
// });
// }
console.log(that.jobDetail);
}
uni.hideLoading();
}
});
}), (0, _defineProperty2.default)(_methods, "showSexAge", function showSexAge() {
var that = this;
var manStr = '';
var womanStr = '';
if (app.globalData.isNotEmptyCheck(that.jobDetail.minAgeMan) || app.globalData.isNotEmptyCheck(that.jobDetail.maxAgeMan)) {
manStr = '男 ';
}
if (app.globalData.isNotEmptyCheck(that.jobDetail.minAgeMan)) {
manStr = manStr + that.jobDetail.minAgeMan;
}
if (app.globalData.isNotEmptyCheck(that.jobDetail.maxAgeMan)) {
manStr = manStr + '-' + that.jobDetail.maxAgeMan;
}
if (app.globalData.isNotEmptyCheck(that.jobDetail.minAgeWoman) || app.globalData.isNotEmptyCheck(that.jobDetail.maxAgeWoman)) {
womanStr = '女 ';
}
if (app.globalData.isNotEmptyCheck(that.jobDetail.minAgeWoman)) {
womanStr = womanStr + that.jobDetail.minAgeWoman;
}
if (app.globalData.isNotEmptyCheck(that.jobDetail.maxAgeWoman)) {
womanStr = womanStr + '-' + that.jobDetail.maxAgeWoman;
}
if (womanStr != '') {
manStr = manStr + "".concat(manStr == '' ? '' : '') + womanStr;
}
that.setData({
showSexAgeText: manStr
});
}), (0, _defineProperty2.default)(_methods, "disposeJobListData", function disposeJobListData(jobDetail) {
var that = this;
console.log(jobDetail);
// item["workType"] = commonUtil.getWorkTypeById(
// item.workTypeMulti
// );
// if (app.isNotEmptyCheck(item.distance)) {
// item["distanceKm"] = commonUtil.getDistanceName(
// item.distance
// );
// }
//年龄
var ageStr = '';
if (app.globalData.isNotEmptyCheck(jobDetail.minAge) && app.globalData.isNotEmptyCheck(jobDetail.maxAge)) {
ageStr = jobDetail.minAge + '-' + jobDetail.maxAge + '岁';
} else if (app.globalData.isNotEmptyCheck(jobDetail.minAge)) {
ageStr = jobDetail.minAge + '岁以上';
} else if (app.globalData.isNotEmptyCheck(jobDetail.maxAge)) {
ageStr = jobDetail.maxAge + '岁以下';
}
jobDetail['age'] = ageStr;
//时薪
// var hourlyPayStr = "";
var hasHourlyPay = true;
// console.log(jobDetail);
// if (app.isNotEmptyCheck(jobDetail.hourlyPay)) {
// hourlyPayStr = jobDetail.hourlyPay + "元/小时";
// hasHourlyPay = true;
// } else if (app.isNotEmptyCheck(jobDetail.dayPay)) {
// hourlyPayStr = jobDetail.dayPay + "元/日";
// hasHourlyPay = true;
// } else {
// if (app.isNotEmptyCheck(jobDetail.minMonthlyPay) && app.isNotEmptyCheck(jobDetail.maxMonthlyPay)) {
// if (jobDetail.minMonthlyPay == jobDetail.maxMonthlyPay) {
// hourlyPayStr = jobDetail.minMonthlyPay;
// } else {
// hourlyPayStr = jobDetail.minMonthlyPay + "-" + jobDetail.maxMonthlyPay;
// }
// } else if (app.isNotEmptyCheck(jobDetail.minMonthlyPay)) {
// hourlyPayStr = jobDetail.minMonthlyPay;
// } else if (app.isNotEmptyCheck(jobDetail.maxMonthlyPay)) {
// hourlyPayStr = jobDetail.maxMonthlyPay;
// }
// }
// if (app.isNotEmptyCheck(jobDetail.dayPay)){
// }
// if (app.isNotEmptyCheck(jobDetail.salaryClassify) && app.isNotEmptyCheck(jobDetail.salaryClassifyValue)) {
// }
//月薪
var monthlyPayStr = '';
if (hasHourlyPay) {
if (app.globalData.isNotEmptyCheck(jobDetail.minMonthlyPay) && app.globalData.isNotEmptyCheck(jobDetail.maxMonthlyPay)) {
if (jobDetail.minMonthlyPay == jobDetail.maxMonthlyPay) {
monthlyPayStr = jobDetail.minMonthlyPay / 100;
} else {
monthlyPayStr = jobDetail.minMonthlyPay / 100 + '-' + jobDetail.maxMonthlyPay / 100;
}
} else if (app.globalData.isNotEmptyCheck(jobDetail.minMonthlyPay)) {
monthlyPayStr = jobDetail.minMonthlyPay / 100;
} else if (app.globalData.isNotEmptyCheck(jobDetail.maxMonthlyPay)) {
monthlyPayStr = jobDetail.maxMonthlyPay / 100;
}
}
jobDetail['monthlyPay'] = monthlyPayStr;
jobDetail['hourlyPay'] = commonUtil.getSalaryClassifyValue(jobDetail.salaryClassify, jobDetail.salaryClassifyValue, monthlyPayStr);
//地址深圳丨龙岗区丨
// var districtStr = "";
// if (app.isNotEmptyCheck(jobDetail.store.district)) {
// var districtArr = jobDetail.store.district.split(",");
// if (districtArr.length < 3) {
// districtStr = districtArr[districtArr.length - 1];
// } else {
// districtStr = districtArr[1] + "丨" + districtArr[2];
// }
// }
// jobDetail.store["districtStr"] = districtStr;
// jobDetail["districtDetail"] = commonUtil.getStoreAddress(jobDetail.district, jobDetail.detailPosition);
//职位特色
if (app.globalData.isNotEmptyCheck(jobDetail.jobSpecialLabelNames)) {
jobDetail['jobSpecialLabelNames'] = that.getJobSpecialLabelNamesArray(jobDetail.jobSpecialLabelNames);
}
if (app.globalData.isNotEmptyCheck(jobDetail.jobRequestLabelNames)) {
jobDetail['jobRequestLabelNames'] = that.getJobRequestLabelNamesArray(jobDetail.jobRequestLabelNames);
}
}), (0, _defineProperty2.default)(_methods, "getJobSpecialLabelNamesArray", function getJobSpecialLabelNamesArray(jobSpecialLabelNames) {
if (app.globalData.isNotEmptyCheck(jobSpecialLabelNames)) {
return jobSpecialLabelNames.split(', ');
}
return [];
}), (0, _defineProperty2.default)(_methods, "getJobRequestLabelNamesArray", function getJobRequestLabelNamesArray(jobRequestLabelNames) {
console.log(jobRequestLabelNames);
if (app.globalData.isNotEmptyCheck(jobRequestLabelNames)) {
return jobRequestLabelNames.split(', ');
}
return [];
}), (0, _defineProperty2.default)(_methods, "goSimilar", function goSimilar() {
var that = this;
console.log(that.jobDetail);
console.log(that.jobDetail.jobLabelId);
uni.navigateTo({
url: '../similar/index?brandId=' + that.jobDetail.store.brandId + '&jobLabelId=' + that.jobDetail.jobLabelId + '&classify=99'
});
}), (0, _defineProperty2.default)(_methods, "makePhoneCall", function makePhoneCall() {
console.log(1);
var that = this;
uni.makePhoneCall({
// number: that.data.jobDetail.assistantUserTel + ""
phoneNumber: that.jobDetail.customServiceUser.tel || '0371-6611 3723'
});
// var that = this;
// let res = wx.getStorageSync({
// key: "assistantUserTel"
// });
// console.log(res);
// console.log("缓存获取电话号:" + res.data);
// if (app.isNotEmptyCheck(res.data)) {
// wx.makePhoneCall({
// number: res.data
// });
// } else {
// wx.request({
// url: app.globalData.ip + "/store/job/getOneAssistantUser",
// method: "POST",
// header: app.globalData.headers,
// data: {},
// success: function (res) {
// console.log(res.data.data.tel);
// wx.setStorageSync({
// key: "assistantUserTel",
// data: res.data.data.tel
// });
// wx.makePhoneCall({
// number: res.data.data.tel + ""
// });
// }
// });
// }
}), (0, _defineProperty2.default)(_methods, "textPaste", function textPaste() {
var that = this;
console.log('jobDetail', that.jobDetail);
uni.setClipboardData({
// data: that.data.jobDetail.assistantUserWechat,
data: that.jobDetail.customServiceUser.weChat,
success: function success(res) {
console.log(res);
uni.getClipboardData({
success: function success(res) {
uni.showToast({
icon: 'none',
title: '复制成功请去微信添加您的专属客服',
duration: 0
});
uni.showModal({
title: '已复制微信号',
content: '复制成功请去微信添加您的专属客服',
showCancel: false,
success: function success(res) {
if (res.confirm) {
console.log('用户点击确定');
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
console.log(res.data); // data
}
});
},
fail: function fail(err) {
console.log(err);
}
});
}), (0, _defineProperty2.default)(_methods, "goNewEnroll", function goNewEnroll(e) {
var that = this;
console.log(e.currentTarget.dataset.job);
this.setData({
recordShow: true,
currentInfo: e.currentTarget.dataset.job
});
console.log(this.recordShow);
uni.hideTabBar({
animation: false,
success: function success(result) {},
fail: function fail() {},
complete: function complete() {}
});
return;
var argument;
argument = JSON.stringify(that.jobDetail).replace(/\=|\&/g, '3D');
if (!this.isLogin) {
uni.setStorageSync('comeFromPage', 'detailBaoming');
uni.setStorageSync('baomingDetail', argument);
uni.navigateTo({
url: '/pages/login/index'
});
return;
}
uni.navigateTo({
url: "../newEnroll/enroll/index?applyType=1&info=".concat(argument)
});
// wx.navigateTo({
// url: `../newEnroll/enroll/index?applyType=1&info=${argument}`,
// });
}), (0, _defineProperty2.default)(_methods, "emptyMethod", function emptyMethod() {}), (0, _defineProperty2.default)(_methods, "wxLogin", function wxLogin() {
var that = this;
uni.login({
success: function success(res) {
if (res.code) {
that.setData({
wxCode: res.code
});
} else {
console.log('获取code失败' + res.errMsg);
}
}
});
}), (0, _defineProperty2.default)(_methods, "getPhoneNumber", function getPhoneNumber(e) {
var that = this;
console.log(e);
console.log(e.detail.errMsg);
console.log(that.jobDetail);
/*wx.setStorageSync({
key: "jobDetailStorage",
data: that.data.jobDetail,
});*/
uni.setStorageSync('jobDetailStorage', that.jobDetail);
// console.log(e);
// console.log(e.detail.errMsg)
console.log(e.detail.iv);
// console.log(e.detail.encryptedData)
if ('getPhoneNumber:ok' == e.detail.errMsg) {
//同意
var iv = e.detail.iv;
var encryptedData = e.detail.encryptedData;
uni.checkSession({
success: function success() {
//session_key 未过期,并且在本生命周期一直有效
uni.request({
url: app.globalData.ip + '/getWechatTel',
data: {
code: that.wxCode,
iv: iv,
encryptedData: encryptedData,
type: 'yishoudan',
appId: app.globalData.appId
},
success: function success(res) {
console.log(res);
app.globalData.openId = res.data.data.openId;
var promise = app.globalData.setLoginUserTokenInfo(res.data.data.phoneNumber, null);
var collected = e.currentTarget.dataset.collected;
console.log(that.isAgency);
if (collected) {
promise.then(function (res) {
that.setData({
isLogin: app.globalData.isLogin
});
that.doCollected(collected, e.currentTarget.dataset.jobid);
});
} else {
/*wx.navigateTo({
url: "../enroll/index?applyType=1&tel=" + res.data.data.phoneNumber
});*/
promise.then(function (res) {
var argument;
argument = JSON.stringify(that.jobDetail).replace(/\=|\&/g, '3D');
uni.navigateTo({
url: "../newEnroll/enroll/index?applyType=1&info=".concat(argument)
});
});
}
promise.then(function () {
console.log(app.globalData.loginUserInfo.agencyStatus);
that.setData({
isAgency: app.globalData.loginUserInfo.agencyStatus == 1 ? true : false
});
});
// wx.navigateTo({
// url: "../enroll/index?applyType=1&tel=" + res.data.data.phoneNumber
// });
},
fail: function fail(res) {
console.log('获取用户手机号错误');
}
});
},
fail: function fail() {
// session_key 已经失效,需要重新执行登录流程
uni.login({
success: function success(res) {
if (res.code) {
console.log(res.code);
//发起网络请求
uni.request({
url: app.globalData.ip + '/getWechatTel',
data: {
code: res.code,
iv: iv,
encryptedData: encryptedData,
type: 'yishoudan',
appId: app.globalData.appId
},
success: function success(res) {
console.log(res);
var promise = app.globalData.setLoginUserTokenInfo(res.data.data.phoneNumber, null);
var collected = e.currentTarget.dataset.collected;
if (collected) {
promise.then(function (res) {
that.setData({
isLogin: app.globalData.isLogin
});
that.doCollected(collected, e.currentTarget.dataset.jobid);
});
} else {
promise.then(function (res) {
var argument;
argument = JSON.stringify(that.jobDetail).replace(/\=|\&/g, '3D');
uni.navigateTo({
url: "../newEnroll/enroll/index?applyType=1&info=".concat(argument)
});
});
}
promise.then(function () {
console.log(app.globalData.loginUserInfo.agencyStatus);
that.setData({
isAgency: app.globalData.loginUserInfo.agencyStatus == 1 ? true : false
});
});
},
fail: function fail(res) {
console.log('获取用户手机号错误');
}
});
} else {
console.log('获取手机号失败!' + res.errMsg);
}
}
});
}
});
} else {
//拒绝
var collected = e.currentTarget.dataset.collected;
if (collected) {
try {
uni.setStorageSync('comeFromPage', 'detail');
uni.setStorageSync('comeFromPageParam', {
storeJobId: that.searchForm.storeJobId
});
} catch (e) {
console.log('CatchClause', e);
console.log('CatchClause', e);
console.log('detail-页面跳转,设置参数错误:', e);
}
uni.navigateTo({
url: '/pages/login/index'
});
} else {
uni.navigateTo({
//url: "../enroll/index?applyType=1&tel=" + res.data.data.phoneNumber
url: '../enroll/index?applyType=1'
});
}
}
return false;
}), (0, _defineProperty2.default)(_methods, "setCopy", function setCopy(e) {
var that = this;
var contentInfo;
var query = uni.createSelectorQuery().in(this);
query.select('.contactInfo').boundingClientRect(function (res) {
contentInfo = res.dataset.info;
uni.setClipboardData({
data: e.currentTarget.dataset.content + contentInfo,
success: function success(res) {
uni.getClipboardData({
success: function success(res) {
console.log(res.data); // data
uni.showToast({
title: '内容已复制',
icon: 'none',
duration: 1500
});
}
});
}
});
}).exec();
}), (0, _defineProperty2.default)(_methods, "changeContact", function changeContact() {
console.log(2123);
uni.navigateTo({
url: "/pages/configAnnunciate/index"
});
}), (0, _defineProperty2.default)(_methods, "collectPaste", function collectPaste(e) {
var txt;
var that = this;
if (!this.isLogin) {
uni.setStorageSync('comeFromPage', 'detail');
uni.navigateTo({
url: '/pages/login/index'
});
return;
}
var collected = e.currentTarget.dataset.collected;
var storeJobId = e.currentTarget.dataset.jobid;
that.doCollected(collected, storeJobId);
// console.log(collected);
// if(!this.data.isCollect){
// that.setData({
// isCollect: true,
// collectTxt:'已收藏'
// })
// txt = '收藏成功'
// }else{
// that.setData({
// isCollect: false,
// collectTxt:'收藏'
// })
// }
}), (0, _defineProperty2.default)(_methods, "doCollected", function doCollected(collected, storeJobId) {
var that = this;
var url = '/user/collect/job/add';
if (collected - 1 == 0) {
url = '/user/collect/job/remove';
}
// console.log(app.globalData.headers);
//发起网络请求
uni.request({
url: app.globalData.ip + url,
data: {
storeJobId: storeJobId
},
header: app.globalData.headers,
method: 'GET',
success: function success(res) {
var txt;
if (collected - 1 == 0) {
//取消收藏
that.jobDetail.collected = 2;
txt = '取消收藏';
} else {
//收藏
that.jobDetail.collected = 1;
txt = '收藏成功';
}
that.setData({
jobDetail: that.jobDetail,
isLogin: app.globalData.isLogin
});
console.log(that.jobDetail);
uni.showToast({
icon: 'none',
title: txt
});
},
fail: function fail(res) {
console.log('操作失败');
}
});
}), (0, _defineProperty2.default)(_methods, "toggleprice", function toggleprice(type) {
console.log(type);
if (type.target.dataset.index == 1) {
this.setData({
isServicePriceShow: false
});
} else {
this.setData({
isServicePriceShow: true
});
}
}), (0, _defineProperty2.default)(_methods, "imageLoad", function imageLoad() {
this.setData({
isLoading: false
});
}), (0, _defineProperty2.default)(_methods, "modalMove", function modalMove() {
return false;
}), (0, _defineProperty2.default)(_methods, "showTobe", function showTobe() {
this.setData({
iosDialogTobe: true
});
}), (0, _defineProperty2.default)(_methods, "closeTobe", function closeTobe() {
this.setData({
iosDialogTobe: false
});
}), (0, _defineProperty2.default)(_methods, "hidedrawershow", function hidedrawershow(e) {
console.log(e);
this.setData((0, _defineProperty2.default)({}, e.detail.type, false));
uni.showTabBar({
animation: false,
success: function success(result) {},
fail: function fail() {},
complete: function complete() {}
});
}), (0, _defineProperty2.default)(_methods, "scroll", function scroll() {
console.log('占位:函数 scroll 未声明');
}), _methods)
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }),
/***/ 94:
/*!*************************************************************************************************************************************!*\
!*** /Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/detail/index.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 _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=style&index=0&lang=css& */ 95);
/* harmony import */ var _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_index_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 95:
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./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!/Users/zhangshaokang/Desktop/git/yicaijob_view/dandelionPlatform2_uni/pages/detail/index.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; }
/***/ })
},[[86,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/detail/index.js.map