index.vue 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009
  1. <template>
  2. <view class="content" style="overflow: hidden;">
  3. <view style="width:750upx; height:118upx; background:rgba(255,255,255,1);display: flex;justify-content: center;">
  4. <search-input-box style="margin-top: 24upx;"></search-input-box>
  5. </view>
  6. <swiper :indicator-dots="true" :autoplay="true" :interval="2000" :duration="1000" circular="true" style="background: #ffffff;">
  7. <swiper-item>
  8. <image src="../../static/76_avatar_middle.jpg" mode="widthFix"></image>
  9. </swiper-item>
  10. <swiper-item>
  11. <image src="../../static/76_avatar_middle.jpg" mode="widthFix"></image>
  12. </swiper-item>
  13. </swiper>
  14. <view class="view-content">
  15. <view @tap="jumpschool" id="school" hover-class="none">
  16. <image src="../../static/home_ic_college@2x.png" mode="widthFix"></image>
  17. <p>院校库</p>
  18. </view>
  19. <view @tap="jumpmajor" id="major" hover-class="none">
  20. <image src="../../static/home_ic_major@2x.png" mode="widthFix"></image>
  21. <p>专业库</p>
  22. </view>
  23. <view @tap="jumpinterest" id="school" hover-class="none">
  24. <image src="../../static/home_ic_test@2x.png" mode="widthFix"></image>
  25. <p>兴趣测评</p>
  26. </view>
  27. </view>
  28. <view class="school">
  29. <image src="../../static/home_word_university@2x.png" mode="widthFix" style="margin-top: 30upx;"></image>
  30. <view class="titleRed">
  31. <image src="../../static/btn_bg_big.png" mode=""></image>
  32. </view>
  33. <view class="school-content">
  34. <view class="schol-icon" @tap="detail">
  35. <image src="../../static/清华@2x.png" mode="widthFix"></image>
  36. <span>清华大学</span>
  37. </view>
  38. <view class="schol-icon">
  39. <image src="../../static/清华@2x.png" mode="widthFix"></image>
  40. <span>清华大学</span>
  41. </view>
  42. </view>
  43. <view class="school-content">
  44. <view class="schol-icon">
  45. <image src="../../static/清华@2x.png" mode="widthFix"></image>
  46. <span>清华大学</span>
  47. </view>
  48. <view class="schol-icon">
  49. <image src="../../static/清华@2x.png" mode="widthFix"></image>
  50. <span>清华大学</span>
  51. </view>
  52. </view>
  53. <view class="school-content">
  54. <view class="schol-icon">
  55. <image src="../../static/清华@2x.png" mode="widthFix"></image>
  56. <span>清华大学</span>
  57. </view>
  58. <view class="schol-icon">
  59. <image src="../../static/清华@2x.png" mode="widthFix"></image>
  60. <span>清华大学</span>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="major">
  65. <image src="../../static/home_word_profession@2x.png" mode="widthFix" style="margin-top: 30upx;"></image>
  66. <view class="titleRed">
  67. <image src="../../static/btn_bg_big.png" mode=""></image>
  68. </view>
  69. <view class="major-content">
  70. <view class="tui-container">
  71. <view class="tui-extend-box">
  72. <scroll-view scroll-y>
  73. <view style="display: flex;">
  74. <image src="../../static/btn_bg_big.png" mode=""></image>
  75. <view class="box-distance">经济学</view>
  76. </view>
  77. <view style="display: flex;">
  78. <image src="../../static/btn_bg_big.png" mode=""></image>
  79. <view class="box-distance">公共关系学</view>
  80. </view>
  81. <view style="display: flex;">
  82. <image src="../../static/btn_bg_big.png" mode=""></image>
  83. <view class="box-distance">国际事务管理</view>
  84. </view>
  85. </scroll-view>
  86. </view>
  87. <view class="tui-extend-box">
  88. <scroll-view scroll-y>
  89. <view style="display: flex;">
  90. <image src="../../static/btn_bg_big.png" mode=""></image>
  91. <view class="box-distance">软件工程</view>
  92. </view>
  93. <view style="display: flex;">
  94. <image src="../../static/btn_bg_big.png" mode=""></image>
  95. <view class="box-distance">广告学</view>
  96. </view>
  97. <view style="display: flex;">
  98. <image src="../../static/btn_bg_big.png" mode=""></image>
  99. <view class="box-distance">智能科学与技术</view>
  100. </view>
  101. </scroll-view>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. <!-- <div class="footer">
  107. <div>
  108. <image src="../../static/icon/home_icon_default_sel@2x.png" mode="widthFix"></image>
  109. <p>首页</p>
  110. </div>
  111. <div>
  112. <image src="../../static/icon/home_icon_volunteer_nor@2x.png" mode="widthFix"></image>
  113. <p>志愿预测</p>
  114. </div>
  115. <div>
  116. <image src="../../static/icon/home_icon_my_nor@2x.png" mode="widthFix"></image>
  117. <p>我的</p>
  118. </div>
  119. </div>
  120. -->
  121. <uni-popup :show="welcome" :type="type" :custom="true" :mask-click="false" @change="change">
  122. <view class="uni-tip-wel">
  123. <image src="../../static/home_ic_college@2x.png" mode="widthFix" style="width: 300upx;height: 300upx;margin: 40upx auto 0;"></image>
  124. <view class="uni-tip-wel-content"> 欢迎来到山东志愿帮~</view>
  125. <view class="uni-tip--wel-button">
  126. <view class="uni-tip-wel-button-text" @tap="opennext()">微信授权</view>
  127. </view>
  128. </view>
  129. </uni-popup>
  130. <uni-popup :show="show" :type="type" :custom="true" :mask-click="false" @change="change">
  131. <view class="uni-tip">
  132. <view class="uni-tip-title">微信授权</view>
  133. <view class="uni-tip-image">
  134. <image src="../../static/芝麻高报-logo.png" mode=""></image>
  135. </view>
  136. <view class="uni-tip-content">芝麻高报系统申请获取以下权限:</view>
  137. <hr style="width:452upx;height:2upx;background:rgba(229,229,229,1);margin: 24upx auto;">
  138. <view class="uni-tip-content-son">
  139. <ul>
  140. <li> • 获得你的信息(昵称、头像、地区 等)</li>
  141. </ul>
  142. </view>
  143. <view class="uni-tip-group-button">
  144. <view class="uni-tip-button" @tap="cancel('tip')">拒绝</view>
  145. <view class="jiangexian">
  146. </view>
  147. <view class="uni-tip-button" @tap="cancel('tip'),changeGrade()">允许</view>
  148. </view>
  149. </view>
  150. </uni-popup>
  151. <uni-popup :show="grade" ref="get-grade" :type="type" :custom="true" :mask-click="false" @change="change">
  152. <view class="get-grade">
  153. <view class="get-grade-title">输入分数,获取适合你的学校、专业和志愿预测</view>
  154. <view class="get-grade-content1">
  155. <view class="i-picker-two">
  156. <picker @change="change" :index="value" :range="wenliArr">
  157. <view>{{ wenliArr[index] }}</view>
  158. </picker>
  159. <image src="../../static/pop_arrow_nor(4).png" mode="widthFix"></image>
  160. </view>
  161. <picker class='i-picker-two' mode="" @tap="Choosecity()">
  162. <view>{{regionTxt}}</view>
  163. <image src="../../static/pop_arrow_nor(4).png" mode="widthFix"></image>
  164. </picker>
  165. </view>
  166. <view class="get-grade-content2">
  167. <input type="number" :value="pwdd" placeholder="输入预估分数" @click='switchKeyboard(3)' />
  168. <input type="number" :value="pwddd" placeholder="输入位次(选填" @click='switchKeyboard(6)' />
  169. <tui-keyboard :show="show" @close="closeKeyboard" @click="keyboardClick">
  170. <view class="tui-digital-box">
  171. </view>
  172. </tui-keyboard>
  173. </view>
  174. <view class="uni-get-grade-button" @tap="changeGrade()">
  175. <view class="get-grade-button">立即获取</view>
  176. </view>
  177. </view>
  178. </uni-popup>
  179. <uni-popup :show="wenli" :type="type" :custom="true" :mask-click="false">
  180. <view class="getwenli">
  181. <view class="wenlitext">
  182. <scroll-view scroll-y @tap="fenwenli(),Choosewenli()" v-for="(item,index) in wenliArr" :data-index="index" :key="index">
  183. <view>{{item}}</view>
  184. </scroll-view>
  185. </view>
  186. </view>
  187. </uni-popup>
  188. <uni-popup :show="citychoose" ref="city" :type="type" :custom="true" :mask-click="false" @change="change">
  189. <view class="region-box">
  190. <view class="region-txt" :class="[index == regionArr.length - 3 || index
  191. == regionArr.length - 2 || index
  192. == regionArr.length - 1 ? 'grow' : '',
  193. tabIndex == index ? 'active' : '']"
  194. v-for="(item, index) in regionArr" :data-index="index" @tap.stop="getRegion" :key="index">
  195. <text @tap="Choosecity()"> {{ item }}</text>
  196. </view>
  197. </view>
  198. </uni-popup>
  199. </view>
  200. </template>
  201. <script>
  202. import uniPopup from '@/components/uni-popup/uni-popup.vue';
  203. import uniIcon from '@/components/uni-icon/uni-icon.vue';
  204. import searchInputBox from '@/components/search-input-box/search-input-box.vue';
  205. import tuiKeyboard from "@/components/keyboard/keyboard";
  206. import tuiKeyboardInput from "@/components/keyboard-input/keyboard-input";
  207. export default {
  208. components: {
  209. uniPopup,
  210. uniIcon,
  211. searchInputBox,
  212. tuiKeyboard,
  213. tuiKeyboardInput
  214. },
  215. watch: {
  216. value: {
  217. handler(newVal) {
  218. this.index = this.valueArr.findIndex(val => val === newVal)
  219. }
  220. }
  221. },
  222. data() {
  223. return {
  224. index: 0,
  225. labelArray: [],
  226. valueArr: [],
  227. pwdd:"",
  228. pwddd:"",
  229. welcome:false,
  230. show: false,
  231. grade: false,
  232. citychoose: false,
  233. wenli: false,
  234. wenliContent: '文科',
  235. type: '',
  236. content: '顶部弹 popup',
  237. showModalStatus: false,
  238. animationData: '',
  239. pwdArr: ["", "", "", "", "", ""],
  240. regionArr: [
  241. '北京',
  242. '河北',
  243. '山东',
  244. '山西',
  245. '陕西',
  246. '内蒙古',
  247. '辽宁',
  248. '吉林',
  249. '黑龙江',
  250. '上海',
  251. '江苏',
  252. '安徽',
  253. '江西',
  254. '湖北',
  255. '重庆',
  256. '四川'
  257. ],
  258. regionTxt: '内蒙古',
  259. tabIndex: 6,
  260. leftDrawer: false,
  261. rightDrawer: false,
  262. mode: 'right',
  263. wenliArr: ['文科','理科']
  264. };
  265. },
  266. onLoad() {
  267. console.log('onload');
  268. this.welcome = true;
  269. },
  270. mounted() {
  271. console.log('mounted');
  272. this.options.forEach(v => {
  273. this.labelArray.push(v['label'])
  274. this.valueArr.push(v['value'])
  275. })
  276. this.index = this.valueArr.findIndex(val => val === this.value)
  277. },
  278. methods: {
  279. switchKeyboard(index) {
  280. let length = index; //e.currentTarget.dataset.length;
  281. let arr = ["", "", "", "", "", ""]
  282. if (length == 3) {
  283. arr = ["", "", ""]
  284. }
  285. this.pwdArr = arr;
  286. this.temp = arr;
  287. this.numberArr = [];
  288. this.show = true
  289. },
  290. closeKeyboard: function() {
  291. this.show = false;
  292. this.numberArr = [];
  293. this.pwdArr = this.temp;
  294. },
  295. getPwd: function() {
  296. //判断并取出密码
  297. if (this.numberArr.length === this.pwdArr.length) {
  298. // uni.showLoading({
  299. // title: '模拟提交...',
  300. // mask: true
  301. // })
  302. setTimeout(() => {
  303. let pwd = this.numberArr.join('')
  304. this.closeKeyboard();
  305. this.tui.toast("您输入的密码为:" + pwd);
  306. }, 800);
  307. }
  308. },
  309. keyboardClick: function(e) {
  310. let numberArr = this.numberArr;
  311. console.log(numberArr);
  312. let pwdArr = this.pwdArr;
  313. let index = e.index;
  314. if (numberArr.length === pwdArr.length || index == undefined) {
  315. return;
  316. }
  317. if (index == 9) { //取消键
  318. this.closeKeyboard();
  319. return;
  320. } else if (index == 11) {
  321. //退格键
  322. let len = numberArr.length;
  323. if (len) {
  324. pwdArr.splice(len - 1, 1, "");
  325. } else {
  326. pwdArr = ["", "", "", ""];
  327. }
  328. numberArr.pop()
  329. } else if (index == 10) {
  330. numberArr.push(0);
  331. pwdArr.splice(numberArr.length - 1, 1, "●");
  332. } else {
  333. numberArr.push(index + 1);
  334. pwdArr.splice(numberArr.length - 1, 1, "●");
  335. }
  336. this.numberArr = numberArr;
  337. this.pwdArr = pwdArr;
  338. this.pwdd = this.numberArr.join('');
  339. this.pwddd = this.numberArr.join('');
  340. this.getPwd()
  341. },
  342. showModal: function() {
  343. // 显示遮罩层
  344. // 创建动画实例
  345. let animation = uni.createAnimation({
  346. duration: 200,
  347. timingFunction: 'linear',
  348. delay: 0
  349. });
  350. animation.translateY(uni.upx2px(712)).step();
  351. this.animationData = animation.export();
  352. this.showModalStatus = true;
  353. setTimeout(
  354. function() {
  355. animation.translateY(0).step();
  356. this.animationData = animation.export();
  357. }.bind(this),
  358. 200
  359. );
  360. console.log('showModal');
  361. },
  362. hideModal: function() {
  363. this.showModalStatus = false;
  364. },
  365. getRegion: function(e) {
  366. const index = e.currentTarget.dataset.index;
  367. this.regionTxt = this.regionArr[index];
  368. this.tabIndex = index;
  369. this.showModalStatus = false;
  370. // this.tui.toast('您选择了:' + this.regionArr[index]);
  371. },
  372. fenwenli: function(event) {
  373. console.log(event);
  374. // const index = e.currentTarget.dataset.index;
  375. this.wenliContent = this.wenliArr[index];
  376. // console.log(this.wenliArr[index])
  377. },
  378. togglePopup(type, open) {
  379. this.type = type;
  380. if (open === 'tip') {
  381. this.show = true;
  382. } else {
  383. this.$refs[open].open();
  384. }
  385. },
  386. cancel(type) {
  387. if (type === 'tip') {
  388. this.show = false;
  389. return;
  390. }
  391. this.$refs[type].close();
  392. },
  393. change(e) {
  394. console.log(e);
  395. this.index=e.detail.value;
  396. // this.$emit('input', this.valueArr[e.target.value]);
  397. },
  398. changeGrade() {
  399. this.grade = !this.grade;
  400. },
  401. opennext(){
  402. this.show = !this.show;
  403. this.welcome = !this.welcome;
  404. },
  405. Choosecity() {
  406. this.citychoose = !this.citychoose;
  407. },
  408. Choosewenli() {
  409. console.log(1);
  410. this.wenli = !this.wenli;
  411. },
  412. jumpschool(ev) {
  413. console.log(ev);
  414. uni.navigateTo({
  415. url: '../myinfo2/myinfo2'
  416. });
  417. },
  418. detail: function(e) {
  419. // const page = e.currentTarget.id;
  420. console.log(e);
  421. uni.navigateTo({
  422. url: '../myinfo2/myinfo2',
  423. // url: `../${page}/${page}`
  424. })
  425. },
  426. jumpmajor(ev) {
  427. console.log(ev);
  428. uni.navigateTo({
  429. url: '../myinfo2/myinfo2'
  430. });
  431. },
  432. jumpinterest(ev) {
  433. console.log(ev);
  434. uni.navigateTo({
  435. url: '../myinfo2/myinfo2'
  436. });
  437. }
  438. }
  439. };
  440. </script>
  441. <style>
  442. .tui-container {
  443. width: 100%;
  444. padding-top: 60upx;
  445. box-sizing: border-box;
  446. display: flex;
  447. flex-direction: row;
  448. flex-wrap: wrap;
  449. justify-content: space-between;
  450. }
  451. .titleRed image{
  452. width:86upx !important;
  453. height:8upx !important;
  454. background:rgba(239,58,58,1);
  455. opacity:0.9;
  456. margin: 0 auto;
  457. }
  458. .tui-extend-box {
  459. flex: 1;
  460. font-size: 32upx;
  461. font-family: PingFangSC;
  462. font-weight: 500;
  463. color: rgba(44, 44, 44, 1);
  464. line-height: 45upx;
  465. }
  466. .box-distance {
  467. padding-bottom: 60upx;
  468. }
  469. .tui-extend-box image {
  470. width: 6upx !important;
  471. height: 30upx !important;
  472. background: rgba(239, 58, 58, 1);
  473. display: inline-block !important;
  474. margin-right: 20upx !important;
  475. margin-left: 40upx !important;
  476. margin-top: 6upx !important;
  477. }
  478. /*底部抽屉样式 start*/
  479. .mask-screen {
  480. width: 100%;
  481. height: 100%;
  482. position: fixed;
  483. top: 0;
  484. left: 0;
  485. background: #000;
  486. opacity: 0.5;
  487. overflow: hidden;
  488. z-index: 9;
  489. }
  490. .region-box {
  491. width: 100%;
  492. overflow: hidden;
  493. position: fixed;
  494. bottom: 0;
  495. left: 0;
  496. z-index: 10;
  497. background: #fff;
  498. padding-top: 20upx;
  499. height: 712upx;
  500. padding: 40upx 30upx 48upx 30upx;
  501. box-sizing: border-box;
  502. display: flex;
  503. flex-direction: row;
  504. flex-wrap: wrap;
  505. align-items: center;
  506. justify-content: flex-start;
  507. }
  508. .region-txt {
  509. width: 96upx;
  510. height: 82upx;
  511. background: #e9edfc;
  512. line-height: 82upx;
  513. border-radius: 6upx;
  514. font-size: 30upx;
  515. color: #333;
  516. text-align: center;
  517. margin-right: 23upx;
  518. margin-bottom: 26upx;
  519. flex-grow: 1;
  520. }
  521. .region-txt:nth-of-type(6n) {
  522. margin-right: 0;
  523. }
  524. .grow {
  525. flex-grow: 0;
  526. }
  527. .active {
  528. background: #5677fc;
  529. color: #fff;
  530. }
  531. .uni-tip-wel{
  532. width: 560upx;
  533. height: 608upx;
  534. background:rgba(255,255,255,1);
  535. border-radius:8upx;
  536. margin-top: 235upx;
  537. margin-left: 95upx;
  538. display: flex;
  539. flex-direction: column;
  540. }
  541. .uni-tip-wel-content{
  542. font-size:34upx;
  543. font-family:PingFangSC-Medium,PingFangSC;
  544. font-weight:500;
  545. color:rgba(44,44,44,1);
  546. line-height:48upx;
  547. text-align: center;
  548. margin: 40upx auto 54upx auto;
  549. }
  550. .uni-tip--wel-button{
  551. width:480upx;
  552. height:80upx;
  553. background:rgba(26,173,23,1);
  554. box-shadow:0upx 6upx 12upx 0upx rgba(26,173,23,0.2);
  555. border-radius:40upx;
  556. margin: 0 auto;
  557. }
  558. .uni-tip-wel-button-text{
  559. font-size:30upx;
  560. font-family:PingFangSC-Medium,PingFangSC;
  561. font-weight:500;
  562. color:rgba(255,255,255,1);
  563. line-height:80upx;
  564. text-align: center;
  565. }
  566. /* 授权窗口 */
  567. .uni-tip {
  568. position: relative;
  569. left: 95upx;
  570. top: 410upx;
  571. padding: 0upx;
  572. box-sizing: border-box;
  573. width: 560upx;
  574. height: 515upx;
  575. background: rgba(255, 255, 255, 1);
  576. border-radius: 8upx;
  577. }
  578. .uni-tip-title {
  579. text-align: center;
  580. padding: 21upx 100upx;
  581. height: 48upx;
  582. font-size: 34upx;
  583. font-family: PingFangSC;
  584. font-weight: 500;
  585. color: rgba(0, 0, 0, 1);
  586. line-height: 48upx;
  587. border-bottom: 1px solid rgba(229, 229, 229, 1);
  588. }
  589. .uni-tip-image {
  590. border: 0upx;
  591. text-align: center;
  592. }
  593. .uni-tip-image image {
  594. width: 64upx;
  595. height: 64upx;
  596. border: 0upx;
  597. margin-top: 36upx;
  598. margin-bottom: 24upx;
  599. }
  600. .uni-tip-content {
  601. margin-left: 54upx;
  602. width: 420upx;
  603. height: 40upx;
  604. font-size: 28upx;
  605. font-family: PingFangSC;
  606. font-weight: 400;
  607. color: rgba(0, 0, 0, 1);
  608. line-height: 40upx;
  609. }
  610. .uni-tip-content-son {
  611. width: 452upx;
  612. height: 74upx;
  613. font-size: 26upx;
  614. font-family: PingFangSC-Regular, PingFangSC;
  615. font-weight: 400;
  616. color: rgba(136, 136, 136, 1);
  617. line-height: 37upx;
  618. margin: 0 auto;
  619. margin-bottom: 36upx;
  620. }
  621. /* .uni-tip-content-son ul{
  622. list-style: upper-alpha;
  623. } */
  624. .uni-tip-group-button {
  625. height: 99upx;
  626. display: flex;
  627. justify-content: space-around;
  628. border-top: 1upx solid rgba(229, 229, 229, 1);
  629. font-size: 32upx;
  630. font-family: PingFangSC;
  631. font-weight: 400;
  632. color: #000000;
  633. line-height: 99upx;
  634. }
  635. .uni-tip-button {
  636. width: 100%;
  637. text-align: center;
  638. }
  639. .jiangexian{
  640. border-right: 1upx solid rgba(229,229,229,1);
  641. }
  642. .getwenli {
  643. position: fixed;
  644. bottom: 0;
  645. width: 100%;
  646. height: 100upx;
  647. background: rgba(255, 255, 255, 1);
  648. border-radius: 8upx;
  649. text-align: center;
  650. display: flex;
  651. flex-direction: column;
  652. margin: 0 auto;
  653. }
  654. .get-grade {
  655. position: relative;
  656. left: 95upx;
  657. top: 359upx;
  658. width: 560upx;
  659. height: 616upx;
  660. background: rgba(255, 255, 255, 1);
  661. border-radius: 8upx;
  662. text-align: center;
  663. display: flex;
  664. flex-direction: column;
  665. margin: 0 auto;
  666. }
  667. .get-grade-title {
  668. padding: 40upx;
  669. font-size: 34upx;
  670. font-family: PingFangSC-Medium, PingFangSC;
  671. font-weight: 500;
  672. color: rgba(44, 44, 44, 1);
  673. line-height: 48upx;
  674. }
  675. .get-grade-content2 input {
  676. width: 480upx;
  677. height: 80upx;
  678. background: rgba(248, 248, 248, 1);
  679. border-radius: 40upx;
  680. border: 1upx solid rgba(242, 242, 242, 1);
  681. margin: 20upx 40upx;
  682. }
  683. .get-grade-content1 {
  684. display: flex;
  685. flex-direction: row;
  686. margin: auto 40upx;
  687. }
  688. .get-grade-content1 view:nth-child(1){
  689. margin-right: 20upx;
  690. }
  691. .i-picker-two{
  692. width:230upx;
  693. height:80upx;
  694. background:rgba(248,248,248,1);
  695. border-radius:40upx;
  696. border:1upx solid rgba(242,242,242,1);
  697. line-height: 80upx;
  698. }
  699. .i-picker-two view{
  700. float: left;
  701. margin-left: 40upx;
  702. font-size:28upx;
  703. font-family:PingFangSC-Regular,PingFangSC;
  704. font-weight:400;
  705. color:rgba(47,49,51,1);
  706. line-height:80upx;
  707. }
  708. .i-picker-two image{
  709. float: right;
  710. line-height: 80upx;
  711. width:40upx;
  712. height:40upx !important;
  713. margin-right: 20upx;
  714. margin-top: 20upx;
  715. display: block;
  716. }
  717. .uni-get-grade-button {
  718. width: 480upx;
  719. height: 80upx;
  720. background: rgba(239, 58, 58, 1);
  721. box-shadow: 0upx 6upx 12upx 0upx rgba(239, 58, 58, 0.2);
  722. border-radius: 40upx;
  723. text-align: center;
  724. margin: 22upx 40upx;
  725. }
  726. select {
  727. width: auto;
  728. padding: 0 0 0 55upx;
  729. margin: 0;
  730. }
  731. .get-grade-button {
  732. width: 120upx;
  733. height: 42upx;
  734. font-size: 30upx;
  735. font-family: PingFangSC;
  736. font-weight: 500;
  737. color: rgba(255, 255, 255, 1);
  738. line-height: 80upx;
  739. margin: 0 auto;
  740. }
  741. .content {
  742. display: flex;
  743. flex-direction: column;
  744. align-items: center;
  745. justify-content: center;
  746. background-color: #F2F2F2 ;
  747. }
  748. .logo {
  749. height: 200upx;
  750. width: 200upx;
  751. margin-top: 200upx;
  752. margin-left: auto;
  753. margin-right: auto;
  754. margin-bottom: 50upx;
  755. }
  756. .text-area {
  757. display: flex;
  758. justify-content: center;
  759. }
  760. .title {
  761. font-size: 36upx;
  762. color: #8f8f94;
  763. }
  764. swiper {
  765. width: 750upx;
  766. height: 308upx;
  767. padding: 0;
  768. margin: 0;
  769. }
  770. swiper-item {
  771. border-radius: 20upx;
  772. }
  773. swiper-item image {
  774. position: relative;
  775. left: 30upx;
  776. width: 690upx;
  777. height: 500upx;
  778. margin: 8upx 0upx 8upx 0upx;
  779. border-radius: 20upx;
  780. }
  781. .banner {
  782. width: 690upx;
  783. height: 308upx;
  784. border-radius: 20upx;
  785. }
  786. .content {
  787. display: flex;
  788. flex-direction: column;
  789. align-items: center;
  790. justify-content: center;
  791. }
  792. .view-content {
  793. display: flex;
  794. flex-direction: row no-wrap;
  795. justify-content: space-around;
  796. padding-right: 61upx;
  797. padding-left: 61upx;
  798. height: 210upx;
  799. width: 750upx;
  800. background: rgba(255, 255, 255, 1);
  801. }
  802. .view-content image {
  803. width: 128upx;
  804. height: 128upx;
  805. overflow: visible;
  806. vertical-align: middle;
  807. margin-top: 8upx;
  808. }
  809. .view-content p {
  810. text-align: center;
  811. width: 96upx;
  812. height: 33upx;
  813. font-size: 24upx;
  814. font-family: PingFangSC;
  815. font-weight: 500;
  816. color: rgba(117, 119, 128, 1);
  817. line-height: 33upx;
  818. }
  819. .view-content view {
  820. display: flex;
  821. flex-direction: column;
  822. width: 80upx;
  823. height: 28upx;
  824. }
  825. .view-content view:first-child {
  826. margin-left: 61upx;
  827. margin-right: 0upx;
  828. }
  829. .view-content view:nth-child(2) {
  830. margin-left: 122upx;
  831. margin-right: 122upx;
  832. }
  833. .view-content view:nth-child(3) {
  834. margin-right: 61upx;
  835. }
  836. .view-content p {
  837. align-self: center;
  838. }
  839. .view-content image {
  840. align-self: center;
  841. }
  842. .school {
  843. align-items: flex-start;
  844. width: 750upx;
  845. background: rgba(255, 255, 255, 1);
  846. margin-top: 20upx;
  847. }
  848. .school image {
  849. width: 170upx;
  850. height: 54upx;
  851. margin: 0 auto;
  852. display: block;
  853. }
  854. .school-content {
  855. display: flex;
  856. flex-wrap: wrap;
  857. }
  858. .school-content view:first-child {
  859. margin-left: 98upx;
  860. margin-right: 195upx;
  861. }
  862. .schol-icon image {
  863. width: 180upx;
  864. height: 180upx;
  865. }
  866. .schol-icon span {
  867. width: 112upx;
  868. height: 40upx;
  869. font-size: 28upx;
  870. font-family: PingFangSC;
  871. font-weight: 500;
  872. color: rgba(44, 44, 44, 1);
  873. line-height: 40upx;
  874. margin-top: 24upx;
  875. margin-bottom: 40upx;
  876. }
  877. .schol-icon {
  878. display: flex;
  879. flex-direction: column;
  880. align-items: flex-end;
  881. text-align: -webkit-center;
  882. }
  883. .major {
  884. width: 750upx;
  885. height: 470upx;
  886. background: rgba(255, 255, 255, 1);
  887. margin-top: 20upx;
  888. margin-bottom: 20upx;
  889. }
  890. .major image:nth-child(1) {
  891. width: 170upx;
  892. height: 54upx;
  893. margin: 0 auto;
  894. display: block;
  895. }
  896. .footer {
  897. display: flex;
  898. position: fixed;
  899. bottom: 0;
  900. width: 750rpx;
  901. height: 99rpx;
  902. background: rgba(255, 255, 255, 1);
  903. margin-top: 20rpx;
  904. }
  905. .footer div:first-child {
  906. margin-left: 92rpx;
  907. margin-right: 184rpx;
  908. }
  909. .footer div:nth-child(2) {
  910. margin-right: 183rpx;
  911. }
  912. .footer div:nth-child(3) {
  913. margin-right: 93rpx;
  914. }
  915. .footer image {
  916. width: 66rpx;
  917. height: 67rpx;
  918. overflow: visible;
  919. }
  920. .footer div:first-child p {
  921. margin-left: 15rpx;
  922. }
  923. .footer div:nth-child(3) p {
  924. margin-left: 15rpx;
  925. }
  926. .footer div {
  927. display: flex;
  928. flex-direction: column;
  929. width: 80rpx;
  930. height: 28rpx;
  931. font-size: 20rpx;
  932. font-family: PingFangSC;
  933. font-weight: 500;
  934. color: rgba(175, 178, 191, 1);
  935. line-height: 28rpx;
  936. }
  937. </style>