Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
fb235a2e
authored
Dec 26, 2020
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
=H5会员中心BUG修复
parent
e8738e49
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
18 additions
and
12 deletions
src/store/modules/user/inqueryList.js
src/views/user/coupon.vue
src/views/user/inqueryList.vue
src/views/user/inquiry.vue
src/views/user/shipping.vue
view/29.js
view/43.js
view/44.js
view/47.js
view/app.js
src/store/modules/user/inqueryList.js
View file @
fb235a2e
...
...
@@ -25,10 +25,13 @@ const actions = {
var
params
=
{
user_id
:
Until
.
getCookie
(
"Yo4teW_uid"
),
page
:
1
,
limit
:
100
,
status
:
payload
.
status
limit
:
100
}
if
(
payload
.
status
!=
99
){
params
.
status
=
payload
.
status
}
Services
.
getInqueryList
(
qs
.
stringify
(
params
)).
then
((
res
)
=>
{
let
data
=
res
.
data
;
state
.
loading
=
false
;
...
...
src/views/user/coupon.vue
View file @
fb235a2e
<
template
>
<section
class=
"coupon"
>
<Header
:title=
"title"
></Header>
<van-tabs
@
change=
"tabs"
>
<van-tabs
@
change=
"tabs"
:active=
"active"
>
<van-tab
:title=
"'未使用('+counts['-1']+')'"
></van-tab>
<van-tab
:title=
"'使用记录('+counts['1']+')'"
></van-tab>
<van-tab
:title=
"'已过期('+counts['-2']+')'"
></van-tab>
...
...
@@ -56,7 +56,7 @@
data
()
{
return
{
title
:
"优惠劵"
,
active
:
0
,
active
:
"0"
,
status
:
-
1
,
}
},
...
...
src/views/user/inqueryList.vue
View file @
fb235a2e
...
...
@@ -61,7 +61,7 @@
}
else
if
(
index
==
2
){
this
.
status
=
1
}
else
{
this
.
status
=
""
this
.
status
=
99
}
this
.
$store
.
dispatch
({
type
:
'getInqueryList'
,
...
...
src/views/user/inquiry.vue
View file @
fb235a2e
...
...
@@ -97,6 +97,9 @@
}
},
created
()
{
this
.
$store
.
dispatch
({
type
:
"getCommonParams"
})
this
.
imgSrc
=
productionUrlPc
+
'public/verify'
;
},
methods
:
{
...
...
src/views/user/shipping.vue
View file @
fb235a2e
...
...
@@ -15,7 +15,7 @@
<div
class=
"ri-text"
>
<p>
{{
userInfo
.
user_info
.
user_name
||
userInfo
.
user_info
.
mobile
}}
</p>
<p>
联系电话:
{{
userInfo
.
user_info
.
mobile
}}
</p>
<p>
{{
userInfo
.
company_info
.
com_address
}}
</p>
<p>
{{
userInfo
.
company_info
.
com_address
||
" "
}}
</p>
</div>
</div>
<div
class=
"wuliudanhao"
v-if=
"wlInfo"
>
快递单号:
{{
wlInfo
.
shipping_no
}}
<span
@
click=
"copy(wlInfo.shipping_no)"
>
复制
</span></div>
...
...
view/29.js
View file @
fb235a2e
...
...
@@ -8,7 +8,7 @@
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'inquiry',\n data: function data() {\n return {\n popType: 2,\n carshow: false,\n isWindow: true,\n imgSrc: '',\n account: '',\n verify: '',\n sms_verify: '',\n codetext: '发送验证码',\n disabled: false,\n codeactive: false,\n codeshow: false,\n typetext: '',\n number: ''\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n formImgShow: function formImgShow(state) {\n return state.inquiry.formImgShow;\n },\n countDown: function countDown(state) {\n return state.inquiry.countDown;\n },\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n }\n })),\n watch: {\n account: function account(val) {\n var reg_mobile = /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\\d{8}$/;\n\n if (reg_mobile.test(val)) {\n this.codeshow = true;\n }\n },\n countDown: function countDown(val) {\n if (val) {\n this.timeNum();\n }\n }\n },\n created: function created() {\n this.imgSrc = _api_index__WEBPACK_IMPORTED_MODULE_9__[\"productionUrlPc\"] + 'public/verify';\n },\n methods: {\n updateCode: function updateCode() {\n this.imgSrc = _api_index__WEBPACK_IMPORTED_MODULE_9__[\"productionUrlPc\"] + 'public/verify?' + new Date().getTime();\n },\n getCode: function getCode() {\n var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;\n\n if (!this.account) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '填写手机号',\n duration: 2000\n });\n return;\n }\n\n if (!myreg.test(this.account)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '请输入正确手机号',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerifysInquiry',\n mobile: this.account,\n verify: this.verify\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n submit: function submit() {\n var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;\n\n if (!this.account) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '填写手机号',\n duration: 2000\n });\n return;\n }\n\n if (!myreg.test(this.account)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '请输入正确手机号',\n duration: 2000\n });\n return;\n }\n\n if (!this.typetext.trim()) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '请输入型号/参数',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n type: 'actionLoginInquiry',\n account: this.account,\n sms_verify: this.sms_verify,\n typetext: this.typetext,\n number: this.number\n });\n }\n },\n components: {\n Navigator: Navigator,\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/inquiry.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'inquiry',\n data: function data() {\n return {\n popType: 2,\n carshow: false,\n isWindow: true,\n imgSrc: '',\n account: '',\n verify: '',\n sms_verify: '',\n codetext: '发送验证码',\n disabled: false,\n codeactive: false,\n codeshow: false,\n typetext: '',\n number: ''\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n formImgShow: function formImgShow(state) {\n return state.inquiry.formImgShow;\n },\n countDown: function countDown(state) {\n return state.inquiry.countDown;\n },\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n }\n })),\n watch: {\n account: function account(val) {\n var reg_mobile = /^(13[0-9]|14[579]|15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[89])\\d{8}$/;\n\n if (reg_mobile.test(val)) {\n this.codeshow = true;\n }\n },\n countDown: function countDown(val) {\n if (val) {\n this.timeNum();\n }\n }\n },\n created: function created() {\n this.
$store.dispatch({\n type: \"getCommonParams\"\n });\n this.
imgSrc = _api_index__WEBPACK_IMPORTED_MODULE_9__[\"productionUrlPc\"] + 'public/verify';\n },\n methods: {\n updateCode: function updateCode() {\n this.imgSrc = _api_index__WEBPACK_IMPORTED_MODULE_9__[\"productionUrlPc\"] + 'public/verify?' + new Date().getTime();\n },\n getCode: function getCode() {\n var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;\n\n if (!this.account) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '填写手机号',\n duration: 2000\n });\n return;\n }\n\n if (!myreg.test(this.account)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '请输入正确手机号',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerifysInquiry',\n mobile: this.account,\n verify: this.verify\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n submit: function submit() {\n var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;\n\n if (!this.account) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '填写手机号',\n duration: 2000\n });\n return;\n }\n\n if (!myreg.test(this.account)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '请输入正确手机号',\n duration: 2000\n });\n return;\n }\n\n if (!this.typetext.trim()) {\n Object(vant__WEBPACK_IMPORTED_MODULE_7__[\"Toast\"])({\n message: '请输入型号/参数',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n type: 'actionLoginInquiry',\n account: this.account,\n sms_verify: this.sms_verify,\n typetext: this.typetext,\n number: this.number\n });\n }\n },\n components: {\n Navigator: Navigator,\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/inquiry.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
view/43.js
View file @
fb235a2e
...
...
@@ -8,7 +8,7 @@
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'coupon',\n data: function data() {\n return {\n title: \"优惠劵\",\n active:
0
,\n status: -1\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.coupon.loading;\n },\n lists: function lists(state) {\n return state.coupon.lists;\n },\n counts: function counts(state) {\n return state.coupon.counts;\n }\n })),\n watch: {},\n created: function created() {\n this.getData();\n this.$store.dispatch({\n type: 'ucouponCount'\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'ucouponLists',\n status: this.status\n });\n },\n tabs: function tabs(index) {\n if (index == 0) {\n this.status = -1;\n } else if (index == 1) {\n this.status = 1;\n } else if (index == 2) {\n this.status = -2;\n }\n\n this.getData();\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/coupon.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'coupon',\n data: function data() {\n return {\n title: \"优惠劵\",\n active:
\"0\"
,\n status: -1\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.coupon.loading;\n },\n lists: function lists(state) {\n return state.coupon.lists;\n },\n counts: function counts(state) {\n return state.coupon.counts;\n }\n })),\n watch: {},\n created: function created() {\n this.getData();\n this.$store.dispatch({\n type: 'ucouponCount'\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'ucouponLists',\n status: this.status\n });\n },\n tabs: function tabs(index) {\n if (index == 0) {\n this.status = -1;\n } else if (index == 1) {\n this.status = 1;\n } else if (index == 2) {\n this.status = -2;\n }\n\n this.getData();\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/coupon.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"coupon\" },\n [\n _c(\"Header\", { attrs: { title: _vm.title } }),\n _c(\n \"van-tabs\",\n { on: { change: _vm.tabs } },\n [\n _c(\"van-tab\", {\n attrs: { title: \"未使用(\" + _vm.counts[\"-1\"] + \")\" }\n }),\n _c(\"van-tab\", {\n attrs: { title: \"使用记录(\" + _vm.counts[\"1\"] + \")\" }\n }),\n _c(\"van-tab\", {\n attrs: { title: \"已过期(\" + _vm.counts[\"-2\"] + \")\" }\n })\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"coupon-box clr coupon-user\" },\n _vm._l(_vm.lists, function(item) {\n return _c(\n \"dl\",\n {\n staticClass: \"block \",\n class: {\n \"box-green\": item.status == -1 && item.coupon_mall_type == 1,\n \"box-orange\": item.status == -1 && item.coupon_mall_type == 2,\n \"box-blue\": item.status == -1 && item.coupon_mall_type == 3,\n \"box-gray\": item.status == 1 || item.status == -2\n }\n },\n [\n _c(\"dt\", [\n _c(\n \"h4\",\n [\n item.coupon_type == 1\n ? [\n _c(\"span\", [_vm._v(\"¥\")]),\n _vm._v(\n _vm._s(item.sale_amount.toFixed(2)) +\n \"\\n \"\n )\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s((item.sale_amount * 10).toFixed(2))\n ),\n _c(\"b\", [_vm._v(\"折\")])\n ]\n ],\n 2\n ),\n _c(\"p\", [_vm._v(_vm._s(item.require_desc))])\n ]),\n _c(\n \"dd\",\n { staticClass: \"text\" },\n [\n _c(\"div\", { staticClass: \"tag\" }, [\n _c(\"i\"),\n _c(\"span\", [\n _vm._v(\n _vm._s(\n item.coupon_mall_type == 1\n ? \"全站\"\n : item.coupon_mall_type == 2\n ? \"自营\"\n : \"联营\"\n )\n )\n ])\n ]),\n item.coupon_goods_range == 1\n ? [\n _c(\"h4\", [\n _vm._v(\"适用于\"),\n _c(\"span\", [\n _vm._v(\n _vm._s(\n item.coupon_mall_type == 1\n ? \"全站\"\n : item.coupon_mall_type == 2\n ? \"全部自营\"\n : \"全部联营\"\n )\n )\n ]),\n _vm._v(\"商品\")\n ])\n ]\n : [\n _c(\"h4\", [\n _vm._v(\"适用于\"),\n _c(\"span\", [\n _vm._v(\n _vm._s(\n item.selected_supplier\n ? \"供应商\" + item.selected_supplier\n : \"\"\n ) +\n _vm._s(\n item.selected_brand\n ? \"制造商\" + item.selected_brand\n : \"\"\n )\n )\n ]),\n _vm._v(\"所有商品\")\n ])\n ],\n _c(\"p\", { staticClass: \"clr\" }, [\n item.status == -1\n ? _c(\n \"a\",\n {\n staticClass: \"fr but-bg\",\n attrs: { href: item.redirect_url }\n },\n [_vm._v(\"立即使用\")]\n )\n : _vm._e(),\n item.status == 1\n ? _c(\"i\", {\n staticClass: \"icon-get iconfont icon-yishiyong\"\n })\n : _vm._e(),\n item.status == -2\n ? _c(\"i\", {\n staticClass: \"icon-get iconfont icon-yiguoqi\"\n })\n : _vm._e(),\n _c(\"span\", [\n _vm._v(\n _vm._s(item.start_time) + \" - \" + _vm._s(item.end_time)\n )\n ])\n ])\n ],\n 2\n )\n ]\n )\n }),\n 0\n ),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/user/coupon.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22776792e8-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.5@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"coupon\" },\n [\n _c(\"Header\", { attrs: { title: _vm.title } }),\n _c(\n \"van-tabs\",\n {
attrs: { active: _vm.active },
on: { change: _vm.tabs } },\n [\n _c(\"van-tab\", {\n attrs: { title: \"未使用(\" + _vm.counts[\"-1\"] + \")\" }\n }),\n _c(\"van-tab\", {\n attrs: { title: \"使用记录(\" + _vm.counts[\"1\"] + \")\" }\n }),\n _c(\"van-tab\", {\n attrs: { title: \"已过期(\" + _vm.counts[\"-2\"] + \")\" }\n })\n ],\n 1\n ),\n _c(\n \"div\",\n { staticClass: \"coupon-box clr coupon-user\" },\n _vm._l(_vm.lists, function(item) {\n return _c(\n \"dl\",\n {\n staticClass: \"block \",\n class: {\n \"box-green\": item.status == -1 && item.coupon_mall_type == 1,\n \"box-orange\": item.status == -1 && item.coupon_mall_type == 2,\n \"box-blue\": item.status == -1 && item.coupon_mall_type == 3,\n \"box-gray\": item.status == 1 || item.status == -2\n }\n },\n [\n _c(\"dt\", [\n _c(\n \"h4\",\n [\n item.coupon_type == 1\n ? [\n _c(\"span\", [_vm._v(\"¥\")]),\n _vm._v(\n _vm._s(item.sale_amount.toFixed(2)) +\n \"\\n \"\n )\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s((item.sale_amount * 10).toFixed(2))\n ),\n _c(\"b\", [_vm._v(\"折\")])\n ]\n ],\n 2\n ),\n _c(\"p\", [_vm._v(_vm._s(item.require_desc))])\n ]),\n _c(\n \"dd\",\n { staticClass: \"text\" },\n [\n _c(\"div\", { staticClass: \"tag\" }, [\n _c(\"i\"),\n _c(\"span\", [\n _vm._v(\n _vm._s(\n item.coupon_mall_type == 1\n ? \"全站\"\n : item.coupon_mall_type == 2\n ? \"自营\"\n : \"联营\"\n )\n )\n ])\n ]),\n item.coupon_goods_range == 1\n ? [\n _c(\"h4\", [\n _vm._v(\"适用于\"),\n _c(\"span\", [\n _vm._v(\n _vm._s(\n item.coupon_mall_type == 1\n ? \"全站\"\n : item.coupon_mall_type == 2\n ? \"全部自营\"\n : \"全部联营\"\n )\n )\n ]),\n _vm._v(\"商品\")\n ])\n ]\n : [\n _c(\"h4\", [\n _vm._v(\"适用于\"),\n _c(\"span\", [\n _vm._v(\n _vm._s(\n item.selected_supplier\n ? \"供应商\" + item.selected_supplier\n : \"\"\n ) +\n _vm._s(\n item.selected_brand\n ? \"制造商\" + item.selected_brand\n : \"\"\n )\n )\n ]),\n _vm._v(\"所有商品\")\n ])\n ],\n _c(\"p\", { staticClass: \"clr\" }, [\n item.status == -1\n ? _c(\n \"a\",\n {\n staticClass: \"fr but-bg\",\n attrs: { href: item.redirect_url }\n },\n [_vm._v(\"立即使用\")]\n )\n : _vm._e(),\n item.status == 1\n ? _c(\"i\", {\n staticClass: \"icon-get iconfont icon-yishiyong\"\n })\n : _vm._e(),\n item.status == -2\n ? _c(\"i\", {\n staticClass: \"icon-get iconfont icon-yiguoqi\"\n })\n : _vm._e(),\n _c(\"span\", [\n _vm._v(\n _vm._s(item.start_time) + \" - \" + _vm._s(item.end_time)\n )\n ])\n ])\n ],\n 2\n )\n ]\n )\n }),\n 0\n ),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/user/coupon.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22776792e8-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.5@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
view/44.js
View file @
fb235a2e
...
...
@@ -8,7 +8,7 @@
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Empty\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'inqueryList',\n data: function data() {\n return {\n lineWidth: 55,\n tab: \"0\",\n status: \"\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.inqueryList.loading;\n },\n lists: function lists(state) {\n return state.inqueryList.lists;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getInqueryList'\n });\n },\n methods: {\n tabChange: function tabChange(index) {\n console.log(index);\n\n if (index == 1) {\n this.status = 0;\n } else if (index == 2) {\n this.status = 1;\n } else {\n this.status =
\"\"
;\n }\n\n this.$store.dispatch({\n type: 'getInqueryList',\n status: this.status\n });\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/user/inqueryList.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.object.get-own-property-descriptors */ \"./node_modules/_core-js@2.6.12@core-js/modules/es7.object.get-own-property-descriptors.js\");\n/* harmony import */ var core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/_core-js@2.6.12@core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es6.array.iterator */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.array.iterator.js\");\n/* harmony import */ var core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_iterator__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es6.object.keys */ \"./node_modules/_core-js@2.6.12@core-js/modules/es6.object.keys.js\");\n/* harmony import */ var core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty */ \"./node_modules/_@babel_runtime@7.12.5@@babel/runtime/helpers/esm/defineProperty.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.12@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.6.0@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.11.2@vant/es/index.js\");\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(D_lxWork_h5_node_modules_babel_runtime_7_12_5_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tab\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Tabs\"]).use(vant__WEBPACK_IMPORTED_MODULE_7__[\"Empty\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'inqueryList',\n data: function data() {\n return {\n lineWidth: 55,\n tab: \"0\",\n status: \"\"\n };\n },\n computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_6__[\"mapState\"])({\n loading: function loading(state) {\n return state.inqueryList.loading;\n },\n lists: function lists(state) {\n return state.inqueryList.lists;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getInqueryList'\n });\n },\n methods: {\n tabChange: function tabChange(index) {\n console.log(index);\n\n if (index == 1) {\n this.status = 0;\n } else if (index == 2) {\n this.status = 1;\n } else {\n this.status =
99
;\n }\n\n this.$store.dispatch({\n type: 'getInqueryList',\n status: this.status\n });\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/user/inqueryList.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.2.2@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
view/47.js
View file @
fb235a2e
...
...
@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/
(
function
(
module
,
__webpack_exports__
,
__webpack_require__
)
{
"use strict"
;
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"shipping\" },\n [\n _c(\n \"textarea\",\n {\n staticStyle: { position: \"absolute\", top: \"-9999px\" },\n attrs: { id: \"domainxk\" }\n },\n [_vm._v(_vm._s(_vm.copyCon))]\n ),\n _c(\"div\", { staticClass: \"ship-header clr\" }, [\n _c(\"div\", { staticClass: \"fl c-6\" }, [_vm._v(\"订单编号\")]),\n _c(\"div\", { staticClass: \"fl\" }, [\n _c(\n \"span\",\n {\n on: {\n click: function($event) {\n return _vm.copy(_vm.order_sn)\n }\n }\n },\n [_vm._v(\"复制\")]\n ),\n _vm._v(_vm._s(_vm.order_sn))\n ]),\n _c(\"div\", { staticClass: \"fl c-6\" }, [_vm._v(\"快递公司\")]),\n _vm.wlInfo\n ? _c(\"div\", { staticClass: \"fl\" }, [\n _vm._v(_vm._s(_vm.wlInfo.shipping_name))\n ])\n : _vm._e()\n ]),\n _c(\"div\", { staticClass: \"ship-cp\" }, [\n _c(\"div\", { staticClass: \"cp-t \" }, [\n _vm.userInfo.user_info.user_head\n ? _c(\"img\", {\n attrs: { src: _vm.userInfo.user_info.user_head, alt: \"猎芯网\" }\n })\n : _c(\"img\", {\n attrs: {\n src:\n \"https://static.ichunt.com/dist/res/home/images/headimg/boy9.png\",\n alt: \"猎芯网\"\n }\n }),\n _c(\"div\", { staticClass: \"ri-text\" }, [\n _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.userInfo.user_info.user_name ||\n _vm.userInfo.user_info.mobile\n )\n )\n ]),\n _c(\"p\", [\n _vm._v(\"联系电话:\" + _vm._s(_vm.userInfo.user_info.mobile))\n ]),\n _c(\"p\", [
_vm._v(_vm._s(_vm.userInfo.company_info.com_address))
])\n ])\n ]),\n _vm.wlInfo\n ? _c(\"div\", { staticClass: \"wuliudanhao\" }, [\n _vm._v(\"快递单号:\" + _vm._s(_vm.wlInfo.shipping_no) + \" \"),\n _c(\n \"span\",\n {\n on: {\n click: function($event) {\n return _vm.copy(_vm.wlInfo.shipping_no)\n }\n }\n },\n [_vm._v(\"复制\")]\n )\n ])\n : _vm._e()\n ]),\n _vm.wlInfo\n ? _c(\n \"div\",\n { staticClass: \"ship-box\" },\n _vm._l(_vm.wlInfo.info, function(item, index) {\n return _c(\n \"div\",\n { staticClass: \"wu-group \", class: { act: index == 0 } },\n [\n _c(\"div\", { staticClass: \"time-gh\" }, [\n _vm._v(_vm._s(item.AcceptTime.substring(5, 10))),\n _c(\"span\", [\n _vm._v(_vm._s(item.AcceptTime.substring(11, 16)))\n ])\n ]),\n _c(\"div\", { staticClass: \"g-te\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(item.AcceptStation) +\n \"\\n \"\n )\n ])\n ]\n )\n }),\n 0\n )\n : _vm._e(),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/user/shipping.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22776792e8-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.5@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
eval
(
"__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"section\",\n { staticClass: \"shipping\" },\n [\n _c(\n \"textarea\",\n {\n staticStyle: { position: \"absolute\", top: \"-9999px\" },\n attrs: { id: \"domainxk\" }\n },\n [_vm._v(_vm._s(_vm.copyCon))]\n ),\n _c(\"div\", { staticClass: \"ship-header clr\" }, [\n _c(\"div\", { staticClass: \"fl c-6\" }, [_vm._v(\"订单编号\")]),\n _c(\"div\", { staticClass: \"fl\" }, [\n _c(\n \"span\",\n {\n on: {\n click: function($event) {\n return _vm.copy(_vm.order_sn)\n }\n }\n },\n [_vm._v(\"复制\")]\n ),\n _vm._v(_vm._s(_vm.order_sn))\n ]),\n _c(\"div\", { staticClass: \"fl c-6\" }, [_vm._v(\"快递公司\")]),\n _vm.wlInfo\n ? _c(\"div\", { staticClass: \"fl\" }, [\n _vm._v(_vm._s(_vm.wlInfo.shipping_name))\n ])\n : _vm._e()\n ]),\n _c(\"div\", { staticClass: \"ship-cp\" }, [\n _c(\"div\", { staticClass: \"cp-t \" }, [\n _vm.userInfo.user_info.user_head\n ? _c(\"img\", {\n attrs: { src: _vm.userInfo.user_info.user_head, alt: \"猎芯网\" }\n })\n : _c(\"img\", {\n attrs: {\n src:\n \"https://static.ichunt.com/dist/res/home/images/headimg/boy9.png\",\n alt: \"猎芯网\"\n }\n }),\n _c(\"div\", { staticClass: \"ri-text\" }, [\n _c(\"p\", [\n _vm._v(\n _vm._s(\n _vm.userInfo.user_info.user_name ||\n _vm.userInfo.user_info.mobile\n )\n )\n ]),\n _c(\"p\", [\n _vm._v(\"联系电话:\" + _vm._s(_vm.userInfo.user_info.mobile))\n ]),\n _c(\"p\", [
\n _vm._v(_vm._s(_vm.userInfo.company_info.com_address || \" \"))\n
])\n ])\n ]),\n _vm.wlInfo\n ? _c(\"div\", { staticClass: \"wuliudanhao\" }, [\n _vm._v(\"快递单号:\" + _vm._s(_vm.wlInfo.shipping_no) + \" \"),\n _c(\n \"span\",\n {\n on: {\n click: function($event) {\n return _vm.copy(_vm.wlInfo.shipping_no)\n }\n }\n },\n [_vm._v(\"复制\")]\n )\n ])\n : _vm._e()\n ]),\n _vm.wlInfo\n ? _c(\n \"div\",\n { staticClass: \"ship-box\" },\n _vm._l(_vm.wlInfo.info, function(item, index) {\n return _c(\n \"div\",\n { staticClass: \"wu-group \", class: { act: index == 0 } },\n [\n _c(\"div\", { staticClass: \"time-gh\" }, [\n _vm._v(_vm._s(item.AcceptTime.substring(5, 10))),\n _c(\"span\", [\n _vm._v(_vm._s(item.AcceptTime.substring(11, 16)))\n ])\n ]),\n _c(\"div\", { staticClass: \"g-te\" }, [\n _vm._v(\n \"\\n \" +\n _vm._s(item.AcceptStation) +\n \"\\n \"\n )\n ])\n ]\n )\n }),\n 0\n )\n : _vm._e(),\n _vm.loading\n ? _c(\"van-loading\", {\n staticClass: \"loading-background\",\n attrs: { type: \"spinner\", color: \"#000\" }\n })\n : _vm._e()\n ],\n 1\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./src/views/user/shipping.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%22776792e8-vue-loader-template%22%7D!./node_modules/_vue-loader@15.9.5@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.9.5@vue-loader/lib??vue-loader-options"
);
/***/
}),
...
...
view/app.js
View file @
fb235a2e
...
...
@@ -4769,7 +4769,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/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util */ \"./src/util/index.js\");\n\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.4@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\nvar state = {\n loading: false,\n lists: []\n};\nvar mutations = {};\nvar actions = {\n getInqueryList: function getInqueryList(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n user_id: _util__WEBPACK_IMPORTED_MODULE_3__[\"default\"].getCookie(\"Yo4teW_uid\"),\n page: 1,\n limit: 100
,\n status: payload.status\n };
\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].getInqueryList(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n state.lists = data.data.list;\n }\n }).catch(function (err) {\n state.loading = false;\n });\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/user/inqueryList.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/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../util */ \"./src/util/index.js\");\n\n\n\n\n\nvar qs = __webpack_require__(/*! qs */ \"./node_modules/_qs@6.9.4@qs/lib/index.js\");\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Toast\"]);\nvar state = {\n loading: false,\n lists: []\n};\nvar mutations = {};\nvar actions = {\n getInqueryList: function getInqueryList(_ref, payload) {\n var commit = _ref.commit;\n state.loading = true;\n var params = {\n user_id: _util__WEBPACK_IMPORTED_MODULE_3__[\"default\"].getCookie(\"Yo4teW_uid\"),\n page: 1,\n limit: 100
\n };\n\n if (payload.status != 99) {\n params.status = payload.status;\n }\n
\n _api_index__WEBPACK_IMPORTED_MODULE_2__[\"services\"].getInqueryList(qs.stringify(params)).then(function (res) {\n var data = res.data;\n state.loading = false;\n\n if (data.err_code == 0) {\n state.lists = data.data.list;\n }\n }).catch(function (err) {\n state.loading = false;\n });\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/user/inqueryList.js?"
);
/***/
}),
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment