|
@@ -1,183 +1,189 @@
|
|
|
<template>
|
|
|
<div class="personal-info" v-loading="loading">
|
|
|
<div class="personal-info-top">
|
|
|
- <div class="avator-box">
|
|
|
- <el-image
|
|
|
- :src="data.avatar?data.avatar:require('../../../assets/avatar.png')"
|
|
|
- fit="cover" style="width:96px;height:96px;">
|
|
|
- </el-image>
|
|
|
+ <div class="avator-box">
|
|
|
+ <el-image
|
|
|
+ :src="
|
|
|
+ data.avatar ? data.avatar : require('../../../assets/avatar.png')
|
|
|
+ "
|
|
|
+ fit="cover"
|
|
|
+ style="width: 96px; height: 96px"
|
|
|
+ >
|
|
|
+ </el-image>
|
|
|
+ </div>
|
|
|
+ <div class="center">
|
|
|
+ <p class="name">{{ data.name }}</p>
|
|
|
+ <span class="org_name">{{ data.org_name }}</span>
|
|
|
+ <!-- <span class="class">{{data.class}}</span> -->
|
|
|
+ </div>
|
|
|
+ <div class="right" v-if="readInfo">
|
|
|
+ <div class="item">
|
|
|
+ <p>共阅读文章</p>
|
|
|
+ <b class="number">{{ readInfo.article_count }}</b>
|
|
|
+ <span>篇</span>
|
|
|
</div>
|
|
|
- <div class="center">
|
|
|
- <p class="name">{{data.name}}</p>
|
|
|
- <span class="org_name">{{data.org_name}}</span>
|
|
|
- <!-- <span class="class">{{data.class}}</span> -->
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ <div class="item">
|
|
|
+ <p>累计阅读时长</p>
|
|
|
+ <b class="number">{{ readInfo.durationStr }}</b>
|
|
|
+ <span>小时</span>
|
|
|
</div>
|
|
|
- <div class="right" v-if="readInfo">
|
|
|
- <div class="item">
|
|
|
- <p>共阅读文章</p>
|
|
|
- <b class="number">{{readInfo.article_count}}</b>
|
|
|
- <span>篇</span>
|
|
|
- </div>
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
- <div class="item">
|
|
|
- <p>累计阅读时长</p>
|
|
|
- <b class="number">{{readInfo.durationStr}}</b>
|
|
|
- <span>小时</span>
|
|
|
- </div>
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
- <div class="item">
|
|
|
- <p>共阅读词数</p>
|
|
|
- <b class="number">{{readInfo.article_diff_word_count}}</b>
|
|
|
- <span>词</span>
|
|
|
- </div>
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
- <div class="item">
|
|
|
- <p>累计阅读长度</p>
|
|
|
- <b class="number">{{readInfo.article_word_count}}</b>
|
|
|
- <span>词</span>
|
|
|
- </div>
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ <div class="item">
|
|
|
+ <p>共阅读词数</p>
|
|
|
+ <b class="number">{{ readInfo.article_diff_word_count }}</b>
|
|
|
+ <span>词</span>
|
|
|
</div>
|
|
|
+ <el-divider direction="vertical"></el-divider>
|
|
|
+ <div class="item">
|
|
|
+ <p>累计阅读长度</p>
|
|
|
+ <b class="number">{{ readInfo.article_word_count }}</b>
|
|
|
+ <span>词</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="personal-info-bottom">
|
|
|
- <!-- <div class="tabs-box">
|
|
|
+ <!-- <div class="tabs-box">
|
|
|
<a :class="[tabsIndex===0?'active':'']" @click="handleChangeTabs(0)">文章列表</a>
|
|
|
<a :class="[tabsIndex===1?'active':'']" @click="handleChangeTabs(1)">词汇列表</a>
|
|
|
</div> -->
|
|
|
- <template v-if="tabsIndex===0">
|
|
|
- <!-- 序号默认倒序 文章增加跳转链接 -->
|
|
|
- <el-table
|
|
|
- :data="articleList"
|
|
|
- v-loading="tableLoading"
|
|
|
- :max-height="tableHeight"
|
|
|
- >
|
|
|
- <el-table-column
|
|
|
- type="index"
|
|
|
- label="#"
|
|
|
- width="72"
|
|
|
- :index="(pageNumber-1)*pageSize+1">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="title"
|
|
|
- label="文章">
|
|
|
- <template slot-scope="scope">
|
|
|
- <a @click="handleLink(scope.row)" style="color:#165DFF">
|
|
|
- {{scope.row.article_title}}
|
|
|
- </a>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="study_phase_name"
|
|
|
- label="学段"
|
|
|
- width="81">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="issue_no_name"
|
|
|
- label="来源"
|
|
|
- width="197">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="words"
|
|
|
- label="词数/长度"
|
|
|
- width="140">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{scope.row.article_diff_word_count+'/'+scope.row.article_word_count}}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="duration"
|
|
|
- label="阅读时长"
|
|
|
- width="140">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{formatterDuration(scope.row)}}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="reading_time"
|
|
|
- label="阅读时间"
|
|
|
- width="160">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{scope.row.reading_time?scope.row.reading_time.substring(0,16):'-'}}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <el-pagination
|
|
|
- background
|
|
|
- @size-change="(val)=>handleSizeChange(val,'pageSize','pageNumber')"
|
|
|
- @current-change="(val)=>handleCurrentChange(val,'pageNumber')"
|
|
|
- :current-page="pageNumber"
|
|
|
- :page-sizes="[10, 20, 30, 40, 50]"
|
|
|
- :page-size="pageSize"
|
|
|
- layout="total, prev, pager, next, sizes, jumper"
|
|
|
- :total="total_count_a">
|
|
|
- </el-pagination>
|
|
|
- </template>
|
|
|
- <template v-if="tabsIndex===1">
|
|
|
- <el-table
|
|
|
- :data="wordList"
|
|
|
- >
|
|
|
- <el-table-column
|
|
|
- prop="number"
|
|
|
- label="#"
|
|
|
- width="72"
|
|
|
- :index="(pageNumber-1)*pageSize+1">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="word"
|
|
|
- label="词汇"
|
|
|
- sortable
|
|
|
- width="160">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="type"
|
|
|
- label="类别"
|
|
|
- width="140"
|
|
|
- column-key="type">
|
|
|
- <template slot="header">
|
|
|
- <span>类别</span>
|
|
|
- <el-popover
|
|
|
- placement="bottom"
|
|
|
- width="128"
|
|
|
- trigger="click">
|
|
|
- <!-- <el-checkbox-group v-model="filterTypeArr" @change="handleChangeFilters"> -->
|
|
|
- <el-checkbox v-for="(itemT,indexT) in filtersTypeList" :key="indexT" :label="itemT.value" v-model="itemT.checkBox" class="popover-checkbox" :checked="itemT.checkBox" @change="handleChangeFilters">{{itemT.text}}</el-checkbox>
|
|
|
- <div class="popover-bottom">
|
|
|
- <a class="reset" @click="handleWordList">重置</a>
|
|
|
- <a class="sure" @click="handleWordList">确定</a>
|
|
|
- </div>
|
|
|
- <!-- </el-checkbox-group> -->
|
|
|
- <svg-icon icon-class="filts" class="icon-filts" slot="reference"></svg-icon>
|
|
|
- </el-popover>
|
|
|
- </template>
|
|
|
- <template slot-scope="scope">
|
|
|
- <span class="type-label" :style="{color:wordTypeList[scope.row.type].color,background:wordTypeList[scope.row.type].bg}">{{wordTypeList[scope.row.type].text}}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="source"
|
|
|
- label="来源">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="version"
|
|
|
- label="版本"
|
|
|
- width="140">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="studyDate"
|
|
|
- label="学习时间"
|
|
|
- width="160">
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <el-pagination
|
|
|
- background
|
|
|
- @size-change="(val)=>handleSizeChange(val,'pageSizes','pageNumbers')"
|
|
|
- @current-change="(val)=>handleCurrentChange(val,'pageNumbers')"
|
|
|
- :current-page="pageNumbers"
|
|
|
- :page-sizes="[10, 20, 30, 40, 50]"
|
|
|
- :page-size="pageSizes"
|
|
|
- layout="total, prev, pager, next, sizes, jumper"
|
|
|
- :total="total_count_w">
|
|
|
- </el-pagination>
|
|
|
- </template>
|
|
|
+ <template v-if="tabsIndex === 0">
|
|
|
+ <!-- 序号默认倒序 文章增加跳转链接 -->
|
|
|
+ <el-table
|
|
|
+ :data="articleList"
|
|
|
+ v-loading="tableLoading"
|
|
|
+ :max-height="tableHeight"
|
|
|
+ >
|
|
|
+ <el-table-column
|
|
|
+ type="index"
|
|
|
+ label="#"
|
|
|
+ width="72"
|
|
|
+ :index="(pageNumber - 1) * pageSize + 1"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="title" label="文章">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <a @click="handleLink(scope.row)" style="color: #165dff">
|
|
|
+ {{ scope.row.article_title }}
|
|
|
+ </a>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="study_phase_name" label="学段" width="81">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="issue_no_name" label="来源" width="197">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="words" label="词数/长度" width="140">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{
|
|
|
+ scope.row.article_diff_word_count +
|
|
|
+ "/" +
|
|
|
+ scope.row.article_word_count
|
|
|
+ }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="duration" label="阅读时长" width="140">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ formatterDuration(scope.row) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="reading_time" label="阅读时间" width="160">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{
|
|
|
+ scope.row.reading_time
|
|
|
+ ? scope.row.reading_time.substring(0, 16)
|
|
|
+ : "-"
|
|
|
+ }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @size-change="
|
|
|
+ (val) => handleSizeChange(val, 'pageSize', 'pageNumber')
|
|
|
+ "
|
|
|
+ @current-change="(val) => handleCurrentChange(val, 'pageNumber')"
|
|
|
+ :current-page="pageNumber"
|
|
|
+ :page-sizes="[10, 20, 30, 40, 50]"
|
|
|
+ :page-size="pageSize"
|
|
|
+ layout="total, prev, pager, next, sizes, jumper"
|
|
|
+ :total="total_count_a"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
+ </template>
|
|
|
+ <template v-if="tabsIndex === 1">
|
|
|
+ <el-table :data="wordList">
|
|
|
+ <el-table-column
|
|
|
+ prop="number"
|
|
|
+ label="#"
|
|
|
+ width="72"
|
|
|
+ :index="(pageNumber - 1) * pageSize + 1"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="word" label="词汇" sortable width="160">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="type"
|
|
|
+ label="类别"
|
|
|
+ width="140"
|
|
|
+ column-key="type"
|
|
|
+ >
|
|
|
+ <template slot="header">
|
|
|
+ <span>类别</span>
|
|
|
+ <el-popover placement="bottom" width="128" trigger="click">
|
|
|
+ <!-- <el-checkbox-group v-model="filterTypeArr" @change="handleChangeFilters"> -->
|
|
|
+ <el-checkbox
|
|
|
+ v-for="(itemT, indexT) in filtersTypeList"
|
|
|
+ :key="indexT"
|
|
|
+ :label="itemT.value"
|
|
|
+ v-model="itemT.checkBox"
|
|
|
+ class="popover-checkbox"
|
|
|
+ :checked="itemT.checkBox"
|
|
|
+ @change="handleChangeFilters"
|
|
|
+ >{{ itemT.text }}</el-checkbox
|
|
|
+ >
|
|
|
+ <div class="popover-bottom">
|
|
|
+ <a class="reset" @click="handleWordList">重置</a>
|
|
|
+ <a class="sure" @click="handleWordList">确定</a>
|
|
|
+ </div>
|
|
|
+ <!-- </el-checkbox-group> -->
|
|
|
+ <svg-icon
|
|
|
+ icon-class="filts"
|
|
|
+ class="icon-filts"
|
|
|
+ slot="reference"
|
|
|
+ ></svg-icon>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span
|
|
|
+ class="type-label"
|
|
|
+ :style="{
|
|
|
+ color: wordTypeList[scope.row.type].color,
|
|
|
+ background: wordTypeList[scope.row.type].bg,
|
|
|
+ }"
|
|
|
+ >{{ wordTypeList[scope.row.type].text }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="source" label="来源"> </el-table-column>
|
|
|
+ <el-table-column prop="version" label="版本" width="140">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="studyDate" label="学习时间" width="160">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @size-change="
|
|
|
+ (val) => handleSizeChange(val, 'pageSizes', 'pageNumbers')
|
|
|
+ "
|
|
|
+ @current-change="(val) => handleCurrentChange(val, 'pageNumbers')"
|
|
|
+ :current-page="pageNumbers"
|
|
|
+ :page-sizes="[10, 20, 30, 40, 50]"
|
|
|
+ :page-size="pageSizes"
|
|
|
+ layout="total, prev, pager, next, sizes, jumper"
|
|
|
+ :total="total_count_w"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -189,268 +195,269 @@ import { getLogin } from "@/api/ajax";
|
|
|
import { formatSeconds } from "@/utils/index";
|
|
|
export default {
|
|
|
//import引入的组件需要注入到对象中才能使用
|
|
|
- components: { },
|
|
|
+ components: {},
|
|
|
props: [],
|
|
|
data() {
|
|
|
//这里存放数据
|
|
|
return {
|
|
|
- tabsIndex: 0, // tab
|
|
|
- articleList: [
|
|
|
- {
|
|
|
- number:'461',
|
|
|
- title:'Making room for the pet boom',
|
|
|
- study:'高一',
|
|
|
- source:'第865期',
|
|
|
- words:'161/321',
|
|
|
- readTime:'3分48秒',
|
|
|
- readDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- {
|
|
|
- number:'460',
|
|
|
- title:'KEY NOTIONS IN 2023 GOVERNMENT WORK REPORT',
|
|
|
- study:'高一',
|
|
|
- source:'第900期',
|
|
|
- words:'161/321',
|
|
|
- readTime:'3分48秒',
|
|
|
- readDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- {
|
|
|
- number:'459',
|
|
|
- title:'每日一练',
|
|
|
- study:'高一',
|
|
|
- source:'第865期',
|
|
|
- words:'161/321',
|
|
|
- readTime:'3分48秒',
|
|
|
- readDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- {
|
|
|
- number:'458',
|
|
|
- title:'JUST ASK 成长不烦恼 ',
|
|
|
- study:'高一',
|
|
|
- source:'第865期',
|
|
|
- words:'161/321',
|
|
|
- readTime:'3分48秒',
|
|
|
- readDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- ],
|
|
|
- pageSize: 10,
|
|
|
- pageNumber: 1,
|
|
|
- wordList:[
|
|
|
- {
|
|
|
- number:'4621',
|
|
|
- word:'cremation',
|
|
|
- type:1,
|
|
|
- source:'Wearing memes on the runway',
|
|
|
- version:'高二',
|
|
|
- studyDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- {
|
|
|
- number:'4620',
|
|
|
- word:'notion',
|
|
|
- type:2,
|
|
|
- source:'Science is the focus',
|
|
|
- version:'高一',
|
|
|
- studyDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- {
|
|
|
- number:'4619',
|
|
|
- word:'computer',
|
|
|
- type:3,
|
|
|
- source:'Wearing memes on the runway',
|
|
|
- version:'高二',
|
|
|
- studyDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- {
|
|
|
- number:'4618',
|
|
|
- word:'cremation',
|
|
|
- type:4,
|
|
|
- source:'Wearing memes on the runway',
|
|
|
- version:'高二',
|
|
|
- studyDate:'2021.3.12 15:23'
|
|
|
- },
|
|
|
- ],
|
|
|
- pageSizes: 10,
|
|
|
- pageNumbers: 1,
|
|
|
- wordTypeList:{
|
|
|
- 1: {
|
|
|
- text: '小学',
|
|
|
- bg: '#F8FCEF',
|
|
|
- color: '#92D113'
|
|
|
- },
|
|
|
- 2: {
|
|
|
- text: '初中',
|
|
|
- bg: '#F0FCEF',
|
|
|
- color: '#00C643'
|
|
|
- },
|
|
|
- 3: {
|
|
|
- text: '必修',
|
|
|
- bg: '#E8F7FF',
|
|
|
- color: '#3491FA'
|
|
|
- },
|
|
|
- 4: {
|
|
|
- text: '选必',
|
|
|
- bg: '#E8F3FF',
|
|
|
- color: '#165DFF'
|
|
|
- },
|
|
|
- 5: {
|
|
|
- text: '导出',
|
|
|
- bg: '#FFE8F1',
|
|
|
- color: '#F5319D'
|
|
|
- },
|
|
|
- 6: {
|
|
|
- text: '超纲',
|
|
|
- bg: '#FFECE8',
|
|
|
- color: '#F53F3F'
|
|
|
- },
|
|
|
- 7: {
|
|
|
- text: '专有',
|
|
|
- bg: '#9E9E9E;',
|
|
|
- color: '#CBCBCB'
|
|
|
- },
|
|
|
- 10: {
|
|
|
- text: '其他',
|
|
|
- bg: '#F4F4F4',
|
|
|
- color: '#737373'
|
|
|
- }
|
|
|
+ tabsIndex: 0, // tab
|
|
|
+ articleList: [
|
|
|
+ {
|
|
|
+ number: "461",
|
|
|
+ title: "Making room for the pet boom",
|
|
|
+ study: "高一",
|
|
|
+ source: "第865期",
|
|
|
+ words: "161/321",
|
|
|
+ readTime: "3分48秒",
|
|
|
+ readDate: "2021.3.12 15:23",
|
|
|
},
|
|
|
- filtersTypeList:[
|
|
|
- {
|
|
|
- text:'必修',
|
|
|
- value:'3',
|
|
|
- checkBox:''
|
|
|
- },
|
|
|
- {
|
|
|
- text:'选必',
|
|
|
- value:'4',
|
|
|
- checkBox:''
|
|
|
- },
|
|
|
- {
|
|
|
- text:'导出',
|
|
|
- value:'5',
|
|
|
- checkBox:''
|
|
|
- },
|
|
|
- {
|
|
|
- text:'超纲',
|
|
|
- value:'6',
|
|
|
- checkBox:''
|
|
|
- }
|
|
|
- ],
|
|
|
- filterTypeArr: [],
|
|
|
- total_count_a: 0,
|
|
|
- total_count_w: 0,
|
|
|
- data: {
|
|
|
- avatar: '',
|
|
|
- name: '',
|
|
|
- org_name: ''
|
|
|
+ {
|
|
|
+ number: "460",
|
|
|
+ title: "KEY NOTIONS IN 2023 GOVERNMENT WORK REPORT",
|
|
|
+ study: "高一",
|
|
|
+ source: "第900期",
|
|
|
+ words: "161/321",
|
|
|
+ readTime: "3分48秒",
|
|
|
+ readDate: "2021.3.12 15:23",
|
|
|
},
|
|
|
- loading: false,
|
|
|
- readInfo: null,
|
|
|
- tableLoading: false,
|
|
|
- tableHeight: "", // 表格高度
|
|
|
- }
|
|
|
+ {
|
|
|
+ number: "459",
|
|
|
+ title: "每日一练",
|
|
|
+ study: "高一",
|
|
|
+ source: "第865期",
|
|
|
+ words: "161/321",
|
|
|
+ readTime: "3分48秒",
|
|
|
+ readDate: "2021.3.12 15:23",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ number: "458",
|
|
|
+ title: "JUST ASK 成长不烦恼 ",
|
|
|
+ study: "高一",
|
|
|
+ source: "第865期",
|
|
|
+ words: "161/321",
|
|
|
+ readTime: "3分48秒",
|
|
|
+ readDate: "2021.3.12 15:23",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ pageSize: 10,
|
|
|
+ pageNumber: 1,
|
|
|
+ wordList: [
|
|
|
+ {
|
|
|
+ number: "4621",
|
|
|
+ word: "cremation",
|
|
|
+ type: 1,
|
|
|
+ source: "Wearing memes on the runway",
|
|
|
+ version: "高二",
|
|
|
+ studyDate: "2021.3.12 15:23",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ number: "4620",
|
|
|
+ word: "notion",
|
|
|
+ type: 2,
|
|
|
+ source: "Science is the focus",
|
|
|
+ version: "高一",
|
|
|
+ studyDate: "2021.3.12 15:23",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ number: "4619",
|
|
|
+ word: "computer",
|
|
|
+ type: 3,
|
|
|
+ source: "Wearing memes on the runway",
|
|
|
+ version: "高二",
|
|
|
+ studyDate: "2021.3.12 15:23",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ number: "4618",
|
|
|
+ word: "cremation",
|
|
|
+ type: 4,
|
|
|
+ source: "Wearing memes on the runway",
|
|
|
+ version: "高二",
|
|
|
+ studyDate: "2021.3.12 15:23",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ pageSizes: 10,
|
|
|
+ pageNumbers: 1,
|
|
|
+ wordTypeList: {
|
|
|
+ 1: {
|
|
|
+ text: "小学",
|
|
|
+ bg: "#F8FCEF",
|
|
|
+ color: "#92D113",
|
|
|
+ },
|
|
|
+ 2: {
|
|
|
+ text: "初中",
|
|
|
+ bg: "#F0FCEF",
|
|
|
+ color: "#00C643",
|
|
|
+ },
|
|
|
+ 3: {
|
|
|
+ text: "必修",
|
|
|
+ bg: "#E8F7FF",
|
|
|
+ color: "#3491FA",
|
|
|
+ },
|
|
|
+ 4: {
|
|
|
+ text: "选必",
|
|
|
+ bg: "#E8F3FF",
|
|
|
+ color: "#165DFF",
|
|
|
+ },
|
|
|
+ 5: {
|
|
|
+ text: "课标同根词",
|
|
|
+ bg: "#FFE8F1",
|
|
|
+ color: "#F5319D",
|
|
|
+ },
|
|
|
+ 6: {
|
|
|
+ text: "超纲",
|
|
|
+ bg: "#FFECE8",
|
|
|
+ color: "#F53F3F",
|
|
|
+ },
|
|
|
+ 7: {
|
|
|
+ text: "专有",
|
|
|
+ bg: "#9E9E9E;",
|
|
|
+ color: "#CBCBCB",
|
|
|
+ },
|
|
|
+ 10: {
|
|
|
+ text: "其他",
|
|
|
+ bg: "#F4F4F4",
|
|
|
+ color: "#737373",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ filtersTypeList: [
|
|
|
+ {
|
|
|
+ text: "必修",
|
|
|
+ value: "3",
|
|
|
+ checkBox: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: "选必",
|
|
|
+ value: "4",
|
|
|
+ checkBox: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: "课标同根词",
|
|
|
+ value: "5",
|
|
|
+ checkBox: "",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: "超纲",
|
|
|
+ value: "6",
|
|
|
+ checkBox: "",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ filterTypeArr: [],
|
|
|
+ total_count_a: 0,
|
|
|
+ total_count_w: 0,
|
|
|
+ data: {
|
|
|
+ avatar: "",
|
|
|
+ name: "",
|
|
|
+ org_name: "",
|
|
|
+ },
|
|
|
+ loading: false,
|
|
|
+ readInfo: null,
|
|
|
+ tableLoading: false,
|
|
|
+ tableHeight: "", // 表格高度
|
|
|
+ };
|
|
|
},
|
|
|
//计算属性 类似于data概念
|
|
|
computed: {},
|
|
|
//监控data中数据变化
|
|
|
- watch: {
|
|
|
-
|
|
|
- },
|
|
|
+ watch: {},
|
|
|
//方法集合
|
|
|
methods: {
|
|
|
- formatterDuration(row){
|
|
|
- let studyCn = ''
|
|
|
- if(row.duration){
|
|
|
- studyCn = formatSeconds(row.duration)
|
|
|
- }else{
|
|
|
- studyCn = '0'
|
|
|
- }
|
|
|
- return studyCn
|
|
|
+ formatterDuration(row) {
|
|
|
+ let studyCn = "";
|
|
|
+ if (row.duration) {
|
|
|
+ studyCn = formatSeconds(row.duration);
|
|
|
+ } else {
|
|
|
+ studyCn = "0";
|
|
|
+ }
|
|
|
+ return studyCn;
|
|
|
},
|
|
|
// 切换tabs
|
|
|
- handleChangeTabs(value){
|
|
|
- this.tabsIndex = value
|
|
|
- this.getList()
|
|
|
+ handleChangeTabs(value) {
|
|
|
+ this.tabsIndex = value;
|
|
|
+ this.getList();
|
|
|
},
|
|
|
- handleSizeChange(val,type,page) {
|
|
|
- this[type] = val
|
|
|
- this[page] = 1
|
|
|
- this.getList()
|
|
|
+ handleSizeChange(val, type, page) {
|
|
|
+ this[type] = val;
|
|
|
+ this[page] = 1;
|
|
|
+ this.getList();
|
|
|
},
|
|
|
- handleCurrentChange(val,type) {
|
|
|
- this[type] = val
|
|
|
- this.getList()
|
|
|
+ handleCurrentChange(val, type) {
|
|
|
+ this[type] = val;
|
|
|
+ this.getList();
|
|
|
},
|
|
|
// 跳转文章
|
|
|
- handleLink(row){
|
|
|
- let url = '0&&&123&&&123&&&123'
|
|
|
- if(row.goods_type===21){
|
|
|
- this.$router.push({
|
|
|
- path: "/articleDetail",
|
|
|
- query: {
|
|
|
- headerConfig: encodeURIComponent(url),
|
|
|
- id: row.article_id
|
|
|
- },
|
|
|
- });
|
|
|
- }else if(row.goods_type===3){
|
|
|
- this.$router.push({
|
|
|
- path: "/articlePeruseDetail",
|
|
|
- query: {
|
|
|
- headerConfig: encodeURIComponent(url),
|
|
|
- peruseId: row.article_id
|
|
|
- },
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
+ handleLink(row) {
|
|
|
+ let url = "0&&&123&&&123&&&123";
|
|
|
+ if (row.goods_type === 21) {
|
|
|
+ this.$router.push({
|
|
|
+ path: "/articleDetail",
|
|
|
+ query: {
|
|
|
+ headerConfig: encodeURIComponent(url),
|
|
|
+ id: row.article_id,
|
|
|
+ },
|
|
|
+ });
|
|
|
+ } else if (row.goods_type === 3) {
|
|
|
+ this.$router.push({
|
|
|
+ path: "/articlePeruseDetail",
|
|
|
+ query: {
|
|
|
+ headerConfig: encodeURIComponent(url),
|
|
|
+ peruseId: row.article_id,
|
|
|
+ },
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
- handleChangeFilters(item){
|
|
|
- console.log(item)
|
|
|
- // if(this.filterTypeArr.indexOf(value)==-1){
|
|
|
- // this.filterTypeArr.push(value)
|
|
|
- // }else{
|
|
|
- // this.filterTypeArr.splice(this.filterTypeArr.indexOf(value),1)
|
|
|
- // }
|
|
|
+ handleChangeFilters(item) {
|
|
|
+ console.log(item);
|
|
|
+ // if(this.filterTypeArr.indexOf(value)==-1){
|
|
|
+ // this.filterTypeArr.push(value)
|
|
|
+ // }else{
|
|
|
+ // this.filterTypeArr.splice(this.filterTypeArr.indexOf(value),1)
|
|
|
+ // }
|
|
|
},
|
|
|
// 查询词汇列表
|
|
|
- handleWordList(){
|
|
|
- this.filterTypeArr=[]
|
|
|
+ handleWordList() {
|
|
|
+ this.filterTypeArr = [];
|
|
|
},
|
|
|
- getInfo(){
|
|
|
- let MethodName = "/OrgServer/Client/PersonManager/GetMyInfo";
|
|
|
- let data = {}
|
|
|
- getLogin(MethodName, data)
|
|
|
+ getInfo() {
|
|
|
+ let MethodName = "/OrgServer/Client/PersonManager/GetMyInfo";
|
|
|
+ let data = {};
|
|
|
+ getLogin(MethodName, data)
|
|
|
.then((res) => {
|
|
|
- if(res.status===1){
|
|
|
- this.data.name = res.person.user_name
|
|
|
- this.data.avatar = res.person.image_url
|
|
|
- this.data.org_name = res.person.org_name
|
|
|
- }
|
|
|
- }).catch((res) =>{
|
|
|
+ if (res.status === 1) {
|
|
|
+ this.data.name = res.person.user_name;
|
|
|
+ this.data.avatar = res.person.image_url;
|
|
|
+ this.data.org_name = res.person.org_name;
|
|
|
+ }
|
|
|
})
|
|
|
+ .catch((res) => {});
|
|
|
},
|
|
|
- getList(){
|
|
|
- this.loading = true
|
|
|
- let MethodName = "/ShopServer/Client/ReadingRecordManager/PageQueryMyReadingRecord_Article";
|
|
|
- let data = {
|
|
|
- page_capacity: this.pageSize,
|
|
|
- cur_page: this.pageNumber,
|
|
|
- order_column_list: []
|
|
|
- }
|
|
|
- getLogin(MethodName, data)
|
|
|
+ getList() {
|
|
|
+ this.loading = true;
|
|
|
+ let MethodName =
|
|
|
+ "/ShopServer/Client/ReadingRecordManager/PageQueryMyReadingRecord_Article";
|
|
|
+ let data = {
|
|
|
+ page_capacity: this.pageSize,
|
|
|
+ cur_page: this.pageNumber,
|
|
|
+ order_column_list: [],
|
|
|
+ };
|
|
|
+ getLogin(MethodName, data)
|
|
|
.then((res) => {
|
|
|
- this.loading = false
|
|
|
- if(res.status===1){
|
|
|
- this.readInfo = res.sum_info
|
|
|
- this.total_count_a = res.total_count
|
|
|
- if(res.sum_info.duration<3600){
|
|
|
- this.readInfo.durationStr = '<1'
|
|
|
- }else{
|
|
|
- this.readInfo.durationStr = Math.ceil(res.sum_info.duration/3600)
|
|
|
- }
|
|
|
- this.articleList = res.reading_record_list
|
|
|
+ this.loading = false;
|
|
|
+ if (res.status === 1) {
|
|
|
+ this.readInfo = res.sum_info;
|
|
|
+ this.total_count_a = res.total_count;
|
|
|
+ if (res.sum_info.duration < 3600) {
|
|
|
+ this.readInfo.durationStr = "<1";
|
|
|
+ } else {
|
|
|
+ this.readInfo.durationStr = Math.ceil(
|
|
|
+ res.sum_info.duration / 3600
|
|
|
+ );
|
|
|
}
|
|
|
- }).catch((res) =>{
|
|
|
- this.loading = false
|
|
|
+ this.articleList = res.reading_record_list;
|
|
|
+ }
|
|
|
})
|
|
|
+ .catch((res) => {
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
},
|
|
|
//计算table高度(动态设置table高度)
|
|
|
getTableHeight() {
|
|
@@ -461,224 +468,222 @@ export default {
|
|
|
} else {
|
|
|
this.tableHeight = window.innerHeight - tableH;
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
|
created() {
|
|
|
- this.getTableHeight()
|
|
|
- this.getInfo()
|
|
|
- this.getList()
|
|
|
+ this.getTableHeight();
|
|
|
+ this.getInfo();
|
|
|
+ this.getList();
|
|
|
},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
- mounted() {
|
|
|
- },
|
|
|
+ mounted() {},
|
|
|
//生命周期-创建之前
|
|
|
- beforeCreated() { },
|
|
|
+ beforeCreated() {},
|
|
|
//生命周期-挂载之前
|
|
|
- beforeMount() { },
|
|
|
+ beforeMount() {},
|
|
|
//生命周期-更新之前
|
|
|
- beforUpdate() { },
|
|
|
+ beforUpdate() {},
|
|
|
//生命周期-更新之后
|
|
|
- updated() { },
|
|
|
+ updated() {},
|
|
|
//生命周期-销毁之前
|
|
|
- beforeDestory() { },
|
|
|
+ beforeDestory() {},
|
|
|
//生命周期-销毁完成
|
|
|
- destoryed() { },
|
|
|
+ destoryed() {},
|
|
|
//如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
- activated() { }
|
|
|
-}
|
|
|
+ activated() {},
|
|
|
+};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
/* @import url(); 引入css类 */
|
|
|
-.personal-info{
|
|
|
- &-top{
|
|
|
- margin: 0 0 12px 0;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 8px;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- width: 100%;
|
|
|
- padding: 24px;
|
|
|
- .avator-box{
|
|
|
- width: 96px;
|
|
|
- height: 96px;
|
|
|
- position: relative;
|
|
|
- .img-crop{
|
|
|
- position: absolute;
|
|
|
- // padding: 4px;
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- right: -4px;
|
|
|
- bottom: -4px;
|
|
|
- background: #F2F3F5;
|
|
|
- border-radius: 10px;
|
|
|
- display: block;
|
|
|
- text-align: center;
|
|
|
- line-height: 14px;
|
|
|
- .svg-icon{
|
|
|
- width: 12px;
|
|
|
- height: 12px;
|
|
|
- color: #165DFF;
|
|
|
- }
|
|
|
- }
|
|
|
- .el-image{
|
|
|
- border-radius: 8px;
|
|
|
- overflow: hidden;
|
|
|
- }
|
|
|
- }
|
|
|
- .center{
|
|
|
- flex: 1;
|
|
|
- margin: 0 32px;
|
|
|
- p{
|
|
|
- margin: 0 0 8px 0;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 24px;
|
|
|
- line-height: 32px;
|
|
|
- color: #1D2129;
|
|
|
- }
|
|
|
- span{
|
|
|
- font-size: 16px;
|
|
|
- line-height: 24px;
|
|
|
- color: #1D2129;
|
|
|
- }
|
|
|
- .org_name{
|
|
|
- margin-right: 40px;
|
|
|
- }
|
|
|
- }
|
|
|
- .right{
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- .item{
|
|
|
- padding-left: 24px;
|
|
|
- min-width: 120px;
|
|
|
- p{
|
|
|
- margin: 0 0 8px 0;
|
|
|
- font-size: 14px;
|
|
|
- line-height: 22px;
|
|
|
- color: rgba(0, 0, 0, 0.56);
|
|
|
- }
|
|
|
- b{
|
|
|
- font-size: 24px;
|
|
|
- line-height: 32px;
|
|
|
- color: #2F3742;
|
|
|
- margin-right: 8px;
|
|
|
- }
|
|
|
- span{
|
|
|
- font-size: 14px;
|
|
|
- line-height: 22px;
|
|
|
- color: #2F3742;
|
|
|
- }
|
|
|
- }
|
|
|
- .el-divider--vertical{
|
|
|
- height: 56px;
|
|
|
- background-color: #E5E6EB;
|
|
|
- }
|
|
|
+.personal-info {
|
|
|
+ &-top {
|
|
|
+ margin: 0 0 12px 0;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 8px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ width: 100%;
|
|
|
+ padding: 24px;
|
|
|
+ .avator-box {
|
|
|
+ width: 96px;
|
|
|
+ height: 96px;
|
|
|
+ position: relative;
|
|
|
+ .img-crop {
|
|
|
+ position: absolute;
|
|
|
+ // padding: 4px;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ right: -4px;
|
|
|
+ bottom: -4px;
|
|
|
+ background: #f2f3f5;
|
|
|
+ border-radius: 10px;
|
|
|
+ display: block;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 14px;
|
|
|
+ .svg-icon {
|
|
|
+ width: 12px;
|
|
|
+ height: 12px;
|
|
|
+ color: #165dff;
|
|
|
}
|
|
|
+ }
|
|
|
+ .el-image {
|
|
|
+ border-radius: 8px;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
}
|
|
|
- &-bottom{
|
|
|
- padding: 24px;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 4px;
|
|
|
- .tabs-box{
|
|
|
- display: flex;
|
|
|
- a{
|
|
|
- font-size: 14px;
|
|
|
- line-height: 22px;
|
|
|
- color: #4E5969;
|
|
|
- border-radius: 100px;
|
|
|
- padding: 5px 16px;
|
|
|
- margin-right: 24px;
|
|
|
- &:hover{
|
|
|
- background: #F2F3F5;
|
|
|
- }
|
|
|
- &.active{
|
|
|
- background: #F2F3F5;
|
|
|
- font-weight: 500;
|
|
|
- color: #165DFF;
|
|
|
- }
|
|
|
- }
|
|
|
+ .center {
|
|
|
+ flex: 1;
|
|
|
+ margin: 0 32px;
|
|
|
+ p {
|
|
|
+ margin: 0 0 8px 0;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 24px;
|
|
|
+ line-height: 32px;
|
|
|
+ color: #1d2129;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 24px;
|
|
|
+ color: #1d2129;
|
|
|
+ }
|
|
|
+ .org_name {
|
|
|
+ margin-right: 40px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .item {
|
|
|
+ padding-left: 24px;
|
|
|
+ min-width: 120px;
|
|
|
+ p {
|
|
|
+ margin: 0 0 8px 0;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 22px;
|
|
|
+ color: rgba(0, 0, 0, 0.56);
|
|
|
}
|
|
|
- .el-table{
|
|
|
- margin: 0 0 24px 0;
|
|
|
+ b {
|
|
|
+ font-size: 24px;
|
|
|
+ line-height: 32px;
|
|
|
+ color: #2f3742;
|
|
|
+ margin-right: 8px;
|
|
|
}
|
|
|
- .el-pagination{
|
|
|
- text-align: right;
|
|
|
+ span {
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 22px;
|
|
|
+ color: #2f3742;
|
|
|
}
|
|
|
- .type-label{
|
|
|
- display: inline-block;
|
|
|
- border-radius: 2px;
|
|
|
- padding: 1px 8px;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 14px;
|
|
|
- line-height: 22px;
|
|
|
+ }
|
|
|
+ .el-divider--vertical {
|
|
|
+ height: 56px;
|
|
|
+ background-color: #e5e6eb;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &-bottom {
|
|
|
+ padding: 24px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 4px;
|
|
|
+ .tabs-box {
|
|
|
+ display: flex;
|
|
|
+ a {
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 22px;
|
|
|
+ color: #4e5969;
|
|
|
+ border-radius: 100px;
|
|
|
+ padding: 5px 16px;
|
|
|
+ margin-right: 24px;
|
|
|
+ &:hover {
|
|
|
+ background: #f2f3f5;
|
|
|
}
|
|
|
- .icon-filts{
|
|
|
- padding: 8px 4px 0 4px;
|
|
|
- width: 24px;
|
|
|
- height: 24px;
|
|
|
- cursor: pointer;
|
|
|
+ &.active {
|
|
|
+ background: #f2f3f5;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #165dff;
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
+ .el-table {
|
|
|
+ margin: 0 0 24px 0;
|
|
|
+ }
|
|
|
+ .el-pagination {
|
|
|
+ text-align: right;
|
|
|
+ }
|
|
|
+ .type-label {
|
|
|
+ display: inline-block;
|
|
|
+ border-radius: 2px;
|
|
|
+ padding: 1px 8px;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 22px;
|
|
|
+ }
|
|
|
+ .icon-filts {
|
|
|
+ padding: 8px 4px 0 4px;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
-.personal-info{
|
|
|
- .el-table{
|
|
|
- color: #1D2129;
|
|
|
- th{
|
|
|
- background: #F2F3F5;
|
|
|
- padding: 3px 0;
|
|
|
- height: 40px;
|
|
|
- .cell{
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
- }
|
|
|
- thead{
|
|
|
- font-weight: 500;
|
|
|
- font-size: 14px;
|
|
|
- line-height: 22px;
|
|
|
- color: #1D2129;
|
|
|
- }
|
|
|
- .cell{
|
|
|
- word-break: break-word;
|
|
|
- }
|
|
|
+.personal-info {
|
|
|
+ .el-table {
|
|
|
+ color: #1d2129;
|
|
|
+ th {
|
|
|
+ background: #f2f3f5;
|
|
|
+ padding: 3px 0;
|
|
|
+ height: 40px;
|
|
|
+ .cell {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ thead {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 22px;
|
|
|
+ color: #1d2129;
|
|
|
+ }
|
|
|
+ .cell {
|
|
|
+ word-break: break-word;
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
-.popover-checkbox{
|
|
|
- margin-bottom: 10px;
|
|
|
+.popover-checkbox {
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
-.popover-bottom{
|
|
|
- border-top: 1px solid #E5E6EB;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- padding-top: 8px;
|
|
|
- a{
|
|
|
- padding: 2px 12px;
|
|
|
- background: #F2F3F5;
|
|
|
- border-radius: 2px;
|
|
|
- font-size: 12px;
|
|
|
- line-height: 20px;
|
|
|
- color: #4E5969;
|
|
|
+.popover-bottom {
|
|
|
+ border-top: 1px solid #e5e6eb;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding-top: 8px;
|
|
|
+ a {
|
|
|
+ padding: 2px 12px;
|
|
|
+ background: #f2f3f5;
|
|
|
+ border-radius: 2px;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 20px;
|
|
|
+ color: #4e5969;
|
|
|
+ }
|
|
|
+ .reset {
|
|
|
+ &:hover {
|
|
|
+ background: #e5e6eb;
|
|
|
}
|
|
|
- .reset{
|
|
|
- &:hover{
|
|
|
- background: #E5E6EB;
|
|
|
- }
|
|
|
- &:focus{
|
|
|
- background: #C9CDD4;
|
|
|
- }
|
|
|
+ &:focus {
|
|
|
+ background: #c9cdd4;
|
|
|
}
|
|
|
- .sure{
|
|
|
- background: #165DFF;
|
|
|
- color: #FFFFFF;
|
|
|
- &:hover{
|
|
|
- background: #4080FF;
|
|
|
- }
|
|
|
- &:focus{
|
|
|
- background: #0E42D2;
|
|
|
- }
|
|
|
+ }
|
|
|
+ .sure {
|
|
|
+ background: #165dff;
|
|
|
+ color: #ffffff;
|
|
|
+ &:hover {
|
|
|
+ background: #4080ff;
|
|
|
}
|
|
|
+ &:focus {
|
|
|
+ background: #0e42d2;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
</style>
|