index.vue 23 KB

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