index.vue 18 KB

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