hwq 2 gadi atpakaļ
vecāks
revīzija
9d4e14a418
3 mainītis faili ar 16 papildinājumiem un 6 dzēšanām
  1. 6 0
      pages.json
  2. 3 3
      pages/transaction/transaction.vue
  3. 7 3
      pages/user/user.vue

+ 6 - 0
pages.json

@@ -69,6 +69,12 @@
 				"selectedIconPath": "static/tabBar/tab-home-current.png",
 				"text": "首页"
 			},
+			{
+				"pagePath": "pages/transaction/transaction",
+				"iconPath": "static/tabBar/tab-home.png",
+				"selectedIconPath": "static/tabBar/tab-home-current.png",
+				"text": "交易"
+			},
 			{
 				"pagePath": "pages/user/user",
 				"iconPath": "static/tabBar/tab-my.png",

+ 3 - 3
pages/transaction/transaction.vue

@@ -5,9 +5,9 @@
 		</scroll-view>
 		<view class="list">
 			<view class="list-title flex">
-				<view class="title-left">交易</view>
-				<view class="title-center">最新格</view>
-				<view class="title-right">24h跌</view>
+				<view class="title-left">交易</view>
+				<view class="title-center">最新格</view>
+				<view class="title-right">24h跌</view>
 			</view>
 			<scroll-view class="swiper-box" scroll-y="true" :style="{ height: maxheight }">
 				<view class="list-main flex" v-for="(item, index) in list">

+ 7 - 3
pages/user/user.vue

@@ -9,10 +9,14 @@ export default {
 	},
 	onLoad() {},
 	onShow() {},
-	onReachBottom() {},
-	onReady() {},
 	methods: {}
 };
 </script>
 
-<style lang="scss"></style>
+<style lang="scss">
+page,
+.content {
+	height: auto;
+	min-height: 100%;
+}
+</style>