123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857 |
- <template>
- <!-- 小程序直播 -->
- <!-- #ifdef MP -->
- <view v-show="!isSortType">
- <view :style="liveWrapperStyle">
- <view class="mb-config" :style="liveStyle">
- <template v-if="dataConfig.styleConfig.tabVal == 0">
- <view class="live-wrapper-a">
- <navigator class="live-item-a" v-for="(item,index) in liveList" :key="item.id" :style="liveWrapStyle"
- :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id + '&custom_params=' + customParams" hover-class="none">
- <view class="img-box" :style="liveItemStyle">
- <view class="label-a acea-row row-middle" v-if="item.live_status == 101">
- <text class="iconfont icon-ic_video1"></text>
- <text>直播中</text>
- </view>
- <view class="label-b acea-row row-middle" v-else-if="item.live_status == 102">
- <view class="txt acea-row row-middle">预告</view>
- <view class="msg">{{ item.show_time }}</view>
- </view>
- <view class="label-c acea-row row-middle" v-else-if="item.live_status == 103">
- <text>回放</text>
- </view>
- <easy-loadimage mode="widthFix" :image-src="item.cover_img" width="100%" height="400rpx"></easy-loadimage>
- </view>
- <view class="info">
- <view class="title line2" v-if="titleShow">{{ item.name }}</view>
- <view class="people acea-row row-middle" v-if="anchorShow">
- <easy-loadimage class="image" mode="widthFix" :image-src="item.anchor_img" width="40rpx" height="40rpx" borderRadius=""></easy-loadimage>
- <text>主播:{{ item.anchor_name }}</text>
- </view>
- </view>
- </navigator>
- </view>
- </template>
- <template v-else-if="dataConfig.styleConfig.tabVal == 1">
- <view class="live-wrapper-b">
- <navigator class="live-item acea-row" v-for="(item,index) in liveList" :key="item.id" :style="liveWrapStyle"
- :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id + '&custom_params=' + customParams" hover-class="none">
- <view class="img-box" :style="liveItemStyle">
- <view class="label-a" v-if="item.live_status == 101">
- <text class="iconfont icon-ic_video1"></text>
- <text>直播中</text>
- </view>
- <view class="label-b" v-else-if="item.live_status == 102">
- <view class="txt acea-row row-middle">预告</view>
- <view class="msg">{{ item.show_time }}</view>
- </view>
- <view class="label-c" v-else-if="item.live_status == 103">
- <text>回放</text>
- </view>
- <easy-loadimage mode="widthFix" :image-src="item.cover_img" width="332rpx" height="236rpx" borderRadius="16rpx 0rpx 0rpx 16rpx"></easy-loadimage>
- </view>
- <view class="info acea-row row-column">
- <view class="title line2" v-if="titleShow">{{ item.name }}</view>
- <view class="goods-wrapper acea-row">
- <view class="goods-item" v-for="goodsItem in item.goods">
- <easy-loadimage mode="widthFix" :image-src="goodsItem.cover_img" width="96rpx" height="96rpx" borderRadius="8rpx"></easy-loadimage>
- <view class="money">¥{ goodsItem.price }</view>
- <view class="num acea-row row-center-wrapper">+5</view>
- </view>
- </view>
- </view>
- </navigator>
- </view>
- </template>
- <template v-else-if="dataConfig.styleConfig.tabVal == 2">
- <view class="live-wrapper-c">
- <scroll-view class="scroll-view" scroll-x="true">
- <navigator class="live-item" v-for="(item,index) in liveList" :key="item.id" :style="liveWrapStyle"
- :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id + '&custom_params=' + customParams" hover-class="none">
- <view class="img-box" :style="liveItemStyle">
- <view class="label-a" v-if="item.live_status == 101">
- <text class="iconfont icon-ic_video1"></text>
- <text>直播中</text>
- </view>
- <view class="label-b acea-row" v-else-if="item.live_status == 102">
- <view class="txt">预告</view>
- <view class="msg">{{ item.show_time }}</view>
- </view>
- <view class="label-c" v-else-if="item.live_status == 103">
- <text>回放</text>
- </view>
- <easy-loadimage mode="widthFix" :image-src="item.cover_img" width="280rpx" height="200rpx" borderRadius="16rpx"></easy-loadimage>
- </view>
- <view class="info">
- <view class="title line1" v-if="titleShow">{{ item.name }}</view>
- <view class="people acea-row row-middle" v-if="anchorShow">
- <easy-loadimage class="image" mode="widthFix" :image-src="item.anchor_img" width="40rpx" height="40rpx" borderRadius="20rpx"></easy-loadimage>
- <text>主播:{{ item.anchor_name }}</text>
- </view>
- </view>
- </navigator>
- </scroll-view>
- </view>
- </template>
- <template v-else-if="dataConfig.styleConfig.tabVal == 3">
- <view class="live-wrapper-d">
- <template v-for="(item,index) in liveList">
- <navigator v-if="index" class="live-item-b" :key="item.id" :style="liveWrapStyle"
- :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id + '&custom_params=' + customParams" hover-class="none">
- <view class="info">
- <view class="acea-row row-middle">
- <view class="label-a acea-row row-middle" v-if="item.live_status == 101">
- <text class="iconfont icon-ic_video1"></text>
- <text>直播中</text>
- </view>
- <view class="label-b acea-row row-middle" v-else-if="item.live_status == 102">
- <text>预告</text>
- </view>
- <view class="label-c acea-row row-middle" v-else-if="item.live_status == 103">
- <text>回放</text>
- </view>
- <view class="title line1" v-if="titleShow">{{ item.name }}</view>
- </view>
- <view class="people acea-row row-middle" v-if="anchorShow">
- <easy-loadimage class="image" mode="widthFix" :image-src="item.anchor_img" width="40rpx" height="40rpx" borderRadius="20rpx"></easy-loadimage>
- <text>主播:{{ item.anchor_name }}</text>
- <text class="time">{{ item.show_time }}</text>
- </view>
- </view>
- </navigator>
- <navigator v-else class="live-item-a" :style="liveItemStyle"
- :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id + '&custom_params=' + customParams" hover-class="none">
- <view class="img-box">
- <view class="label-a" v-if="item.live_status == 101">
- <text class="iconfont icon-ic_video1"></text>
- <text>直播中</text>
- </view>
- <view class="label-b acea-row" v-else-if="item.live_status == 102">
- <view class="txt">预告</view>
- <view class="msg">{{ item.show_time }}</view>
- </view>
- <view class="label-c acea-row row-middle" v-else-if="item.live_status == 103">
- <text>回放</text>
- </view>
- <easy-loadimage mode="widthFix" :image-src="item.cover_img" width="100%" height="670rpx"></easy-loadimage>
- </view>
- <view class="info" v-if="titleShow || anchorShow">
- <view class="title line1" v-if="titleShow">{{ item.name }}</view>
- <view class="people acea-row row-middle" v-if="anchorShow">
- <easy-loadimage class="image" mode="widthFix" :image-src="item.anchor_img" width="40rpx" height="40rpx" borderRadius="20rpx"></easy-loadimage>
- <text>主播:{{ item.anchor_name }}</text>
- </view>
- </view>
- </navigator>
- </template>
- </view>
- </template>
- </view>
- </view>
- </view>
- <!-- #endif -->
- </template>
- <script>
- import {
- mapGetters
- } from "vuex";
- import {
- getLiveList
- } from '@/api/api.js';
- export default {
- computed: mapGetters(['uid']),
- name: 'liveBroadcast',
- props: {
- dataConfig: {
- type: Object,
- default: () => {}
- },
- isSortType: {
- type: String | Number,
- default: 0
- }
- },
- data() {
- return {
- // endBg: this.dataConfig.endBg.color[0].item,
- // notBg: this.dataConfig.notBg.color[0].item,
- // playBg: this.dataConfig.playBg.color[0].item,
- listStyle: 0,
- mbConfig: 0,
- liveList: [],
- customParams: 0,
- bg: '',
- titleColor: '',
- prConfig: '',
- boxShadow: '',
- // limit: 0,
- itemStyle: 0
- };
- },
- computed: {
- liveWrapperStyle() {
- return {
- 'padding': `${this.dataConfig.topConfig.val * 2}rpx ${this.dataConfig.prConfig.val * 2}rpx ${this.dataConfig.bottomConfig.val * 2}rpx`,
- 'margin-top': `${this.dataConfig.mbConfig.val * 2}rpx`,
- 'background': this.dataConfig.bottomBgColor.color[0].item,
- };
- },
- liveStyle() {
- let borderRadius = `${this.dataConfig.fillet.val * 2}rpx`;
- if (this.dataConfig.fillet.type) {
- borderRadius =
- `${this.dataConfig.fillet.valList[0].val * 2}rpx ${this.dataConfig.fillet.valList[1].val * 2}rpx ${this.dataConfig.fillet.valList[2].val * 2}rpx ${this.dataConfig.fillet.valList[3].val * 2}rpx`;
- }
- return {
- 'border-radius': borderRadius,
- 'background': `linear-gradient(90deg, ${this.dataConfig.moduleColor.color[0].item} 0%, ${this.dataConfig.moduleColor.color[1].item} 100%)`,
- };
- },
- liveWrapStyle() {
- let marginTop = 0;
- let marginLeft = 0;
- let marginRight = 0;
- if (this.dataConfig.styleConfig.tabVal == 2) {
- marginLeft = `${this.dataConfig.liveConfig.val * 2}rpx`;
- marginRight = `${this.dataConfig.liveConfig.val * 2}rpx`;
- } else {
- marginTop = `${this.dataConfig.liveConfig.val * 2}rpx`;
- }
- return {
- 'margin-top': marginTop,
- 'margin-left': marginLeft,
- 'margin-right': marginRight,
- };
- },
- liveItemStyle() {
- let borderRadius = `${this.dataConfig.filletImg.val * 2}rpx`;
- if (this.dataConfig.filletImg.type) {
- borderRadius =
- `${this.dataConfig.filletImg.valList[0].val * 2}rpx ${this.dataConfig.filletImg.valList[1].val * 2}rpx ${this.dataConfig.filletImg.valList[2].val * 2}rpx ${this.dataConfig.fillet.valList[3].val * 2}rpx`;
- }
- return {
- 'border-radius': borderRadius,
- };
- },
- anchorShow() {
- return this.dataConfig.checkboxInfo.type.includes(1);
- },
- titleShow() {
- return this.dataConfig.checkboxInfo.type.includes(0);
- },
- },
- watch: {
- uid: {
- handler(newV, oldValue) {
- this.getCustomParams();
- },
- immediate: true,
- deep: true
- }
- },
- created() {},
- mounted() {
- this.getLiveList();
- },
- methods: {
- getCustomParams() {
- this.customParams = encodeURIComponent(JSON.stringify({
- pid: this.uid
- }));
- },
- getLiveList: function() {
- let limit = this.$config.LIMIT;
- getLiveList(1, this.dataConfig.numberConfig.val == undefined ? 10 : this.dataConfig.numberConfig.val)
- .then(res => {
- this.liveList = res.data;
- })
- .catch(res => {});
- }
- }
- };
- </script>
- <style lang="scss">
- .pageOn {
- border-radius: 16rpx;
- }
- .label-img {
- width: 20rpx !important;
- height: 20rpx !important;
- }
- .bgred-img {
- width: 21rpx !important;
- height: 22rpx !important;
- }
- .live-wrapper {
- position: relative;
- width: 100%;
- overflow: hidden;
- border-radius: 16rpx;
- image {
- width: 100%;
- height: 400rpx;
- }
- .live-top {
- z-index: 20;
- position: absolute;
- left: 0;
- top: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #fff;
- width: 180rpx;
- height: 54rpx;
- border-radius: 0rpx 0px 18rpx 0px;
- image {
- width: 30rpx;
- height: 30rpx;
- margin-right: 10rpx;
- /* #ifdef H5 */
- display: block;
- /* #endif */
- }
- }
- .live-title {
- position: absolute;
- left: 0;
- bottom: 6rpx;
- width: 100%;
- height: 70rpx;
- line-height: 70rpx;
- text-align: center;
- font-size: 30rpx;
- color: #fff;
- background: rgba(0, 0, 0, 0.35);
- }
- &.mores {
- width: 100%;
- .item {
- position: relative;
- width: 320rpx;
- display: inline-block;
- border-radius: 16rpx;
- overflow: hidden;
- margin-right: 20rpx;
- image {
- width: 320rpx;
- height: 180rpx;
- border-radius: 16rpx;
- }
- .live-title {
- height: 40rpx;
- line-height: 40rpx;
- text-align: center;
- font-size: 22rpx;
- }
- .live-top {
- width: 120rpx;
- height: 36rpx;
- font-size: 22rpx;
- image {
- width: 20rpx;
- height: 20rpx;
- }
- }
- }
- }
- }
- .live-wrapper-a {
- padding: 20rpx;
- .live-item-a {
- &:first-child {
- margin-top: 0 !important;
- }
- .img-box {
- position: relative;
- height: 400rpx;
- overflow: hidden;
- }
- .info {
- padding: 24rpx 0 0;
- .title {
- font-size: 28rpx;
- line-height: 40rpx;
- color: #333333;
- }
- .people {
- margin-top: 12rpx;
- font-size: 24rpx;
- color: #999999;
- .image {
- margin-right: 12rpx;
- }
- }
- }
- .label-a {
- position: absolute;
- top: 24rpx;
- left: 0;
- z-index: 2;
- height: 40rpx;
- padding: 0 16rpx;
- border-radius: 0 20rpx 20rpx 0;
- background: linear-gradient(90deg, #FF2851 0%, #FF2851 100%);
- font-size: 22rpx;
- line-height: 40rpx;
- color: #FFFFFF;
- }
- .label-b {
- position: absolute;
- top: 24rpx;
- left: 0;
- z-index: 2;
- height: 40rpx;
- padding: 0 16rpx 0 0;
- border-radius: 0 20rpx 20rpx 0;
- background: rgba(0, 0, 0, 0.2);
- font-size: 22rpx;
- color: #FFFFFF;
- .txt {
- height: 40rpx;
- padding: 0 16rpx;
- border-radius: 0 20rpx 20rpx 0;
- margin-right: 12rpx;
- background: linear-gradient(90deg, #208FF2 0%, #3FA6FF 98%);
- }
- }
- .label-c {
- position: absolute;
- top: 24rpx;
- left: 0;
- z-index: 2;
- height: 40rpx;
- padding: 0 16rpx;
- border-radius: 0 20rpx 20rpx 0;
- background: linear-gradient(90deg, #6D80AC 0%, #889EBD 100%);
- font-size: 22rpx;
- color: #FFFFFF;
- }
- }
- }
- .live-wrapper-b {
- padding: 20rpx;
- .live-item {
- &:first-child {
- margin-top: 0 !important;
- }
- .img-box {
- position: relative;
- width: 332rpx;
- height: 236rpx;
- background: #F3F9FF;
- overflow: hidden;
- }
- .info {
- flex: 1;
- padding: 20rpx 0 24rpx 24rpx;
- .title {
- flex: 1;
- font-size: 28rpx;
- line-height: 40rpx;
- color: #333333;
- }
- }
- }
- .label-a {
- position: absolute;
- top: 12rpx;
- left: 12rpx;
- z-index: 2;
- height: 36rpx;
- padding: 0 12rpx;
- border-radius: 18rpx;
- background: linear-gradient(90deg, #FF2851 0%, #FF2851 100%);
- font-size: 22rpx;
- line-height: 36rpx;
- color: #FFFFFF;
- }
- .label-b {
- position: absolute;
- top: 12rpx;
- left: 12rpx;
- z-index: 2;
- height: 36rpx;
- padding: 0 12rpx 0 0;
- border-radius: 18rpx;
- background: rgba(0, 0, 0, 0.2);
- font-size: 22rpx;
- line-height: 36rpx;
- color: #FFFFFF;
- .txt {
- height: 36rpx;
- padding: 0 12rpx;
- border-radius: 18rpx;
- margin-right: 12rpx;
- background: linear-gradient(90deg, #208FF2 0%, #3FA6FF 98%);
- }
- }
- .label-c {
- position: absolute;
- top: 12rpx;
- left: 12rpx;
- z-index: 2;
- height: 36rpx;
- padding: 0 12rpx;
- border-radius: 18rpx;
- background: linear-gradient(90deg, #6D80AC 0%, #889EBD 100%);
- font-size: 22rpx;
- line-height: 36rpx;
- color: #FFFFFF;
- }
- .goods-wrapper {
- margin-top: 16rpx;
- .goods-item {
- position: relative;
- width: 96rpx;
- height: 96rpx;
- }
- .money {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- height: 26rpx;
- background: rgba(0, 0, 0, 0.3);
- text-align: center;
- font-size: 22rpx;
- line-height: 26rpx;
- color: #FFFFFF;
- }
- .num {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.35);
- font-size: 28rpx;
- color: #FEFEFE;
- }
- }
- }
- .live-wrapper-c {
- padding: 20rpx 0;
- .scroll-view {
- white-space: nowrap;
- }
- .live-item {
- display: inline-block;
- width: 280rpx;
- +.live-item {
- margin-left: 0 !important;
- }
- .img-box {
- position: relative;
- width: 280rpx;
- height: 200rpx;
- background: #F3F9FF;
- overflow: hidden;
- }
- .info {
- padding-top: 16rpx;
- .title {
- font-size: 28rpx;
- line-height: 40rpx;
- color: #333333;
- }
- .people {
- margin-top: 12rpx;
- font-size: 24rpx;
- color: #999999;
- .image {
- margin-right: 12rpx;
- }
- }
- }
- }
- .label-a {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 2;
- height: 36rpx;
- padding: 0 12rpx;
- border-radius: 16rpx 0rpx 20rpx 0rpx;
- background: linear-gradient(90deg, #FF2851 0%, #FF2851 100%);
- font-size: 22rpx;
- line-height: 36rpx;
- color: #FFFFFF;
- .iconfont {
- margin-right: 8rpx;
- font-size: 24rpx
- }
- }
- .label-b {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 2;
- height: 36rpx;
- padding: 0 12rpx 0 0;
- border-radius: 16rpx 0rpx 20rpx 0rpx;
- background: rgba(0, 0, 0, 0.2);
- font-size: 22rpx;
- line-height: 36rpx;
- color: #FFFFFF;
- .txt {
- height: 36rpx;
- padding: 0 12rpx;
- border-radius: 16rpx 0rpx 20rpx 0rpx;
- margin-right: 12rpx;
- background: linear-gradient(90deg, #208FF2 0%, #3FA6FF 98%);
- }
- }
- .label-c {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 2;
- height: 36rpx;
- padding: 0 12rpx;
- border-radius: 16rpx 0rpx 20rpx 0rpx;
- background: linear-gradient(90deg, #6D80AC 0%, #889EBD 100%);
- font-size: 22rpx;
- line-height: 36rpx;
- color: #FFFFFF;
- }
- }
- .live-wrapper-d {
- padding: 20rpx;
- .live-item-a {
- position: relative;
- overflow: hidden;
- .img-box {
- width: 100%;
- height: 670rpx;
- background: #F3F9FF;
- overflow: hidden;
- }
- .info {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- padding: 24rpx;
- background: rgba(0, 0, 0, 0.2);
- .title {
- font-size: 28rpx;
- line-height: 40rpx;
- color: #FFFFFF;
- }
- .people {
- margin-top: 12rpx;
- font-size: 24rpx;
- color: #FFFFFF;
- .image {
- margin-right: 12rpx;
- }
- }
- }
- .label-a {
- position: absolute;
- top: 24rpx;
- left: 0;
- z-index: 2;
- height: 40rpx;
- padding: 0 16rpx;
- border-radius: 0 20rpx 20rpx 0;
- background: linear-gradient(90deg, #FF2851 0%, #FF2851 100%);
- font-size: 22rpx;
- color: #FFFFFF;
- }
- .label-b {
- position: absolute;
- top: 24rpx;
- left: 0;
- z-index: 2;
- height: 40rpx;
- padding: 0 16rpx 0 0;
- border-radius: 0 20rpx 20rpx 0;
- background: rgba(0, 0, 0, 0.2);
- font-size: 22rpx;
- color: #FFFFFF;
- .txt {
- height: 40rpx;
- padding: 0 16rpx;
- border-radius: 0 20rpx 20rpx 0;
- margin-right: 12rpx;
- background: linear-gradient(90deg, #208FF2 0%, #3FA6FF 98%);
- }
- }
- .label-c {
- position: absolute;
- top: 24rpx;
- left: 0;
- z-index: 2;
- height: 40rpx;
- padding: 0 16rpx;
- border-radius: 0 20rpx 20rpx 0;
- background: linear-gradient(90deg, #6D80AC 0%, #889EBD 100%);
- font-size: 22rpx;
- color: #FFFFFF;
- }
- }
- .live-item-b {
- padding: 24rpx 24rpx 20rpx;
- border: 1rpx solid #EEEEEE;
- border-radius: 16rpx;
- margin-top: 20rpx;
- .title {
- flex: 1;
- font-size: 28rpx;
- line-height: 40rpx;
- color: #333333;
- }
- .people {
- margin-top: 16rpx;
- font-size: 24rpx;
- color: #999999;
- .time {
- padding-left: 12rpx;
- margin-left: 12rpx;
- border-left: 1rpx solid #EEEEEE;
- line-height: 22rpx;
- }
- }
- .label-a {
- height: 32rpx;
- padding: 0 12rpx;
- border-radius: 8rpx;
- margin-right: 16rpx;
- background: linear-gradient(90deg, #FF2851 0%, #FF2851 100%);
- font-size: 20rpx;
- color: #FFFFFF;
- }
- .label-b {
- height: 32rpx;
- padding: 0 12rpx;
- border-radius: 8rpx;
- margin-right: 16rpx;
- background: linear-gradient(90deg, #208FF2 0%, #3FA6FF 98%);
- font-size: 20rpx;
- color: #FFFFFF;
- }
- .label-c {
- height: 32rpx;
- padding: 0 12rpx;
- border-radius: 8rpx;
- margin-right: 16rpx;
- background: linear-gradient(90deg, #6D80AC 0%, #889EBD 100%);
- font-size: 20rpx;
- color: #FFFFFF;
- }
- }
- }
- .bgblue {
- width: 220rpx;
- height: 38rpx;
- background: rgba(0, 0, 0, 0.36);
- overflow: hidden;
- .txt {
- position: relative;
- left: -5rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 38px;
- height: 100%;
- text-align: center;
- background: linear-gradient(270deg, #2FA1F5 0%, #0076FF 100%);
- }
- }
- .title-box {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 20rpx;
- font-size: 32rpx;
- .more {
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 26rpx;
- color: #999;
- .iconfont {
- font-size: 26rpx;
- margin-top: 8rpx;
- }
- }
- }
- </style>
|