Bladeren bron

提交代码

yanj 3 dagen geleden
bovenliggende
commit
5a645928c8
3 gewijzigde bestanden met toevoegingen van 26 en 5 verwijderingen
  1. 13 2
      pages.json
  2. 11 2
      pages/index/search.vue
  3. 2 1
      uni.scss

+ 13 - 2
pages.json

@@ -28,7 +28,8 @@
 		// 组件页面
 		{ "path": "pages/index/search",  "style": { "navigationBarTitleText": "搜索" }},
 		// WEBVIEW
-		{ "path": "pages/index/webview", "style": { "navigationStyle": "default", "navigationBarTitleText": "加载中...", "navigationBarBackgroundColor": "#332968" }}
+		{ "path": "pages/index/webview", "style": { "navigationStyle": "default", "navigationBarTitleText": "加载中...", "navigationBarBackgroundColor": "#332968" }},
+		{ "path" : "pages/disclaimer/index", "style" : { "navigationBarTitleText" : "免责声明" }}
 	],
 	"globalStyle": {
 		"navigationStyle": "custom",
@@ -43,5 +44,15 @@
 			"van-dialog": "/wxcomponents/vant/dialog/index"
 		}
 	},
-	"uniIdRouter": {}
+	"uniIdRouter": {},
+	"condition" : { //模式配置,仅开发期间生效
+		"current": 0, //当前激活的模式(list 的索引项)
+		"list": [
+			{
+				"name": "", //模式名称
+				"path": "", //启动页面,必选
+				"query": "" //启动参数,在页面的onLoad函数里面得到
+			}
+		]
+	}
 }

+ 11 - 2
pages/index/search.vue

@@ -13,6 +13,13 @@
 					<view v-if="tabActive === 1" class="search-result-list exhibit-list">
 						<template v-for="(item, index) in exhibitorList">
 							<exhibitor-item :item="item" :key="index" />
+							<exhibitor-item :item="item" :key="index" />
+							<exhibitor-item :item="item" :key="index" />
+							<exhibitor-item :item="item" :key="index" />
+							<exhibitor-item :item="item" :key="index" />
+							<exhibitor-item :item="item" :key="index" />
+							<exhibitor-item :item="item" :key="index" />
+							<exhibitor-item :item="item" :key="index" />
 						</template>
 					</view>
 					<view v-else-if="tabActive === 2" class="search-result-list exhibit-list">
@@ -36,6 +43,7 @@
 						</template>
 					</view>
 				</template>
+				<disclaimer></disclaimer>
 			</view>
 		</u-scroll-view>
 	</view>
@@ -50,7 +58,7 @@
 	import ExhibitorItem from '@/pages/exhibitor/components/exhibitor-item.vue'
 	import NewsItem from '@/pages/news/components/news-item.vue'
 	import ActivityItem from '@/pages/activity/components/activity-item.vue'
-
+	import disclaimer from '@/components/disclaimer-text/index.vue'
 	export default {
 		options: {
 			styleIsolation: 'shared'
@@ -63,7 +71,8 @@
 			ExhibitItem,
 			ExhibitorItem,
 			NewsItem,
-			ActivityItem
+			ActivityItem,
+			disclaimer
 		},
 		data() {
 			return {

+ 2 - 1
uni.scss

@@ -6,7 +6,8 @@ $textActionColor: #E57519;
 $border: 2rpx solid #aaaaaa;
 $borderLight: 2rpx solid #dddddd;
 $bgLightColor: #F5F5F5;
-
+$fontColor: #555555;
+$fontTitleColor: #000000;
 $fontSize0: 16rpx;
 $fontSize1: 18rpx;
 $fontSize2: 20rpx;