修改鸭先知、删除不必要代码、引入aribl字体、修改首页招生官首图
This commit is contained in:
parent
8e590b707b
commit
c168ac523f
2
app.js
2
app.js
@ -7,6 +7,7 @@ var initial_url = 'https://api.gter.net/xiaoapp_offer.init.json';
|
|||||||
var __ = require('./utils/miucms.js');
|
var __ = require('./utils/miucms.js');
|
||||||
import util from './utils/util'
|
import util from './utils/util'
|
||||||
import './utils/xstat';
|
import './utils/xstat';
|
||||||
|
var loadFont = require("./utils/loadFont")
|
||||||
|
|
||||||
// // 保存原始的Page构造器
|
// // 保存原始的Page构造器
|
||||||
// const originPage = Page;
|
// const originPage = Page;
|
||||||
@ -91,6 +92,7 @@ App({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
__.initial(this)
|
__.initial(this)
|
||||||
|
loadFont.loadCloudFontFace("https://app.gter.net/image/miniApp/offer/font/arial-black.ttf", "arial-black.ttf", "Arial")
|
||||||
},
|
},
|
||||||
|
|
||||||
computeNavigateBarHeight: function () {
|
computeNavigateBarHeight: function () {
|
||||||
|
4
app.wxss
4
app.wxss
@ -84,7 +84,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 字体 Arial-Black 只有0到9 */
|
/* 字体 Arial-Black 只有0到9 */
|
||||||
@font-face {
|
/* @font-face {
|
||||||
font-family: 'Arial';
|
font-family: 'Arial';
|
||||||
src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAAZgAA0AAAAADaAAAAYJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCUhEICokAhzkLIgABNgIkAz4EIAWKHAdQG9ALyB6DbXspPUlSlJMzOcfLINz0PiEUs040E3cqnlJRCLaNig/SuTsyE+F5/q925/1pQFJZNksgko4vG2BxJw2oHaSAi8t/0YLr92v19p/GQ6brItMZOp1SoJQn53vnCRWJ4qXQRSyRvDRKppGaNXpksc4e5EEpZrzAOwEgAPhW1JEAwJWbizn7sQlAASgDoBCEGiECUABR/YRMAQPMjmkBYBjaj5xg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CQ8pKM00FwoR4bklsHVmNFdzYb3aWFpb6hj1r42hc3vZTqrK+qeNff+RUtUstUo5qyyPbYrp5/YI2QZT3kev81y7fc52AAAIgALne9W8DHXHrxK5BFvs++P/8xow10FIUACAgOTydxSIAf+ELvOAEELVDXzUXot7AJgJOFgNrcEI9aEHmCAFOFuf/gLUQPC7Ahqt0QCAItZEGyAvlK1ximDmTuIqkJCnPVKCYkJalSxAEXmuI0ORnygmL1VODsKXTwpSSwEyBRASZVIdKar0RlrHpKNImexHRrncR7EyRbxRkFN0ffTUlyOAwrgeNlZskFnhVixejlxu+X2AMy6L42TbOkKObDkKueU2oEd6vtyIzGCi606sZtppp5lG2ftbaYzVjYsLCxtWgJXPTbBRMSOyL9m9rZnLJrD6mpIxKiTBhHCbLOb13x8rh5291BLOwshzSqDGbiwLGzPkIEiFLAlZMADZxDcyC5llYz9Fsj+yApmhuZDZGH6ZMK+vx2a9RmE9k2nDOW1sRE52zoVaz4sacTHgaPQ4cPNpMO/TXfCXY7Zu1mqzaw3726097lBdJJtjB5OXZj3eg9PjMU7mGzm97y4ZiRm/Nas7FzNefyArv7YgHYidPVTUJTMfHhI5Hmb9YhphwcZkAazUz2zEYnKzIx48VWDKzlcwj1ObaxxkNoVbVWuaN27edDSJN9I0+hWsgF9/dQlQ3BT/jSL4vBogAYWmZxCsjLLKKa+CiipVNEjjcLlznc3EnxbjzykEAAAA') format('woff2'),
|
src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAAZgAA0AAAAADaAAAAYJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCUhEICokAhzkLIgABNgIkAz4EIAWKHAdQG9ALyB6DbXspPUlSlJMzOcfLINz0PiEUs040E3cqnlJRCLaNig/SuTsyE+F5/q925/1pQFJZNksgko4vG2BxJw2oHaSAi8t/0YLr92v19p/GQ6brItMZOp1SoJQn53vnCRWJ4qXQRSyRvDRKppGaNXpksc4e5EEpZrzAOwEgAPhW1JEAwJW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OjKBVSHKdAqrYE+wtsBwWG9D5AieAfazDIqewTSiCf4RZRHt0xDRA6rx84a2DZ6CVbCXIZsV03Mk2J/h6cDz2blwTgHeHNbQDLGGLh6V4xV2aNy3AvZqHex52OEzKsOpLuS1qpEOu/IQ8bVa+VNahlwtOF7tp77FPehYl9rpa1VwIZ3kvGk7o8vK8Wml+KRZNK5rFR81pm2MdLpZ8GgyGWWY9od8UNcc2JaNsspcqgJBo2V9w9qyZGdkoebSzLi5+LviVaXziuey43MFoVJbpwwy0gvOlXESdro02hY693yLtH9Vn+kQs8S9Zgj7s/mwljmcD6FGy7Bq4KpyWUuAh/XPfuvnpiL/qbK+QMYbh/Fa/F8SOwsNsus2j9GIMe1hQRnrCzIejvc2pbIHUlmU+k9e4VO8mXtMfhL+AAB42mNgYgCDf20M1QzYgAADAyMTAxMDM4MwgwiDKIMYgziDBIMkgxSDNIMMIzMDI1t6TmVBhiFbbmZKSn4JAM6AB+wAAAAAAAH//wACeNpjYGRgYOABYjEgZmJgBEJ+IGYB8xgABEMAPnjaY2BgYGQAgqtL1DlA9IWb80NgNABD5QbiAAA=') format('woff'),
|
||||||
@ -92,7 +92,7 @@
|
|||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
} */
|
||||||
|
|
||||||
.organ-item.qs {
|
.organ-item.qs {
|
||||||
background-color: #f7a602;
|
background-color: #f7a602;
|
||||||
|
@ -642,7 +642,7 @@
|
|||||||
border-radius: 55.5rpx;
|
border-radius: 55.5rpx;
|
||||||
font-size: 23rpx;
|
font-size: 23rpx;
|
||||||
color: #72DB86;
|
color: #72DB86;
|
||||||
font-family: 'ArialMT', 'Arial', sans-serif;
|
// font-family: 'ArialMT', 'Arial', sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -544,7 +544,6 @@
|
|||||||
border-radius: 55.5rpx;
|
border-radius: 55.5rpx;
|
||||||
font-size: 23rpx;
|
font-size: 23rpx;
|
||||||
color: #72DB86;
|
color: #72DB86;
|
||||||
font-family: 'ArialMT', 'Arial', sans-serif;
|
|
||||||
}
|
}
|
||||||
.victory-offer-item .victory-offer-info-box .line-between {
|
.victory-offer-item .victory-offer-info-box .line-between {
|
||||||
margin: 0 14rpx;
|
margin: 0 14rpx;
|
||||||
|
@ -99,6 +99,11 @@ Component({
|
|||||||
timestamp: "",
|
timestamp: "",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
urls.unshift({
|
||||||
|
mold: 5,
|
||||||
|
timestamp: "",
|
||||||
|
})
|
||||||
|
|
||||||
this.setData({
|
this.setData({
|
||||||
urls,
|
urls,
|
||||||
})
|
})
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!--template/admission-box/admission-box.wxml-->
|
<!--template/admission-box/admission-box.wxml-->
|
||||||
<view class="admission-box" wx:if="{{ urls.length != 0 }}">
|
<view class="admission-box" wx:if="{{ urls.length != 0 }}">
|
||||||
<view class="head flexacenter" wx:if="{{ urls.length > 1 }}">
|
<view class="head flexacenter" wx:if="{{ urls.length > 2 }}">
|
||||||
<image class="icon" src="https://app.gter.net/image/miniApp/offer/talk-live-index-icon-black.png" mode="widthFix"></image>
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/talk-live-index-icon-black.png" mode="widthFix"></image>
|
||||||
<view class="text flexcenter">
|
<view class="text flexcenter">
|
||||||
<image class="bj" src="https://app.gter.net/image/miniApp/offer/rhomboid-icon-blue-grey.svg" mode="heightFix"></image>
|
<image class="bj" src="https://app.gter.net/image/miniApp/offer/rhomboid-icon-blue-grey.svg" mode="heightFix"></image>
|
||||||
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
<swiper class="content" autoplay="{{ true }}" bindanimationfinish="bindanimationfinish" circular="{{ true }}">
|
<swiper class="content" autoplay="{{ true }}" bindanimationfinish="bindanimationfinish" circular="{{ true }}">
|
||||||
<swiper-item class="flexacenter" wx:for="{{ urls }}" wx:key="index">
|
<swiper-item class="flexacenter" wx:for="{{ urls }}" wx:key="index">
|
||||||
<image wx:if="{{ item.mold == 4 }}" class="quick-answer" src="https://app.gter.net/image/miniApp/offer/quick-answer.png" mode="heightFix" bind:tap="cutQuickAnswer"></image>
|
<image wx:if="{{ item.mold == 5 }}" class="quick-answer" src="https://app.gter.net/image/miniApp/offer/set-out.jpg" mode="heightFix" bind:tap="goPage" data-url="/pages/webview/webview?url=https://mp.weixin.qq.com/s/BRjGQoQ8bimWzbxZivIbxA"></image>
|
||||||
|
<image wx:elif="{{ item.mold == 4 }}" class="quick-answer" src="https://app.gter.net/image/miniApp/offer/quick-answer.png" mode="heightFix" bind:tap="cutQuickAnswer"></image>
|
||||||
<block wx:else>
|
<block wx:else>
|
||||||
<navigator class="more" wx:if="{{ !countDownState }}" target="miniProgram" app-id="wxa9296b07391c2bc7" path="/pages/admissionList/admissionList" hover-class="none"></navigator>
|
<navigator class="more" wx:if="{{ !countDownState }}" target="miniProgram" app-id="wxa9296b07391c2bc7" path="/pages/admissionList/admissionList" hover-class="none"></navigator>
|
||||||
<view class="item flexacenter" bind:tap="goPage" data-url="/pages/webview/webview?url={{ item.url }}">
|
<view class="item flexacenter" bind:tap="goPage" data-url="/pages/webview/webview?url={{ item.url }}">
|
||||||
|
@ -44,10 +44,7 @@ Component({
|
|||||||
appId: this.data.popup.applet.appid,
|
appId: this.data.popup.applet.appid,
|
||||||
path: this.data.popup.applet.path,
|
path: this.data.popup.applet.path,
|
||||||
})
|
})
|
||||||
} else {
|
} else common.goPage("/pages/webview/webview?url=" + encodeURIComponent(this.data.popup.url || ''))
|
||||||
common.goPage("/pages/webview/webview?url=" + encodeURIComponent(this.data.popup.url || ''))
|
|
||||||
}
|
|
||||||
|
|
||||||
this.close()
|
this.close()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -1,33 +1,10 @@
|
|||||||
/* template/rent-pop/rent-pop.wxss */
|
/* template/rent-pop/rent-pop.wxss */
|
||||||
view {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 公共的 css 样式 */
|
|
||||||
.flexflex {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flexcenter {
|
.flexcenter {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flexjcenter {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flexacenter {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex1 {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flexcolumn {
|
.flexcolumn {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -43,258 +20,6 @@ view {
|
|||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
|
||||||
width: 630rpx;
|
|
||||||
height: 990rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
margin-bottom: 49.5rpx;
|
|
||||||
|
|
||||||
transform-style: preserve-3d;
|
|
||||||
// animation: rotateAnimation .3s;
|
|
||||||
|
|
||||||
@keyframes rotateAnimation {
|
|
||||||
0% {
|
|
||||||
transform: rotateY(180deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
100% {
|
|
||||||
transform: rotateY(0deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.star {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
.star1 {
|
|
||||||
width: 60rpx;
|
|
||||||
height: 60rpx;
|
|
||||||
top: 649.5rpx;
|
|
||||||
left: -60rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.star2 {
|
|
||||||
width: 72rpx;
|
|
||||||
height: 72rpx;
|
|
||||||
top: -85.5rpx;
|
|
||||||
right: 66rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.star3 {
|
|
||||||
width: 78rpx;
|
|
||||||
height: 78rpx;
|
|
||||||
right: -30rpx;
|
|
||||||
bottom: -76.5rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bj {
|
|
||||||
width: 630rpx;
|
|
||||||
height: 990rpx;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.city-bj {
|
|
||||||
width: 630rpx;
|
|
||||||
height: 517.5rpx;
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: -1;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.head {
|
|
||||||
position: relative;
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 300rpx;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
|
|
||||||
.head-bj {
|
|
||||||
position: absolute;
|
|
||||||
left: -7.5rpx;
|
|
||||||
top: -7.5rpx;
|
|
||||||
width: 315rpx;
|
|
||||||
height: 228rpx;
|
|
||||||
transform: rotate(180deg);
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.head-box {
|
|
||||||
height: 84rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
width: 300rpx;
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
width: 30rpx;
|
|
||||||
height: 30rpx;
|
|
||||||
margin-right: 6rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.xg {
|
|
||||||
width: 67.5rpx;
|
|
||||||
height: 43.5rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.main {
|
|
||||||
width: 561rpx;
|
|
||||||
height: 843rpx;
|
|
||||||
background: linear-gradient(180deg, rgba(247, 247, 247, 1) 1%, rgba(242, 242, 242, 1) 100%);
|
|
||||||
border: 1rpx solid rgba(51, 51, 51, 1);
|
|
||||||
margin-left: 40.5rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
|
|
||||||
.main-bj {
|
|
||||||
position: absolute;
|
|
||||||
top: 10.5rpx;
|
|
||||||
left: -10.5rpx;
|
|
||||||
width: 561rpx;
|
|
||||||
height: 843rpx;
|
|
||||||
background: linear-gradient(180deg, rgba(247, 247, 247, 1) 1%, rgba(242, 242, 242, 1) 100%);
|
|
||||||
border: 1rpx solid rgba(51, 51, 51, 1);
|
|
||||||
z-index: -10;
|
|
||||||
padding-top: 24rpx;
|
|
||||||
|
|
||||||
.title {
|
|
||||||
width: 487.5rpx;
|
|
||||||
height: 75rpx;
|
|
||||||
margin-bottom: 18rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title-line {
|
|
||||||
width: 481.5rpx;
|
|
||||||
height: 3rpx;
|
|
||||||
margin-bottom: 22.5rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hint {
|
|
||||||
width: 387rpx;
|
|
||||||
height: 54rpx;
|
|
||||||
margin-bottom: 28.5rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.data {
|
|
||||||
position: relative;
|
|
||||||
width: 480rpx;
|
|
||||||
height: 136rpx;
|
|
||||||
z-index: 1;
|
|
||||||
margin-bottom: 35rpx;
|
|
||||||
|
|
||||||
.data-bj {
|
|
||||||
width: 480rpx;
|
|
||||||
height: 136rpx;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item {
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
.value {
|
|
||||||
font-family: 'Arial-Black', 'Arial Black', sans-serif;
|
|
||||||
font-weight: 900;
|
|
||||||
font-size: 42rpx;
|
|
||||||
color: #000000;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text {
|
|
||||||
color: #333333;
|
|
||||||
font-size: 27rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.line {
|
|
||||||
width: 1rpx;
|
|
||||||
height: 94.5rpx;
|
|
||||||
border-right: 1rpx dotted #797979;
|
|
||||||
margin: 0 52.5rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.img-box {
|
|
||||||
width: 480rpx;
|
|
||||||
height: 376.5rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
margin-bottom: 10rpx;
|
|
||||||
|
|
||||||
.img {
|
|
||||||
position: absolute;
|
|
||||||
left: -10.5rpx;
|
|
||||||
top: -10.5rpx;
|
|
||||||
width: 501rpx;
|
|
||||||
height: 397.5rpx;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text {
|
|
||||||
font-weight: 400;
|
|
||||||
font-style: normal;
|
|
||||||
font-size: 22.5rpx;
|
|
||||||
color: #555555;
|
|
||||||
text-align: center;
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
bottom: 20rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.arrows {
|
|
||||||
.icon {
|
|
||||||
|
|
||||||
&:nth-child(2) {
|
|
||||||
margin: 0 15rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
width: 45rpx;
|
|
||||||
height: 45rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn {
|
|
||||||
position: relative;
|
|
||||||
width: 450rpx;
|
|
||||||
height: 96rpx;
|
|
||||||
background: -webkit-linear-gradient(270deg, rgba(252, 253, 206, 1) 0%, rgba(210, 213, 29, 1) 52%, rgba(251, 252, 203, 1) 100%);
|
|
||||||
background: -moz-linear-gradient(180deg, rgba(252, 253, 206, 1) 0%, rgba(210, 213, 29, 1) 52%, rgba(251, 252, 203, 1) 100%);
|
|
||||||
background: linear-gradient(180deg, rgba(252, 253, 206, 1) 0%, rgba(210, 213, 29, 1) 52%, rgba(251, 252, 203, 1) 100%);
|
|
||||||
border: none;
|
|
||||||
border-radius: 225rpx;
|
|
||||||
|
|
||||||
.img {
|
|
||||||
width: 199.5rpx;
|
|
||||||
height: 70.5rpx;
|
|
||||||
margin-right: 18rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.arrows {
|
|
||||||
width: 45rpx;
|
|
||||||
height: 45rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.close {
|
|
||||||
width: 36rpx;
|
|
||||||
height: 36rpx;
|
|
||||||
position: absolute;
|
|
||||||
bottom: -100rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.imgimg {
|
.imgimg {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 500rpx;
|
height: 500rpx;
|
||||||
|
@ -1,55 +1,4 @@
|
|||||||
<!--template/rent-pop/rent-pop.wxml-->
|
<!--template/rent-pop/rent-pop.wxml-->
|
||||||
<view class="pop flexcenter flexcolumn" wx:if="{{ state }}" bind:tap="close" catch:touchmove="return">
|
<view class="pop flexcenter flexcolumn" wx:if="{{ state }}" bind:tap="close" catch:touchmove="return">
|
||||||
<block wx:if="{{ false }}">
|
<image class="imgimg" src="{{ popup.image }}" mode="widthFix" catch:tap="skip"></image>
|
||||||
<view class="box flexcolumn" catch:tap="return">
|
|
||||||
<image class="star star1" src="https://app.gter.net/image/miniApp/offer/rent-pop/star.png" mode="widthFix"></image>
|
|
||||||
<image class="star star2" src="https://app.gter.net/image/miniApp/offer/rent-pop/star.png" mode="widthFix"></image>
|
|
||||||
<image class="star star3" src="https://app.gter.net/image/miniApp/offer/rent-pop/star.png" mode="widthFix"></image>
|
|
||||||
<image class="city-bj" src="https://app.gter.net/image/miniApp/offer/rent-pop/city-bj.svg" mode="widthFix"></image>
|
|
||||||
|
|
||||||
<image class="bj" src="https://app.gter.net/image/miniApp/offer/rent-pop/bj.svg" mode="widthFix"></image>
|
|
||||||
<view class="head">
|
|
||||||
<view class="head-box flexcenter">
|
|
||||||
<image class="icon" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/rent-pop/location.png"></image>
|
|
||||||
<image class="xg" mode="" src="https://app.gter.net/image/miniApp/offer/rent-pop/xg.png"></image>
|
|
||||||
</view>
|
|
||||||
<image class="head-bj" src="https://app.gter.net/image/miniApp/offer/rent-pop/trapezoid.svg" mode="widthFix"></image>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="main">
|
|
||||||
<view class="main-bj flexacenter flexcolumn">
|
|
||||||
<image class="title" src="https://app.gter.net/image/miniApp/offer/rent-pop/title.png"></image>
|
|
||||||
<image class="title-line" src="https://app.gter.net/image/miniApp/offer/rent-pop/title-line.svg"></image>
|
|
||||||
<image class="hint" src="https://app.gter.net/image/miniApp/offer/rent-pop/hint.png"></image>
|
|
||||||
<view class="data flexcenter">
|
|
||||||
<image class="data-bj" src="https://app.gter.net/image/miniApp/offer/rent-pop/data-bj.svg"></image>
|
|
||||||
<view class="item">
|
|
||||||
<view class="value">40+</view>
|
|
||||||
<view class="text">学生公寓</view>
|
|
||||||
</view>
|
|
||||||
<view class="line"></view>
|
|
||||||
<view class="item">
|
|
||||||
<view class="value">5000+</view>
|
|
||||||
<view class="text">真实房源</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="img-box">
|
|
||||||
<image class="img" mode="widthFix" src="https://app.gter.net/image/miniApp/offer/rent-pop/apartment-img.svg"></image>
|
|
||||||
<view class="text">@ 学生公寓实景照片</view>
|
|
||||||
</view>
|
|
||||||
<view class="arrows flexacenter">
|
|
||||||
<image class="icon" src="https://app.gter.net/image/miniApp/offer/rent-pop/arrows3.png" mode="widthFix"></image>
|
|
||||||
<image class="icon" src="https://app.gter.net/image/miniApp/offer/rent-pop/arrows3.png" mode="widthFix"></image>
|
|
||||||
<image class="icon" src="https://app.gter.net/image/miniApp/offer/rent-pop/arrows3.png" mode="widthFix"></image>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="btn flexcenter" catch:tap="skip">
|
|
||||||
<image class="img" src="https://app.gter.net/image/miniApp/offer/rent-pop/btn-text.png" mode="widthFix"></image>
|
|
||||||
<image class="arrows" src="https://app.gter.net/image/miniApp/offer/rent-pop/arrows.png" mode="widthFix"></image>
|
|
||||||
<image class="close" catch:tap="close" src="https://app.gter.net/image/miniApp/offer/close-icon.png"></image>
|
|
||||||
</view>
|
|
||||||
</block>
|
|
||||||
<image wx:else class="imgimg" src="{{ popup.image }}" mode="widthFix" catch:tap="skip"></image>
|
|
||||||
</view>
|
</view>
|
@ -1,27 +1,9 @@
|
|||||||
/* template/rent-pop/rent-pop.wxss */
|
/* template/rent-pop/rent-pop.wxss */
|
||||||
view {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
/* 公共的 css 样式 */
|
|
||||||
.flexflex {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.flexcenter {
|
.flexcenter {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.flexjcenter {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
.flexacenter {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.flex1 {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
.flexcolumn {
|
.flexcolumn {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -35,216 +17,6 @@ view {
|
|||||||
background-color: rgba(0, 0, 0, 0.71764706);
|
background-color: rgba(0, 0, 0, 0.71764706);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
.box {
|
|
||||||
width: 630rpx;
|
|
||||||
height: 990rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
margin-bottom: 49.5rpx;
|
|
||||||
transform-style: preserve-3d;
|
|
||||||
}
|
|
||||||
@keyframes rotateAnimation {
|
|
||||||
0% {
|
|
||||||
transform: rotateY(180deg);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotateY(0deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.box .star {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
.box .star1 {
|
|
||||||
width: 60rpx;
|
|
||||||
height: 60rpx;
|
|
||||||
top: 649.5rpx;
|
|
||||||
left: -60rpx;
|
|
||||||
}
|
|
||||||
.box .star2 {
|
|
||||||
width: 72rpx;
|
|
||||||
height: 72rpx;
|
|
||||||
top: -85.5rpx;
|
|
||||||
right: 66rpx;
|
|
||||||
}
|
|
||||||
.box .star3 {
|
|
||||||
width: 78rpx;
|
|
||||||
height: 78rpx;
|
|
||||||
right: -30rpx;
|
|
||||||
bottom: -76.5rpx;
|
|
||||||
}
|
|
||||||
.box .bj {
|
|
||||||
width: 630rpx;
|
|
||||||
height: 990rpx;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.box .city-bj {
|
|
||||||
width: 630rpx;
|
|
||||||
height: 517.5rpx;
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.box .head {
|
|
||||||
position: relative;
|
|
||||||
margin: 0 auto;
|
|
||||||
width: 300rpx;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.box .head .head-bj {
|
|
||||||
position: absolute;
|
|
||||||
left: -7.5rpx;
|
|
||||||
top: -7.5rpx;
|
|
||||||
width: 315rpx;
|
|
||||||
height: 228rpx;
|
|
||||||
transform: rotate(180deg);
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.box .head .head-box {
|
|
||||||
height: 84rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
width: 300rpx;
|
|
||||||
}
|
|
||||||
.box .head .head-box .icon {
|
|
||||||
width: 30rpx;
|
|
||||||
height: 30rpx;
|
|
||||||
margin-right: 6rpx;
|
|
||||||
}
|
|
||||||
.box .head .head-box .xg {
|
|
||||||
width: 67.5rpx;
|
|
||||||
height: 43.5rpx;
|
|
||||||
}
|
|
||||||
.box .main {
|
|
||||||
width: 561rpx;
|
|
||||||
height: 843rpx;
|
|
||||||
background: linear-gradient(180deg, #f7f7f7 1%, #f2f2f2 100%);
|
|
||||||
border: 1rpx solid #333333;
|
|
||||||
margin-left: 40.5rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
.box .main .main-bj {
|
|
||||||
position: absolute;
|
|
||||||
top: 10.5rpx;
|
|
||||||
left: -10.5rpx;
|
|
||||||
width: 561rpx;
|
|
||||||
height: 843rpx;
|
|
||||||
background: linear-gradient(180deg, #f7f7f7 1%, #f2f2f2 100%);
|
|
||||||
border: 1rpx solid #333333;
|
|
||||||
z-index: -10;
|
|
||||||
padding-top: 24rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .title {
|
|
||||||
width: 487.5rpx;
|
|
||||||
height: 75rpx;
|
|
||||||
margin-bottom: 18rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .title-line {
|
|
||||||
width: 481.5rpx;
|
|
||||||
height: 3rpx;
|
|
||||||
margin-bottom: 22.5rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .hint {
|
|
||||||
width: 387rpx;
|
|
||||||
height: 54rpx;
|
|
||||||
margin-bottom: 28.5rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .data {
|
|
||||||
position: relative;
|
|
||||||
width: 480rpx;
|
|
||||||
height: 136rpx;
|
|
||||||
z-index: 1;
|
|
||||||
margin-bottom: 35rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .data .data-bj {
|
|
||||||
width: 480rpx;
|
|
||||||
height: 136rpx;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .data .item {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .data .item .value {
|
|
||||||
font-family: 'Arial-Black', 'Arial Black', sans-serif;
|
|
||||||
font-weight: 900;
|
|
||||||
font-size: 42rpx;
|
|
||||||
color: #000000;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .data .item .text {
|
|
||||||
color: #333333;
|
|
||||||
font-size: 27rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .data .line {
|
|
||||||
width: 1rpx;
|
|
||||||
height: 94.5rpx;
|
|
||||||
border-right: 1rpx dotted #797979;
|
|
||||||
margin: 0 52.5rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .img-box {
|
|
||||||
width: 480rpx;
|
|
||||||
height: 376.5rpx;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
margin-bottom: 10rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .img-box .img {
|
|
||||||
position: absolute;
|
|
||||||
left: -10.5rpx;
|
|
||||||
top: -10.5rpx;
|
|
||||||
width: 501rpx;
|
|
||||||
height: 397.5rpx;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .img-box .text {
|
|
||||||
font-weight: 400;
|
|
||||||
font-style: normal;
|
|
||||||
font-size: 22.5rpx;
|
|
||||||
color: #555555;
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
bottom: 20rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .arrows .icon {
|
|
||||||
width: 45rpx;
|
|
||||||
height: 45rpx;
|
|
||||||
}
|
|
||||||
.box .main .main-bj .arrows .icon:nth-child(2) {
|
|
||||||
margin: 0 15rpx;
|
|
||||||
}
|
|
||||||
.btn {
|
|
||||||
position: relative;
|
|
||||||
width: 450rpx;
|
|
||||||
height: 96rpx;
|
|
||||||
background: -webkit-linear-gradient(270deg, #fcfdce 0%, #d2d51d 52%, #fbfccb 100%);
|
|
||||||
background: -moz-linear-gradient(180deg, #fcfdce 0%, #d2d51d 52%, #fbfccb 100%);
|
|
||||||
background: linear-gradient(180deg, #fcfdce 0%, #d2d51d 52%, #fbfccb 100%);
|
|
||||||
border: none;
|
|
||||||
border-radius: 225rpx;
|
|
||||||
}
|
|
||||||
.btn .img {
|
|
||||||
width: 199.5rpx;
|
|
||||||
height: 70.5rpx;
|
|
||||||
margin-right: 18rpx;
|
|
||||||
}
|
|
||||||
.btn .arrows {
|
|
||||||
width: 45rpx;
|
|
||||||
height: 45rpx;
|
|
||||||
}
|
|
||||||
.close {
|
|
||||||
width: 36rpx;
|
|
||||||
height: 36rpx;
|
|
||||||
position: absolute;
|
|
||||||
bottom: -100rpx;
|
|
||||||
}
|
|
||||||
.imgimg {
|
.imgimg {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 500rpx;
|
height: 500rpx;
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
.title {
|
.title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 21rpx;
|
font-size: 25rpx;
|
||||||
margin: 0 auto 21rpx;
|
margin: 0 auto 21rpx;
|
||||||
height: 34.5rpx;
|
height: 34.5rpx;
|
||||||
|
|
||||||
@ -122,7 +122,7 @@
|
|||||||
line-height: 28.5rpx;
|
line-height: 28.5rpx;
|
||||||
|
|
||||||
.remark-ps {
|
.remark-ps {
|
||||||
font-family: 'Arial-Black', 'Arial Black', sans-serif;
|
font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-size: 21rpx;
|
font-size: 21rpx;
|
||||||
|
@ -22,15 +22,15 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="across flexacenter">
|
<view class="across flexacenter">
|
||||||
<view class="item flex1 flexcenter">
|
<view class="item flex1 flexcenter">
|
||||||
<view class="date">{{ duckProphet.studentcount || '-' }}</view>
|
<view class="date">{{ duckProphet.studentcount || '0' }}</view>
|
||||||
<view class="text">人数</view>
|
<view class="text">人数</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item flex1 flexcenter">
|
<view class="item flex1 flexcenter">
|
||||||
<view class="date">{{ duckProphet.offercount || '-' }}</view>
|
<view class="date">{{ duckProphet.offercount || '0' }}</view>
|
||||||
<view class="text">Offer</view>
|
<view class="text">Offer</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item flex1 flexcenter">
|
<view class="item flex1 flexcenter">
|
||||||
<view class="date">{{ duckProphet.rejectcount || '-' }}</view>
|
<view class="date">{{ duckProphet.rejectcount || '0' }}</view>
|
||||||
<view class="text">拒信</view>
|
<view class="text">拒信</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
.survey .survey-box .title {
|
.survey .survey-box .title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 21rpx;
|
font-size: 25rpx;
|
||||||
margin: 0 auto 21rpx;
|
margin: 0 auto 21rpx;
|
||||||
height: 34.5rpx;
|
height: 34.5rpx;
|
||||||
}
|
}
|
||||||
@ -100,7 +100,7 @@
|
|||||||
line-height: 28.5rpx;
|
line-height: 28.5rpx;
|
||||||
}
|
}
|
||||||
.survey .remark .remark-ps {
|
.survey .remark .remark-ps {
|
||||||
font-family: 'Arial-Black', 'Arial Black', sans-serif;
|
font-family: 'Arial', 'Arial-Black', 'Arial Black', sans-serif;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-size: 21rpx;
|
font-size: 21rpx;
|
||||||
|
@ -283,7 +283,7 @@ Page({
|
|||||||
newest: data.newest || '',
|
newest: data.newest || '',
|
||||||
})
|
})
|
||||||
|
|
||||||
const admissionsId = admissions[0].id
|
const admissionsId = admissions?.[0]?.id
|
||||||
this.handleAmissionsData(admissionsId)
|
this.handleAmissionsData(admissionsId)
|
||||||
this.handleRequirementData(admissionsId)
|
this.handleRequirementData(admissionsId)
|
||||||
this.getRecommendData()
|
this.getRecommendData()
|
||||||
@ -304,7 +304,14 @@ Page({
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = res.data
|
let data = res.data
|
||||||
|
// data = {
|
||||||
|
// earliestdate: "2025-06-09",
|
||||||
|
// latestdate: "2023-04-06",
|
||||||
|
// offercount: 0,
|
||||||
|
// rejectcount: 10,
|
||||||
|
// studentcount: 0,
|
||||||
|
// }
|
||||||
const hasValidCount = data.studentcount || data.offercount || data.rejectcount;
|
const hasValidCount = data.studentcount || data.offercount || data.rejectcount;
|
||||||
const shouldResetSide = !hasValidCount && this.data.offerShowList.length === 0 && this.data.offerPage !== 1;
|
const shouldResetSide = !hasValidCount && this.data.offerShowList.length === 0 && this.data.offerPage !== 1;
|
||||||
this.setData({
|
this.setData({
|
||||||
@ -968,7 +975,7 @@ Page({
|
|||||||
cutDemandState() {
|
cutDemandState() {
|
||||||
this.setData({
|
this.setData({
|
||||||
demandState: this.data.demandState == 1 ? 2 : 1
|
demandState: this.data.demandState == 1 ? 2 : 1
|
||||||
})
|
}, () => setTimeout(() => this.getHeadHeight(), 500))
|
||||||
},
|
},
|
||||||
|
|
||||||
// 获取 格式 2025Fall
|
// 获取 格式 2025Fall
|
||||||
|
@ -1757,7 +1757,7 @@ navigator {
|
|||||||
border-radius: 55.5rpx;
|
border-radius: 55.5rpx;
|
||||||
font-size: 23rpx;
|
font-size: 23rpx;
|
||||||
color: #72DB86;
|
color: #72DB86;
|
||||||
font-family: 'ArialMT', 'Arial', sans-serif;
|
// font-family: 'ArialMT', 'Arial', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -203,7 +203,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="ps">
|
<view class="ps">
|
||||||
<view class="title">P.S.</view>
|
<view class="title">P.S. </view>
|
||||||
<view class="text">某些学科属跨学科专业(如建筑师兼顾工学和艺术学),系统自动从排名分类里找到最接近的进行展示。</view>
|
<view class="text">某些学科属跨学科专业(如建筑师兼顾工学和艺术学),系统自动从排名分类里找到最接近的进行展示。</view>
|
||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
@ -586,18 +586,19 @@
|
|||||||
<view class="btn flexcenter" bind:tap="openFile" data-url="{{ admissionsObj.leaflet_url }}">打开文件</view>
|
<view class="btn flexcenter" bind:tap="openFile" data-url="{{ admissionsObj.leaflet_url }}">打开文件</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="link block magb30" wx:if="{{ info.website_en }}">
|
<view class="link block magb30" wx:if="{{ admissionsObj.application_url }}">
|
||||||
<view class="title">研究生院申请页项目详情</view>
|
<view class="title">研究生院申请页项目详情</view>
|
||||||
<view class="text">{{ info.website_en }}</view>
|
<view class="text">{{ admissionsObj.application_url }}</view>
|
||||||
<view class="btn flexcenter" bind:tap="copy" data-text="{{ info.website_en }}">
|
<view class="btn flexcenter" bind:tap="copy" data-text="{{ admissionsObj.application_url }}">
|
||||||
<image class="icon" src="https://app.gter.net/image/miniApp/offer/copy-icon.png" mode="widthFix"></image>
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/copy-icon.png" mode="widthFix"></image>
|
||||||
复制链接
|
复制链接
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="link block magb30" wx:if="{{ admissionsObj.application_url }}">
|
|
||||||
|
<view class="link block magb30" wx:if="{{ info.website_en }}">
|
||||||
<view class="title">学院网站项目详情</view>
|
<view class="title">学院网站项目详情</view>
|
||||||
<view class="text">{{ admissionsObj.application_url }}</view>
|
<view class="text">{{ info.website_en }}</view>
|
||||||
<view class="btn flexcenter" bind:tap="copy" data-text="{{ admissionsObj.application_url }}">
|
<view class="btn flexcenter" bind:tap="copy" data-text="{{ info.website_en }}">
|
||||||
<image class="icon" src="https://app.gter.net/image/miniApp/offer/copy-icon.png" mode="widthFix"></image>
|
<image class="icon" src="https://app.gter.net/image/miniApp/offer/copy-icon.png" mode="widthFix"></image>
|
||||||
复制链接
|
复制链接
|
||||||
</view>
|
</view>
|
||||||
|
@ -1428,7 +1428,6 @@ navigator {
|
|||||||
border-radius: 55.5rpx;
|
border-radius: 55.5rpx;
|
||||||
font-size: 23rpx;
|
font-size: 23rpx;
|
||||||
color: #72DB86;
|
color: #72DB86;
|
||||||
font-family: 'ArialMT', 'Arial', sans-serif;
|
|
||||||
}
|
}
|
||||||
.details-box .consult-list .consult-item .info-xiaobox {
|
.details-box .consult-list .consult-item .info-xiaobox {
|
||||||
width: 519rpx;
|
width: 519rpx;
|
||||||
|
@ -420,7 +420,6 @@ Page({
|
|||||||
status: 1,
|
status: 1,
|
||||||
ismanage: 1,
|
ismanage: 1,
|
||||||
}
|
}
|
||||||
console.log("listLeft", listLeft, index, "index");
|
|
||||||
this.setData({
|
this.setData({
|
||||||
listLeft,
|
listLeft,
|
||||||
})
|
})
|
||||||
@ -549,7 +548,6 @@ Page({
|
|||||||
if (type == 'admission') {
|
if (type == 'admission') {
|
||||||
const admissionList = this.data.admissionList
|
const admissionList = this.data.admissionList
|
||||||
admissionList.forEach(element => {
|
admissionList.forEach(element => {
|
||||||
console.log("element", element);
|
|
||||||
element.forEach(ele => {
|
element.forEach(ele => {
|
||||||
ele['moreState'] = false
|
ele['moreState'] = false
|
||||||
})
|
})
|
||||||
@ -802,7 +800,6 @@ Page({
|
|||||||
data.forEach(element => {
|
data.forEach(element => {
|
||||||
element['mechanism'] = this.rankingsObj[element.mechanism]?.name || element.mechanism
|
element['mechanism'] = this.rankingsObj[element.mechanism]?.name || element.mechanism
|
||||||
})
|
})
|
||||||
data[0].subject = "Anthropology Anthropology Anthropology Anthropology Anthropology"
|
|
||||||
let arr = [data.slice(0, 5), data.slice(5, 10), data.slice(10, 15)]
|
let arr = [data.slice(0, 5), data.slice(5, 10), data.slice(10, 15)]
|
||||||
this.setData({
|
this.setData({
|
||||||
rankingList: arr
|
rankingList: arr
|
||||||
|
@ -9,16 +9,16 @@
|
|||||||
"miniprogram": {
|
"miniprogram": {
|
||||||
"list": [
|
"list": [
|
||||||
{
|
{
|
||||||
"name": "pages/projectComparison/projectComparison",
|
"name": "pages/projectDetails/projectDetails",
|
||||||
"pathName": "pages/projectComparison/projectComparison",
|
"pathName": "pages/projectDetails/projectDetails",
|
||||||
"query": "ids=1%2C5",
|
"query": "uniqid=f0C0aKS1aKrb",
|
||||||
"launchMode": "default",
|
"launchMode": "default",
|
||||||
"scene": null
|
"scene": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pages/projectDetails/projectDetails",
|
"name": "pages/projectComparison/projectComparison",
|
||||||
"pathName": "pages/projectDetails/projectDetails",
|
"pathName": "pages/projectComparison/projectComparison",
|
||||||
"query": "uniqid=ayPLvLzbaf8K",
|
"query": "ids=1%2C5",
|
||||||
"launchMode": "default",
|
"launchMode": "default",
|
||||||
"scene": null
|
"scene": null
|
||||||
},
|
},
|
||||||
|
61
utils/loadFont.js
Normal file
61
utils/loadFont.js
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
// 下载字体文件,注意要把字体域名加到后台downloadFile白名单中
|
||||||
|
function _downloadFont(fontUrl, filePath, fontFamily) {
|
||||||
|
wx.downloadFile({
|
||||||
|
url: fontUrl,
|
||||||
|
success: res => {
|
||||||
|
wx.getFileSystemManager().saveFile({ // 下载成功后保存到本地
|
||||||
|
tempFilePath: res.tempFilePath,
|
||||||
|
filePath,
|
||||||
|
success: res => {
|
||||||
|
// 加载字体
|
||||||
|
_loadFontFace(fontFamily, res.savedFilePath)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 加载文件字体转 base64,load
|
||||||
|
function _loadFontFace(fontFamily, filePath) {
|
||||||
|
// 读文件
|
||||||
|
wx.getFileSystemManager().readFile({
|
||||||
|
filePath, // 本地文件地址
|
||||||
|
encoding: 'base64',
|
||||||
|
success: res => {
|
||||||
|
wx.loadFontFace({
|
||||||
|
global: true, // 是否全局生效
|
||||||
|
scopes: ['webview', 'native'], //
|
||||||
|
family: fontFamily, // 字体名称
|
||||||
|
source: `url("data:font/truetype;charset=utf-8;base64,${res.data}")`,
|
||||||
|
success(res) {
|
||||||
|
// console.log(fontFamily + '加载成功:' + res.status)
|
||||||
|
},
|
||||||
|
fail: function (res) {
|
||||||
|
// console.log(fontFamily, res)
|
||||||
|
},
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
// fontUrl: 字体地址
|
||||||
|
// filename: 存储文件路径
|
||||||
|
// fontFamily: css 中字体的 family
|
||||||
|
function loadCloudFontFace(fontUrl, filename, fontFamily) {
|
||||||
|
const filePath = `${wx.env.USER_DATA_PATH}/${filename}`
|
||||||
|
wx.getFileSystemManager().access({
|
||||||
|
path: filePath,
|
||||||
|
success: () => {
|
||||||
|
_loadFontFace(fontFamily, filePath)
|
||||||
|
console.log('从本地加载了字体', filePath);
|
||||||
|
},
|
||||||
|
fail: () => {
|
||||||
|
_downloadFont(fontUrl, filePath, fontFamily)
|
||||||
|
console.log('从外部加载了字体', fontUrl);
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
loadCloudFontFace
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user