index.vue 18 KB

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