完善定位功能

This commit is contained in:
2025-05-02 14:41:47 +08:00
parent 05aaed3b16
commit c7b6aacafb
268 changed files with 8649 additions and 3000 deletions

View File

@ -101,16 +101,16 @@ var components
try {
components = {
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))
},
uButton: function () {
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-button/u-button */ "components/uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-button/u-button.vue */ 253))
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-button/u-button */ "components/uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-button/u-button.vue */ 277))
},
uSwiper: function () {
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-swiper/u-swiper */ "components/uview-ui/components/u-swiper/u-swiper").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-swiper/u-swiper.vue */ 260))
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-swiper/u-swiper */ "components/uview-ui/components/u-swiper/u-swiper").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-swiper/u-swiper.vue */ 284))
},
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))
},
}
} catch (e) {
@ -169,86 +169,18 @@ __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);
var _app = __webpack_require__(/*! @/api/app */ 48);
var _store = __webpack_require__(/*! @/api/store */ 40);
var _tools = __webpack_require__(/*! @/utils/tools */ 41);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
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 {
@ -287,7 +219,12 @@ var _default = {
url: '/pages/signin/signin'
});
}
}
},
computed: _objectSpread(_objectSpread({}, (0, _vuex.mapGetters)(['cartNum', 'userInfo', 'inviteCode', 'appConfig', 'cityInfo'])), {}, {
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"]))

View File

@ -1 +1 @@
<view class="content"><view class="store u-flex u-row-between u-p-32"><view><view data-event-opts="{{[['tap',[['chooseStore',['$event']]]]]}}" class="lg bold-600 u-flex" bindtap="__e">MEET轻食店<u-icon class="right-icon" vue-id="8dd740cc-1" name="arrow-right" size="28" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['chooseAddress',['$event']]]]]}}" class="u-flex u-m-t-8" bindtap="__e"><u-icon vue-id="8dd740cc-2" name="map" size="32" bind:__l="__l"></u-icon>请选择收货地址</view></view><view><u-button vue-id="8dd740cc-3" shape="circle" hair-line="{{false}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'36rpx'})}}" data-event-opts="{{[['^click',[['signin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">签到</u-button></view></view><view class="swiper u-relative"><u-swiper vue-id="8dd740cc-4" height="524" list="{{list}}" border-radius="0" bind:__l="__l"></u-swiper><view class="balance bg-white u-flex"><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-5" src="{{cloudPath+'img/icon_balance.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">0.00</view><view class="text-default xs">余额</view></view></view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-6" src="{{cloudPath+'img/icon_points.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">0.00</view><view class="text-default xs">积分</view></view></view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-7" src="{{cloudPath+'img/icon_coupon.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">0</view><view class="text-default xs u-text-center">券</view></view></view></view></view><view class="order u-flex u-row-between"><view data-event-opts="{{[['tap',[['buy',['$event']]]]]}}" class="bg-white u-text-center" bindtap="__e"><view class="text-default xxl">预约下单</view><view class="xs text-999">极速送达更便捷</view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-8" src="{{cloudPath+'img/icon_p_order.png'}}" width="132" height="132" bind:__l="__l"></u-image></view></view><view class="bg-white u-text-center"><view class="text-default xxl">现在点单</view><view class="xs text-999">下单更便捷</view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-9" src="{{cloudPath+'img/icon_order.png'}}" width="132" height="133" mode="aspectFit" bind:__l="__l"></u-image></view></view></view><view class="mx20 u-m-b-64"><u-image vue-id="8dd740cc-10" src="{{cloudPath+'img/activity.png'}}" height="264" bind:__l="__l"></u-image></view></view>
<view class="content"><view class="store u-flex u-row-between u-p-32"><view><view data-event-opts="{{[['tap',[['chooseStore',['$event']]]]]}}" class="lg bold-600 u-flex" bindtap="__e">MEET轻食店<u-icon class="right-icon" vue-id="8dd740cc-1" name="arrow-right" size="28" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['chooseAddress',['$event']]]]]}}" class="u-flex u-m-t-8" bindtap="__e"><u-icon vue-id="8dd740cc-2" name="map" size="32" bind:__l="__l"></u-icon>请选择收货地址</view></view><view><u-button vue-id="8dd740cc-3" shape="circle" hair-line="{{false}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'36rpx'})}}" data-event-opts="{{[['^click',[['signin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">签到</u-button></view></view><view class="swiper u-relative"><u-swiper vue-id="8dd740cc-4" height="524" list="{{list}}" border-radius="0" bind:__l="__l"></u-swiper><view class="balance bg-white u-flex"><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-5" src="{{cloudPath+'img/icon_balance.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">{{userInfo.user_money||0.00}}</view><view class="text-default xs">余额</view></view></view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-6" src="{{cloudPath+'img/icon_points.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">{{userInfo.user_integral||0}}</view><view class="text-default xs">积分</view></view></view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-7" src="{{cloudPath+'img/icon_coupon.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">{{userInfo.coupon||0}}</view><view class="text-default xs u-text-center">券</view></view></view></view></view><view class="order u-flex u-row-between"><view data-event-opts="{{[['tap',[['buy',['$event']]]]]}}" class="bg-white u-text-center" bindtap="__e"><view class="text-default xxl">预约下单</view><view class="xs text-999">极速送达更便捷</view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-8" src="{{cloudPath+'img/icon_p_order.png'}}" width="132" height="132" bind:__l="__l"></u-image></view></view><view class="bg-white u-text-center"><view class="text-default xxl">现在点单</view><view class="xs text-999">下单更便捷</view><view class="u-flex u-row-center"><u-image vue-id="8dd740cc-9" src="{{cloudPath+'img/icon_order.png'}}" width="132" height="133" mode="aspectFit" bind:__l="__l"></u-image></view></view></view><view class="mx20 u-m-b-64"><u-image vue-id="8dd740cc-10" src="{{cloudPath+'img/activity.png'}}" height="264" bind:__l="__l"></u-image></view></view>