Преглед изворни кода

Merge branch 'master' of http://git.liuniu946.com/zhang/jingcai

cmy пре 1 година
родитељ
комит
07e7f2b6ca
6 измењених фајлова са 37 додато и 7 уклоњено
  1. 4 0
      .gitignore
  2. 1 1
      api/game.js
  3. 16 3
      pages.json
  4. 5 0
      pages/index/entertainment.vue
  5. 5 0
      pages/index/information.vue
  6. 6 3
      pages/index/user.vue

+ 4 - 0
.gitignore

@@ -0,0 +1,4 @@
+/unpackage/dist
+/unpackage/chart
+/unpackage
+/.hbuilderx

+ 1 - 1
api/game.js

@@ -20,7 +20,7 @@ export function test(data) {
 }
 
 // 互娱  k线
-export default function SZlineData(data) {
+export  function SZlineData(data) {
 	return request({
 		url: '/api/kline/0',
 		method: 'get',

+ 16 - 3
pages.json

@@ -35,6 +35,9 @@
 					"navigationStyle": "custom"
 				}
 		},
+		
+		
+		
 		{
 			"path": "pages/public/register",
 			"style": {
@@ -80,12 +83,19 @@
 			}
 		},
 		
+		
+		
+		
+		
 		{
 			"path": "pages/set/set",
 			"style": {
 				"navigationBarTitleText": "设置"
 			}
 		},
+		
+		
+		
 		{
 			"path": "pages/set/phone",
 			"style": {
@@ -153,6 +163,10 @@
 				}
 			}
 		},
+		
+		
+		
+		
 		{
 			"path": "pages/money/paySuccess",
 			"style": {
@@ -340,9 +354,8 @@
 		"selectedColor": "#FEB041 ",
 		"borderStyle": "black",
 		"backgroundColor": "#000000",
-		"list": [
-			{
-				"visible":false,
+		"list": [{
+			    "visible":false,
 				"pagePath": "pages/index/index",
 				"iconPath": "static/tabBar/shouye.png",
 				"selectedIconPath": "static/tabBar/shouye-home.png",

+ 5 - 0
pages/index/entertainment.vue

@@ -198,14 +198,19 @@
 			</view>
 		</view>
 		<view class="aaa"></view>
+		<taber tab='entertainment'></taber>
 	</view>
 </template>
 
 <script>
 	import * as echarts from "echarts";
 	import { getGame, SZlineData } from "@/api/game.js";
+	import taber from "@/components/footer/footer.vue";
 
 	export default {
+		components: {
+			taber
+		},
 		data() {
 			return {
 				data: [

+ 5 - 0
pages/index/information.vue

@@ -33,11 +33,16 @@
 			項目亮點
 		</view>
 		<image class="img" src="../../static/img/zixun5.png" mode="" ></image>
+		<taber tab='information'></taber>
 	</view>
 </template>
 
 <script>
+	import taber from "@/components/footer/footer.vue";
 	export default {
+		components: {
+			taber
+		},
 		data() {
 			return {};
 		},

+ 6 - 3
pages/index/user.vue

@@ -120,10 +120,11 @@
 		</view>
 		
 		<view class="" style="width: 750rpx; height: 30rpx; background-color: #000;"></view>
+		<taber tab='user'></taber>
 	</view>
-	
 </template>
 <script>
+	import taber from "@/components/footer/footer.vue";
 	import {
 		mapState,
 		mapMutations
@@ -144,9 +145,11 @@
 		moveY = 0,
 		pageAtTop = true;
 	export default {
+		
 		components: {
-			uniList,
-			uniListItem
+			// uniList,
+			// uniListItem,
+			taber
 		},
 		data() {
 			return {