瀏覽代碼

删除本地字体文件

wangchao 3 年之前
父節點
當前提交
b148b8ab82
共有 8 個文件被更改,包括 20 次插入8 次删除
  1. 14 2
      pages/public/login.vue
  2. 二進制
      static/css/PingFang-Bold.ttf
  3. 二進制
      static/css/PingFang-ExtraLight.ttf
  4. 二進制
      static/css/PingFang-Heavy.ttf
  5. 二進制
      static/css/PingFang-Light.ttf
  6. 二進制
      static/css/PingFang-Medium.ttf
  7. 二進制
      static/css/PingFang-Regular.ttf
  8. 6 6
      static/css/font.css

+ 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>

二進制
static/css/PingFang-Bold.ttf


二進制
static/css/PingFang-ExtraLight.ttf


二進制
static/css/PingFang-Heavy.ttf


二進制
static/css/PingFang-Light.ttf


二進制
static/css/PingFang-Medium.ttf


二進制
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;
 }