diff --git a/common/js/config.js b/common/js/config.js index cdaaad3..8c40c53 100644 --- a/common/js/config.js +++ b/common/js/config.js @@ -16,7 +16,7 @@ export default { //https://demo-guojiang-ec-api.guojiang.club/ baseUrl: process.env.NODE_ENV === 'development' ? - 'http://192.168.2.221/' : 'https://v3-ec-admin-dev.guojiang.club/', // 运行时自动替换变量 + 'http://192.168.3.29/' : 'https://v3-ec-admin-dev.guojiang.club/', // 运行时自动替换变量 }, PACKAGES: { activity: false, diff --git a/pages.json b/pages.json index df7556b..698c9b1 100644 --- a/pages.json +++ b/pages.json @@ -783,6 +783,13 @@ "navigationBarTitleText": "我的报名", "navigationStyle": "custom" } + }, + { + "path" : "pages/index/eventRegistration/eventRegistration", + "style" : { + "navigationBarTitleText": "热门活动", + "navigationStyle": "custom" + } } ], "globalStyle": { diff --git a/pages/index/category/category.vue b/pages/index/category/category.vue index c6ea0e2..690d255 100644 --- a/pages/index/category/category.vue +++ b/pages/index/category/category.vue @@ -101,10 +101,11 @@ }, computed: { autoHeight(){ - return `calc(${this.scrollH}px - 50px - ${this.nav_height}px - 90rpx)`; + return `calc(${this.scrollH}px - ${this.nav_height}px - 90rpx - 120rpx)`; }, otherHeight(){ - return `calc(${this.scrollH}px - 50px - ${this.nav_height}px - 90rpx - 105rpx)`; + // 屏幕可用总高度 - 导航条高度 - tabs高度 - tabbar高度 - 筛选高度 + return `calc(${this.scrollH}px - ${this.nav_height}px - 90rpx - 120rpx - 105rpx)`; } }, components: { diff --git a/pages/index/eventRegistration/eventRegistration.vue b/pages/index/eventRegistration/eventRegistration.vue new file mode 100644 index 0000000..fc84776 --- /dev/null +++ b/pages/index/eventRegistration/eventRegistration.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/pages/user/my/center.vue b/pages/user/my/center.vue index 8c79353..564ab3b 100644 --- a/pages/user/my/center.vue +++ b/pages/user/my/center.vue @@ -141,6 +141,7 @@ background: #FFFFFF; box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1); border-radius: 20rpx; + margin-bottom: 30rpx; } .card-tag { width: 144rpx; diff --git a/pages/user/my/myEventRegistrationList.vue b/pages/user/my/myEventRegistrationList.vue index 1afb8d2..1352715 100644 --- a/pages/user/my/myEventRegistrationList.vue +++ b/pages/user/my/myEventRegistrationList.vue @@ -1,6 +1,6 @@