281 lines
22 KiB
JavaScript
281 lines
22 KiB
JavaScript
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pagesA/evaluate/evaluate"],{
|
||
|
|
||
|
/***/ 90:
|
||
|
/*!******************************************************************************************!*\
|
||
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/main.js?{"page":"pagesA%2Fevaluate%2Fevaluate"} ***!
|
||
|
\******************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
/* WEBPACK VAR INJECTION */(function(createPage) {__webpack_require__(/*! uni-pages */ 4);
|
||
|
var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 2));
|
||
|
var _evaluate = _interopRequireDefault(__webpack_require__(/*! ./pagesA/evaluate/evaluate.vue */ 91));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
|
||
|
createPage(_evaluate.default);
|
||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["createPage"]))
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 91:
|
||
|
/*!***********************************************************************!*\
|
||
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/evaluate/evaluate.vue ***!
|
||
|
\***********************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./evaluate.vue?vue&type=template&id=5641606a& */ 92);
|
||
|
/* harmony import */ var _evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./evaluate.vue?vue&type=script&lang=js& */ 94);
|
||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 11);
|
||
|
|
||
|
var renderjs
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
/* normalize component */
|
||
|
|
||
|
var component = Object(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
||
|
_evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||
|
_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__["render"],
|
||
|
_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
||
|
false,
|
||
|
null,
|
||
|
null,
|
||
|
null,
|
||
|
false,
|
||
|
_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__["components"],
|
||
|
renderjs
|
||
|
)
|
||
|
|
||
|
component.options.__file = "pagesA/evaluate/evaluate.vue"
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 92:
|
||
|
/*!******************************************************************************************************!*\
|
||
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/evaluate/evaluate.vue?vue&type=template&id=5641606a& ***!
|
||
|
\******************************************************************************************************/
|
||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./evaluate.vue?vue&type=template&id=5641606a& */ 93);
|
||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
||
|
|
||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
||
|
|
||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
||
|
|
||
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_template_id_5641606a___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
||
|
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 93:
|
||
|
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--16-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/evaluate/evaluate.vue?vue&type=template&id=5641606a& ***!
|
||
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
|
||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
|
||
|
var components
|
||
|
var render = function() {
|
||
|
var _vm = this
|
||
|
var _h = _vm.$createElement
|
||
|
var _c = _vm._self._c || _h
|
||
|
}
|
||
|
var recyclableRender = false
|
||
|
var staticRenderFns = []
|
||
|
render._withStripped = true
|
||
|
|
||
|
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 94:
|
||
|
/*!************************************************************************************************!*\
|
||
|
!*** D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/evaluate/evaluate.vue?vue&type=script&lang=js& ***!
|
||
|
\************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./evaluate.vue?vue&type=script&lang=js& */ 95);
|
||
|
/* harmony import */ var _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
||
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||
|
/* harmony default export */ __webpack_exports__["default"] = (_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_HbuilderX_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_evaluate_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||
|
|
||
|
/***/ }),
|
||
|
|
||
|
/***/ 95:
|
||
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/chenq/chen/uniapp(兼小程序)/dengrui/pagesA/evaluate/evaluate.vue?vue&type=script&lang=js& ***!
|
||
|
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||
|
/*! no static exports found */
|
||
|
/***/ (function(module, exports, __webpack_require__) {
|
||
|
|
||
|
"use strict";
|
||
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var rate = function rate() {__webpack_require__.e(/*! require.ensure | components/rate */ "components/rate").then((function () {return resolve(__webpack_require__(/*! @/components/rate.vue */ 249));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
{
|
||
|
components: {
|
||
|
rate: rate },
|
||
|
|
||
|
data: function data() {
|
||
|
return {
|
||
|
imgSrc: [],
|
||
|
rateNum: 5,
|
||
|
rateCon: '非常好',
|
||
|
content: '',
|
||
|
btncon: '提交评价',
|
||
|
disabled: false,
|
||
|
orderPing: {},
|
||
|
chuanImg: '',
|
||
|
statusHNH: uni.getStorageSync('statusHNH') };
|
||
|
|
||
|
},
|
||
|
onUnload: function onUnload() {
|
||
|
uni.removeStorageSync('orderPing');
|
||
|
},
|
||
|
onLoad: function onLoad() {
|
||
|
this.orderPing = uni.getStorageSync('orderPing');
|
||
|
// console.log('数据:',this.orderPing);
|
||
|
},
|
||
|
onShow: function onShow() {
|
||
|
this.$toolAll.tools.guoq();
|
||
|
},
|
||
|
methods: {
|
||
|
submit: function submit() {var _this = this; //提交评价事件
|
||
|
this.disabled = true;
|
||
|
this.btncon = '正在提交评价...';
|
||
|
var pingObj = {
|
||
|
order_sku_id: this.orderPing.skuList[0].danId,
|
||
|
grade: this.rateNum,
|
||
|
content: this.content,
|
||
|
images: this.chuanImg };
|
||
|
|
||
|
// console.log(pingObj);
|
||
|
this.$requst.post('order/comment-add', pingObj).then(function (res) {
|
||
|
// console.log(res);
|
||
|
if (res.code == 0) {
|
||
|
_this.$toolAll.tools.showToast('提交评论成功');
|
||
|
_this.btncon = '提交评价';
|
||
|
setTimeout(function () {
|
||
|
_this.disabled = false;
|
||
|
uni.navigateTo({
|
||
|
url: '/pagesA/myOrder/myOrder' });
|
||
|
|
||
|
}, 500);
|
||
|
}
|
||
|
}, function (error) {
|
||
|
_this.disabled = false;
|
||
|
_this.$toolAll.tools.showToast('提交评论失败');
|
||
|
});
|
||
|
},
|
||
|
chooseRate: function chooseRate(val) {
|
||
|
this.rateNum = val;
|
||
|
if (val == 1) {this.rateCon = '极差';}
|
||
|
if (val == 2) {this.rateCon = '差';}
|
||
|
if (val == 3) {this.rateCon = '一般';}
|
||
|
if (val == 4) {this.rateCon = '好';}
|
||
|
if (val == 5) {this.rateCon = '非常好';}
|
||
|
},
|
||
|
chooseImg: function chooseImg() {var _this2 = this;
|
||
|
uni.chooseImage({
|
||
|
count: 9,
|
||
|
sizeType: ['compressed'],
|
||
|
success: function success(res) {
|
||
|
var len = res.tempFilePaths.length;
|
||
|
var imgArr = [];
|
||
|
res.tempFilePaths.forEach(function (item) {
|
||
|
_this2.$requst.upload('file/upload/image', { file: item }).then(function (res) {
|
||
|
// console.log('图片',res);
|
||
|
if (res.code == 0) {// src原图
|
||
|
var imgsrc = _this2.$http + res.data.src; //缩略图
|
||
|
imgArr.push(res.data.src);
|
||
|
_this2.imgSrc.push(imgsrc);
|
||
|
len--;
|
||
|
if (len != 0) {
|
||
|
uni.showToast({
|
||
|
title: "\u6B63\u5728\u4E0A\u4F20\u7B2C ".concat(len, " \u5F20"),
|
||
|
icon: 'loading' });
|
||
|
|
||
|
} else {
|
||
|
_this2.$toolAll.tools.showToast('图片上传成功(*^▽^*)');
|
||
|
_this2.chuanImg = imgArr.join(',');
|
||
|
}
|
||
|
}
|
||
|
}, function (error) {});
|
||
|
});
|
||
|
} });
|
||
|
|
||
|
},
|
||
|
previewImg: function previewImg(index) {//预览图片
|
||
|
uni.previewImage({
|
||
|
current: index,
|
||
|
urls: this.imgSrc });
|
||
|
|
||
|
},
|
||
|
delimg: function delimg(index) {//删除图片
|
||
|
this.imgSrc.splice(index, 1);
|
||
|
} } };exports.default = _default;
|
||
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
},[[90,"common/runtime","common/vendor"]]]);
|
||
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesA/evaluate/evaluate.js.map
|