yanj 4 kuukautta sitten
vanhempi
commit
f700943fff

+ 6 - 2
components/common/u-content/index.vue

@@ -28,8 +28,12 @@ export default {
 
 <style lang="scss">
 .rich-text-style {
-  font-size: $fontSize2;
-  line-height: 40rpx;
+  font-size: $fontSize3;
+  line-height: 1.5;
+  * {
+    font-size: $fontSize3 !important;
+    line-height: 1.5 !important;
+  }
     img {
       max-width: 100%;
       width: 100%;

+ 0 - 2
components/common/u-dropdown-select/index.vue

@@ -211,10 +211,8 @@
 					if (data) {
 						this.offsetTop = data.top + data.height
 						// data.top 就是元素的offsetTop
-						console.log('offsetTop:', data.top);
 					}
 				}).exec()
-				console.log(this.showOptions)
 				if (this.showOptions) {
 					this.$emit('dropdown')
 				}

+ 5 - 1
components/common/u-pagination/index.vue

@@ -103,6 +103,10 @@
 				} else {
 					this.currentPage = goPage
 					this.$emit('page-change', this.currentPage)
+          uni.pageScrollTo({
+            scrollTop: 0, // 滚动到顶部
+            duration: 300 // 滚动时间,单位为毫秒
+          });
 				}
 			}
 		}
@@ -166,4 +170,4 @@
 			}
 		}
 	}
-</style>
+</style>

+ 0 - 2
components/common/u-scroll-view/index.vue

@@ -55,8 +55,6 @@
 					.in(this)
 					.select('.u-scroll-view')
 					.boundingClientRect(rect => {
-						console.log(rect)
-						console.log('scroll-view 高度:', rect.height)
 					})
 					.exec()
 			},

+ 0 - 1
components/common/u-select/index.vue

@@ -138,7 +138,6 @@ import vanCollapseItem from '@/wxcomponents/vant/collapse-item/index'
 		},
 		methods: {
       onChange(event) {
-        console.log(event)
         this.activeName = event
       },
 			initChildHeight() {

+ 4 - 2
components/common/u-swiper/index.vue

@@ -79,7 +79,7 @@
 			},
 			imageMode: {
 				type: String,
-				default: 'aspectFit' // 参考https://zh.uniapp.dcloud.io/component/image.html
+				default: 'aspectFill' // 参考https://zh.uniapp.dcloud.io/component/image.html
 			},
 			indicatoDotsStyle: {
 				type: String,
@@ -168,7 +168,6 @@
 			},
 			getLogoPage() {
 				this.logoPage = Math.floor(this.data.length / 6 - 0.000000000001)
-        console.log(this.data,this.logoPage)
 				for (let i = 0; i <= this.logoPage; i++) {
 					let starPage = i * 6
 					let lastPage = (starPage + 5) < this.data.length - 1 ? (starPage + 5) : this.data.length - 1
@@ -177,7 +176,10 @@
 						this.logoList[i].push(this.data[k])
 					}
 				}
+        console.log('-------------------')
+        console.log(this.data)
         console.log(this.logoList,this.useComponentName)
+        console.log('-------------------')
 			}
 		}
 	}

+ 1 - 1
components/layout/float-button.vue

@@ -62,7 +62,7 @@ export default {
 
   .floating-button-label {
     margin-top: 4rpx;
-    font-size: $fontSize0;
+    font-size: 17rpx;
     color: #94A3B8;
     white-space: nowrap;
   }

+ 2 - 0
components/layout/nav-bar.vue

@@ -124,12 +124,14 @@
 </script>
 
 <style lang="scss">
+
 	.nav-bar {
 		background: linear-gradient( 270deg, #2b2359 9%, #405491 44%, #2b2359 92%), rgba(0,0,0,0.2);
     width: 100%;
     position: fixed;
     left: 0;
     z-index: 10;
+    height: 180rpx;
     top: 0;
 		&.nav-bar-transparent{
 			background: none;

+ 4 - 2
components/layout/page-layout.vue

@@ -16,7 +16,6 @@ export default {
   },
   mounted() {
     this.getSystemInfo(this,(type)=>{
-      console.log(type,'typetypetype')
       this.type = type
     })
   },
@@ -27,7 +26,10 @@ export default {
 .page-module {
   height: 100%;
   &.mobile {
-    padding-top: 188rpx;
+    padding-top: 180rpx;
+  }
+  &.home-container.pc {
+    padding-top: 100rpx;
   }
 }
 </style>

+ 0 - 4
main.js

@@ -17,8 +17,6 @@ Vue.prototype.onInitNavbar = function(e) {
 	this.$config.pageHeight = e.detail.pageHeight
 }
 Vue.prototype.checkAuth = function(pagePath) {
-	console.log(pagePath)
-	console.log(store.getters.user)
 	if (!store.getters.user) {
 		this.redirectTo('/pages/user/login?redirect=' + encodeURIComponent(pagePath))
 		return false
@@ -27,7 +25,6 @@ Vue.prototype.checkAuth = function(pagePath) {
 	}
 }
 Vue.prototype.redirectTo = function(pagePath) {
-	console.log(pagePath)
 	if (pagePath.indexOf('https') === -1) {
 		uni.redirectTo({
 			url: pagePath
@@ -39,7 +36,6 @@ Vue.prototype.redirectTo = function(pagePath) {
 	}
 }
 Vue.prototype.navigateTo = function(pagePath) {
-	console.log(pagePath)
 	if (pagePath.indexOf('http') === 0) {
 		this.webviewTo(pagePath)
 	} else {

+ 1 - 1
pages/activity/detail.vue

@@ -201,7 +201,7 @@ export default {
   .activity-head {
     position: relative;
     font-weight: normal;
-    font-size: $fontSize6;
+    font-size: $fontSize7;
     color: #333333;
 
     .activity-title {

+ 0 - 2
pages/activity/guest.vue

@@ -161,9 +161,7 @@ export default {
       })
     },
     onSubjectCollapseChange(activeNames, index) {
-      console.log(activeNames)
       this.meetingInfo['speech_schedule'][index].active = activeNames
-      console.log(this.meetingInfo['speech_schedule'][index])
       this.$forceUpdate()
 
     },

+ 0 - 1
pages/disclaimer/index.vue

@@ -59,7 +59,6 @@ export default {
     getClauseData() {
       getClauseInfo({key: "disclaimer"}).then(res => {
         this.clauseInfo = res.data
-        console.log(this.clauseInfo);
       })
     }
   }

+ 5 - 6
pages/exhibitor/components/exhibit-recommend.vue

@@ -19,7 +19,7 @@
 
 <script>
 	import { exhibitorsProductList } from '@/api/exhibitor'
-	
+
 	export default {
 		options: {
 			styleIsolation: 'shared'
@@ -32,7 +32,6 @@
 		},
 		watch: {
 			limit(val) {
-				console.log("limit")
 				if (val === 8) {
 					this.$emit('show-all')
 				}
@@ -119,7 +118,7 @@
 			}
 			.exhibit-name {
 				font-family: Poppins, Poppins;
-				font-size: $fontSize0;
+				font-size: $fontSize1;
 				color: #333333;
 				margin-top: 12rpx;
 			}
@@ -128,11 +127,11 @@
 				top: 20rpx;
 				left: 31rpx;
 				font-size: 10rpx;
-				color: #333333;
-				background-color: #E2E8F0;
 				border-radius: 4rpx;
 				padding: 5rpx 8rpx;
+        background-color: #FCEDE1;
+        color: #E57519;
 			}
 		}
 	}
-</style>
+</style>

+ 16 - 8
pages/exhibitor/detail.vue

@@ -15,7 +15,7 @@
               {{ exhibitor.name_en_us }}
             </view>
             <view class="exhibitor-title-3">
-              {{ exhibitor.country }}
+              {{ exhibitor.country_name }}
             </view>
           </view>
           <view class="exhibitor-number">
@@ -104,6 +104,7 @@ import {exhibitorsInfo, exhibitorsCollect, exhibitorsLike, exhibitorsPoll, globa
 import DisclaimerText from '@/components/disclaimer-text/index.vue'
 import floatButton from "@/components/layout/float-button"
 import PageLayout from "@/components/layout/page-layout";
+import countryZhCn from "@/utils/country-zh-cn";
 
 export default {
   options: {
@@ -161,6 +162,12 @@ export default {
       exhibitorsInfo({id: this.exhibitorId}).then(res => {
         if (res.code === 0) {
           this.exhibitor = res.data
+          for (let i = 0; i < countryZhCn.length; i++) {
+            if (countryZhCn[i].code === this.exhibitor.country) {
+              this.exhibitor.country_name = countryZhCn[i].name
+              break; // 当找到值为 3 的元素时退出循环
+            }
+          }
         }
       })
     },
@@ -230,8 +237,8 @@ export default {
   }
 
   .exhibitor-logo {
-    width: 166rpx;
-    height: 166rpx;
+    width: 170rpx;
+    height: 170rpx;
     padding: 6rpx;
     background: #FFFFFF;
     border: 1rpx solid #D9D9D9;
@@ -249,7 +256,7 @@ export default {
   .exhibitor-title {
     flex: 1;
     font-family: Poppins, Poppins;
-    font-size: 30rpx;
+    font-size: $fontSize5;
     color: #000000;
     line-height: 40rpx;
     padding-left: 19rpx;
@@ -260,13 +267,13 @@ export default {
     }
 
     .exhibitor-title-2 {
-      font-size: 28rpx;
+      font-size: $fontSize4;
     }
 
     .exhibitor-title-3 {
-      font-size: $fontSize0;
+      font-size: $fontSize1;
       color: #333333;
-      line-height: 20rpx;
+      line-height: $fontSize1;
       margin-top: 10rpx;
     }
   }
@@ -292,11 +299,12 @@ export default {
 
   .exhibitor-desc {
     font-family: Poppins, Poppins;
-    font-size: $fontSize2;
+    font-size: $fontSize3;
     color: #333333;
     line-height: 35rpx;
     margin-top: 30rpx;
     margin-bottom: 12rpx;
+    line-height: 1.5;
   }
 
   .u-panel {

+ 1 - 2
pages/exhibitor/exhibit.vue

@@ -17,7 +17,7 @@
 						<u-dropdown-select  ref="select3" v-model="searchApplicationAreas" placeholder="选择应用领域" :options="applicationAreass" @dropdown="onSelectDropdown(3)" @change="searchList()"/>
 					</view>
 				</view> -->
-				<u-search v-model="searchKeyword" placeholder="搜索展商 / 展品名称 / 会议" @search="onSearch" />
+				<u-search v-model="searchKeyword" placeholder="搜索关键词" @search="onSearch" />
 				<view class="select-box">
 					<view class="select-title item-title">
 						筛选
@@ -296,7 +296,6 @@
 			getGlobalPollShow() {
 				globalPollShow().then(res => {
 					this.pollShow = res.data
-					console.log(this.pollShow);
 				})
 			},
 			updateItemValue(e) {

+ 1 - 1
pages/exhibitor/exhibitor-activity.vue

@@ -98,7 +98,7 @@ export default {
 <style lang="scss">
 .main-container {
   .title {
-    font-size: $fontSize6;
+    font-size: $fontSize7;
     font-weight: bold;
     margin-bottom: 39rpx;
   }

+ 1 - 1
pages/exhibitor/exhibitor-news.vue

@@ -92,7 +92,7 @@ export default {
 <style lang="scss">
 .main-container {
   .title {
-    font-size: $fontSize6;
+    font-size: $fontSize7;
     font-weight: bold;
     margin-bottom: 39rpx;
   }

+ 5 - 5
pages/exhibitor/index.vue

@@ -24,7 +24,7 @@
 					<view class="search-title item-title">
 						搜索
 					</view>
-					<u-search v-model="searchKeyword" placeholder="搜索展商 / 展品名称 / 会议" @search="onSearch" />
+					<u-search v-model="searchKeyword" placeholder="搜索关键词" @search="onSearch" />
 				</view>
 				<view class="select-box">
 					<view class="select-title item-title">
@@ -403,7 +403,7 @@
 							van-collapse {
 								.van-collapse-item {
 									border-bottom: 2rpx solid #e3e9f1;
-									
+
 									.van-cell {
 										grid-gap: 16rpx;
 										width: 100%;
@@ -411,10 +411,10 @@
 											flex: unset;
 											width: fit-content;
 										}
-										
+
 										.van-cell__right-icon-wrap {
 											font-size: $fontSize0;
-											
+
 											.van-icon-arrow {
 												color: #333333;
 												&::before {
@@ -482,4 +482,4 @@
 			}
 		}
 	}
-</style>
+</style>

+ 35 - 30
pages/index/home.vue

@@ -12,7 +12,7 @@
 		</nav-bar>
 		<u-swiper :items="images" useComponentName='topSwiper' indicato-dots-style="morphing" :height="387" />
 		<view class="main-container">
-			<u-search v-model="searchKeyword" placeholder="搜索展商 / 展品名称 / 会议" @search="onClickSearch" />
+			<u-search v-model="searchKeyword" placeholder="搜索关键词" @search="onClickSearch" />
 			<view class="nav-icons">
 				<template v-for="(item, index) in navIcons">
 					<view class="nav-icon-wrapper" :key="index" v-if="!item.is_hide">
@@ -50,38 +50,38 @@
 			</view>
 			<view class="panel-group logo-group">
 				<u-panel title="战略合作方">
-					<u-swiper :items="part1" useComponentName="logoSwiper" key="logoSwiper" :autoplay="false" :height="part1Height">
+					<u-swiper :items="part1" useComponentName="logoSwiper" image-mode="aspectFit" key="logoSwiper" :autoplay="false" :height="getPartHeight(part1)">
 						<template v-slot="{ scope }">
 							<view class="partners">
 								<template v-for="(item, index) in scope">
 									<view class="partner" :key="index" @tap="onLogoClick(item)">
-										<image :src="item.url" />
+										<image mode="aspectFit" :src="item.url" />
 									</view>
 								</template>
 							</view>
 						</template>
 					</u-swiper>
 				</u-panel>
-				<!-- <u-panel title="推荐展商" link="https://www.productronicachina.com.cn/partners">
-          <u-swiper :items="partners" :height="250">
+				 <u-panel title="推荐展商" link="/pages/exhibitor/index">
+          <u-swiper :items="exhibitorList" useComponentName="logoSwiper" image-mode="aspectFit" key="logoSwiper" :autoplay="false" :height="getPartHeight(exhibitorList)">
             <template v-slot="{ scope }">
               <view class="partners">
-                <template v-for="(item, index) in scope.children">
-                  <view class="partner" :key="index">
-                    <image :src="item.icon" />
+                <template v-for="(item, index) in scope">
+                  <view class="partner" :key="index" @tap="onLogoClick(item)">
+                    <image mode="aspectFit" :src="item.logo" />
                   </view>
                 </template>
               </view>
             </template>
           </u-swiper>
-        </u-panel> -->
+        </u-panel>
 				<u-panel title="合作媒体" link="https://www.productronicachina.com.cn/partners">
-					<u-swiper :items="part2" key="logoSwiper2" useComponentName="logoSwiper" :autoplay="false" :height="part2Height">
+					<u-swiper :items="part2" key="logoSwiper2" image-mode="aspectFit" useComponentName="logoSwiper" :autoplay="false" :height="getPartHeight(part2)">
 						<template v-slot="{ scope }">
 							<view class="partners">
 								<template v-for="(item, index) in scope">
 									<view class="partner" :key="index" @tap="onLogoClick(item)">
-										<image :src="item.url" />
+										<image mode="aspectFit" :src="item.url" />
 									</view>
 								</template>
 							</view>
@@ -122,6 +122,7 @@
 		getAdInfo
 	} from '@/api'
 	import PageLayout from "@/components/layout/page-layout";
+  import {exhibitorsList} from "@/api/exhibitor";
 
 	export default {
 		options: {
@@ -144,6 +145,7 @@
 			return {
 				logo: '',
 				searchKeyword: '',
+        exhibitorList: [],
 				showPopupAd: false,
 				navIcons: [{
 					icon: 'icon-xiaochengxu-guanyuzhanhuiicon',
@@ -200,33 +202,26 @@
 			}
 		},
 		computed: {
-			part1Height() {
-				let height = 0
-				if(this.part1.length>3) {
-					height = 250
-				} else if(this.part1.length<=3) {
-					height = 120
-				}
-				return height
-			},
-			part2Height() {
-				let height = 0
-				if(this.part2.length>3) {
-					height = 250
-				} else if(this.part2.length<=3) {
-					height = 120
-				}
-				return height
-			}
+
 		},
 		created() {
 			this.getDashboardData()
 			this.getAdData()
+      this.getExhibitorsList()
 		},
 		mounted() {
 			this.isShow = this.$store.state.app.adIsShow
 		},
 		methods: {
+      getPartHeight(part) {
+        let height = 0
+        if(part.length>3) {
+          height = 250
+        } else if(part.length<=3) {
+          height = 120
+        }
+        return height
+      },
 			closeAd() {
 				this.$store.commit('HIDE_AD')
 				this.isShow = false
@@ -266,8 +261,17 @@
 					this.part2 = res.data.module4.part2.logo
 				})
 			},
+      getExhibitorsList() {
+        exhibitorsList({page: 1,page_size: 12}).then(res => {
+          if (res.data.data) {
+            this.exhibitorList = res.data.data
+          }
+        })
+      },
 			onLogoClick(item) {
-				if (item.url) {
+        if (item.id) {
+          this.navigateTo('/pages/exhibitor/detail?id=' + item.id)
+        } else if (item.url) {
 					this.navigateTo(item.href)
 				}
 			},
@@ -516,6 +520,7 @@
 			@include display-flex-center;
 			width: 100%;
 			height: 120rpx;
+      padding: 16rpx;
 			border-radius: 5rpx;
 			border: 1rpx solid #D9D9D9;
 			overflow: hidden;

+ 1 - 3
pages/index/search.vue

@@ -3,7 +3,7 @@
     <nav-bar title="搜索" @init="onInitNavbar"></nav-bar>
     <u-scroll-view :tabbar-conflict="false" @scroll-near-lower="onScrollToLower">
       <view class="main-container">
-        <u-search v-model="searchKeyword" placeholder="搜索展商 / 展品名称 / 会议" @search="onClickSearch"/>
+        <u-search v-model="searchKeyword" placeholder="搜索关键词" @search="onClickSearch"/>
         <view class="search-result-text">搜索结果</view>
         <template v-if="isEmpty">
           <van-empty description="暂无数据" />
@@ -150,8 +150,6 @@
 			}
 		},
 		onLoad(options) {
-			console.log('options')
-			console.log(options.query)
 			this.searchKeyword = options.query
 			this.onClickSearch()
 		},

+ 0 - 3
pages/index/webview.vue

@@ -22,7 +22,6 @@ export default {
   },
   onLoad(options) {
     this.url = decodeURIComponent(options.url)
-    console.log(options.url)
   },
   methods: {
     message(e) {
@@ -30,14 +29,12 @@ export default {
 
       }
       if (e && e.event_name === 'share') {
-        console.log(e)
         this.showShare =  true
         this.shareInfo = {
           title: e.title,
           path: url,
           imageUrl: e.image_url
         }
-        console.log(this.shareInfo)
       }
     }
   }

+ 3 - 3
pages/news/components/news-item.vue

@@ -42,7 +42,6 @@ export default {
       return `${year}年${month}月${day}日`;
     },
     onClickDetail(item) {
-      console.log(item)
       if (this.type === 'exhibitor') {
         // this.navigateTo(this.$store.getters.website_url + '/mini-pro-news?news_id='+ item.id +'&v=' + this.$store.getters.version)
         this.navigateTo('/pages/exhibitor/exhibitor-news?id=' + item.id)
@@ -57,7 +56,7 @@ export default {
 .news-item {
   display: flex;
   flex-direction: column;
-  height: 210rpx;
+  min-height: 210rpx;
   background-color: #F6F6F6;
   border-radius: 10rpx;
   padding: 24rpx 30rpx;
@@ -73,7 +72,7 @@ export default {
   font-family: Arial, Arial;
   font-weight: bold;
   font-size: $fontSize3;
-  line-height: 35rpx;
+  line-height: 1.4;
 }
 
 .news-time {
@@ -91,6 +90,7 @@ export default {
     color: #555555;
     @include text-ellipsis-line;
     -webkit-line-clamp: 2;
+    line-height: 1.4;
   }
 
   .to-detail {

+ 0 - 3
pages/news/components/news-recommend.vue

@@ -60,9 +60,6 @@
     },
 		methods: {
 			getList() {
-        console.log(this.tabActive)
-        console.log(this.recommendType)
-        console.log(this.newsType)
 				if (this.tabActive === 'exhibitor') {
 					this.getExhibitorsNewsList()
 				}

+ 0 - 2
pages/user/info-edit.vue

@@ -60,7 +60,6 @@
 			}
 		},
 		onLoad(options) {
-			console.log(options)
 			if (options.avatar) {
 				this.avatar = decodeURIComponent(options.avatar)
 			} else {
@@ -95,7 +94,6 @@
 					uploadFile({
 						filePath: this.avatar,
 					}).then(res => {
-						console.log("上传微信头像:", res)
 						if (res.data) {
 							this.avatar = res.data.url
 							this.doUpdateInfo()

+ 0 - 1
pages/user/login.vue

@@ -242,7 +242,6 @@
 					valid_code: this.validCode,
 					open_id: openId
 				}).then(res => {
-					console.log("手机验证码登录:", res)
 					this.loginLoading = false
 					if (res.data) {
 						this.$store.commit('SET_TOKEN', res.data)

+ 0 - 2
pages/user/vote.vue

@@ -81,7 +81,6 @@
 				this.loading = true
 				getExhibitorPollList().then(res => {
 					this.favoritesList = res.data.data
-					console.log(this.favoritesList)
 					this.loading = false
 				})
 			},
@@ -89,7 +88,6 @@
 				this.loading = true
 				getExhibitPollList().then(res => {
 					this.favoritesList = res.data.data
-					console.log(this.favoritesList)
 					this.loading = false
 				})
 			}

+ 6 - 1
static/style/app.scss

@@ -68,9 +68,14 @@ view, input {
   color: #405491;
 }
 .home-container {
+  .page-module.pc {
+    .nav-bar {
+      height: 100rpx !important;
+    }
+  }
   .page-module {
     &.pc {
-      padding-top: 168rpx;
+      padding-top: 100rpx;
     }
   }
 }

+ 1 - 2
static/style/pages/activity-item.scss

@@ -55,7 +55,7 @@
 				flex: 1;
 				margin-right: 51rpx;
 				font-size: $fontSize1;
-				line-height: 30rpx;
+				line-height: 1.4;
 			}
 		}
 		.activity-detail-link{
@@ -63,4 +63,3 @@
 			@include link-button;
 		}
 	}
-	

+ 7 - 7
static/style/pages/exhibitor-detail.scss

@@ -2,7 +2,7 @@
 	.exhibitor-tags{
 		display: flex;
 		align-items: flex-start;
-		font-size: $fontSize1;
+		font-size: $fontSize2;
 		margin-top: 28rpx;
 		.exhibitor-tags-list{
 			display: flex;
@@ -35,7 +35,7 @@
 			display: grid;
 			flex: 1;
 			grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
-			font-size: 18rpx;
+			font-size: $fontSize2;
 			color: #555555;
 			&>view{
 				display: flex;
@@ -47,7 +47,7 @@
 				}
 			}
 			button{
-				font-size: 18rpx;
+				font-size: $fontSize2;
 				white-space: nowrap;
 				line-height: inherit;
 				background-color: transparent;
@@ -57,7 +57,7 @@
 				view{
 					display: flex;
 					align-items: center;
-					font-size: 18rpx;
+					font-size: $fontSize2;
 				}
 			}
 			.iconfont{
@@ -67,10 +67,10 @@
 		}
 		.exhibitor-views{
 			font-weight: 400;
-			font-size: $fontSize0;
+			font-size: $fontSize2;
 			color: #555555;
-			line-height: 20rpx;
+			line-height: $fontSize2;
 			margin-right: 57rpx;
 		}
 	}
-}
+}

+ 9 - 8
static/style/pages/exhibitor-item.scss

@@ -14,14 +14,15 @@
 			flex: 1;
 			color: #333333;
 			font-weight: bold;
-			line-height: 38rpx;
-			font-size: $fontSize4;
+			line-height: 1.4;
+			font-size: $fontSize5;
 			margin-left: 12rpx;
 			margin-right: 28rpx;
 			&>view{
 				width: 100%;
 				@include text-ellipsis-line;
 				-webkit-line-clamp: 2;
+				line-height: 1.4;
 			}
 		}
 		.exhibitor-name-cn{
@@ -49,8 +50,8 @@
 			letter-spacing: 2rpx;
 		}
 		.exhibitor-logo{
-			width: 90rpx;
-			height: 90rpx;
+			width: 100rpx;
+			height: 100rpx;
 			border-radius: 6rpx;
 			border: 1rpx solid #E1E1E1;
 			padding: 6rpx;
@@ -68,7 +69,7 @@
 			display: grid;
 			flex: 1;
 			grid-template-columns: repeat(4, 1fr);
-			font-size: 22rpx;
+			font-size: $fontSize2;
 			color: #555555;
 			&>view, &>button{
 				display: flex;
@@ -76,7 +77,7 @@
 				cursor: pointer;
 			}
 			button{
-				font-size: 22rpx;
+				font-size: $fontSize2;
 				white-space: nowrap;
 				line-height: inherit;
 				border: none;
@@ -86,7 +87,7 @@
 				view{
 					display: flex;
 					align-items: center;
-					font-size: 22rpx;
+					font-size: $fontSize2;
 				}
 			}
 			.iconfont{
@@ -99,7 +100,7 @@
 			font-weight: 400;
 			font-size: $fontSize2;
 			color: #555555;
-			line-height: 20rpx;
+			line-height: $fontSize2;
 			margin-right: 57rpx;
 		}
 	}

+ 8 - 8
uni.scss

@@ -17,14 +17,14 @@ $fontSize4: 28rpx;
 $fontSize5: 32rpx;
 $fontSize6: 36rpx;*/
 
- $fontSize0: 18rpx;
- $fontSize1: 20rpx;
- $fontSize2: 22rpx;
- $fontSize3: 26rpx;
- $fontSize4: 30rpx;
- $fontSize5: 34rpx;
- $fontSize6: 38rpx;
-
+ $fontSize0: 22rpx;
+ $fontSize1: 24rpx;
+ $fontSize2: 26rpx;
+ $fontSize3: 28rpx;
+ $fontSize4: 32rpx;
+ $fontSize5: 36rpx;
+ $fontSize6: 40rpx;
+ $fontSize7: 42rpx;
 @mixin display-flex-center {
 	display: flex;
 	justify-content: center;

+ 246 - 0
utils/country-zh-cn.js

@@ -0,0 +1,246 @@
+export default [
+  { 'name': '阿森松岛', 'code': 'AC' },
+  { 'name': '安道尔', 'code': 'AD' },
+  { 'name': '阿拉伯联合酋长国(‫الإماراتالعربيةالمتحدة‬‎)', 'code': 'AE' },
+  { 'name': '阿富汗(‫افغانستان‬‎)', 'code': 'AF' },
+  { 'name': '安提瓜和巴布达', 'code': 'AG' },
+  { 'name': '安圭拉', 'code': 'AI' },
+  { 'name': '阿尔巴尼亚(Shqipëri)', 'code': 'AL' },
+  { 'name': '亚美尼亚(Հայաստան)', 'code': 'AM' },
+  { 'name': '安哥拉', 'code': 'AO' },
+  { 'name': '阿根廷', 'code': 'AR' },
+  { 'name': '美属萨摩亚', 'code': 'AS' },
+  { 'name': '奥地利(Österreich)', 'code': 'AT' },
+  { 'name': '澳大利亚', 'code': 'AU' },
+  { 'name': '阿鲁巴', 'code': 'AW' },
+  { 'name': '奥兰群岛', 'code': 'AX' },
+  { 'name': '阿塞拜疆(Azərbaycan)', 'code': 'AZ' },
+  { 'name': '波斯尼亚和黑塞哥维那(БоснаиХерцеговина)', 'code': 'BA' },
+  { 'name': '巴巴多斯', 'code': 'BB' },
+  { 'name': '孟加拉国(বাংলাদেশ)', 'code': 'BD' },
+  { 'name': '比利时(België)', 'code': 'BE' },
+  { 'name': '布基纳法索', 'code': 'BF' },
+  { 'name': '保加利亚(България)', 'code': 'BG' },
+  { 'name': '巴林(‫البحرين‬‎)', 'code': 'BH' },
+  { 'name': '布隆迪(Uburundi)', 'code': 'BI' },
+  { 'name': '贝宁(Bénin)', 'code': 'BJ' },
+  { 'name': '圣巴塞勒米', 'code': 'BL' },
+  { 'name': '百慕大群岛', 'code': 'BM' },
+  { 'name': '文莱', 'code': 'BN' },
+  { 'name': '玻利维亚', 'code': 'BO' },
+  { 'name': '加勒比荷兰', 'code': 'BQ' },
+  { 'name': '巴西(Brasil)', 'code': 'BR' },
+  { 'name': '巴哈马群岛', 'code': 'BS' },
+  { 'name': '不丹(འབྲུག)', 'code': 'BT' },
+  { 'name': '博茨瓦纳', 'code': 'BW' },
+  { 'name': '白俄罗斯(Беларусь)', 'code': 'BY' },
+  { 'name': '伯利兹', 'code': 'BZ' },
+  { 'name': '加拿大', 'code': 'CA' },
+  { 'name': '科科斯(基林)群岛', 'code': 'CC' },
+  { 'name': '刚果(金)(JamhuriyaKidemokrasiayaKongo)', 'code': 'CD' },
+  { 'name': '中非共和国(Républiquecentrafricaine)', 'code': 'CF' },
+  { 'name': '刚果(共和国)(Congo-Brazzaville)', 'code': 'CG' },
+  { 'name': '瑞士(Schweiz)', 'code': 'CH' },
+  { 'name': '科特迪瓦', 'code': 'CI' },
+  { 'name': '库克群岛', 'code': 'CK' },
+  { 'name': '智利', 'code': 'CL' },
+  { 'name': '喀麦隆(Cameroun)', 'code': 'CM' },
+  { 'name': '中国(含港澳台)', 'code': 'CN' },
+  { 'name': '哥伦比亚', 'code': 'CO' },
+  { 'name': '哥斯达黎加', 'code': 'CR' },
+  { 'name': '古巴', 'code': 'CU' },
+  { 'name': '佛得角(KabuVerdi)', 'code': 'CV' },
+  { 'name': '库拉索', 'code': 'CW' },
+  { 'name': '圣诞岛', 'code': 'CX' },
+  { 'name': '塞浦路斯(Κύπρος)', 'code': 'CY' },
+  { 'name': '捷克共和国(Českárepublika)', 'code': 'CZ' },
+  { 'name': '德国(Deutschland)', 'code': 'DE' },
+  { 'name': '吉布提', 'code': 'DJ' },
+  { 'name': '丹麦(Danmark)', 'code': 'DK' },
+  { 'name': '多米尼克', 'code': 'DM' },
+  { 'name': '多米尼加共和国(RepúblicaDominicana)', 'code': 'DO' },
+  { 'name': '阿尔及利亚(‫الجزائر‬‎)', 'code': 'DZ' },
+  { 'name': '厄瓜多尔', 'code': 'EC' },
+  { 'name': '爱沙尼亚(Eesti)', 'code': 'EE' },
+  { 'name': '埃及(‫مصر‬‎)', 'code': 'EG' },
+  { 'name': '西撒哈拉(‫الصحراءالغربية‬‎)', 'code': 'EH' },
+  { 'name': '厄立特里亚', 'code': 'ER' },
+  { 'name': '西班牙(España)', 'code': 'ES' },
+  { 'name': '埃塞俄比亚', 'code': 'ET' },
+  { 'name': '芬兰(Suomi)', 'code': 'FI' },
+  { 'name': '斐济', 'code': 'FJ' },
+  { 'name': '福克兰群岛(IslasMalvinas)', 'code': 'FK' },
+  { 'name': '密克罗尼西亚', 'code': 'FM' },
+  { 'name': '法罗群岛(Føroyar)', 'code': 'FO' },
+  { 'name': '法国', 'code': 'FR' },
+  { 'name': '加蓬', 'code': 'GA' },
+  { 'name': '英国', 'code': 'GB' },
+  { 'name': '格林纳达', 'code': 'GD' },
+  { 'name': '格鲁吉亚(საქართველო)', 'code': 'GE' },
+  { 'name': '法属圭亚那(Guyanefrançaise)', 'code': 'GF' },
+  { 'name': '格恩西岛', 'code': 'GG' },
+  { 'name': '加纳(Gaana)', 'code': 'GH' },
+  { 'name': '直布罗陀', 'code': 'GI' },
+  { 'name': '格陵兰(KalaallitNunaat)', 'code': 'GL' },
+  { 'name': '冈比亚', 'code': 'GM' },
+  { 'name': '几内亚(Guinée)', 'code': 'GN' },
+  { 'name': '瓜德罗普', 'code': 'GP' },
+  { 'name': '赤道几内亚(GuineaEcuatorial)', 'code': 'GQ' },
+  { 'name': '希腊(Ελλάδα)', 'code': 'GR' },
+  { 'name': '危地马拉', 'code': 'GT' },
+  { 'name': '关岛', 'code': 'GU' },
+  { 'name': '几内亚比绍(GuinéBissau)', 'code': 'GW' },
+  { 'name': '圭亚那', 'code': 'GY' },
+  { 'name': '香港(中國香港)', 'code': 'HK' },
+  { 'name': '洪都拉斯', 'code': 'HN' },
+  { 'name': '克罗地亚(Hrvatska)', 'code': 'HR' },
+  { 'name': '海地', 'code': 'HT' },
+  { 'name': '匈牙利(Magyarország)', 'code': 'HU' },
+  { 'name': '印度尼西亚', 'code': 'ID' },
+  { 'name': '爱尔兰', 'code': 'IE' },
+  { 'name': '以色列(‫ישראל‬‎)', 'code': 'IL' },
+  { 'name': '马恩岛', 'code': 'IM' },
+  { 'name': '印度(भारत)', 'code': 'IN' },
+  { 'name': '英属印度洋领地', 'code': 'IO' },
+  { 'name': '伊拉克(‫العراق‬‎)', 'code': 'IQ' },
+  { 'name': '伊朗(‫ایران‬‎)', 'code': 'IR' },
+  { 'name': '冰岛(Ísland)', 'code': 'IS' },
+  { 'name': '意大利(Italia)', 'code': 'IT' },
+  { 'name': '泽西', 'code': 'JE' },
+  { 'name': '牙买加', 'code': 'JM' },
+  { 'name': '约旦(‫الأردن‬‎)', 'code': 'JO' },
+  { 'name': '日本', 'code': 'JP' },
+  { 'name': '肯尼亚', 'code': 'KE' },
+  { 'name': '吉尔吉斯斯坦(Кыргызстан)', 'code': 'KG' },
+  { 'name': '柬埔寨(កម្ពុជា)', 'code': 'KH' },
+  { 'name': '基里巴斯', 'code': 'KI' },
+  { 'name': '科摩罗(‫جزرالقمر‬‎)', 'code': 'KM' },
+  { 'name': '圣基茨和尼维斯', 'code': 'KN' },
+  { 'name': '朝鲜(조선민주주의인민공화국)', 'code': 'KP' },
+  { 'name': '韩国(대한민국)', 'code': 'KR' },
+  { 'name': '科威特(‫الكويت‬‎)', 'code': 'KW' },
+  { 'name': '开曼群岛', 'code': 'KY' },
+  { 'name': '哈萨克斯坦(Казахстан)', 'code': 'KZ' },
+  { 'name': '老挝(ລາວ)', 'code': 'LA' },
+  { 'name': '黎巴嫩(‫لبنان‬‎)', 'code': 'LB' },
+  { 'name': '圣卢西亚', 'code': 'LC' },
+  { 'name': '列支敦士登', 'code': 'LI' },
+  { 'name': '斯里兰卡(ශ්‍රීලංකාව)', 'code': 'LK' },
+  { 'name': '利比里亚', 'code': 'LR' },
+  { 'name': '莱索托', 'code': 'LS' },
+  { 'name': '立陶宛(Lietuva)', 'code': 'LT' },
+  { 'name': '卢森堡', 'code': 'LU' },
+  { 'name': '拉脱维亚(Latvija)', 'code': 'LV' },
+  { 'name': '利比亚(‫ليبيا‬‎)', 'code': 'LY' },
+  { 'name': '摩洛哥(‫المغرب‬‎)', 'code': 'MA' },
+  { 'name': '摩纳哥', 'code': 'MC' },
+  { 'name': '摩尔多瓦(RepublicaMoldova)', 'code': 'MD' },
+  { 'name': '黑山(CrnaGora)', 'code': 'ME' },
+  { 'name': '圣马丁(Saint-Martin(partiefrançaise))', 'code': 'MF' },
+  { 'name': '马达加斯加(Madagasikara)', 'code': 'MG' },
+  { 'name': '马绍尔群岛', 'code': 'MH' },
+  { 'name': '北马其顿(Македонија)', 'code': 'MK' },
+  { 'name': '马里', 'code': 'ML' },
+  { 'name': '缅甸(Burma)(မြန်မာ)', 'code': 'MM' },
+  { 'name': '蒙古(Монгол)', 'code': 'MN' },
+  { 'name': '澳门(中國澳門)', 'code': 'MO' },
+  { 'name': '北马里亚纳群岛', 'code': 'MP' },
+  { 'name': '马提尼克', 'code': 'MQ' },
+  { 'name': '毛里塔尼亚(‫موريتانيا‬‎)', 'code': 'MR' },
+  { 'name': '蒙特塞拉特', 'code': 'MS' },
+  { 'name': '马耳他', 'code': 'MT' },
+  { 'name': '毛里求斯(Moris)', 'code': 'MU' },
+  { 'name': '马尔代夫', 'code': 'MV' },
+  { 'name': '马拉维', 'code': 'MW' },
+  { 'name': '墨西哥(México)', 'code': 'MX' },
+  { 'name': '马来西亚', 'code': 'MY' },
+  { 'name': '莫桑比克(Moçambique)', 'code': 'MZ' },
+  { 'name': '纳米比亚(Namibië)', 'code': 'NA' },
+  { 'name': '新喀里多尼亚(Nouvelle-Calédonie)', 'code': 'NC' },
+  { 'name': '尼日尔(Nijar)', 'code': 'NE' },
+  { 'name': '诺福克岛', 'code': 'NF' },
+  { 'name': '尼日利亚', 'code': 'NG' },
+  { 'name': '尼加拉瓜', 'code': 'NI' },
+  { 'name': '荷兰(Nederland)', 'code': 'NL' },
+  { 'name': '挪威(Norge)', 'code': 'NO' },
+  { 'name': '尼泊尔(नेपाल)', 'code': 'NP' },
+  { 'name': '瑙鲁', 'code': 'NR' },
+  { 'name': '纽埃', 'code': 'NU' },
+  { 'name': '新西兰', 'code': 'NZ' },
+  { 'name': '阿曼(‫عُمان‬‎)', 'code': 'OM' },
+  { 'name': '巴拿马(Panamá)', 'code': 'PA' },
+  { 'name': '秘鲁(Perú)', 'code': 'PE' },
+  { 'name': '法属波利尼西亚(Polynésiefrançaise)', 'code': 'PF' },
+  { 'name': '巴布亚新几内亚', 'code': 'PG' },
+  { 'name': '菲律宾', 'code': 'PH' },
+  { 'name': '巴基斯坦(‫پاکستان‬‎)', 'code': 'PK' },
+  { 'name': '波兰(Polska)', 'code': 'PL' },
+  { 'name': '圣皮埃尔和密克隆(Saint-Pierre-et-Miquelon)', 'code': 'PM' },
+  { 'name': '波多黎各', 'code': 'PR' },
+  { 'name': '巴勒斯坦(‫فلسطين‬‎)', 'code': 'PS' },
+  { 'name': '葡萄牙', 'code': 'PT' },
+  { 'name': '帕劳', 'code': 'PW' },
+  { 'name': '巴拉圭', 'code': 'PY' },
+  { 'name': '卡塔尔(‫قطر‬‎)', 'code': 'QA' },
+  { 'name': '留尼汪岛(LaRéunion)', 'code': 'RE' },
+  { 'name': '罗马尼亚(România)', 'code': 'RO' },
+  { 'name': '塞尔维亚(Србија)', 'code': 'RS' },
+  { 'name': '俄罗斯(Россия)', 'code': 'RU' },
+  { 'name': '卢旺达', 'code': 'RW' },
+  { 'name': '沙特阿拉伯(‫المملكةالعربيةالسعودية‬‎)', 'code': 'SA' },
+  { 'name': '所罗门群岛', 'code': 'SB' },
+  { 'name': '塞舌尔', 'code': 'SC' },
+  { 'name': '苏丹(‫السودان‬‎)', 'code': 'SD' },
+  { 'name': '瑞典(Sverige)', 'code': 'SE' },
+  { 'name': '新加坡', 'code': 'SG' },
+  { 'name': '圣赫勒拿', 'code': 'SH' },
+  { 'name': '斯洛文尼亚(Slovenija)', 'code': 'SI' },
+  { 'name': '斯瓦尔巴群岛和扬马延岛', 'code': 'SJ' },
+  { 'name': '斯洛伐克(Slovensko)', 'code': 'SK' },
+  { 'name': '塞拉利昂', 'code': 'SL' },
+  { 'name': '圣马力诺', 'code': 'SM' },
+  { 'name': '塞内加尔(Sénégal)', 'code': 'SN' },
+  { 'name': '索马里(Soomaaliya)', 'code': 'SO' },
+  { 'name': '苏里南', 'code': 'SR' },
+  { 'name': '南苏丹(‫جنوبالسودان‬‎)', 'code': 'SS' },
+  { 'name': '圣多美和普林西比(SãoToméePríncipe)', 'code': 'ST' },
+  { 'name': '萨尔瓦多', 'code': 'SV' },
+  { 'name': '圣马丁岛', 'code': 'SX' },
+  { 'name': '叙利亚(‫سوريا‬‎)', 'code': 'SY' },
+  { 'name': '斯威士兰', 'code': 'SZ' },
+  { 'name': '特克斯和凯科斯群岛', 'code': 'TC' },
+  { 'name': '乍得(Tchad)', 'code': 'TD' },
+  { 'name': '多哥', 'code': 'TG' },
+  { 'name': '泰国(ไทย)', 'code': 'TH' },
+  { 'name': '塔吉克斯坦', 'code': 'TJ' },
+  { 'name': '托克', 'code': 'TK' },
+  { 'name': '东帝汶', 'code': 'TL' },
+  { 'name': '土库曼斯坦', 'code': 'TM' },
+  { 'name': '突尼斯(‫تونس‬‎)', 'code': 'TN' },
+  { 'name': '汤加', 'code': 'TO' },
+  { 'name': '土耳其(Türkiye)', 'code': 'TR' },
+  { 'name': '特立尼达和多巴哥', 'code': 'TT' },
+  { 'name': '图瓦卢', 'code': 'TV' },
+  { 'name': '台湾(中國台灣)', 'code': 'TW' },
+  { 'name': '坦桑尼亚', 'code': 'TZ' },
+  { 'name': '乌克兰(Україна)', 'code': 'UA' },
+  { 'name': '乌干达', 'code': 'UG' },
+  { 'name': '美国', 'code': 'US' },
+  { 'name': '乌拉圭', 'code': 'UY' },
+  { 'name': '乌兹别克斯坦(Oʻzbekiston)', 'code': 'UZ' },
+  { 'name': '梵蒂冈城(CittàdelVaticano)', 'code': 'VA' },
+  { 'name': '圣文森特和格林纳丁斯', 'code': 'VC' },
+  { 'name': '委内瑞拉', 'code': 'VE' },
+  { 'name': '英属维尔京群岛', 'code': 'VG' },
+  { 'name': '美属维尔京群岛', 'code': 'VI' },
+  { 'name': '越南(ViệtNam)', 'code': 'VN' },
+  { 'name': '瓦努阿图', 'code': 'VU' },
+  { 'name': '瓦利斯和富图纳(Wallis-et-Futuna)', 'code': 'WF' },
+  { 'name': '萨摩亚', 'code': 'WS' },
+  { 'name': '科索沃', 'code': 'XK' },
+  { 'name': '也门(‫اليمن‬‎)', 'code': 'YE' },
+  { 'name': '马约特', 'code': 'YT' },
+  { 'name': '南非', 'code': 'ZA' },
+  { 'name': '赞比亚', 'code': 'ZM' },
+  { 'name': '津巴布韦', 'code': 'ZW' }
+]