index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. <template>
  2. <view >
  3. <u-navbar :is-back="false" title="选课中心" :border-bottom="false" title-color="#333333" back-icon-color="#ffffff">
  4. <view class="slot-wrap">
  5. <image src="/static/logo2.png" style="width: 178rpx;height: 31rpx;margin-left: 30rpx;"></image>
  6. </view>
  7. </u-navbar>
  8. <view v-show="!show">
  9. <view style="position: fixed;width: 100%;z-index: 999;">
  10. <view class="bg_color"></view>
  11. <view class="check_ck">
  12. <view class="checked">
  13. <!-- {{selObj.pName}}-{{selObj.bName}} -->
  14. <view class="check_title">{{selObj.eName}}:{{ selObj.aliasName }}</view>
  15. <view class="again_ck" @click="openLeft()">
  16. <view style="color: #007AFF;font-size: 32rpx;">重新选择</view>
  17. <u-icon name="list" color="#007AFF" size="40"></u-icon>
  18. </view>
  19. </view>
  20. <view style="display: flex;align-items:center;">
  21. <view style="margin: 0 auto;">
  22. <u-tabs :list="courseLists" height='97' :current="current" @change="change" :scrollable="false"></u-tabs>
  23. </view>
  24. </view>
  25. </view>
  26. <!-- <u-line color="#D6D6DB" /> -->
  27. <view class="menuSel" v-show="current==0">
  28. <scroll-view class="r_sliper" scroll-x="true" >
  29. <view v-for="(item,index) in sList" :key="index" style="margin-right: 20rpx;display:inline-block">
  30. <view :class="paramList[0].subjectId==item.id?'r_t1':'r_t2'" @click="cMenu(item.id)">
  31. {{item.subjectName}}
  32. </view>
  33. </view>
  34. </scroll-view>
  35. </view>
  36. <view class="menuSel" v-show="current==1">
  37. <scroll-view class="r_sliper" scroll-x="true" >
  38. <view v-for="(item,index) in sList" :key="index" style="margin-right: 20rpx;display:inline-block">
  39. <view :class="paramList[1].subjectId==item.id?'r_t1':'r_t2'" @click="cMenu1(item.id)">
  40. {{item.subjectName}}
  41. </view>
  42. </view>
  43. </scroll-view>
  44. </view>
  45. <view class="menuSel" v-show="current==2">
  46. <scroll-view class="r_sliper" scroll-x="true" >
  47. <view v-for="(item,index) in sList" :key="index" style="margin-right: 20rpx;display:inline-block">
  48. <view :class="paramList[2].subjectId==item.id?'r_t1':'r_t2'" @click="cMenu2(item.id)">
  49. {{item.subjectName}}
  50. </view>
  51. </view>
  52. </scroll-view>
  53. </view>
  54. </view>
  55. <view v-show="current==0" class="contents">
  56. <view class="listBox">
  57. <navigator hover-class="none" :url="'/pages3/course/detail?id='+item.goodsId" v-for="(item,index) in list1" :key="index" >
  58. <view class="itemBox">
  59. <image :src="$method.splitImgHost(item.coverUrl, true)" style="height: 367rpx;width: 100%;border-radius: 24rpx;"></image>
  60. <view style="display: flex;margin-top: 13rpx;align-items: center;">
  61. <view class="yearTag" v-if="item.year">{{item.year}}</view>
  62. <view class="titleTag">{{item.goodsName}}</view>
  63. </view>
  64. <view style="display: flex;justify-content: space-between;margin-top: 15rpx;">
  65. <view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
  66. 共 <text class="blackFont">{{item.courseNum}}</text>
  67. <text class="margin30">课程</text>
  68. <text class="blackFont">{{item.classHours || '-'}}</text> 学时</view>
  69. <view>
  70. <text v-if="item.standPrice" class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
  71. <text v-else class="priceTag free">免费</text>
  72. <text v-if="item.linePrice" class="sale">¥ </text>
  73. <text v-if="item.linePrice" class="price_line"> {{ item.linePrice }}</text>
  74. </view>
  75. </view>
  76. </view>
  77. </navigator>
  78. <view class="emptyTip" v-if="list1.length==0">暂未上架相关网课~</view>
  79. </view>
  80. </view>
  81. <view v-show="current==1" class="contents">
  82. <view class="listBox">
  83. <navigator hover-class="none" :url="'/pages2/bank/detail?id='+item.goodsId" v-for="(item,index) in list2" :key="index" >
  84. <view class="itemBox">
  85. <image :src="$method.splitImgHost(item.coverUrl, true)" style="height: 367rpx;width: 100%;border-radius: 24rpx;"></image>
  86. <view style="display: flex;margin-top: 13rpx;align-items: center;">
  87. <view class="yearTag" v-if="item.year">{{item.year}}</view>
  88. <view class="titleTag" style="display: flex;justify-content: space-between;flex:1;">
  89. <view style="flex:1;">{{item.goodsName}}</view>
  90. <view>
  91. <text v-if="item.standPrice" class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
  92. <text v-else class="priceTag free">免费</text>
  93. <text v-if="item.linePrice" class="sale">¥ </text>
  94. <text v-if="item.linePrice" class="price_line"> {{ item.linePrice }}</text>
  95. </view>
  96. </view>
  97. </view>
  98. <view style="display: flex;justify-content: space-between;margin-top: 15rpx;" v-if="false">
  99. <view class="noteTag"><image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
  100. 共 <text class="blackFont">6</text>
  101. <view class="margin30">张卷</view>
  102. <text class="blackFont">120</text>道题
  103. </view>
  104. <view>
  105. <text v-if="item.standPrice" class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
  106. <text v-else class="priceTag free">免费</text>
  107. <!-- <text class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text> -->
  108. <text v-if="item.linePrice" class="sale">¥ </text>
  109. <text v-if="item.linePrice" class="price_line"> {{ item.linePrice }}</text>
  110. </view>
  111. </view>
  112. </view>
  113. </navigator>
  114. <view class="emptyTip" v-if="list2.length==0">暂未上架相关题库~</view>
  115. </view>
  116. </view>
  117. <view v-show="current==2" class="contents">
  118. <view class="listBox">
  119. <navigator hover-class="none" :url="'/pages5/liveDetail/index?id='+item.goodsId" v-for="(item,index) in list3" :key="index" >
  120. <view class="itemBox">
  121. <image :src="$method.splitImgHost(item.coverUrl, true)" style="height: 367rpx;width: 100%;border-radius: 24rpx;"></image>
  122. <view style="display: flex;margin-top: 13rpx;align-items: center;">
  123. <view class="yearTag" v-if="item.year">{{item.year}}</view>
  124. <view class="titleTag" style="display: flex;justify-content: space-between;flex:1;">
  125. <view style="flex:1;">{{item.goodsName}}</view>
  126. <view>
  127. <text v-if="item.standPrice" class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
  128. <text v-else class="priceTag free">免费</text>
  129. <text v-if="item.linePrice" class="sale">¥ </text>
  130. <text v-if="item.linePrice" class="price_line"> {{ item.linePrice }}</text>
  131. </view>
  132. </view>
  133. </view>
  134. <!-- <view style="display: flex;justify-content: space-between;margin-top: 15rpx;" v-if="false">
  135. <view class="noteTag">
  136. <image src="/static/icon/wk_icon1.png" class="wk_icon"></image>
  137. <view>
  138. <text v-if="item.standPrice" class="priceTag">¥ {{item.standPrice.toFixed(2)}}</text>
  139. <text v-else class="priceTag free">免费</text>
  140. <view class="priceTag">¥ {{item.standPrice.toFixed(2)}}</view>
  141. <text class="sale"> ¥ </text>
  142. <text class="price_line"> {{ item.linePrice }}</text>
  143. </view>
  144. </view>
  145. </view> -->
  146. </view>
  147. </navigator>
  148. <view class="emptyTip" v-if="list3.length==0">暂未上架相关直播~</view>
  149. </view>
  150. </view>
  151. </view>
  152. <view v-show="show" class="popuBox">
  153. <view class="flex-d" >
  154. <view class="contentZ">
  155. <view class="lzs" >
  156. <view class="tylsz" v-for="(item, index) in eList" :key="index" @click="item.id === 0 ? activeAll(1) : active1(item)" :class="item.id === selObj.eId ? 'activeStys':''">{{ item.educationName }}</view>
  157. </view>
  158. <view class="rzs" >
  159. <!-- {{ item.projectName }}-{{ item.businessName }} -->
  160. <view class="tylszB" v-for="(item, index) in bList" :key="index" @click="item.id === 0 ? activeAll(2) : active2(item)"
  161. :class="item.id === selObj.bId ? 'activeStys2':''">{{ item.aliasName }}</view>
  162. </view>
  163. </view>
  164. </view>
  165. </view>
  166. <!-- <tab-bar v-model="current" :list="tabbarlist" :mid-button="true" :mid-button-size="50" class="tab_items"></tab-bar> -->
  167. </view>
  168. </template>
  169. <script>
  170. // import TabBar from '@/components/u-tabbar/u-tabbar.vue';
  171. import { mapGetters } from 'vuex';
  172. export default {
  173. components: {
  174. // TabBar
  175. },
  176. data() {
  177. return {
  178. show:false,
  179. courseLists:[
  180. {
  181. name: '网课'
  182. },
  183. {
  184. name: '题库通'
  185. },
  186. {
  187. name: '直播课'
  188. }
  189. ],
  190. array:['全部','建设工程施工管理','机电全科','机电工程管理与实','机电全科','全科'],
  191. current:0,
  192. menuIndex:0,
  193. menuIndex1:0,
  194. paramList: [
  195. {
  196. pageNum: 1,
  197. pageSize: 10,
  198. total: 0,
  199. showStatus: 0,
  200. goodsType:1,
  201. subjectId:0
  202. },
  203. {
  204. pageNum: 1,
  205. pageSize: 10,
  206. total: 0,
  207. showStatus: 0,
  208. goodsType:2,
  209. subjectId:0
  210. },
  211. {
  212. pageNum: 1,
  213. pageSize: 10,
  214. total: 0,
  215. showStatus: 0,
  216. goodsType:6,
  217. subjectId:0
  218. }
  219. ],
  220. list1: [],
  221. list2: [],
  222. list3:[],
  223. eList:[],
  224. bList:[],
  225. sList:[],
  226. selObj:{
  227. eName:'',
  228. pName:'',
  229. bName:'',
  230. eId:0,
  231. bId:0,
  232. pId:0,
  233. },
  234. current: 1,
  235. tabbarlist: this.$store.state.tabLists
  236. };
  237. },
  238. onPullDownRefresh(){
  239. let that = this
  240. this.initList();
  241. setTimeout(function(){
  242. uni.stopPullDownRefresh()
  243. },500)
  244. },
  245. onLoad(option) {
  246. let eduStr = uni.getStorageSync('eduObj')
  247. if(eduStr){
  248. this.selObj = JSON.parse(eduStr)
  249. this.subjectList({businessId:this.selObj.bId,projectId:this.selObj.pId,educationId:this.selObj.eId})
  250. this.mergeBusiness()
  251. }else{
  252. this.show = true
  253. }
  254. this.initList();
  255. },
  256. methods: {
  257. mergeBusiness(){
  258. this.paramList[0].educationTypeId = this.selObj.eId
  259. this.paramList[0].businessId = this.selObj.bId
  260. this.paramList[0].subjectId = 0
  261. this.paramList[1].educationTypeId = this.selObj.eId
  262. this.paramList[1].businessId = this.selObj.bId
  263. this.paramList[1].subjectId = 0
  264. this.paramList[2].educationTypeId = this.selObj.eId
  265. this.paramList[2].businessId = this.selObj.bId
  266. this.paramList[2].subjectId = 0
  267. },
  268. subjectList(data) {
  269. var self = this;
  270. // /app/common/course/subject/list
  271. this.$api.subjectList(data).then(res => {
  272. if(res.data.code==200){
  273. self.sList = res.data.rows
  274. let allItem = {id:0,subjectName:'全部'}
  275. self.sList.unshift(allItem)
  276. }
  277. });
  278. },
  279. active2(item){
  280. console.log('sfsdfg', item)
  281. this.selObj.bId = item.id
  282. this.show = false
  283. this.selObj.pId = item.projectId
  284. this.selObj.bName = item.businessName
  285. this.selObj.pName = item.projectName
  286. this.selObj.aliasName = item.aliasName
  287. uni.setStorageSync('eduObj', JSON.stringify(this.selObj));
  288. this.subjectList({businessId:item.id,projectId:item.projectId,educationId:this.selObj.eId})
  289. this.mergeBusiness()
  290. //初始化
  291. this.initList();
  292. },
  293. businessList(data) {
  294. var self = this;
  295. // /app/common/course/business/list
  296. this.$api.businessList(data).then(res => {
  297. if(res.data.code==200){
  298. self.bList = res.data.rows
  299. }
  300. });
  301. },
  302. active1(item){
  303. this.selObj.eId = item.id
  304. this.selObj.eName = item.educationName
  305. this.businessList({educationId:item.id})
  306. },
  307. educationList() {
  308. var self = this;
  309. // /app/common/course/educationType/list
  310. this.$api.educationTypeList().then(res => {
  311. if(res.data.code==200){
  312. self.eList = res.data.rows
  313. if(self.selObj.eId){
  314. self.businessList({educationId:self.selObj.eId})
  315. } else {
  316. this.active1(self.eList[0])
  317. }
  318. }
  319. });
  320. },
  321. openLeft(){
  322. this.show = true
  323. },
  324. initList() {
  325. this.paramList[0].pageNum = 1
  326. this.paramList[1].pageNum = 1
  327. this.list1 = []
  328. this.list2 = []
  329. this.list3 = [];
  330. this.courseList();
  331. this.bankList();
  332. this.liveList()
  333. this.educationList()
  334. },
  335. cMenu(index){
  336. this.paramList[0].pageNum = 1
  337. this.paramList[0].subjectId= index;
  338. this.list1 = []
  339. // this.menuIndex
  340. this.courseList();
  341. },
  342. cMenu1(index){
  343. this.paramList[1].pageNum = 1
  344. this.paramList[1].subjectId= index;
  345. this.list2 = []
  346. // this.menuIndex1 = index;
  347. this.bankList();
  348. },
  349. cMenu2(index){
  350. this.paramList[2].pageNum = 1
  351. this.paramList[2].subjectId= index;
  352. this.list3 = []
  353. // this.menuIndex1 = index;
  354. this.liveList();
  355. },
  356. change(index){
  357. this.current = index;
  358. },
  359. //课程
  360. courseList() {
  361. var self = this;
  362. var param = this.paramList[0];
  363. this.$api.goodsList(param).then(res => {
  364. self.paramList[0].total = res.data.total;
  365. self.list1.push.apply(self.list1, res.data.rows);
  366. if (self.list1.length === res.data.total) {
  367. self.paramList[0].showStatus = true;
  368. }
  369. });
  370. },
  371. //题库
  372. bankList() {
  373. var self = this;
  374. var param = this.paramList[1];
  375. this.$api.goodsList(param).then(res => {
  376. self.paramList[1].total = res.data.total;
  377. self.list2.push.apply(self.list2, res.data.rows);
  378. if (self.list2.length === res.data.total) {
  379. self.paramList[1].showStatus = true;
  380. }
  381. });
  382. },
  383. //直播
  384. liveList() {
  385. var self = this;
  386. var param = this.paramList[2];
  387. this.$api.goodsList(param).then(res => {
  388. self.paramList[2].total = res.data.total;
  389. self.list3.push.apply(self.list3, res.data.rows);
  390. if (self.list3.length === res.data.total) {
  391. self.paramList[2].showStatus = true;
  392. }
  393. });
  394. },
  395. },
  396. onReachBottom() {
  397. if (this.current == 0) {
  398. if (this.list1.length < this.paramList[0].total) {
  399. this.paramList[0].pageNum++;
  400. this.courseList();
  401. }
  402. }
  403. if (this.current == 1) {
  404. if (this.list2.length < this.paramList[1].total) {
  405. this.paramList[1].pageNum++;
  406. this.bankList();
  407. }
  408. }
  409. },
  410. computed: { ...mapGetters(['userInfo']) }
  411. };
  412. </script>
  413. <style >
  414. ::-webkit-scrollbar {
  415. width: 0;
  416. height: 0;
  417. color: transparent;
  418. }
  419. page {
  420. background-color: #eaeef1;
  421. }
  422. </style>
  423. <style scoped lang="scss">
  424. .bg_color {
  425. width: 100%;
  426. height: 16rpx;
  427. background-color: #EAEEF1;
  428. }
  429. .check_ck {
  430. height: 211rpx;
  431. background: #FFFFFF;
  432. box-shadow: 0rpx 5rpx 5rpx 1rpx rgba(1,99,235,0.0500);
  433. border-radius: 24rpx 24rpx 0rpx 0rpx;
  434. padding: 0 38rpx;
  435. .again_ck {
  436. width: 25%;
  437. display: flex;
  438. align-items: center;
  439. justify-content: space-between;
  440. }
  441. }
  442. .checked {
  443. display: flex;
  444. justify-content: space-between;
  445. height: 108rpx;
  446. line-height: 108rpx;
  447. border-bottom: 1rpx solid #EEEEEE;
  448. font-size: 28rpx;
  449. .check_title {
  450. font-size: 32rpx;
  451. font-weight: 500;
  452. color: #333;
  453. white-space: nowrap;
  454. width: 75%;
  455. overflow-x: hidden;
  456. }
  457. }
  458. .contents {
  459. position: relative;
  460. left: 0;
  461. top: 320rpx;
  462. }
  463. .emptyTip{
  464. color: #999999;
  465. font-size: 32rpx;
  466. text-align: center;
  467. margin-top: 20%;
  468. }
  469. .popuBox{
  470. top: 92px;
  471. width: 100%;
  472. bottom:0;
  473. position:absolute;
  474. overflow-y:scroll;
  475. overflow-x:hidden;
  476. background-color: #FFFFFF;
  477. }
  478. .activeStys2{
  479. background: #007AFF !important;
  480. color: #FFFFFF;
  481. }
  482. .tylszB{
  483. text-align: center;
  484. padding:20rpx 10rpx;
  485. background: #FFFFFF;
  486. border: 2rpx solid #EEEEEE;
  487. border-radius: 16rpx;
  488. margin-top: 15rpx;
  489. font-size: 30rpx;
  490. overflow: hidden;
  491. white-space: nowrap;
  492. text-overflow: ellipsis;
  493. }
  494. .activeStys{
  495. background: linear-gradient(90deg, rgba(1,94,234,0.2),rgba(255,255,255,.6));
  496. border-radius: 16rpx;
  497. font-weight: bold;
  498. color: #007AFF!important;
  499. }
  500. .tylsz{
  501. color: #666;
  502. font-size: 30rpx;
  503. padding:20rpx 10rpx;
  504. margin-top: 15rpx;
  505. white-space: nowrap;
  506. }
  507. .popup_t1 {
  508. padding-left: 35rpx;
  509. border-bottom: 1rpx solid #eee;
  510. height: 57rpx;
  511. margin-top: 86rpx;
  512. font-weight: bold;
  513. color: #007AFF;
  514. font-size: 27rpx;
  515. }
  516. .flex-d {
  517. height:100%;
  518. background-color: #FFFFFF;
  519. padding: 0 5%;
  520. font-size: 30rpx;
  521. }
  522. .contentZ {
  523. display: flex;
  524. height: 100%;
  525. padding: 10rpx;
  526. .lzs {
  527. width:200rpx;
  528. height: 100%;
  529. overflow-y: scroll;
  530. }
  531. .rzs {
  532. margin-left:40rpx;
  533. flex:1;
  534. height: 100%;
  535. overflow-y: scroll;
  536. }
  537. }
  538. .contentZ::-webkit-scrollbar {
  539. display: none;
  540. }
  541. .fots {
  542. height: 100rpx;
  543. display: flex;
  544. align-items: center;
  545. justify-content: space-around;
  546. border-top: 1rpx solid #eee;
  547. }
  548. .leftBtns {
  549. font-size: 30rpx;
  550. color: #007AFF;
  551. font-weight: 500;
  552. }
  553. .right_Btns {
  554. font-size: 30rpx;
  555. color: #fff;
  556. background-color: #007AFF;
  557. border-radius: 24rpx;
  558. height: 60rpx;
  559. line-height: 60rpx;
  560. text-align: center;
  561. padding: 0rpx 23rpx;
  562. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  563. }
  564. .blackFont{
  565. color: #333333;
  566. margin: 0 10rpx;
  567. }
  568. .margin30 {
  569. margin:0 20rpx 0 0;
  570. }
  571. .wk_icon{
  572. width: 24rpx;
  573. height: 24rpx;
  574. margin-right: 12rpx;
  575. }
  576. .noteTag{
  577. font-size: 24rpx;
  578. font-family: PingFang SC;
  579. font-weight: 500;
  580. color: #999999;
  581. align-items: center;
  582. }
  583. .priceTag{
  584. font-size: 32rpx;
  585. font-family: PingFang SC;
  586. font-weight: bold;
  587. color: #FC3F3F;
  588. }
  589. .sale {
  590. color: #999999;
  591. font-size: 28rpx;
  592. margin-left: 8rpx;
  593. }
  594. .price_line {
  595. color: #999999;
  596. font-size: 28rpx;
  597. text-decoration:line-through;
  598. font-weight: 400;
  599. }
  600. .titleTag{
  601. font-size: 32rpx;
  602. font-weight: bold;
  603. color: #333333;
  604. margin-left: 8rpx;
  605. }
  606. .yearTag{
  607. width: 80rpx;
  608. height: 32rpx;
  609. background: #EBF5FF;
  610. border: 2rpx solid #007AFF;
  611. border-radius: 16rpx;
  612. font-size: 24rpx;
  613. color: #007AFF;
  614. text-align: center;
  615. line-height: 32rpx;
  616. }
  617. .itemBox{
  618. background: #FFFFFF;
  619. border-radius: 24rpx;
  620. width: 100%;
  621. padding: 23rpx 22rpx 32rpx 22rpx;
  622. margin-bottom: 24rpx;
  623. box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1,99,235,0.1000);
  624. }
  625. .listBox{
  626. background-color: #EAEEF1;
  627. padding: 24rpx 24rpx 150rpx 24rpx;
  628. position: relative;
  629. // top: 235rpx;
  630. }
  631. .menuSel{
  632. width: 100%;
  633. // height: 70rpx;
  634. padding: 30rpx 0rpx;
  635. background: #EAEEF1;
  636. white-space:nowrap;
  637. overflow: hidden;
  638. }
  639. .r_sliper{
  640. padding: 0 20rpx;
  641. }
  642. .r_t1{
  643. // height: 48rpx;
  644. background: #007AFF;
  645. border-radius: 8rpx;
  646. padding: 9rpx 21rpx;
  647. // margin-top: 11rpx;
  648. color: #FFFFFF;
  649. }
  650. .r_t2{
  651. // height: 48rpx;
  652. background: #FFFFFF;
  653. border: 2rpx solid #EEEEEE;
  654. border-radius: 8rpx;
  655. padding: 9rpx 21rpx;
  656. // margin-top: 11rpx;
  657. color:#666666;
  658. font-size: 30rpx;
  659. }
  660. </style>