Browse Source

删除本地字体文件

wangchao 3 years ago
parent
commit
b148b8ab82

+ 14 - 2
pages/public/login.vue

@@ -4,9 +4,9 @@
 		<!-- 设置白色背景防止软键盘把下部绝对定位元素顶上来盖住输入框等 -->
 		<view class="wrapper">
 			<image style='width:38px;height:38px;margin-bottom:10px;' src='../../static/img/login/logo@2x.png'></image>
-			<h2>欢迎使用易粮易运</h2>
+			<h2 class="title">欢迎使用易粮易运</h2>
 			<view style='width:100%;margin-top:50px;border-bottom:1px solid #E8E9ED;padding:10px;' class="flex">
-				<view style='width:15%;border-right:1px solid #E8E9ED;'>+86</view>
+				<view class="phone-before-num">+86</view>
 				<view style='width:85%;'><input style='padding-left:10px;' v-model='phone' @input='changephone' placeholder="请输入手机号码" type="number" maxlength="11"></view>
 				<image v-if='phone!=""' @click='phone=""' class='close' src='../../static/img/login/guanbi@2x.png'></image>
 			</view>
@@ -914,4 +914,16 @@
 	.register:after{
 		border:none;
 	}
+	.title{
+		font-size: 46rpx;
+		font-family: PingFangSC-Semibold, PingFang SC;
+		font-weight: 600;
+		color: #333333;
+	}
+	.phone-before-num{
+		font-size: 34rpx;
+		font-family: DINPro-Medium, DINPro;
+		font-weight: 500;
+		color: #333333;
+	}
 </style>

BIN
static/css/PingFang-Bold.ttf


BIN
static/css/PingFang-ExtraLight.ttf


BIN
static/css/PingFang-Heavy.ttf


BIN
static/css/PingFang-Light.ttf


BIN
static/css/PingFang-Medium.ttf


BIN
static/css/PingFang-Regular.ttf


+ 6 - 6
static/css/font.css

@@ -1,11 +1,11 @@
 @font-face {
 	font-family: "PingFang SC";
-	src: url('~@/static/css/PingFang-Bold.ttf'),
-		url('~@/static/css/PingFang-ExtraLight.ttf'),
-		url('~@/static/css/PingFang-Heavy.ttf'),
-		url('~@/static/css/PingFang-Light.ttf'),
-		url('~@/static/css/PingFang-Medium.ttf'),
-		url('~@/static/css/PingFang-Regular.ttf');
+	src: url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-Bold.ttf'),
+		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-ExtraLight.ttf'),
+		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-Heavy.ttf'),
+		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-Light.ttf'),
+		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-Medium.ttf'),
+		url('https://taohaoliang.oss-cn-beijing.aliyuncs.com/app/tmp/PingFang-Regular.ttf');
 		font-weight: normal;
 	font-style: normal;
 }