完善定位功能
This commit is contained in:
116
unpackage/dist/dev/mp-weixin/pages/my/my.js
vendored
116
unpackage/dist/dev/mp-weixin/pages/my/my.js
vendored
@ -101,22 +101,22 @@ var components
|
||||
try {
|
||||
components = {
|
||||
uAvatar: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-avatar/u-avatar */ "components/uview-ui/components/u-avatar/u-avatar").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-avatar/u-avatar.vue */ 305))
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-avatar/u-avatar */ "components/uview-ui/components/u-avatar/u-avatar").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-avatar/u-avatar.vue */ 329))
|
||||
},
|
||||
uIcon: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-icon/u-icon */ "components/uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-icon/u-icon.vue */ 246))
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-icon/u-icon */ "components/uview-ui/components/u-icon/u-icon").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-icon/u-icon.vue */ 270))
|
||||
},
|
||||
uImage: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-image/u-image */ "components/uview-ui/components/u-image/u-image").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-image/u-image.vue */ 267))
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-image/u-image */ "components/uview-ui/components/u-image/u-image").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-image/u-image.vue */ 291))
|
||||
},
|
||||
uLine: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-line/u-line */ "components/uview-ui/components/u-line/u-line").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-line/u-line.vue */ 312))
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-line/u-line */ "components/uview-ui/components/u-line/u-line").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-line/u-line.vue */ 336))
|
||||
},
|
||||
uGrid: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-grid/u-grid */ "components/uview-ui/components/u-grid/u-grid").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-grid/u-grid.vue */ 319))
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-grid/u-grid */ "components/uview-ui/components/u-grid/u-grid").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-grid/u-grid.vue */ 343))
|
||||
},
|
||||
uGridItem: function () {
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-grid-item/u-grid-item */ "components/uview-ui/components/u-grid-item/u-grid-item").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-grid-item/u-grid-item.vue */ 326))
|
||||
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-grid-item/u-grid-item */ "components/uview-ui/components/u-grid-item/u-grid-item").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-grid-item/u-grid-item.vue */ 350))
|
||||
},
|
||||
}
|
||||
} catch (e) {
|
||||
@ -175,102 +175,22 @@ __webpack_require__.r(__webpack_exports__);
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
||||
var _vuex = __webpack_require__(/*! vuex */ 33);
|
||||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
||||
var _default = {
|
||||
data: function data() {
|
||||
return {};
|
||||
},
|
||||
onLoad: function onLoad() {
|
||||
console.log(uni.getSystemInfoSync());
|
||||
console.log(this.isLogin);
|
||||
console.log(this.userInfo);
|
||||
},
|
||||
methods: {
|
||||
// 跳转个人信息
|
||||
@ -284,13 +204,19 @@ var _default = {
|
||||
uni.navigateTo({
|
||||
url: '/pages/my/wallet'
|
||||
});
|
||||
},
|
||||
// 去设置页
|
||||
toSetting: function toSetting() {
|
||||
uni.navigateTo({
|
||||
url: '/bundle/pages/setting/setting'
|
||||
});
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
computed: _objectSpread(_objectSpread({}, (0, _vuex.mapGetters)(['cartNum', 'userInfo', 'inviteCode', 'appConfig'])), {}, {
|
||||
statusBar: function statusBar() {
|
||||
return uni.getSystemInfoSync().statusBarHeight + 10;
|
||||
}
|
||||
}
|
||||
})
|
||||
};
|
||||
exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||||
|
||||
Reference in New Issue
Block a user