diff --git a/components/active/active-item.vue b/components/active/active-item.vue new file mode 100644 index 0000000..6d78922 --- /dev/null +++ b/components/active/active-item.vue @@ -0,0 +1,179 @@ + + + + + \ No newline at end of file diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index e01cdf5..bdc750d 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -11,7 +11,7 @@ + item.iconPath" class="icon-image" mode="widthFix"> {{ item.title }} @@ -103,11 +103,9 @@ justify-content: center; align-items: center; .icon{ - width: 54rpx; - height: 54rpx; + width: 49rpx; .icon-image{ - width: 54rpx; - height: 54rpx; + width: 49rpx; } } .title{ diff --git a/components/zhaomu/zhaomu-item.vue b/components/zhaomu/zhaomu-item.vue new file mode 100644 index 0000000..34bc611 --- /dev/null +++ b/components/zhaomu/zhaomu-item.vue @@ -0,0 +1,218 @@ + + + + + \ No newline at end of file diff --git a/components/zhaomu/zlx-item.vue b/components/zhaomu/zlx-item.vue new file mode 100644 index 0000000..a260b72 --- /dev/null +++ b/components/zhaomu/zlx-item.vue @@ -0,0 +1,187 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 88d532a..c3d87b0 100644 --- a/pages.json +++ b/pages.json @@ -66,6 +66,40 @@ } } ] + }, + { + "root": "pages_zlx", + "pages": [ + { + "path": "zlx-form", + "style": { + "enablePullDownRefresh": true, + "navigationStyle": "custom" , + "navigationBarTextStyle": "white" + } + } + ] + }, + { + "root": "pages_my", + "pages": [ + { + "path": "zlx-qiandao", + "style": { + "enablePullDownRefresh": true, + "navigationStyle": "custom" , + "navigationBarTextStyle": "white" + } + }, + { + "path": "qiandao-list", + "style": { + "enablePullDownRefresh": true, + "navigationStyle": "custom" , + "navigationBarTextStyle": "white" + } + } + ] }], "globalStyle": { "navigationBarTextStyle": "black", @@ -74,5 +108,33 @@ "backgroundColor": "#F8F8F8", "navigationStyle": "custom" }, + "tabBar": { + "borderStyle": "white", + "color": "#4D4D4D", + "selectedColor": "#F85152", + "backgroundColor": "#1B1713", + "custom":true, + "list": [{ + "pagePath": "pages/index/index", + "iconPath": "static/image/tabbar/home.png", + "selectedIconPath": "static/image/tabbar/home-a.png", + "text": "首页" + }, { + "pagePath": "pages/index/member", + "iconPath": "static/image/tabbar/zhaomu.png", + "selectedIconPath": "static/image/tabbar/zhaomu-a.png", + "text": "招募" + }, { + "pagePath": "pages/index/cart", + "iconPath": "static/image/tabbar/order.png", + "selectedIconPath": "static/image/tabbar/order-a.png", + "text": "订单" + }, { + "pagePath": "pages/index/center", + "iconPath": "static/image/tabbar/center.png", + "selectedIconPath": "static/image/tabbar/center-a.png", + "text": "我的" + }] + }, "uniIdRouter": {} } \ No newline at end of file diff --git a/pages/index/cart.vue b/pages/index/cart.vue index 1a8980d..040b0bb 100644 --- a/pages/index/cart.vue +++ b/pages/index/cart.vue @@ -3,23 +3,15 @@ - + }" itemStyle="padding-left: 15px; padding-right: 15px; height: 44px;"> @@ -31,80 +23,89 @@ import cardList from '@/components/cart/cardList.vue' export default { - components:{ + components: { tabber, - cardList + cardList }, data() { return { - tabList: [ - { id: 0, name: '全部' }, - { id: 1, name: '待参加' }, - { id: 2, name: '已完成' }, - { id: 3, name: '已取消' }, + tabList: [{ + id: 0, + name: '全部' + }, + { + id: 1, + name: '待参加' + }, + { + id: 2, + name: '已完成' + }, + { + id: 3, + name: '已取消' + }, ], lineBg: require('@/static/image/cart/tabIcon.png'), - cardListData: [ - { - imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg', - orderTime: '2024.08.23 12:00', - state: 'U', - stateText: '待参加', - title: '夏日去撒野旅游计划~', - time: '2024.10.28 10:00', - address: '成都市东丽湖露营地32号', - totalPrice: '298.00', - btnObj: [ - { + cardListData: [ + { + imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg', + orderTime: '2024.08.23 12:00', + state: 'U', + stateText: '待参加', + title: '夏日去撒野旅游计划~', + time: '2024.10.28 10:00', + address: '成都市东丽湖露营地32号', + totalPrice: '298.00', + btnObj: [{ id: '0', - btnTitle: '取消活动', - color: '#AFAFAF', - bgColor: '#34312E' - }, - { + btnTitle: '取消活动', + color: '#AFAFAF', + bgColor: '#34312E' + }, + { id: '1', - btnTitle: '活动签到', - color: '#FF4546', - bgColor: '#492623' - } - ] - }, - { - imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg', - orderTime: '2024.08.23 12:00', - state: 'S', - stateText: '已完成', - title: '夏日去撒野旅游计划~', - time: '2024.10.28 10:00', - address: '成都市东丽湖露营地32号', - totalPrice: '298.00', - btnObj: [ - { + btnTitle: '活动签到', + color: '#FF4546', + bgColor: '#492623' + } + ] + }, + { + imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg', + orderTime: '2024.08.23 12:00', + state: 'S', + stateText: '已完成', + title: '夏日去撒野旅游计划~', + time: '2024.10.28 10:00', + address: '成都市东丽湖露营地32号', + totalPrice: '298.00', + btnObj: [{ id: '2', - btnTitle: '活动评价', - color: '#FF4546', - bgColor: '#492623' - }, - { + btnTitle: '活动评价', + color: '#FF4546', + bgColor: '#492623' + }, + { id: '3', - btnTitle: '开具发票', - color: '#FFB245', - bgColor: '#49361D' - } - ] - }, - { - imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg', - orderTime: '2024.08.23 12:00', - state: 'F', - stateText: '已完成', - title: '夏日去撒野旅游计划~', - time: '2024.10.28 10:00', - address: '成都市东丽湖露营地32号', - totalPrice: '298.00', - btnObj: [] - } - ] + btnTitle: '开具发票', + color: '#FFB245', + bgColor: '#49361D' + } + ] + }, + { + imgUrl: 'https://up.zhuoku.org/22/a4/60/50/fc3bd0b4e656911fccdde4383637c1cd.jpg', + orderTime: '2024.08.23 12:00', + state: 'F', + stateText: '已完成', + title: '夏日去撒野旅游计划~', + time: '2024.10.28 10:00', + address: '成都市东丽湖露营地32号', + totalPrice: '298.00', + btnObj: [] + } + ] } }, methods: { @@ -129,9 +130,11 @@ height: 534rpx; position: absolute; } + /deep/.uv-navbar__content__title { color: #fff; } + .content { position: absolute; width: 100%; diff --git a/pages/index/center.vue b/pages/index/center.vue index 1ab9d84..b7e3c3b 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -1,152 +1,66 @@