修正项目
| @@ -1,80 +0,0 @@ | |||||||
| { |  | ||||||
|   "name": "atguigu-tuan", |  | ||||||
|   "appid": "__UNI__3804DB8", |  | ||||||
|   "description": "", |  | ||||||
|   "versionName": "1.0.0", |  | ||||||
|   "versionCode": "100", |  | ||||||
|   "transformPx": false, |  | ||||||
|   /* 5+App特有相关 */ |  | ||||||
|   "app-plus": { |  | ||||||
|     "usingComponents": true, |  | ||||||
|     "nvueStyleCompiler": "uni-app", |  | ||||||
|     "compilerVersion": 3, |  | ||||||
|     "splashscreen": { |  | ||||||
|       "alwaysShowBeforeRender": true, |  | ||||||
|       "waiting": true, |  | ||||||
|       "autoclose": true, |  | ||||||
|       "delay": 0 |  | ||||||
|     }, |  | ||||||
|     /* 模块配置 */ |  | ||||||
|     "modules": {}, |  | ||||||
|     /* 应用发布信息 */ |  | ||||||
|     "distribute": { |  | ||||||
|       /* android打包配置 */ |  | ||||||
|       "android": { |  | ||||||
|         "permissions": [ |  | ||||||
|           "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.VIBRATE\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.READ_LOGS\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", |  | ||||||
|           "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.CAMERA\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", |  | ||||||
|           "<uses-feature android:name=\"android.hardware.camera\"/>", |  | ||||||
|           "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       /* ios打包配置 */ |  | ||||||
|       "ios": {}, |  | ||||||
|       /* SDK配置 */ |  | ||||||
|       "sdkConfigs": {} |  | ||||||
|     } |  | ||||||
|   }, |  | ||||||
|   /* 快应用特有相关 */ |  | ||||||
|   "quickapp": {}, |  | ||||||
|   /* 小程序特有相关 */ |  | ||||||
|   "mp-weixin": { |  | ||||||
|     "appid": "wx2edefe049c6a37b9", |  | ||||||
|     "setting": { |  | ||||||
|       "urlCheck": false, |  | ||||||
|       "es6": true, |  | ||||||
|       "postcss": true, |  | ||||||
|       "minified": true |  | ||||||
|     }, |  | ||||||
|     "usingComponents": true, |  | ||||||
|     "permission": { |  | ||||||
|       "scope.userLocation": { |  | ||||||
|         "desc": "获取地理位置" |  | ||||||
|       } |  | ||||||
|     } |  | ||||||
|   }, |  | ||||||
|   "mp-alipay": { |  | ||||||
|     "usingComponents": true |  | ||||||
|   }, |  | ||||||
|   "mp-baidu": { |  | ||||||
|     "usingComponents": true |  | ||||||
|   }, |  | ||||||
|   "mp-toutiao": { |  | ||||||
|     "usingComponents": true |  | ||||||
|   }, |  | ||||||
|   "uniStatistics": { |  | ||||||
|     "enable": false |  | ||||||
|   }, |  | ||||||
|   "vueVersion": "2" |  | ||||||
| } |  | ||||||
| @@ -1,100 +0,0 @@ | |||||||
| <template> |  | ||||||
|   <view class="gg u-p-20"> |  | ||||||
|     <PickUpLocationHeader @getSearchLeader="getSearchLeader"/> |  | ||||||
|     <view v-if="leaderAddressVo" class="gg-current-location-container u-m-t-20"> |  | ||||||
|       <PickUpLocationItem :isCurrent="checkIsCurrent(leaderAddressVo.leaderId)" |  | ||||||
|                           :location="leaderAddressVo"></PickUpLocationItem> |  | ||||||
|     </view> |  | ||||||
|  |  | ||||||
|     <scroll-view class="gg-location-sv-container" scroll-y @scrolltolower="loadMore"> |  | ||||||
|       <block v-if="searchResult.content.length > 0"> |  | ||||||
|         <view v-for="(item, index) in searchResult.content" :key="item.id" class="u-m-b-20"> |  | ||||||
|           <PickUpLocationItem :isCurrent="checkIsCurrent(item.id)" :location="item" |  | ||||||
|                               @selectPickUpLocation="selectPickUpLocation"></PickUpLocationItem> |  | ||||||
|         </view> |  | ||||||
|       </block> |  | ||||||
|       <u-empty v-else mode="list"></u-empty> |  | ||||||
|     </scroll-view> |  | ||||||
|  |  | ||||||
|     <u-button type="warning" @click="choosePickUpLocation">搜索并选择其它提货点</u-button> |  | ||||||
|   </view> |  | ||||||
| </template> |  | ||||||
|  |  | ||||||
| <script> |  | ||||||
| import {mapState, mapGetters, mapActions} from 'vuex'; |  | ||||||
|  |  | ||||||
| export default { |  | ||||||
|   data() { |  | ||||||
|     return { |  | ||||||
|       filter: { |  | ||||||
|         page: 1, // 当前页码 |  | ||||||
|         limit: 5, // 每页记录数 |  | ||||||
|         latitude: '', // 经度 |  | ||||||
|         longitude: '' // 纬度 |  | ||||||
|       }, |  | ||||||
|       searchResult: { |  | ||||||
|         content: [], // 搜索的结果 |  | ||||||
|         last: false // 是否已经最后 |  | ||||||
|       } |  | ||||||
|     }; |  | ||||||
|   }, |  | ||||||
|   computed: { |  | ||||||
|     ...mapState('pickUpLocationModule', ['leaderAddressVo']), |  | ||||||
|     ...mapGetters('pickUpLocationModule', ['checkIsCurrent']) |  | ||||||
|   }, |  | ||||||
|   methods: { |  | ||||||
|     ...mapActions('pickUpLocationModule', ['selectLeaderAddressVoAction']), |  | ||||||
|     async getSearchLeader(data) { |  | ||||||
|       if (data) { |  | ||||||
|         Object.assign(this.$data.searchResult, this.$options.data().searchResult); // 这里重置 searchResult 下的所有数据 |  | ||||||
|         Object.assign(this.$data.filter, this.$options.data().filter); // 这里重置 filter 下的所有数据 |  | ||||||
|       } |  | ||||||
|  |  | ||||||
|       this.filter.latitude = data ? data.latitude : this.filter.latitude; |  | ||||||
|       this.filter.longitude = data ? data.longitude : this.filter.longitude; |  | ||||||
|  |  | ||||||
|       const o = { |  | ||||||
|         limit: this.filter.limit, |  | ||||||
|         page: this.filter.page, |  | ||||||
|         longitude: this.filter.longitude, |  | ||||||
|         latitude: this.filter.latitude |  | ||||||
|       }; |  | ||||||
|  |  | ||||||
|       let result = await this.$u.api.getSearchLeader(o); |  | ||||||
|       this.searchResult = {...result, content: [...this.searchResult.content, ...result.content]}; |  | ||||||
|     }, |  | ||||||
|     // 加载更多数据 |  | ||||||
|     loadMore() { |  | ||||||
|       if (!this.searchResult.last) { |  | ||||||
|         this.filter.page = this.filter.page + 1; |  | ||||||
|         this.getSearchLeader(); |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     // 选择提货点 |  | ||||||
|     selectPickUpLocation(leaderId) { |  | ||||||
|       if (leaderId) this.selectLeaderAddressVoAction({leaderId}); |  | ||||||
|     }, |  | ||||||
|     // 选择其它提货点 |  | ||||||
|     choosePickUpLocation() { |  | ||||||
|       this.$u.route('/pagesLocation/choosePickUpLocation/choosePickUpLocation'); |  | ||||||
|     }, |  | ||||||
|   } |  | ||||||
| }; |  | ||||||
| </script> |  | ||||||
|  |  | ||||||
| <style lang="scss" scoped> |  | ||||||
| .gg { |  | ||||||
|   display: flex; |  | ||||||
|   flex-direction: column; |  | ||||||
|   justify-content: space-between; |  | ||||||
|   height: 100%; |  | ||||||
|  |  | ||||||
|   &-current-location-container { |  | ||||||
|     flex: 1; |  | ||||||
|   } |  | ||||||
|  |  | ||||||
|   &-location-sv-container { |  | ||||||
|     height: calc(100vh - 450rpx); |  | ||||||
|   } |  | ||||||
| } |  | ||||||
| </style> |  | ||||||
							
								
								
									
										26191
									
								
								atguigu-tuan/unpackage/dist/dev/mp-weixin/common/vendor.js
									
									
									
									
										vendored
									
									
								
							
							
						
						| @@ -1 +0,0 @@ | |||||||
| <view class="wrap data-v-b237504c"><view class="content data-v-b237504c"><view class="title data-v-b237504c">欢迎登陆硅谷团购平台</view></view><view class="buttom data-v-b237504c"><view class="loginType data-v-b237504c"><button class="loginBtn data-v-b237504c" disabled="{{isLogin}}" data-event-opts="{{[['tap',[['getUserMsg',['$event']]]]]}}" bindtap="__e"><view class="wechat item data-v-b237504c"><view class="icon data-v-b237504c"><u-icon vue-id="35a7246c-1" color="rgb(83,194,64)" name="weixin-fill" size="200" class="data-v-b237504c" bind:__l="__l"></u-icon></view>微信登陆</view></button></view><view class="hint data-v-b237504c">登录代表同意<text class="link data-v-b237504c">硅谷平台用户协议、隐私政策,</text>并授权使用您的硅谷团购平台账号信息(如昵称、头像、收获地址)以便您统一管理</view></view></view> |  | ||||||
| @@ -1,68 +0,0 @@ | |||||||
| package com.atguigu.ssyx.mq.constant; |  | ||||||
|  |  | ||||||
| /** |  | ||||||
|  * ClassName: MqConst |  | ||||||
|  * Package: com.atguigu.ssyx.mq.constant |  | ||||||
|  * |  | ||||||
|  * @author yovinchen |  | ||||||
|  * @Create 2023/9/16 23:34 |  | ||||||
|  */ |  | ||||||
| public class MqConst { |  | ||||||
|     /** |  | ||||||
|      * 消息补偿 |  | ||||||
|      */ |  | ||||||
|     public static final String MQ_KEY_PREFIX = "ssyx.mq:list"; |  | ||||||
|     public static final int RETRY_COUNT = 3; |  | ||||||
|  |  | ||||||
|     /** |  | ||||||
|      * 商品上下架 |  | ||||||
|      */ |  | ||||||
|     public static final String EXCHANGE_GOODS_DIRECT = "ssyx.goods.direct"; |  | ||||||
|     public static final String ROUTING_GOODS_UPPER = "ssyx.goods.upper"; |  | ||||||
|     public static final String ROUTING_GOODS_LOWER = "ssyx.goods.lower"; |  | ||||||
|     //队列 |  | ||||||
|     public static final String QUEUE_GOODS_UPPER = "ssyx.goods.upper"; |  | ||||||
|     public static final String QUEUE_GOODS_LOWER = "ssyx.goods.lower"; |  | ||||||
|  |  | ||||||
|     /** |  | ||||||
|      * 团长上下线 |  | ||||||
|      */ |  | ||||||
|     public static final String EXCHANGE_LEADER_DIRECT = "ssyx.leader.direct"; |  | ||||||
|     public static final String ROUTING_LEADER_UPPER = "ssyx.leader.upper"; |  | ||||||
|     public static final String ROUTING_LEADER_LOWER = "ssyx.leader.lower"; |  | ||||||
|     //队列 |  | ||||||
|     public static final String QUEUE_LEADER_UPPER = "ssyx.leader.upper"; |  | ||||||
|     public static final String QUEUE_LEADER_LOWER = "ssyx.leader.lower"; |  | ||||||
|  |  | ||||||
|     //订单 |  | ||||||
|     public static final String EXCHANGE_ORDER_DIRECT = "ssyx.order.direct"; |  | ||||||
|     public static final String ROUTING_ROLLBACK_STOCK = "ssyx.rollback.stock"; |  | ||||||
|     public static final String ROUTING_MINUS_STOCK = "ssyx.minus.stock"; |  | ||||||
|  |  | ||||||
|     public static final String ROUTING_DELETE_CART = "ssyx.delete.cart"; |  | ||||||
|     //解锁普通商品库存 |  | ||||||
|     public static final String QUEUE_ROLLBACK_STOCK = "ssyx.rollback.stock"; |  | ||||||
|     public static final String QUEUE_SECKILL_ROLLBACK_STOCK = "ssyx.seckill.rollback.stock"; |  | ||||||
|     public static final String QUEUE_MINUS_STOCK = "ssyx.minus.stock"; |  | ||||||
|     public static final String QUEUE_DELETE_CART = "ssyx.delete.cart"; |  | ||||||
|  |  | ||||||
|     //支付 |  | ||||||
|     public static final String EXCHANGE_PAY_DIRECT = "ssyx.pay.direct"; |  | ||||||
|     public static final String ROUTING_PAY_SUCCESS = "ssyx.pay.success"; |  | ||||||
|     public static final String QUEUE_ORDER_PAY = "ssyx.order.pay"; |  | ||||||
|     public static final String QUEUE_LEADER_BILL = "ssyx.leader.bill"; |  | ||||||
|  |  | ||||||
|     //取消订单 |  | ||||||
|     public static final String EXCHANGE_CANCEL_ORDER_DIRECT = "ssyx.cancel.order.direct"; |  | ||||||
|     public static final String ROUTING_CANCEL_ORDER = "ssyx.cancel.order"; |  | ||||||
|     //延迟取消订单队列 |  | ||||||
|     public static final String QUEUE_CANCEL_ORDER = "ssyx.cancel.order"; |  | ||||||
|  |  | ||||||
|     /** |  | ||||||
|      * 定时任务 |  | ||||||
|      */ |  | ||||||
|     public static final String EXCHANGE_DIRECT_TASK = "ssyx.exchange.direct.task"; |  | ||||||
|     public static final String ROUTING_TASK_23 = "ssyx.task.23"; |  | ||||||
|     //队列 |  | ||||||
|     public static final String QUEUE_TASK_23 = "ssyx.queue.task.23"; |  | ||||||
| } |  | ||||||
| @@ -1,5 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| <mapper namespace="com.atguigu.ssyx.order.mapper.CartInfoMapper"> |  | ||||||
|  |  | ||||||
| </mapper> |  | ||||||
| @@ -1,5 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| <mapper namespace="com.atguigu.ssyx.order.mapper.OrderInfoMapper"> |  | ||||||
|  |  | ||||||
| </mapper> |  | ||||||
| @@ -1,5 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| <mapper namespace="com.atguigu.ssyx.order.mapper.OrderItemMapper"> |  | ||||||
|  |  | ||||||
| </mapper> |  | ||||||
| @@ -1,5 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| <mapper namespace="com.atguigu.ssyx.order.mapper.OrderLogMapper"> |  | ||||||
|  |  | ||||||
| </mapper> |  | ||||||
| @@ -1,5 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| <mapper namespace="com.atguigu.ssyx.product.mapper.AttrMapper"> |  | ||||||
|  |  | ||||||
| </mapper> |  | ||||||
| @@ -1,5 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| <mapper namespace="com.atguigu.ssyx.product.mapper.CommentMapper"> |  | ||||||
|  |  | ||||||
| </mapper> |  | ||||||
| @@ -1,5 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> |  | ||||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |  | ||||||
| <mapper namespace="com.atguigu.ssyx.product.mapper.WareMapper"> |  | ||||||
|  |  | ||||||
| </mapper> |  | ||||||
| Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB | 
| Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB | 
| Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB | 
| Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB | 
| Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 506 B | 
| Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB | 
| Before Width: | Height: | Size: 953 B After Width: | Height: | Size: 953 B | 
| Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B | 
| Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 830 B | 
| Before Width: | Height: | Size: 632 B After Width: | Height: | Size: 632 B | 
| Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 613 B | 
| Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB | 
| Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |