index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997
  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-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. }
  421. };
  422. </script>
  423. <style>
  424. .tui-container {
  425. width: 100%;
  426. padding-top: 60upx;
  427. box-sizing: border-box;
  428. display: flex;
  429. flex-direction: row;
  430. flex-wrap: wrap;
  431. justify-content: space-between;
  432. }
  433. .titleRed image{
  434. width:86upx !important;
  435. height:8upx !important;
  436. background:rgba(239,58,58,1);
  437. opacity:0.9;
  438. margin: 0 auto;
  439. }
  440. .tui-extend-box {
  441. flex: 1;
  442. font-size: 32upx;
  443. font-family: PingFangSC;
  444. font-weight: 500;
  445. color: rgba(44, 44, 44, 1);
  446. line-height: 45upx;
  447. }
  448. .box-distance {
  449. padding-bottom: 60upx;
  450. }
  451. .tui-extend-box image {
  452. width: 6upx !important;
  453. height: 30upx !important;
  454. background: rgba(239, 58, 58, 1);
  455. display: inline-block !important;
  456. margin-right: 20upx !important;
  457. margin-left: 40upx !important;
  458. margin-top: 6upx !important;
  459. }
  460. /*底部抽屉样式 start*/
  461. .mask-screen {
  462. width: 100%;
  463. height: 100%;
  464. position: fixed;
  465. top: 0;
  466. left: 0;
  467. background: #000;
  468. opacity: 0.5;
  469. overflow: hidden;
  470. z-index: 9;
  471. }
  472. .region-box {
  473. width: 100%;
  474. overflow: hidden;
  475. position: fixed;
  476. bottom: 0;
  477. left: 0;
  478. z-index: 10;
  479. background: #fff;
  480. padding-top: 20upx;
  481. height: 712upx;
  482. padding: 40upx 30upx 48upx 30upx;
  483. box-sizing: border-box;
  484. display: flex;
  485. flex-direction: row;
  486. flex-wrap: wrap;
  487. align-items: center;
  488. justify-content: flex-start;
  489. }
  490. .region-txt {
  491. width: 96upx;
  492. height: 82upx;
  493. background: #e9edfc;
  494. line-height: 82upx;
  495. border-radius: 6upx;
  496. font-size: 30upx;
  497. color: #333;
  498. text-align: center;
  499. margin-right: 23upx;
  500. margin-bottom: 26upx;
  501. flex-grow: 1;
  502. }
  503. .region-txt:nth-of-type(6n) {
  504. margin-right: 0;
  505. }
  506. .grow {
  507. flex-grow: 0;
  508. }
  509. .active {
  510. background: #5677fc;
  511. color: #fff;
  512. }
  513. .uni-tip-wel{
  514. width: 560upx;
  515. height: 608upx;
  516. background:rgba(255,255,255,1);
  517. border-radius:8upx;
  518. margin-top: 235upx;
  519. margin-left: 95upx;
  520. display: flex;
  521. flex-direction: column;
  522. }
  523. .uni-tip-wel-content{
  524. font-size:34upx;
  525. font-family:PingFangSC-Medium,PingFangSC;
  526. font-weight:500;
  527. color:rgba(44,44,44,1);
  528. line-height:48upx;
  529. text-align: center;
  530. margin: 40upx auto 54upx auto;
  531. }
  532. .uni-tip--wel-button{
  533. width:480upx;
  534. height:80upx;
  535. background:rgba(26,173,23,1);
  536. box-shadow:0upx 6upx 12upx 0upx rgba(26,173,23,0.2);
  537. border-radius:40upx;
  538. margin: 0 auto;
  539. }
  540. .uni-tip-wel-button-text{
  541. font-size:30upx;
  542. font-family:PingFangSC-Medium,PingFangSC;
  543. font-weight:500;
  544. color:rgba(255,255,255,1);
  545. line-height:80upx;
  546. text-align: center;
  547. }
  548. /* 授权窗口 */
  549. .uni-tip {
  550. position: relative;
  551. left: 95upx;
  552. top: 410upx;
  553. padding: 0upx;
  554. box-sizing: border-box;
  555. width: 560upx;
  556. height: 515upx;
  557. background: rgba(255, 255, 255, 1);
  558. border-radius: 8upx;
  559. }
  560. .uni-tip-title {
  561. text-align: center;
  562. padding: 21upx 100upx;
  563. height: 48upx;
  564. font-size: 34upx;
  565. font-family: PingFangSC;
  566. font-weight: 500;
  567. color: rgba(0, 0, 0, 1);
  568. line-height: 48upx;
  569. border-bottom: 1px solid rgba(229, 229, 229, 1);
  570. }
  571. .uni-tip-image {
  572. border: 0upx;
  573. text-align: center;
  574. }
  575. .uni-tip-image image {
  576. width: 64upx;
  577. height: 64upx;
  578. border: 0upx;
  579. margin-top: 36upx;
  580. margin-bottom: 24upx;
  581. }
  582. .uni-tip-content {
  583. margin-left: 54upx;
  584. width: 420upx;
  585. height: 40upx;
  586. font-size: 28upx;
  587. font-family: PingFangSC;
  588. font-weight: 400;
  589. color: rgba(0, 0, 0, 1);
  590. line-height: 40upx;
  591. }
  592. .uni-tip-content-son {
  593. width: 452upx;
  594. height: 74upx;
  595. font-size: 26upx;
  596. font-family: PingFangSC-Regular, PingFangSC;
  597. font-weight: 400;
  598. color: rgba(136, 136, 136, 1);
  599. line-height: 37upx;
  600. margin: 0 auto;
  601. margin-bottom: 36upx;
  602. }
  603. /* .uni-tip-content-son ul{
  604. list-style: upper-alpha;
  605. } */
  606. .uni-tip-group-button {
  607. height: 99upx;
  608. display: flex;
  609. justify-content: space-around;
  610. border-top: 1upx solid rgba(229, 229, 229, 1);
  611. font-size: 32upx;
  612. font-family: PingFangSC;
  613. font-weight: 400;
  614. color: #000000;
  615. line-height: 99upx;
  616. }
  617. .uni-tip-button {
  618. width: 100%;
  619. text-align: center;
  620. }
  621. .jiangexian{
  622. border-right: 1upx solid rgba(229,229,229,1);
  623. }
  624. .getwenli {
  625. position: fixed;
  626. bottom: 0;
  627. width: 100%;
  628. height: 100upx;
  629. background: rgba(255, 255, 255, 1);
  630. border-radius: 8upx;
  631. text-align: center;
  632. display: flex;
  633. flex-direction: column;
  634. margin: 0 auto;
  635. }
  636. .get-grade {
  637. position: relative;
  638. left: 95upx;
  639. top: 359upx;
  640. width: 560upx;
  641. height: 616upx;
  642. background: rgba(255, 255, 255, 1);
  643. border-radius: 8upx;
  644. text-align: center;
  645. display: flex;
  646. flex-direction: column;
  647. margin: 0 auto;
  648. }
  649. .get-grade-title {
  650. padding: 40upx;
  651. font-size: 34upx;
  652. font-family: PingFangSC-Medium, PingFangSC;
  653. font-weight: 500;
  654. color: rgba(44, 44, 44, 1);
  655. line-height: 48upx;
  656. }
  657. .get-grade-content2 input {
  658. width: 480upx;
  659. height: 80upx;
  660. background: rgba(248, 248, 248, 1);
  661. border-radius: 40upx;
  662. border: 1upx solid rgba(242, 242, 242, 1);
  663. margin: 20upx 40upx;
  664. }
  665. .get-grade-content1 {
  666. display: flex;
  667. flex-direction: row;
  668. margin: auto 40upx;
  669. }
  670. .get-grade-content1 view:nth-child(1){
  671. margin-right: 20upx;
  672. }
  673. .i-picker-two{
  674. width:230upx;
  675. height:80upx;
  676. background:rgba(248,248,248,1);
  677. border-radius:40upx;
  678. border:1upx solid rgba(242,242,242,1);
  679. line-height: 80upx;
  680. }
  681. .i-picker-two view{
  682. float: left;
  683. margin-left: 40upx;
  684. font-size:28upx;
  685. font-family:PingFangSC-Regular,PingFangSC;
  686. font-weight:400;
  687. color:rgba(47,49,51,1);
  688. line-height:80upx;
  689. }
  690. .i-picker-two image{
  691. float: right;
  692. line-height: 80upx;
  693. width:40upx;
  694. height:40upx !important;
  695. margin-right: 20upx;
  696. margin-top: 20upx;
  697. display: block;
  698. }
  699. .uni-get-grade-button {
  700. width: 480upx;
  701. height: 80upx;
  702. background: rgba(239, 58, 58, 1);
  703. box-shadow: 0upx 6upx 12upx 0upx rgba(239, 58, 58, 0.2);
  704. border-radius: 40upx;
  705. text-align: center;
  706. margin: 22upx 40upx;
  707. }
  708. select {
  709. width: auto;
  710. padding: 0 0 0 55upx;
  711. margin: 0;
  712. }
  713. .get-grade-button {
  714. width: 120upx;
  715. height: 42upx;
  716. font-size: 30upx;
  717. font-family: PingFangSC;
  718. font-weight: 500;
  719. color: rgba(255, 255, 255, 1);
  720. line-height: 80upx;
  721. margin: 0 auto;
  722. }
  723. .content {
  724. display: flex;
  725. flex-direction: column;
  726. align-items: center;
  727. justify-content: center;
  728. background-color: #F2F2F2 ;
  729. }
  730. .logo {
  731. height: 200upx;
  732. width: 200upx;
  733. margin-top: 200upx;
  734. margin-left: auto;
  735. margin-right: auto;
  736. margin-bottom: 50upx;
  737. }
  738. .text-area {
  739. display: flex;
  740. justify-content: center;
  741. }
  742. .title {
  743. font-size: 36upx;
  744. color: #8f8f94;
  745. }
  746. swiper {
  747. width: 750upx;
  748. height: 308upx;
  749. padding: 0;
  750. margin: 0;
  751. }
  752. swiper-item {
  753. border-radius: 20upx;
  754. }
  755. swiper-item image {
  756. position: relative;
  757. left: 30upx;
  758. width: 690upx;
  759. height: 500upx;
  760. margin: 8upx 0upx 8upx 0upx;
  761. border-radius: 20upx;
  762. }
  763. .banner {
  764. width: 690upx;
  765. height: 308upx;
  766. border-radius: 20upx;
  767. }
  768. .content {
  769. display: flex;
  770. flex-direction: column;
  771. align-items: center;
  772. justify-content: center;
  773. }
  774. .view-content {
  775. display: flex;
  776. flex-direction: row no-wrap;
  777. justify-content: space-around;
  778. padding-right: 61upx;
  779. padding-left: 61upx;
  780. height: 210upx;
  781. width: 750upx;
  782. background: rgba(255, 255, 255, 1);
  783. }
  784. .view-content image {
  785. width: 128upx;
  786. height: 128upx;
  787. overflow: visible;
  788. vertical-align: middle;
  789. margin-top: 8upx;
  790. }
  791. .view-content p {
  792. text-align: center;
  793. width: 96upx;
  794. height: 33upx;
  795. font-size: 24upx;
  796. font-family: PingFangSC;
  797. font-weight: 500;
  798. color: rgba(117, 119, 128, 1);
  799. line-height: 33upx;
  800. }
  801. .view-content view {
  802. display: flex;
  803. flex-direction: column;
  804. width: 80upx;
  805. height: 28upx;
  806. }
  807. .view-content view:first-child {
  808. margin-left: 61upx;
  809. margin-right: 0upx;
  810. }
  811. .view-content view:nth-child(2) {
  812. margin-left: 122upx;
  813. margin-right: 122upx;
  814. }
  815. .view-content view:nth-child(3) {
  816. margin-right: 61upx;
  817. }
  818. .view-content p {
  819. align-self: center;
  820. }
  821. .view-content image {
  822. align-self: center;
  823. }
  824. .school {
  825. align-items: flex-start;
  826. width: 750upx;
  827. background: rgba(255, 255, 255, 1);
  828. margin-top: 20upx;
  829. }
  830. .school image {
  831. width: 170upx;
  832. height: 54upx;
  833. margin: 0 auto;
  834. display: block;
  835. }
  836. .school-container{
  837. width: 100%;
  838. /* box-sizing: border-box; */
  839. display: flex;
  840. flex-direction: row;
  841. flex-wrap: wrap;
  842. justify-content: space-between;
  843. padding-top: 40rpx;
  844. }
  845. .school-content {
  846. display: flex;
  847. flex-direction: column;
  848. flex: 1;
  849. /* flex-wrap: wrap; */
  850. }
  851. /*
  852. .school-content view:first-child {
  853. margin-left: 98upx;
  854. margin-right: 195upx;
  855. } */
  856. .schol-icon{
  857. width: 100%;
  858. }
  859. .schol-icon image {
  860. width: 180upx;
  861. height: 180upx;
  862. }
  863. .schol-icon span {
  864. font-size: 28upx;
  865. font-family: PingFangSC;
  866. font-weight: 500;
  867. color: rgba(44, 44, 44, 1);
  868. line-height: 40upx;
  869. margin-top: 24upx;
  870. margin-bottom: 40upx;
  871. }
  872. .schol-icon {
  873. display: flex;
  874. flex-direction: column;
  875. align-items: flex-end;
  876. text-align: -webkit-center;
  877. }
  878. .major {
  879. width: 750upx;
  880. height: 470upx;
  881. background: rgba(255, 255, 255, 1);
  882. margin-top: 20upx;
  883. margin-bottom: 20upx;
  884. }
  885. .major image:nth-child(1) {
  886. width: 170upx;
  887. height: 54upx;
  888. margin: 0 auto;
  889. display: block;
  890. }
  891. .footer {
  892. display: flex;
  893. position: fixed;
  894. bottom: 0;
  895. width: 750rpx;
  896. height: 99rpx;
  897. background: rgba(255, 255, 255, 1);
  898. margin-top: 20rpx;
  899. }
  900. .footer div:first-child {
  901. margin-left: 92rpx;
  902. margin-right: 184rpx;
  903. }
  904. .footer div:nth-child(2) {
  905. margin-right: 183rpx;
  906. }
  907. .footer div:nth-child(3) {
  908. margin-right: 93rpx;
  909. }
  910. .footer image {
  911. width: 66rpx;
  912. height: 67rpx;
  913. overflow: visible;
  914. }
  915. .footer div:first-child p {
  916. margin-left: 15rpx;
  917. }
  918. .footer div:nth-child(3) p {
  919. margin-left: 15rpx;
  920. }
  921. .footer div {
  922. display: flex;
  923. flex-direction: column;
  924. width: 80rpx;
  925. height: 28rpx;
  926. font-size: 20rpx;
  927. font-family: PingFangSC;
  928. font-weight: 500;
  929. color: rgba(175, 178, 191, 1);
  930. line-height: 28rpx;
  931. }
  932. </style>