index.vue 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004
  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="trap" 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">
  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">
  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" :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="">
  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" placeholder="输入预估分数" />
  168. <input type="number" placeholder="输入位次(选填" />
  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. value:"",
  225. index: 0,
  226. labelArray: [],
  227. valueArr: [],
  228. pwdd:"",
  229. pwddd:"",
  230. welcome:false,
  231. show: false,
  232. grade: false,
  233. citychoose: false,
  234. wenli: false,
  235. wenliContent: '文科',
  236. type: '',
  237. content: '顶部弹 popup',
  238. showModalStatus: false,
  239. animationData: '',
  240. pwdArr: ["", "", "", "", "", ""],
  241. regionArr: [
  242. '北京',
  243. '河北',
  244. '山东',
  245. '山西',
  246. '陕西',
  247. '内蒙古',
  248. '辽宁',
  249. '吉林',
  250. '黑龙江',
  251. '上海',
  252. '江苏',
  253. '安徽',
  254. '江西',
  255. '湖北',
  256. '重庆',
  257. '四川'
  258. ],
  259. regionTxt: '内蒙古',
  260. tabIndex: 6,
  261. leftDrawer: false,
  262. rightDrawer: false,
  263. mode: 'right',
  264. wenliArr: ['文科','理科']
  265. };
  266. },
  267. onLoad() {
  268. console.log('onload');
  269. this.welcome = true;
  270. },
  271. // mounted() {
  272. // console.log('mounted');
  273. // this.options.forEach(v => {
  274. // this.labelArray.push(v['label'])
  275. // this.valueArr.push(v['value'])
  276. // })
  277. // this.index = this.valueArr.findIndex(val => val === this.value)
  278. // },
  279. methods: {
  280. // switchKeyboard(index) {
  281. // let length = index; //e.currentTarget.dataset.length;
  282. // let arr = ["", "", "", "", "", ""]
  283. // if (length == 3) {
  284. // arr = ["", "", ""]
  285. // }
  286. // this.pwdArr = arr;
  287. // this.temp = arr;
  288. // this.numberArr = [];
  289. // this.show = true
  290. // },
  291. // closeKeyboard: function() {
  292. // this.show = false;
  293. // this.numberArr = [];
  294. // this.pwdArr = this.temp;
  295. // },
  296. // getPwd: function() {
  297. // //判断并取出密码
  298. // if (this.numberArr.length === this.pwdArr.length) {
  299. // // uni.showLoading({
  300. // // title: '模拟提交...',
  301. // // mask: true
  302. // // })
  303. // setTimeout(() => {
  304. // let pwd = this.numberArr.join('')
  305. // this.closeKeyboard();
  306. // // this.tui.toast("您输入的密码为:" + pwd);
  307. // }, 800);
  308. // }
  309. // },
  310. keyboardClick: function(e) {
  311. let numberArr = this.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. let animation = uni.createAnimation({
  345. duration: 200,
  346. timingFunction: 'linear',
  347. delay: 0
  348. });
  349. animation.translateY(uni.upx2px(712)).step();
  350. this.animationData = animation.export();
  351. this.showModalStatus = true;
  352. setTimeout(
  353. function() {
  354. animation.translateY(0).step();
  355. this.animationData = animation.export();
  356. }.bind(this),
  357. 200
  358. );
  359. },
  360. hideModal: function() {
  361. this.showModalStatus = false;
  362. },
  363. getRegion: function(e) {
  364. const index = e.currentTarget.dataset.index;
  365. this.regionTxt = this.regionArr[index];
  366. this.tabIndex = index;
  367. this.showModalStatus = false;
  368. },
  369. fenwenli: function(event) {
  370. this.wenliContent = this.wenliArr[index];
  371. },
  372. togglePopup(type, open) {
  373. this.type = type;
  374. if (open === 'tip') {
  375. this.show = true;
  376. } else {
  377. this.$refs[open].open();
  378. }
  379. },
  380. cancel(type) {
  381. if (type === 'tip') {
  382. this.show = false;
  383. return;
  384. }
  385. this.$refs[type].close();
  386. },
  387. change(e) {
  388. console.log(e);
  389. this.index=e.detail.value;
  390. },
  391. changeGrade() {
  392. this.grade = !this.grade;
  393. },
  394. opennext(){
  395. // this.show = !this.show;
  396. this.welcome = !this.welcome;
  397. },
  398. Choosecity() {
  399. this.citychoose = !this.citychoose;
  400. },
  401. Choosewenli() {
  402. console.log(1);
  403. this.wenli = !this.wenli;
  404. },
  405. jumpschool(ev) {
  406. console.log(ev);
  407. uni.navigateTo({
  408. url: '../myinfo2/myinfo2'
  409. });
  410. },
  411. detail: function(e) {
  412. // const page = e.currentTarget.id;
  413. console.log(e);
  414. uni.navigateTo({
  415. url: '../myinfo2/myinfo2',
  416. // url: `../${page}/${page}`
  417. })
  418. },
  419. jumpmajor(ev) {
  420. console.log(ev);
  421. uni.navigateTo({
  422. url: '../myinfo2/myinfo2'
  423. });
  424. },
  425. jumpinterest(ev) {
  426. console.log(ev);
  427. uni.navigateTo({
  428. url: '../myinfo2/myinfo2'
  429. });
  430. },
  431. trap(){
  432. uni.navigateTo({
  433. url:"../yuan-xiao-ku/yuan-xiao-ku"
  434. })
  435. }
  436. }
  437. };
  438. </script>
  439. <style>
  440. .tui-container {
  441. width: 100%;
  442. padding-top: 60upx;
  443. box-sizing: border-box;
  444. display: flex;
  445. flex-direction: row;
  446. flex-wrap: wrap;
  447. justify-content: space-between;
  448. }
  449. .titleRed image{
  450. width:86upx !important;
  451. height:8upx !important;
  452. background:rgba(239,58,58,1);
  453. opacity:0.9;
  454. margin: 0 auto;
  455. }
  456. .tui-extend-box {
  457. flex: 1;
  458. font-size: 32upx;
  459. font-family: PingFangSC;
  460. font-weight: 500;
  461. color: rgba(44, 44, 44, 1);
  462. line-height: 45upx;
  463. }
  464. .box-distance {
  465. padding-bottom: 60upx;
  466. }
  467. .tui-extend-box image {
  468. width: 6upx !important;
  469. height: 30upx !important;
  470. background: rgba(239, 58, 58, 1);
  471. display: inline-block !important;
  472. margin-right: 20upx !important;
  473. margin-left: 40upx !important;
  474. margin-top: 6upx !important;
  475. }
  476. /*底部抽屉样式 start*/
  477. .mask-screen {
  478. width: 100%;
  479. height: 100%;
  480. position: fixed;
  481. top: 0;
  482. left: 0;
  483. background: #000;
  484. opacity: 0.5;
  485. overflow: hidden;
  486. z-index: 9;
  487. }
  488. .region-box {
  489. width: 100%;
  490. overflow: hidden;
  491. position: fixed;
  492. bottom: 0;
  493. left: 0;
  494. z-index: 10;
  495. background: #fff;
  496. padding-top: 20upx;
  497. height: 712upx;
  498. padding: 40upx 30upx 48upx 30upx;
  499. box-sizing: border-box;
  500. display: flex;
  501. flex-direction: row;
  502. flex-wrap: wrap;
  503. align-items: center;
  504. justify-content: flex-start;
  505. }
  506. .region-txt {
  507. width: 96upx;
  508. height: 82upx;
  509. background: #e9edfc;
  510. line-height: 82upx;
  511. border-radius: 6upx;
  512. font-size: 30upx;
  513. color: #333;
  514. text-align: center;
  515. margin-right: 23upx;
  516. margin-bottom: 26upx;
  517. flex-grow: 1;
  518. }
  519. .region-txt:nth-of-type(6n) {
  520. margin-right: 0;
  521. }
  522. .grow {
  523. flex-grow: 0;
  524. }
  525. .active {
  526. background: #5677fc;
  527. color: #fff;
  528. }
  529. .uni-tip-wel{
  530. width: 560upx;
  531. height: 608upx;
  532. background:rgba(255,255,255,1);
  533. border-radius:8upx;
  534. margin-top: 235upx;
  535. margin-left: 95upx;
  536. display: flex;
  537. flex-direction: column;
  538. }
  539. .uni-tip-wel-content{
  540. font-size:34upx;
  541. font-family:PingFangSC-Medium,PingFangSC;
  542. font-weight:500;
  543. color:rgba(44,44,44,1);
  544. line-height:48upx;
  545. text-align: center;
  546. margin: 40upx auto 54upx auto;
  547. }
  548. .uni-tip--wel-button{
  549. width:480upx;
  550. height:80upx;
  551. background:rgba(26,173,23,1);
  552. box-shadow:0upx 6upx 12upx 0upx rgba(26,173,23,0.2);
  553. border-radius:40upx;
  554. margin: 0 auto;
  555. }
  556. .uni-tip-wel-button-text{
  557. font-size:30upx;
  558. font-family:PingFangSC-Medium,PingFangSC;
  559. font-weight:500;
  560. color:rgba(255,255,255,1);
  561. line-height:80upx;
  562. text-align: center;
  563. }
  564. /* 授权窗口 */
  565. .uni-tip {
  566. position: relative;
  567. left: 95upx;
  568. top: 410upx;
  569. padding: 0upx;
  570. box-sizing: border-box;
  571. width: 560upx;
  572. height: 515upx;
  573. background: rgba(255, 255, 255, 1);
  574. border-radius: 8upx;
  575. }
  576. .uni-tip-title {
  577. text-align: center;
  578. padding: 21upx 100upx;
  579. height: 48upx;
  580. font-size: 34upx;
  581. font-family: PingFangSC;
  582. font-weight: 500;
  583. color: rgba(0, 0, 0, 1);
  584. line-height: 48upx;
  585. border-bottom: 1px solid rgba(229, 229, 229, 1);
  586. }
  587. .uni-tip-image {
  588. border: 0upx;
  589. text-align: center;
  590. }
  591. .uni-tip-image image {
  592. width: 64upx;
  593. height: 64upx;
  594. border: 0upx;
  595. margin-top: 36upx;
  596. margin-bottom: 24upx;
  597. }
  598. .uni-tip-content {
  599. margin-left: 54upx;
  600. width: 420upx;
  601. height: 40upx;
  602. font-size: 28upx;
  603. font-family: PingFangSC;
  604. font-weight: 400;
  605. color: rgba(0, 0, 0, 1);
  606. line-height: 40upx;
  607. }
  608. .uni-tip-content-son {
  609. width: 452upx;
  610. height: 74upx;
  611. font-size: 26upx;
  612. font-family: PingFangSC-Regular, PingFangSC;
  613. font-weight: 400;
  614. color: rgba(136, 136, 136, 1);
  615. line-height: 37upx;
  616. margin: 0 auto;
  617. margin-bottom: 36upx;
  618. }
  619. /* .uni-tip-content-son ul{
  620. list-style: upper-alpha;
  621. } */
  622. .uni-tip-group-button {
  623. height: 99upx;
  624. display: flex;
  625. justify-content: space-around;
  626. border-top: 1upx solid rgba(229, 229, 229, 1);
  627. font-size: 32upx;
  628. font-family: PingFangSC;
  629. font-weight: 400;
  630. color: #000000;
  631. line-height: 99upx;
  632. }
  633. .uni-tip-button {
  634. width: 100%;
  635. text-align: center;
  636. }
  637. .jiangexian{
  638. border-right: 1upx solid rgba(229,229,229,1);
  639. }
  640. .getwenli {
  641. position: fixed;
  642. bottom: 0;
  643. width: 100%;
  644. height: 100upx;
  645. background: rgba(255, 255, 255, 1);
  646. border-radius: 8upx;
  647. text-align: center;
  648. display: flex;
  649. flex-direction: column;
  650. margin: 0 auto;
  651. }
  652. .get-grade {
  653. position: relative;
  654. left: 95upx;
  655. top: 359upx;
  656. width: 560upx;
  657. height: 616upx;
  658. background: rgba(255, 255, 255, 1);
  659. border-radius: 8upx;
  660. text-align: center;
  661. display: flex;
  662. flex-direction: column;
  663. margin: 0 auto;
  664. }
  665. .get-grade-title {
  666. padding: 40upx;
  667. font-size: 34upx;
  668. font-family: PingFangSC-Medium, PingFangSC;
  669. font-weight: 500;
  670. color: rgba(44, 44, 44, 1);
  671. line-height: 48upx;
  672. }
  673. .get-grade-content2 input {
  674. width: 480upx;
  675. height: 80upx;
  676. background: rgba(248, 248, 248, 1);
  677. border-radius: 40upx;
  678. border: 1upx solid rgba(242, 242, 242, 1);
  679. margin: 20upx 40upx;
  680. }
  681. .get-grade-content1 {
  682. display: flex;
  683. flex-direction: row;
  684. margin: auto 40upx;
  685. }
  686. .get-grade-content1 view:nth-child(1){
  687. margin-right: 20upx;
  688. }
  689. .i-picker-two{
  690. width:230upx;
  691. height:80upx;
  692. background:rgba(248,248,248,1);
  693. border-radius:40upx;
  694. border:1upx solid rgba(242,242,242,1);
  695. line-height: 80upx;
  696. }
  697. .i-picker-two view{
  698. float: left;
  699. margin-left: 40upx;
  700. font-size:28upx;
  701. font-family:PingFangSC-Regular,PingFangSC;
  702. font-weight:400;
  703. color:rgba(47,49,51,1);
  704. line-height:80upx;
  705. }
  706. .i-picker-two image{
  707. float: right;
  708. line-height: 80upx;
  709. width:40upx;
  710. height:40upx !important;
  711. margin-right: 20upx;
  712. margin-top: 20upx;
  713. display: block;
  714. }
  715. .uni-get-grade-button {
  716. width: 480upx;
  717. height: 80upx;
  718. background: rgba(239, 58, 58, 1);
  719. box-shadow: 0upx 6upx 12upx 0upx rgba(239, 58, 58, 0.2);
  720. border-radius: 40upx;
  721. text-align: center;
  722. margin: 22upx 40upx;
  723. }
  724. select {
  725. width: auto;
  726. padding: 0 0 0 55upx;
  727. margin: 0;
  728. }
  729. .get-grade-button {
  730. width: 120upx;
  731. height: 42upx;
  732. font-size: 30upx;
  733. font-family: PingFangSC;
  734. font-weight: 500;
  735. color: rgba(255, 255, 255, 1);
  736. line-height: 80upx;
  737. margin: 0 auto;
  738. }
  739. .content {
  740. display: flex;
  741. flex-direction: column;
  742. align-items: center;
  743. justify-content: center;
  744. background-color: #F2F2F2 ;
  745. }
  746. .logo {
  747. height: 200upx;
  748. width: 200upx;
  749. margin-top: 200upx;
  750. margin-left: auto;
  751. margin-right: auto;
  752. margin-bottom: 50upx;
  753. }
  754. .text-area {
  755. display: flex;
  756. justify-content: center;
  757. }
  758. .title {
  759. font-size: 36upx;
  760. color: #8f8f94;
  761. }
  762. swiper {
  763. width: 750upx;
  764. height: 308upx;
  765. padding: 0;
  766. margin: 0;
  767. }
  768. swiper-item {
  769. border-radius: 20upx;
  770. }
  771. swiper-item image {
  772. position: relative;
  773. left: 30upx;
  774. width: 690upx;
  775. height: 500upx;
  776. margin: 8upx 0upx 8upx 0upx;
  777. border-radius: 20upx;
  778. }
  779. .banner {
  780. width: 690upx;
  781. height: 308upx;
  782. border-radius: 20upx;
  783. }
  784. .content {
  785. display: flex;
  786. flex-direction: column;
  787. align-items: center;
  788. justify-content: center;
  789. }
  790. .view-content {
  791. display: flex;
  792. flex-direction: row no-wrap;
  793. justify-content: space-around;
  794. padding-right: 61upx;
  795. padding-left: 61upx;
  796. height: 210upx;
  797. width: 750upx;
  798. background: rgba(255, 255, 255, 1);
  799. }
  800. .view-content image {
  801. width: 128upx;
  802. height: 128upx;
  803. overflow: visible;
  804. vertical-align: middle;
  805. margin-top: 8upx;
  806. }
  807. .view-content p {
  808. text-align: center;
  809. width: 96upx;
  810. height: 33upx;
  811. font-size: 24upx;
  812. font-family: PingFangSC;
  813. font-weight: 500;
  814. color: rgba(117, 119, 128, 1);
  815. line-height: 33upx;
  816. }
  817. .view-content view {
  818. display: flex;
  819. flex-direction: column;
  820. width: 80upx;
  821. height: 28upx;
  822. }
  823. .view-content view:first-child {
  824. margin-left: 61upx;
  825. margin-right: 0upx;
  826. }
  827. .view-content view:nth-child(2) {
  828. margin-left: 122upx;
  829. margin-right: 122upx;
  830. }
  831. .view-content view:nth-child(3) {
  832. margin-right: 61upx;
  833. }
  834. .view-content p {
  835. align-self: center;
  836. }
  837. .view-content image {
  838. align-self: center;
  839. }
  840. .school {
  841. align-items: flex-start;
  842. width: 750upx;
  843. background: rgba(255, 255, 255, 1);
  844. margin-top: 20upx;
  845. }
  846. .school image {
  847. width: 170upx;
  848. height: 54upx;
  849. margin: 0 auto;
  850. display: block;
  851. }
  852. .school-content {
  853. display: flex;
  854. flex-wrap: wrap;
  855. }
  856. .school-content view:first-child {
  857. margin-left: 98upx;
  858. margin-right: 195upx;
  859. }
  860. .schol-icon image {
  861. width: 180upx;
  862. height: 180upx;
  863. }
  864. .schol-icon span {
  865. width: 112upx;
  866. height: 40upx;
  867. font-size: 28upx;
  868. font-family: PingFangSC;
  869. font-weight: 500;
  870. color: rgba(44, 44, 44, 1);
  871. line-height: 40upx;
  872. margin-top: 24upx;
  873. margin-bottom: 40upx;
  874. }
  875. .schol-icon {
  876. display: flex;
  877. flex-direction: column;
  878. align-items: flex-end;
  879. text-align: -webkit-center;
  880. }
  881. .major {
  882. width: 750upx;
  883. height: 470upx;
  884. background: rgba(255, 255, 255, 1);
  885. margin-top: 20upx;
  886. margin-bottom: 20upx;
  887. }
  888. .major image:nth-child(1) {
  889. width: 170upx;
  890. height: 54upx;
  891. margin: 0 auto;
  892. display: block;
  893. }
  894. .footer {
  895. display: flex;
  896. position: fixed;
  897. bottom: 0;
  898. width: 750rpx;
  899. height: 99rpx;
  900. background: rgba(255, 255, 255, 1);
  901. margin-top: 20rpx;
  902. }
  903. .footer div:first-child {
  904. margin-left: 92rpx;
  905. margin-right: 184rpx;
  906. }
  907. .footer div:nth-child(2) {
  908. margin-right: 183rpx;
  909. }
  910. .footer div:nth-child(3) {
  911. margin-right: 93rpx;
  912. }
  913. .footer image {
  914. width: 66rpx;
  915. height: 67rpx;
  916. overflow: visible;
  917. }
  918. .footer div:first-child p {
  919. margin-left: 15rpx;
  920. }
  921. .footer div:nth-child(3) p {
  922. margin-left: 15rpx;
  923. }
  924. .footer div {
  925. display: flex;
  926. flex-direction: column;
  927. width: 80rpx;
  928. height: 28rpx;
  929. font-size: 20rpx;
  930. font-family: PingFangSC;
  931. font-weight: 500;
  932. color: rgba(175, 178, 191, 1);
  933. line-height: 28rpx;
  934. }
  935. </style>