Commit decda114 by 肖康

x

parent 930bb3ab
......@@ -16,7 +16,8 @@ const actions = {
issue({commit},payload){
state.loading=true;
var params = {
id: payload.id
id: payload.id,
check_valid_time:1
}
Services.issue(qs.stringify(params)).then((res) => {
state.loading=false;
......
......@@ -8,13 +8,13 @@
<div class="t1">满1500可用</div>
<div class="t2">全场券</div>
<div class="t3">有效期:5.28-6.30</div>
<div class="t4">5.28 抢券</div>
<div class="t4">立即领取</div>
</div>
<div class="yhq-item item100" @click="getYuq(259)">
<div class="t1">满3000可用</div>
<div class="t2">全场券</div>
<div class="t3">有效期:5.28-6.30</div>
<div class="t4">5.28 抢券</div>
<div class="t4">立即领取</div>
</div>
<div class="yhq-item item100 " @click="getYuq(260)">
<div class="t1">满100.1可用</div>
......
......@@ -4445,7 +4445,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.4@qs/lib/index.js\");\n\nvar state = {\n loading: false\n};\nvar mutations = {};\nvar actions = {\n issue: function issue(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n id: payload.id\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].issue(qs.stringify(params)).then(function (res) {\n state.loading = false;\n var data = res.data;\n\n if (data.err_code == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: '领取成功',\n duration: 2000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n } //issue\n\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/ac618/ac618.js?");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../api/index */ \"./src/api/index.js\");\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.4@qs/lib/index.js\");\n\nvar state = {\n loading: false\n};\nvar mutations = {};\nvar actions = {\n issue: function issue(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n id: payload.id,\n check_valid_time: 1\n };\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].issue(qs.stringify(params)).then(function (res) {\n state.loading = false;\n var data = res.data;\n\n if (data.err_code == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: '领取成功',\n duration: 2000\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"])({\n message: data.err_msg,\n duration: 3000\n });\n }\n }).catch(function (err) {\n state.loading = false;\n });\n } //issue\n\n};\nvar getters = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n state: state,\n mutations: mutations,\n actions: actions,\n getters: getters\n});\n\n//# sourceURL=webpack:///./src/store/modules/ac618/ac618.js?");
/***/ }),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment