123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080 |
- <template>
- <!-- 图片前缀 https://img.shuimuai.com/ -->
- <scroll-view id="index_container" @scroll="onListenScroll" scroll-y style="height: 100%;">
- <!-- 死底部分-->
- <div class="index_container">
- <!-- 用户信息模块-->
- <van-row>
- <van-col :span="12">
- <div class="userinfo " :class="{not_show:userinfo.user_id == false}">
- <van-row>
- <van-col :span="5">
- <van-image :src="userinfo.portrait" width="32px" height="32px"></van-image>
- </van-col>
- <van-col :span="10">
- <p>{{ userinfo.user_name }}</p>
- <p>{{ userinfo.phone }}</p>
- </van-col>
- </van-row>
- </div>
- </van-col>
- </van-row>
- <!-- 用户信息模块 -->
- <!-- 倒计时模块 -->
- <van-row>
- <div class="count_down_container">
- <van-count-down :time="complete_time" use-slot @change="onTimeChange" format="DD:HH:mm:ss"
- v-if="complete_time">
- <span class="count_down_time">{{ timeData.days }}</span>
- <span class="count_down_time">{{ timeData.hours }}</span>
- <span class="count_down_time">{{ timeData.minutes }}</span>
- <span class="count_down_time">{{ timeData.seconds }}</span>
- </van-count-down>
- <div class="none_count_down" v-else>
- <span class="count_down_time">00</span>
- <span class="count_down_time">00</span>
- <span class="count_down_time">00</span>
- <span class="count_down_time">00</span>
- </div>
- </div>
- </van-row>
- <!-- 倒计时模块 -->
- <!-- 分享和参与比赛的按钮 -->
- <van-row gutter="7" :class="{'complete_btns':is_fixed == false,'complete_btns_fixed':is_fixed}">
- <van-col :span="11" :offset="1">
- <!--分享按钮-->
- <van-image src="https://img.shuimuai.com/share_btn@2x.png" @click="show_share_window"
- width="160px" height="49px"
- ></van-image>
- </van-col>
- <van-col :span="10" :offset="1">
- <!--参与按钮-->
- <van-image src="https://img.shuimuai.com/join_btn@2x.png"
- @click="to_info"
- width="160px" height="49px"
- v-if="joined == false"
- ></van-image>
- <van-image src="https://img.shuimuai.com/rank@2x.png" alt="" @click="to_rank"
- width="160px" height="49px"
- v-else
- ></van-image>
- </van-col>
- </van-row>
- <van-overlay :show="share_show" class="share_info" :z-index="99">
- <img src="https://img.shuimuai.com/share_arrow.png" alt="" class="share_arrow">
- <img src="https://img.shuimuai.com/share_content.png" alt="" class="share_content">
- <img src="https://img.shuimuai.com/know_btn.png" alt="" @click="close_share_window" class="know_btn">
- </van-overlay>
- <!-- 分享和参与比赛的按钮 -->
- </div>
- <div id="info"></div>
- <!-- 自创模块-->
- <div class="diy_container">
- <!-- 排行榜模块 -->
- <div class="rank_container" id="rank_container">
- <div class="rank_title">
- <img src="https://img.shuimuai.com/rank_title@2x.png" alt="" class="rank_title_img">
- </div>
- <div class="rank_main">
- <!-- 排行榜tabs -->
- <view class="rank_header">
- <van-row>
- <van-col span="8">
- <img src="https://img.shuimuai.com/yu_sai_rank@2x.png" alt="" class="rank_card"
- @click="changeRankAction(1)">
- <img src="https://img.shuimuai.com/yu_sai_tg@2x.png" alt="" class="rank_arrow"
- :class="{not_show:rank_action!=1}">
- </van-col>
- <van-col span="8">
- <img src="https://img.shuimuai.com/raise_rank@2x.png" alt="" class="rank_card"
- @click="changeRankAction(2)">
- <img src="https://img.shuimuai.com/raise_tg@2x.png" alt="" class="rank_arrow"
- :class="{not_show:rank_action!=2}">
- </van-col>
- <van-col span="8">
- <img src="https://img.shuimuai.com/final_rank@2x.png" alt="" class="rank_card"
- @click="changeRankAction(3)">
- <img src="https://img.shuimuai.com/final_tg@2x.png" alt="" class="rank_arrow"
- :class="{not_show:rank_action!=3}">
- </van-col>
- </van-row>
- </view>
- <!-- 排行榜榜单 -->
- <!-- 预选赛榜单 -->
- <div class="rank_main_list" v-if="rank_action==1">
- <!-- 我的成绩 -->
- <div class="my_score" v-if="my_report.user_id">
- <span class="right_title" @click="to_report">成绩报告详情</span>
- <van-row class="rank_item">
- <van-col span="4" offset="1">
- <span class="rank_num">第{{ my_report.ranking }}名</span>
- </van-col>
- <van-col span="2" offset="1">
- <van-image :src="my_report.portrait" alt="" class="avatar" width="25px" height="25px"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_username">{{ my_report.user_name }}</span>
- </van-col>
- <van-col span="5">
- <template v-if="icon_show">
- <van-image src="https://img.shuimuai.com/rise@2x.png" alt="" class="" width="19px" height="10px"
- v-if="my_report.promotion_status==1"></van-image>
- <van-image src="https://img.shuimuai.com/luo_xuan@2x.png" alt="" class="" width="19px" height="10px"
- v-if="my_report.promotion_status==2"></van-image>
- <van-image src="https://img.shuimuai.com/qi_quan@2x.png" alt="" class="" width="19px" height="10px"
- v-if="my_report.promotion_status==3"></van-image>
- </template>
- </van-col>
- <van-col span="5">
- <span class="rank_score">{{ my_report.att_average }}分</span>
- </van-col>
- </van-row>
- </div>
- <!-- 排行榜列表 -->
- <div class="rank_list">
- <van-row>
- <van-col span="4" offset="1">
- <span class="rank_list_title">排名</span>
- </van-col>
- <van-col span="2" offset="1">
- <span class="rank_list_title">姓名</span>
- </van-col>
- <van-col span="5" offset="10">
- <span class="rank_list_title">得分</span>
- </van-col>
- </van-row>
- <div v-for="(item,index) in promotion_rank" :key="index">
- <view class="rank_item">
- <van-row>
- <van-col span="4" offset="1" class=" ">
- <span class="rank_num" v-if="index > 2">第{{ index + 1 }}名</span>
- <van-image src="https://img.shuimuai.com/gold_award@2x.png" alt="" v-if="index == 0"
- width="16px" height="24px"
- ></van-image>
- <van-image src="https://img.shuimuai.com/second_award@2x.png" alt="" v-if="index == 1"
- width="16px" height="24px"
- ></van-image>
- <van-image src="https://img.shuimuai.com/third_btn@2x.png" alt="" v-if="index == 2"
- width="16px" height="24px"
- ></van-image>
- </van-col>
- <van-col span="2" offset="1" class=" ">
- <van-image :src="item.portrait" alt="" class="avatar" width="25px" height="25px"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_username">{{ item.user_name }}</span>
- </van-col>
- <van-col span="5">
- <template v-if="icon_show">
- <van-image src="https://img.shuimuai.com/rise@2x.png" alt="" class="" width="19px" height="10px"
- v-if="item.promotion_status==1"></van-image>
- <van-image src="https://img.shuimuai.com/luo_xuan@2x.png" alt="" class="" width="19px"
- height="10px"
- v-if="item.promotion_status==2"></van-image>
- <van-image src="https://img.shuimuai.com/qi_quan@2x.png" alt="" class="" width="19px"
- height="10px"
- v-if="item.promotion_status==3"></van-image>
- </template>
- </van-col>
- <van-col span="5">
- <span class="rank_score">{{ item.att_average }}分</span>
- </van-col>
- </van-row>
- </view>
- <div class="under_line"></div>
- </div>
- </div>
- </div>
- <!-- 晋级赛榜单 -->
- <div class="rank_main_list" v-if="rank_action==2">
- <div class="my_score" v-if="my_report_2.user_id">
- <span class="right_title" @click="to_report">成绩报告详情</span>
- <view class="rank_item">
- <van-row>
- <van-col span="4" offset="1">
- <span class="rank_num">第{{ my_report_2.ranking }}名</span>
- </van-col>
- <van-col span="2" offset="1">
- <van-image :src="my_report_2.portrait" alt="" class="avatar" width="25px" height="25px"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_username">{{ my_report_2.user_name }}</span>
- </van-col>
- <van-col span="5" class="not_show">
- </van-col>
- <van-col span="5">
- <span class="rank_score">{{ my_report_2.att_average }}分</span>
- </van-col>
- </van-row>
- </view>
- </div>
- <!-- 排行榜列表 -->
- <div class="rank_list">
- <van-row>
- <van-col span="4" offset="1">
- <span class="rank_list_title">排名</span>
- </van-col>
- <van-col span="2" offset="1">
- <span class="rank_list_title">姓名</span>
- </van-col>
- <van-col span="5" offset="10">
- <span class="rank_list_title">得分</span>
- </van-col>
- </van-row>
- <div v-for="(item,index) in final_rank" :key="index">
- <view class="rank_item">
- <van-row>
- <van-col span="4" offset="1" class="">
- <span class="rank_num" v-if="index > 2">第{{ item.ranking }}名</span>
- <van-image src="https://img.shuimuai.com/gold_award@2x.png" alt="" v-if="index == 0"
- width="16px" height="24px"
- ></van-image>
- <van-image src="https://img.shuimuai.com/second_award@2x.png" alt="" v-if="index == 1"
- width="16px" height="24px"
- ></van-image>
- <van-image src="https://img.shuimuai.com/third_btn@2x.png" alt="" v-if="index == 2"
- width="16px" height="24px"
- ></van-image>
- </van-col>
- <van-col span="2" offset="1" class="">
- <van-image :src="item.portrait" alt="" class="avatar" width="25px" height="25px"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_username">{{ item.user_name }}</span>
- </van-col>
- <van-col span="5" class="not_show">
- <van-image src="https://img.shuimuai.com/rise@2x.png" alt="" class="" width="19px" height="10px"
- v-if="item.finals_status==1"></van-image>
- <van-image src="https://img.shuimuai.com/luo_xuan@2x.png" alt="" class="" width="19px"
- height="10px"
- v-if="item.finals_status==2"></van-image>
- <van-image src="https://img.shuimuai.com/qi_quan@2x.png" alt="" class="" width="19px"
- height="10px"
- v-if="item.finals_status==3"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_score">{{ item.att_average }}分</span>
- </van-col>
- </van-row>
- </view>
- <div class="under_line"></div>
- </div>
- </div>
- </div>
- <!-- 决赛榜单 -->
- <div class="rank_main_list" v-if="rank_action==3">
- <!-- 排行榜列表 -->
- <div class="rank_list_ext">
- <div v-for="(item,index) in all_final_rank" :key="item">
- <!-- 特等奖 -->
- <view class="gold_award_container last_sort" v-if="item.prize==0">
- <van-row >
- <van-col span="2" offset="9" class="">
- <van-image :src="item.portrait" alt="" class="avatar" width="25px" height="25px"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_username">{{ item.user_name }}</span>
- </van-col>
- <van-col span="4">
- <span class="slogen">总决赛积分</span>
- </van-col>
- <van-col span="2">
- <span class="rank_score">{{ item.att_average }}</span>
- </van-col>
- </van-row>
- </view>
- <!-- 一等奖 -->
- <van-row class="first_award_container " v-if="item.prize == 1">
- <div class="first_award_bg last_sort_ext">
- <van-col>
- <van-image src="https://img.shuimuai.com/h5/first.png" alt=""
- width="87px" height="25px"
- ></van-image>
- </van-col>
- <van-col span="2" offset="1" class="">
- <van-image :src="item.portrait" alt="" class="avatar" width="25px" height="25px"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_username">{{ item.user_name }}</span>
- </van-col>
- <van-col span="4">
- <span class="slogen">总决赛积分</span>
- </van-col>
- <van-col span="2">
- <span class="rank_score">{{ item.att_average }}</span>
- </van-col>
- </div>
- </van-row>
- <!-- 二等奖 -->
- <div class="second_award_container " v-if="item.prize == 2">
- <div class="second_award_bg last_sort_ext">
- <van-col>
- <van-image src="https://img.shuimuai.com/h5/second.png" alt=""
- width="87px" height="25px"
- ></van-image>
- </van-col>
- <van-col span="2" offset="1" class="">
- <van-image :src="item.portrait" alt="" class="avatar" width="25px" height="25px"></van-image>
- </van-col>
- <van-col span="5">
- <span class="rank_username second_text">{{ item.user_name }}</span>
- </van-col>
- <van-col span="4">
- <span class="slogen second_text">晋级赛积分</span>
- </van-col>
- <van-col span="2">
- <span class="rank_score second_text">{{ item.att_average }}</span>
- </van-col>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 精彩时刻模块 -->
- <div class="wonderful_container">
- <img src="https://img.shuimuai.com/jing_cai_shi_ke@2x.png" alt="" class="wonderful_container_img">
- </div>
- <!-- 扫码关注我们模块 -->
- <div class="qrcode_container">
- <img src="https://img.shuimuai.com/code@2x.png" alt="" class="qrcode_container_img">
- </div>
- </div>
- <van-toast id="van-toast"/>
- </scroll-view>
- </template>
- <script>
- import store from "../../store/competition";
- import {cal_down_time} from "../../utils";
- import {
- checkJoined,
- doEnroll,
- get_user_by_code,
- getActivity, getAllFinalsRanking,
- getFinalsRanking, getJsSDK,
- getPromotionRanking
- } from "../../requests/competition";
- import Toast from '../../../static/vant/toast/toast';
- import {reload_userinfo} from "../../utils/user";
- var $this;
- var $now = Math.round(new Date() / 1000);
- export default {
- name: "index",
- data() {
- return {
- //活动id
- activity_id: 0,
- //分享显示
- share_show: false,
- //结束时间
- complete_time: "",
- //排行榜
- rank_action: 1,
- joined: false,
- //预选赛排行
- promotion_rank: [],
- //晋级赛排行
- final_rank: [],
- //总决赛排行
- all_final_rank: [],
- //我的成绩
- my_report: {},
- my_report_2: {},
- timeData: {},
- //用户个人信息
- userinfo: {
- phone: 0,
- portrait: "",
- user_id: "",
- user_name: ""
- },
- icon_show: false,
- // 是否悬浮
- is_fixed: false
- }
- },
- watch: {
- rank_action($new, $old) {
- if ($new == 2) {
- if ($this.final_rank.length == 0) {
- $this.rank_action = $old
- }
- }
- if ($new == 3) {
- if ($this.all_final_rank.length == 0) {
- $this.rank_action = $old
- }
- }
- }
- },
- methods: {
- to_report() {
- // $this.$router.push({name: "Report"})
- },
- get_init() {
- },
- //打开分享窗口
- show_share_window() {
- $this.share_show = true
- },
- //关闭分享窗口
- close_share_window() {
- $this.share_show = false
- },
- //跳转比赛信息位置
- to_info() {
- if (!$this.userinfo.user_id) {
- Toast.fail({
- message:'请登录水母智脑小程序后进行参与比赛',
- onClose(){
- wx.navigateTo({
- url:"/pages/index/main"
- })
- }
- })
- return false
- }
- //判断有用户id 就 参加比赛
- if ($this.userinfo.user_id && $this.joined == false) {
- doEnroll($this.activity_id, $this.userinfo.user_id).then((res) => {
- let $res = res.data
- if ($res.code == 0) {
- Toast.success("参加成功");
- $this.joined = true
- } else {
- Toast.fail($res.errmsg)
- }
- }).catch((e) => {
- Toast.fail(e)
- })
- }
- if ($this.joined == true) {
- //没有则跳转到地址
- window.location.href = '#info'
- }
- },
- //跳转比赛信息位置
- to_rank() {
- window.location.href = '#rank_container'
- },
- //时间产生变化时
- onTimeChange($e) {
- $this.timeData = $e.mp.detail
- for (let $key in $e) {
- if ($e[$key].toString().length == 1) {
- $e[$key] = "0" + $e[$key]
- }
- }
- },
- //切换排行榜
- changeRankAction($action) {
- $this.rank_action = $action
- },
- // 获取互动
- getActivity($activity_id) {
- getActivity($activity_id).then((res) => {
- let $res = res.data;
- let $data = $res.data;
- // 倒计时模块
- if ($now > $data['promotion_start_time'] && $now < $data['promotion_end_time']) {
- //预选塞时间范围内
- $this.calDownTime($data['promotion_end_time'])
- }
- //晋级赛时间范围内
- if ($now > $data['finals_start_time'] && $now < $data['finals_end_time']) {
- $this.rank_action = 2
- }
- //总决赛时间范围内
- if ($now > $data['all_finals_start_time'] && $now < $data['all_finals_end_time']) {
- $this.rank_action = 3
- }
- //显示预选赛排行
- if ($now > $data['promotion_start_time']) {
- //获取预选赛排行榜
- $this.getPromotionRanking($activity_id)
- }
- //显示晋级赛排行
- if ($now > $data['finals_start_time']) {
- //获取晋级赛排行榜
- $this.getFinalsRanking($activity_id)
- }
- // 显示总决赛排行榜
- if ($now > $data['all_finals_end_time']) {
- $this.getAllFinalsRanking($activity_id)
- }
- if ($now > $data['promotion_end_time']) {
- $this.icon_show = true
- }
- })
- },
- //获取预选赛排行
- getPromotionRanking($activity_id) {
- getPromotionRanking($activity_id).then((res) => {
- let $res = res.data;
- let $data = $res.data;
- $data.forEach(($val, $index) => {
- if ($val['user_id'] == $this.userinfo.user_id) {
- $this.my_report = $val
- }
- })
- $this.promotion_rank = $data
- })
- },
- //获取晋级赛排行
- getFinalsRanking($activity_id) {
- getFinalsRanking($activity_id).then((res) => {
- let $res = res.data;
- let $data = $res.data;
- $data.forEach(($val, $index) => {
- if ($val['user_id'] == $this.userinfo.user_id) {
- $this.my_report_2 = $val
- }
- })
- $this.final_rank = $res.data
- })
- },
- //获取总决赛排行
- getAllFinalsRanking($activity_id) {
- getAllFinalsRanking($activity_id).then((res) => {
- let $res = res.data;
- $this.all_final_rank = $res.data
- })
- },
- // 计算结束时间差
- calDownTime($time) {
- //计算倒计时
- // 获取比赛结束日
- let $time_result = cal_down_time($time)
- $this.complete_time = $time_result.differ
- },
- //监听滚动
- onListenScroll(event) {
- let $scrollTop = event.mp.detail.scrollTop
- $this.is_fixed = $scrollTop > 400
- }
- },
- mounted() {
- },
- created() {
- $this = this;
- //获取浏览器信息
- reload_userinfo($this)
- },
- onLoad($options) {
- $this.activity_id = $options.activity_id
- $this.getActivity($this.activity_id)
- }
- }
- </script>
- <style>
- page {
- height: 100%;
- }
- </style>
- <style scoped>
- /*//死底模块*/
- #index_container {
- background-color: #2b2760;
- }
- .index_container {
- background: url("https://img.shuimuai.com/h5/background_1%402x.png");
- background-size: 100% 100%;
- background-position: center;
- height: 2487px;
- width: 100%;
- }
- .userinfo {
- padding: 10px;
- }
- .userinfo p {
- font-size: 9px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #fff;
- line-height: 14px;
- }
- .complete_btns {
- position: absolute;
- top: 580px;
- }
- .complete_btns_fixed {
- position: fixed;
- bottom: 0px;
- z-index: 99;
- }
- .share_info {
- text-align: center;
- }
- .share_info .share_arrow {
- width: 84px;
- height: 113px;
- float: right;
- margin-top: 18px;
- margin-right: 33px;
- }
- .share_info .share_content {
- width: 324px;
- height: 116px;
- margin: 0px auto;
- }
- .share_info .know_btn {
- width: 189px;
- height: 73px;
- margin-top: 49px;
- }
- .count_down_container {
- background-image: url("https://img.shuimuai.com/count_down_container@2x.png");
- background-size: 100% 100%;
- background-position: center;
- width: 294px;
- height: 49px;
- position: absolute;
- top: 323px;
- left: 41px;
- }
- .count_down_container .count_down_time {
- font-size: 24px;
- font-family: zihun59hao-chuangcuhei;
- font-weight: 400;
- color: #FFFFFF;
- position: relative;
- }
- .count_down_container .count_down_time:nth-child(1) {
- left: 70px;
- top: 15px;
- bottom: 16px;
- }
- .count_down_container .count_down_time:nth-child(2) {
- left: 90px;
- top: 15px;
- bottom: 16px;
- }
- .count_down_container .count_down_time:nth-child(3) {
- left: 115px;
- top: 15px;
- bottom: 16px;
- }
- .count_down_container .count_down_time:nth-child(4) {
- left: 135px;
- top: 15px;
- bottom: 16px;
- }
- .none_count_down .count_down_time {
- top: 8px !important;
- }
- /*# sourceMappingURL=index.css.map */
- /*//diy模块*/
- .max_width_and_center {
- width: 100%;
- text-align: center;
- margin-top: 30px;
- }
- .flex_center {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .diy_container {
- margin-top: 15px;
- }
- .diy_container .rank_container .rank_title {
- width: 100%;
- text-align: center;
- margin-top: 30px;
- }
- .diy_container .rank_container .rank_title_img {
- width: 352px;
- height: 32px;
- }
- .diy_container .rank_container .rank_main {
- margin-top: 20px;
- text-align: center;
- }
- .diy_container .rank_container .rank_main .rank_card {
- width: 105px;
- height: 50px;
- }
- .diy_container .rank_container .rank_main .rank_arrow {
- width: 67px;
- height: 55px;
- position: relative;
- top: -28px;
- left: 0px;
- z-index: 2;
- }
- .diy_container .rank_container .rank_main .rank_main_list {
- width: 322px;
- height: 486px;
- background: #1B1746;
- border: 2px solid #585399;
- border-radius: 9px;
- margin: 0px auto;
- position: relative;
- bottom: 60px;
- z-index: 1;
- overflow-y: scroll;
- }
- .diy_container .rank_container .rank_main .rank_main_list .my_score {
- background-image: url("https://img.shuimuai.com/my_score_bg@2x.png");
- background-size: 100% 100%;
- background-position: center;
- width: 306px;
- height: 48px;
- margin: 10px auto;
- }
- .diy_container .rank_container .rank_main .rank_main_list .my_score .right_title {
- width: 55px;
- height: 10px;
- font-size: 9px;
- font-family: zihun59hao-chuangcuhei;
- font-weight: 400;
- text-decoration: underline;
- color: #FFBA00;
- line-height: 12px;
- position: relative;
- left: 110px;
- bottom: 5px;
- }
- .diy_container .rank_container .rank_main .rank_main_list .my_score .rank_item {
- display: flex;
- }
- .diy_container .rank_container .rank_main .rank_main_list .my_score .rank_item .rank_num {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #FFC600;
- line-height: 14px;
- }
- .diy_container .rank_container .rank_main .rank_main_list .my_score .rank_item .rank_username {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #E2E0FF;
- line-height: 14px;
- }
- .diy_container .rank_container .rank_main .rank_main_list .my_score .rank_item .avatar {
- width: 24px;
- height: 25px;
- }
- .diy_container .rank_container .rank_main .rank_main_list .my_score .rank_item .rank_score {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #E2E0FF;
- line-height: 14px;
- }
- .diy_container .rank_list_title {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #8F8AC3;
- line-height: 14px;
- }
- .diy_container .rank_list .avatar {
- width: 24px;
- height: 25px;
- }
- .diy_container .rank_list .rank_item {
- /*display: flex;*/
- height: 30px;
- margin: 10px 0px;
- /*align-items: center;*/
- }
- .diy_container .rank_list .rank_item .rank_num {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #fff;
- line-height: 14px;
- }
- .diy_container .rank_list .rank_item .yellow {
- color: #FFC600;
- }
- .diy_container .rank_list .rank_item .avatar {
- width: 24px;
- height: 25px;
- }
- .diy_container .rank_list .rank_item .rank_username {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #E2E0FF;
- line-height: 14px;
- }
- .diy_container .rank_list .rank_item .rank_score {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #E2E0FF;
- line-height: 14px;
- }
- .diy_container .rank_list .under_line {
- width: 281px;
- height: 1px;
- background: #474186;
- margin: 0px auto;
- }
- .diy_container .rank_list .gold_award_container {
- margin: 10px auto;
- background-image: url("https://img.shuimuai.com/gold_award_bg.png");
- background-size: 100% 100%;
- background-position: center;
- width: 299px;
- height: 44px;
- }
- .diy_container .rank_list .first_award_bg {
- margin: auto;
- background-image: url("https://img.shuimuai.com/first_award_bg.png");
- background-size: 100%;
- background-position: center;
- width: 299px;
- height: 44px;
- }
- .diy_container .rank_list .first_award_container {
- margin: 10px auto;
- }
- .diy_container .rank_list .second_award_bg {
- margin: auto;
- background-image: url("https://img.shuimuai.com/second_award_bg.png");
- background-size: 100%;
- background-position: center;
- width: 299px;
- height: 44px;
- }
- .diy_container .rank_list .second_award_container {
- margin: 10px auto;
- }
- .diy_container .rank_list_ext_title {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #8F8AC3;
- line-height: 14px;
- }
- .diy_container .rank_list_ext .avatar {
- width: 24px;
- height: 25px;
- }
- .diy_container .rank_list_ext .rank_num {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #fff;
- line-height: 14px;
- }
- .diy_container .rank_list_ext .yellow {
- color: #FFC600;
- }
- .diy_container .rank_list_ext .avatar {
- width: 24px;
- height: 25px;
- }
- .diy_container .rank_list_ext .rank_username {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #392121;
- line-height: 14px;
- }
- .diy_container .rank_list_ext .slogen {
- font-size: 7px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #392121;
- line-height: 14px;
- }
- .diy_container .rank_list_ext .rank_score {
- font-size: 10px;
- font-family: Microsoft YaHei;
- font-weight: bold;
- color: #392121;
- line-height: 14px;
- }
- .diy_container .rank_list_ext .under_line {
- width: 281px;
- height: 1px;
- background: #474186;
- margin: 0px auto;
- }
- .diy_container .rank_list_ext .gold_award_container {
- margin: 10px auto;
- background-image: url("https://img.shuimuai.com/h5/gold.png");
- background-size: 100% 100%;
- background-position: center;
- width: 299px;
- height: 44px;
- }
- .diy_container .rank_list_ext .first_award_bg {
- margin: auto;
- background-image: url("https://img.shuimuai.com/first_award_bg.png");
- background-size: 100%;
- background-position: center;
- width: 299px;
- height: 44px;
- }
- .diy_container .rank_list_ext .first_award_container {
- margin: 10px auto;
- }
- .diy_container .rank_list_ext .second_award_bg {
- margin: auto;
- background-image: url("https://img.shuimuai.com/second_award_bg.png");
- background-size: 100%;
- background-position: center;
- width: 299px;
- height: 44px;
- }
- .diy_container .rank_list_ext .second_award_container {
- margin: 10px auto;
- }
- .diy_container .rank_list_ext .second_text {
- color: #C1A98E;
- }
- .diy_container .wonderful_container {
- width: 100%;
- text-align: center;
- margin-top: 30px;
- }
- .diy_container .wonderful_container_img {
- width: 366px;
- height: 365px;
- }
- .diy_container .qrcode_container {
- width: 100%;
- text-align: center;
- margin-top: 30px;
- padding-bottom: 80px;
- }
- .diy_container .qrcode_container_img {
- width: 352px;
- height: 194px;
- }
- .not_show {
- visibility: hidden;
- }
- #info {
- position: relative;
- bottom: 155px;
- }
- .rank_header {
- padding: 0px 25px;
- }
- .last_sort{
- padding: 10px 0px;
- }
- .last_sort_ext{
- padding: 10px;
- }
- /*# sourceMappingURL=diy.css.map */
- </style>
|