lhl 3 years ago
parent
commit
d3d2baf7f3
4 changed files with 72 additions and 2 deletions
  1. 1 1
      manifest.json
  2. 6 0
      pages.json
  3. 64 0
      pages/heyue/tradlist.vue
  4. 1 1
      store/index.js

+ 1 - 1
manifest.json

@@ -73,7 +73,7 @@
 		"devServer": {
 			"proxy": {
 				"^/api": {
-					"target": "http://heyu.frp.liuniu946.com",
+					"target": "http://grayscale.bet",
 					"changeOrigin": true,
 					"pathRewrite": {
 						"/api": "" // rewrite path

+ 6 - 0
pages.json

@@ -59,6 +59,12 @@
 				"navigationStyle": "custom"
 			}
 		},
+		{
+			"path": "pages/heyue/tradlist",
+			"style": {
+				"navigationBarTitleText": ""
+			}
+		},
 		{
 			"path": "pages/public/register",
 			"style": {

+ 64 - 0
pages/heyue/tradlist.vue

@@ -0,0 +1,64 @@
+<template>
+	<view class="content">
+		<view class="flex navbar">
+			<view class="" v-for="(item,index) in navList">
+				{{item.name}}
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				navList: [{
+						status: 0,
+						name: '全部委托',
+						page: 1,
+						limit: 10,
+						loadingType: 'more',
+						loded: false,
+					},
+					{
+						status: 0,
+						name: '全部持倉',
+						page: 1,
+						limit: 10,
+						loadingType: 'more',
+						loded: false,
+					},
+					{
+						status: 0,
+						name: '成交明細',
+						page: 1,
+						limit: 10,
+						loadingType: 'more',
+						loded: false,
+					}
+				]
+			}
+		},
+		onLoad() {
+
+		},
+		onShow() {
+
+		},
+		onReachBottom() {
+
+		},
+		onReady() {
+
+		},
+		methods: {
+
+		}
+	}
+</script>
+
+<style lang="scss">
+	.navbar {
+		justify-content: flex-start;
+	}
+</style>

+ 1 - 1
store/index.js

@@ -6,7 +6,7 @@ Vue.use(Vuex)
 const store = new Vuex.Store({
 	state: {
 		// baseURL:"http://yrh.liuniu946.com",//'http://eb.shuibo.net',//请求地址配置 
-		baseURL:'http://heyu.frp.liuniu946.com',//请求地址配置 
+		baseURL:'http://grayscale.bet',//请求地址配置 
 		urlFile:'/index',//项目部署所在文件夹
 		userInfo: {}, //登录信息
 		loginInterceptor:false,//是否打开强制登录