李志伟 3 jaren geleden
bovenliggende
commit
be4e62e24f

+ 5
- 0
src/pages/MineUserAll/MyTravel/index.config.js Bestand weergeven

@@ -0,0 +1,5 @@
1
+export default {
2
+  navigationBarTitleText: '我的行程',
3
+  navigationStyle: 'custom',
4
+  disableScroll: true,
5
+}

+ 5
- 0
src/pages/MineUserAll/MyTravel/index.jsx Bestand weergeven

@@ -0,0 +1,5 @@
1
+export default (props) => {
2
+return (
3
+  <view>我的行程</view>
4
+)
5
+}

+ 0
- 0
src/pages/MineUserAll/MyTravel/style.less Bestand weergeven


+ 14
- 0
src/pages/index/tabs/Mine.jsx Bestand weergeven

@@ -87,6 +87,10 @@ export default (props) => {
87 87
   const handleContactMe = () => {
88 88
     Taro.navigateTo({ url: '/pages/MineUserAll/ContactMe/index' })
89 89
   }
90
+  //我的行程
91
+  const handleTravel = () => {
92
+    Taro.navigateTo({ url: '/pages/MineUserAll/MyTravel/index' })
93
+  }
90 94
 
91 95
   //条款
92 96
   const handleRules = () => {
@@ -139,6 +143,11 @@ export default (props) => {
139 143
               <text className='Badge-list-titme'> 入住指引</text>
140 144
               <text className='Badge-list-gt'>&gt;</text>
141 145
             </view>
146
+            <view className='Badge-list' onClick={handleTravel}>
147
+              <image className='Badge-list-logo' src={HomeLogo} />
148
+              <text className='Badge-list-titme'> 我的行程</text>
149
+              <text className='Badge-list-gt'>&gt;</text>
150
+            </view>
142 151
             <view className='Badge-list' onClick={handleCollect}>
143 152
               <image className='Badge-list-logo' src={collect} />
144 153
               <text className='Badge-list-titme'> 我的收藏</text>
@@ -149,6 +158,11 @@ export default (props) => {
149 158
               <text className='Badge-list-titme'> 联系我们</text>
150 159
               <text className='Badge-list-gt'>&gt;</text>
151 160
             </view>
161
+            <view className='Badge-list' onClick={handleContactMe}>
162
+              <image className='Badge-list-logo' src={ContactMe} />
163
+              <text className='Badge-list-titme'> 联系我们</text>
164
+              <text className='Badge-list-gt'>&gt;</text>
165
+            </view>
152 166
             <view className='Badge-list' onClick={handleRules}>
153 167
               <image className='Badge-list-logo' src={Rules} />
154 168
               <text className='Badge-list-titme'> 协议声明</text>

+ 4
- 0
src/routes.js Bestand weergeven

@@ -50,6 +50,10 @@ const mainPages = [
50 50
     title: '我的订单',
51 51
     page: 'pages/MineUserAll/AllOrder/index',
52 52
   },
53
+  {
54
+    title: '我的行程',
55
+    page: 'pages/MineUserAll/MyTravel/index',
56
+  },
53 57
   {
54 58
     title: '套餐核销',
55 59
     page: 'pages/TobeShop/index',