17.js
5.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
webpackJsonp([17],{
/***/ 323:
/* no static exports found */
/* all exports used */
/*!*******************************!*\
!*** ./src/pages/General.vue ***!
\*******************************/
/***/ (function(module, exports, __webpack_require__) {
var Component = __webpack_require__(/*! ../../~/vue-loader/lib/component-normalizer */ 2)(
/* script */
__webpack_require__(/*! !babel-loader!../../~/vux-loader/src/script-loader.js!../../~/vue-loader/lib/selector?type=script&index=0!./General.vue */ 411),
/* template */
__webpack_require__(/*! !../../~/vue-loader/lib/template-compiler/index?{"id":"data-v-9ac4eaf4"}!../../~/vux-loader/src/before-template-compiler-loader.js!../../~/vux-loader/src/template-loader.js!../../~/vue-loader/lib/selector?type=template&index=0!./General.vue */ 460),
/* scopeId */
null,
/* cssModules */
null
)
Component.options.__file = "D:\\Cassie-project\\netease-h5-demo\\src\\pages\\General.vue"
if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key !== "__esModule"})) {console.error("named exports are not supported in *.vue files.")}
if (Component.options.functional) {console.error("[vue-loader] General.vue: functional components are not supported with templates, they should use render functions.")}
/* hot reload */
if (false) {(function () {
var hotAPI = require("vue-hot-reload-api")
hotAPI.install(require("vue"), false)
if (!hotAPI.compatible) return
module.hot.accept()
if (!module.hot.data) {
hotAPI.createRecord("data-v-9ac4eaf4", Component.options)
} else {
hotAPI.reload("data-v-9ac4eaf4", Component.options)
}
})()}
module.exports = Component.exports
/***/ }),
/***/ 411:
/* no static exports found */
/* all exports used */
/*!*******************************************************************************************************************************************!*\
!*** ./~/babel-loader/lib!./~/vux-loader/src/script-loader.js!./~/vue-loader/lib/selector.js?type=script&index=0!./src/pages/General.vue ***!
\*******************************************************************************************************************************************/
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
var _index = __webpack_require__(/*! vux/src/components/group/index.vue */ 144);
var _index2 = _interopRequireDefault(_index);
var _index3 = __webpack_require__(/*! vux/src/components/cell/index.vue */ 164);
var _index4 = _interopRequireDefault(_index3);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
components: {
Group: _index2.default,
Cell: _index4.default
},
computed: {
myInfo: function myInfo() {
return this.$store.state.myInfo;
}
},
methods: {
logout: function logout() {
var that = this;
this.$vux.confirm.show({
title: '确定要注销帐号?',
onConfirm: function onConfirm() {
that.$store.dispatch('logout');
}
});
}
}
};
module.exports = exports['default'];
/***/ }),
/***/ 460:
/* no static exports found */
/* all exports used */
/*!**********************************************************************************************************************************************************************************************************************************************!*\
!*** ./~/vue-loader/lib/template-compiler?{"id":"data-v-9ac4eaf4"}!./~/vux-loader/src/before-template-compiler-loader.js!./~/vux-loader/src/template-loader.js!./~/vue-loader/lib/selector.js?type=template&index=0!./src/pages/General.vue ***!
\**********************************************************************************************************************************************************************************************************************************************/
/***/ (function(module, exports, __webpack_require__) {
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
return (_vm.myInfo.account) ? _c('div', {
staticClass: "g-inherit m-main p-general"
}, [_c('group', {
staticClass: "u-card"
}, [_c('cell', {
attrs: {
"title": _vm.myInfo.nick,
"inline-desc": '帐号: ' + _vm.myInfo.account
}
}, [_c('img', {
staticClass: "icon",
attrs: {
"slot": "icon",
"width": "20",
"src": _vm.myInfo.avatar
},
slot: "icon"
})])], 1), _vm._v(" "), _c('group', {
staticClass: "u-card"
}, [_c('cell', {
attrs: {
"title": "昵称"
}
}, [_vm._v(_vm._s(_vm.myInfo.nick || ''))]), _vm._v(" "), _c('cell', {
attrs: {
"title": "性别"
}
}, [_vm._v(_vm._s(_vm.myInfo.gender))]), _vm._v(" "), _c('cell', {
attrs: {
"title": "生日"
}
}, [_vm._v(_vm._s(_vm.myInfo.birth))]), _vm._v(" "), _c('cell', {
attrs: {
"title": "手机"
}
}, [_vm._v(_vm._s(_vm.myInfo.tel))]), _vm._v(" "), _c('cell', {
attrs: {
"title": "邮箱"
}
}, [_vm._v(_vm._s(_vm.myInfo.email))]), _vm._v(" "), _c('cell', {
attrs: {
"title": "签名"
}
}, [_vm._v(_vm._s(_vm.myInfo.sign))])], 1), _vm._v(" "), _c('div', [_c('x-button', {
attrs: {
"type": "warn",
"action-type": "button"
},
nativeOn: {
"click": function($event) {
_vm.logout($event)
}
}
}, [_vm._v("注销")])], 1)], 1) : _vm._e()
},staticRenderFns: []}
module.exports.render._withStripped = true
if (false) {
module.hot.accept()
if (module.hot.data) {
require("vue-hot-reload-api").rerender("data-v-9ac4eaf4", module.exports)
}
}
/***/ })
});
//# sourceMappingURL=17.js.map