index.vue 23 KB

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