index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  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. };
  234. },
  235. onPullDownRefresh(){
  236. this.initList();
  237. setTimeout(function(){
  238. uni.stopPullDownRefresh()
  239. },500)
  240. },
  241. onLoad(option) {
  242. let eduStr = uni.getStorageSync('eduObj')
  243. if(eduStr){
  244. this.selObj = JSON.parse(eduStr)
  245. this.subjectList({businessId:this.selObj.bId,projectId:this.selObj.pId,educationId:this.selObj.eId})
  246. this.mergeBusiness()
  247. }else{
  248. this.show = true
  249. }
  250. this.initList();
  251. },
  252. methods: {
  253. mergeBusiness(){
  254. this.paramList[0].educationTypeId = this.selObj.eId
  255. this.paramList[0].businessId = this.selObj.bId
  256. this.paramList[0].subjectId = 0
  257. this.paramList[1].educationTypeId = this.selObj.eId
  258. this.paramList[1].businessId = this.selObj.bId
  259. this.paramList[1].subjectId = 0
  260. this.paramList[2].educationTypeId = this.selObj.eId
  261. this.paramList[2].businessId = this.selObj.bId
  262. this.paramList[2].subjectId = 0
  263. },
  264. subjectList(data) {
  265. var self = this;
  266. // /app/common/course/subject/list
  267. this.$api.subjectList(data).then(res => {
  268. if(res.data.code==200){
  269. self.sList = res.data.rows
  270. let allItem = {id:0,subjectName:'全部'}
  271. self.sList.unshift(allItem)
  272. }
  273. });
  274. },
  275. active2(item){
  276. // console.log('item', item)
  277. if (item.topicId) {
  278. uni.navigateTo({
  279. url: '/pages4/courseTopic/goodsTopic?topicId=' + item.topicId
  280. })
  281. return
  282. }
  283. this.selObj.bId = item.id
  284. this.show = false
  285. this.selObj.pId = item.projectId
  286. this.selObj.bName = item.businessName
  287. this.selObj.pName = item.projectName
  288. this.selObj.aliasName = item.aliasName
  289. uni.setStorageSync('eduObj', JSON.stringify(this.selObj));
  290. this.subjectList({businessId:item.id,projectId:item.projectId,educationId:this.selObj.eId})
  291. this.mergeBusiness()
  292. //初始化
  293. this.initList();
  294. },
  295. businessList(data) {
  296. var self = this;
  297. // /app/common/course/business/list
  298. this.$api.businessList(data).then(res => {
  299. if(res.data.code==200){
  300. self.bList = res.data.rows
  301. }
  302. });
  303. },
  304. active1(item){
  305. this.selObj.eId = item.id
  306. this.selObj.eName = item.educationName
  307. this.businessList({educationId:item.id})
  308. },
  309. educationList() {
  310. var self = this;
  311. // /app/common/course/educationType/list
  312. this.$api.educationTypeList().then(res => {
  313. if(res.data.code==200){
  314. self.eList = res.data.rows
  315. if(self.selObj.eId){
  316. self.businessList({educationId:self.selObj.eId})
  317. } else {
  318. this.active1(self.eList[0])
  319. }
  320. }
  321. });
  322. },
  323. openLeft(){
  324. this.show = true
  325. },
  326. initList() {
  327. this.paramList[0].pageNum = 1
  328. this.paramList[1].pageNum = 1
  329. this.list1 = []
  330. this.list2 = []
  331. this.list3 = [];
  332. this.courseList();
  333. this.bankList();
  334. this.liveList()
  335. this.educationList()
  336. },
  337. cMenu(index){
  338. this.paramList[0].pageNum = 1
  339. this.paramList[0].subjectId= index;
  340. this.list1 = []
  341. // this.menuIndex
  342. this.courseList();
  343. },
  344. cMenu1(index){
  345. this.paramList[1].pageNum = 1
  346. this.paramList[1].subjectId= index;
  347. this.list2 = []
  348. // this.menuIndex1 = index;
  349. this.bankList();
  350. },
  351. cMenu2(index){
  352. this.paramList[2].pageNum = 1
  353. this.paramList[2].subjectId= index;
  354. this.list3 = []
  355. // this.menuIndex1 = index;
  356. this.liveList();
  357. },
  358. change(index){
  359. this.current = index;
  360. },
  361. //课程
  362. courseList() {
  363. var self = this;
  364. var param = this.paramList[0];
  365. this.$api.goodsList(param).then(res => {
  366. self.paramList[0].total = res.data.total;
  367. self.list1.push.apply(self.list1, res.data.rows);
  368. if (self.list1.length === res.data.total) {
  369. self.paramList[0].showStatus = true;
  370. }
  371. });
  372. },
  373. //题库
  374. bankList() {
  375. var self = this;
  376. var param = this.paramList[1];
  377. this.$api.goodsList(param).then(res => {
  378. self.paramList[1].total = res.data.total;
  379. self.list2.push.apply(self.list2, res.data.rows);
  380. if (self.list2.length === res.data.total) {
  381. self.paramList[1].showStatus = true;
  382. }
  383. });
  384. },
  385. //直播
  386. liveList() {
  387. var self = this;
  388. var param = this.paramList[2];
  389. this.$api.goodsList(param).then(res => {
  390. self.paramList[2].total = res.data.total;
  391. self.list3.push.apply(self.list3, res.data.rows);
  392. if (self.list3.length === res.data.total) {
  393. self.paramList[2].showStatus = true;
  394. }
  395. });
  396. },
  397. },
  398. onReachBottom() {
  399. if (this.current == 0) {
  400. if (this.list1.length < this.paramList[0].total) {
  401. this.paramList[0].pageNum++;
  402. this.courseList();
  403. }
  404. }
  405. if (this.current == 1) {
  406. if (this.list2.length < this.paramList[1].total) {
  407. this.paramList[1].pageNum++;
  408. this.bankList();
  409. }
  410. }
  411. },
  412. computed: { ...mapGetters(['userInfo']) }
  413. };
  414. </script>
  415. <style >
  416. ::-webkit-scrollbar {
  417. width: 0;
  418. height: 0;
  419. color: transparent;
  420. }
  421. page {
  422. background-color: #eaeef1;
  423. }
  424. </style>
  425. <style scoped lang="scss">
  426. .bg_color {
  427. width: 100%;
  428. height: 16rpx;
  429. background-color: #EAEEF1;
  430. }
  431. .check_ck {
  432. height: 211rpx;
  433. background: #FFFFFF;
  434. box-shadow: 0rpx 5rpx 5rpx 1rpx rgba(1,99,235,0.0500);
  435. border-radius: 24rpx 24rpx 0rpx 0rpx;
  436. padding: 0 38rpx;
  437. .again_ck {
  438. width: 25%;
  439. display: flex;
  440. align-items: center;
  441. justify-content: space-between;
  442. }
  443. }
  444. .checked {
  445. display: flex;
  446. justify-content: space-between;
  447. height: 108rpx;
  448. line-height: 108rpx;
  449. border-bottom: 1rpx solid #EEEEEE;
  450. font-size: 28rpx;
  451. .check_title {
  452. font-size: 32rpx;
  453. font-weight: 500;
  454. color: #333;
  455. white-space: nowrap;
  456. width: 75%;
  457. overflow-x: hidden;
  458. }
  459. }
  460. .contents {
  461. position: relative;
  462. left: 0;
  463. top: 320rpx;
  464. }
  465. .emptyTip{
  466. color: #999999;
  467. font-size: 32rpx;
  468. text-align: center;
  469. margin-top: 20%;
  470. }
  471. .popuBox{
  472. top: 92px;
  473. width: 100%;
  474. bottom:0;
  475. position:absolute;
  476. overflow-y:scroll;
  477. overflow-x:hidden;
  478. background-color: #FFFFFF;
  479. }
  480. .activeStys2{
  481. background: #007AFF !important;
  482. color: #FFFFFF;
  483. }
  484. .tylszB{
  485. text-align: center;
  486. padding:20rpx 10rpx;
  487. background: #FFFFFF;
  488. border: 2rpx solid #EEEEEE;
  489. border-radius: 16rpx;
  490. margin-top: 15rpx;
  491. font-size: 30rpx;
  492. overflow: hidden;
  493. white-space: nowrap;
  494. text-overflow: ellipsis;
  495. }
  496. .activeStys{
  497. background: linear-gradient(90deg, rgba(1,94,234,0.2),rgba(255,255,255,.6));
  498. border-radius: 16rpx;
  499. font-weight: bold;
  500. color: #007AFF!important;
  501. }
  502. .tylsz{
  503. color: #666;
  504. font-size: 30rpx;
  505. padding:20rpx 10rpx;
  506. margin-top: 15rpx;
  507. white-space: nowrap;
  508. }
  509. .popup_t1 {
  510. padding-left: 35rpx;
  511. border-bottom: 1rpx solid #eee;
  512. height: 57rpx;
  513. margin-top: 86rpx;
  514. font-weight: bold;
  515. color: #007AFF;
  516. font-size: 27rpx;
  517. }
  518. .flex-d {
  519. height:100%;
  520. background-color: #FFFFFF;
  521. padding: 0 5%;
  522. font-size: 30rpx;
  523. }
  524. .contentZ {
  525. display: flex;
  526. height: 100%;
  527. padding: 10rpx;
  528. .lzs {
  529. width:200rpx;
  530. height: 100%;
  531. overflow-y: scroll;
  532. }
  533. .rzs {
  534. margin-left:40rpx;
  535. flex:1;
  536. height: 100%;
  537. overflow-y: scroll;
  538. }
  539. }
  540. .contentZ::-webkit-scrollbar {
  541. display: none;
  542. }
  543. .fots {
  544. height: 100rpx;
  545. display: flex;
  546. align-items: center;
  547. justify-content: space-around;
  548. border-top: 1rpx solid #eee;
  549. }
  550. .leftBtns {
  551. font-size: 30rpx;
  552. color: #007AFF;
  553. font-weight: 500;
  554. }
  555. .right_Btns {
  556. font-size: 30rpx;
  557. color: #fff;
  558. background-color: #007AFF;
  559. border-radius: 24rpx;
  560. height: 60rpx;
  561. line-height: 60rpx;
  562. text-align: center;
  563. padding: 0rpx 23rpx;
  564. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  565. }
  566. .blackFont{
  567. color: #333333;
  568. margin: 0 10rpx;
  569. }
  570. .margin30 {
  571. margin:0 20rpx 0 0;
  572. }
  573. .wk_icon{
  574. width: 24rpx;
  575. height: 24rpx;
  576. margin-right: 12rpx;
  577. }
  578. .noteTag{
  579. font-size: 24rpx;
  580. font-family: PingFang SC;
  581. font-weight: 500;
  582. color: #999999;
  583. align-items: center;
  584. }
  585. .priceTag{
  586. font-size: 32rpx;
  587. font-family: PingFang SC;
  588. font-weight: bold;
  589. color: #FC3F3F;
  590. }
  591. .sale {
  592. color: #999999;
  593. font-size: 28rpx;
  594. margin-left: 8rpx;
  595. }
  596. .price_line {
  597. color: #999999;
  598. font-size: 28rpx;
  599. text-decoration:line-through;
  600. font-weight: 400;
  601. }
  602. .titleTag{
  603. font-size: 32rpx;
  604. font-weight: bold;
  605. color: #333333;
  606. margin-left: 8rpx;
  607. }
  608. .yearTag{
  609. width: 80rpx;
  610. height: 32rpx;
  611. background: #EBF5FF;
  612. border: 2rpx solid #007AFF;
  613. border-radius: 16rpx;
  614. font-size: 24rpx;
  615. color: #007AFF;
  616. text-align: center;
  617. line-height: 32rpx;
  618. }
  619. .itemBox{
  620. background: #FFFFFF;
  621. border-radius: 24rpx;
  622. width: 100%;
  623. padding: 23rpx 22rpx 32rpx 22rpx;
  624. margin-bottom: 24rpx;
  625. box-shadow: 0rpx 0rpx 20rpx 1rpx rgba(1,99,235,0.1000);
  626. }
  627. .listBox{
  628. background-color: #EAEEF1;
  629. padding: 24rpx 24rpx 150rpx 24rpx;
  630. position: relative;
  631. // top: 235rpx;
  632. }
  633. .menuSel{
  634. width: 100%;
  635. // height: 70rpx;
  636. padding: 30rpx 0rpx;
  637. background: #EAEEF1;
  638. white-space:nowrap;
  639. overflow: hidden;
  640. }
  641. .r_sliper{
  642. padding: 0 20rpx;
  643. }
  644. .r_t1{
  645. // height: 48rpx;
  646. background: #007AFF;
  647. border-radius: 8rpx;
  648. padding: 9rpx 21rpx;
  649. // margin-top: 11rpx;
  650. color: #FFFFFF;
  651. }
  652. .r_t2{
  653. // height: 48rpx;
  654. background: #FFFFFF;
  655. border: 2rpx solid #EEEEEE;
  656. border-radius: 8rpx;
  657. padding: 9rpx 21rpx;
  658. // margin-top: 11rpx;
  659. color:#666666;
  660. font-size: 30rpx;
  661. }
  662. </style>