|
@@ -11,11 +11,11 @@
|
|
|
|
|
|
|
|
<!-- 顶部图片区域 -->
|
|
<!-- 顶部图片区域 -->
|
|
|
<view class="header">
|
|
<view class="header">
|
|
|
- <img class="header_img" src="../../static/images/header.png" />
|
|
|
|
|
|
|
+ <img mode="aspectFill" class="header_img" src="../../static/images/header.png" />
|
|
|
<!-- 学校图标区域 -->
|
|
<!-- 学校图标区域 -->
|
|
|
- <img class="header_icon" src="../../static/images/header-icon.png" />
|
|
|
|
|
|
|
+ <img mode="aspectFill" class="header_icon" src="../../static/images/school-logo.jpg" />
|
|
|
<!-- 学校名称区域 -->
|
|
<!-- 学校名称区域 -->
|
|
|
- <view class="header_school">万载三中</view>
|
|
|
|
|
|
|
+ <view class="header_school">万载县第三中学</view>
|
|
|
<!-- 学生姓名区域 -->
|
|
<!-- 学生姓名区域 -->
|
|
|
<view class="header_name">张三</view>
|
|
<view class="header_name">张三</view>
|
|
|
<!-- 学生年级区域 -->
|
|
<!-- 学生年级区域 -->
|
|
@@ -172,7 +172,7 @@ const QRCodeUrl = ref('123')
|
|
|
const options = {
|
|
const options = {
|
|
|
typeNumber: 4,
|
|
typeNumber: 4,
|
|
|
foregroundImageBorderRadius: 5,
|
|
foregroundImageBorderRadius: 5,
|
|
|
- foregroundImageSrc: '/static/images/school-logo.png'
|
|
|
|
|
|
|
+ foregroundImageSrc: '/static/images/school-logo.jpg'
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 跳转页面函数
|
|
// 跳转页面函数
|
|
@@ -239,7 +239,6 @@ const handleClickCode = () => {
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
font-size: 36rpx;
|
|
font-size: 36rpx;
|
|
|
border-radius: 10rpx;
|
|
border-radius: 10rpx;
|
|
|
- background-color: deepskyblue;
|
|
|
|
|
|
|
|
|
|
.header_img {
|
|
.header_img {
|
|
|
width: 100%;
|
|
width: 100%;
|