123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748 |
- <!-- -->
- <template>
- <div class="NNPE-Big-Book-preview adult-book-preview-sty preview-red" v-if="cur">
- <div class="NNPE-title" v-if="cur.detailList&&cur.detailList.length>0&&cur.detailList[0].sentence">
- <!-- 页眉 -->
- <div class="NNPE-title-left">
- <div class="NNPE-title-item" v-for="(item,index) in cur.detailList" :key="index">
- <template v-if="item.wordsList.length==0">
- <p :class="['content-con',/^[\u4e00-\u9fa5]/.test(item.sentence)?'hasCn':'']" v-if="item.sentence">{{item.sentence}}</p>
- </template>
- <template v-else>
- <div class="con-box">
- <div :class="['con-item',indexCon===0?'con-item-0':'']" v-for="(itemCon,indexCon) in item.resArr" :key="indexCon" v-show="itemCon.isShow">
- <template v-if="item.wordsList[indexCon + 1] && item.wordsList[indexCon + 1].chs && chsFhList.indexOf(item.wordsList[indexCon + 1].chs) > -1">
- <div class="synthesis-box">
- <div>
- <span class="pinyin">{{itemCon.pinyin}}</span>
- <span class="hanzi content-con">{{itemCon.chs}}</span>
- </div>
- <div style="text-align: left">
- <span class="pinyin">{{item.wordsList[indexCon + 1].pinyin}}</span>
- <span class="hanzi content-con">{{item.wordsList[indexCon + 1].chs}}</span>
- </div>
- </div>
-
- </template>
- <template v-else>
- <span class="pinyin">{{itemCon.pinyin}}</span>
- <span class="hanzi content-con">{{itemCon.chs}}</span>
- </template>
- </div>
- </div>
- </template>
- </div>
-
- </div>
- <div class="NNPE-operate">
- <a class="btn-prev" @click="handleNNPEprev" />
- <a class="btn-next" @click="handleNNPEnext" />
- </div>
- </div>
- <div class="classTopic-box" v-if="cur.classTopic&&cur.classTopic.length>0&&cur.classTopic[0].con">
- <span v-for="(item,index) in cur.classTopic" :key="index" :class="item.font">
- {{item.con}}
- </span>
- </div>
- <div v-if="cur" class="NNPE-Book-content-inner">
- <div v-for="(item, index) in cur.cur_fn_data" :key="index">
- <h2 v-if="item.z_title">{{ item.z_title }}</h2>
- <h3 v-if="item.f_title">{{ item.f_title }}</h3>
- <div
- :class="['NNPE-tableList', item.is_bg ? 'NNPE-tableList-hasBg' : '']"
- >
- <div
- v-for="(items, indexs) in item.table_list"
- :key="indexs"
- class="NNPE-tableList-tr"
- >
- <div
- v-for="(itemss, indexss) in items"
- :key="indexss"
- :class="[
- 'NNPE-tableList-item',
- items.length == 1
- ? 'NNPE-tableList-item-noMargin'
- : 'NNPE-tableList-item' + items.length,
- ]"
- >
- <template v-if="itemss.data">
- <template v-if="itemss.type == 'ligature_chs'">
- <Ligature :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.data.type == 'image'">
- <Picture :cur-que="itemss.data" :child-type="itemss.type" />
- </template>
- <template v-if="itemss.type == 'record_chs'">
- <Record :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'phrase_chs'">
- <WordPhrase :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'NewWord_chs'">
- <WordPhrase :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'annotation_chs'">
- <WordPhrase :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'notes_chs'">
- <Notes :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'article_chs'">
- <ArticleTemChs
- :cur-que="itemss.data"
- :n-n-p-e-new-word-list="NNPENewWordList"
- :n-n-p-e-new-phrase-list="NNPENewPhraseList"
- :n-n-p-e-annotation-list="NNPEAnnotationList"
- />
- </template>
- <template v-if="itemss.type == 'sentence_segword_chs'">
- <SentenceSegWordViewChs :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'dialogue_article_chs'">
- <DialogueArticleViewChs
- :cur-que="itemss.data"
- :n-n-p-e-new-word-list="NNPENewWordList"
- :n-n-p-e-new-phrase-list="NNPENewPhraseList"
- :n-n-p-e-annotation-list="NNPEAnnotationList"
- :colorBox="colorBox"
- />
- </template>
- <template v-if="itemss.type == 'dialogue_answer_chs'">
- <DialogueAnswerViewChs
- :cur-que="itemss.data"
- :colorBox="colorBox"
- />
- </template>
- <template v-if="itemss.type == 'input_record_chs'">
- <InputHasRecord :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'recordHZ_inputPY_chs'">
- <TextInputRecord :cur-que="itemss.data" />
- </template>
- <template
- v-if="
- itemss.type == 'inputItem_chs' ||
- itemss.type == 'sentence_input_chs' ||
- itemss.type == 'sentence_judge_chs' ||
- itemss.type == 'sentence_record_chs' ||
- itemss.type == 'sentence_input_record_chs'
- "
- >
- <SentenceInput :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'NumberCombination_chs'">
- <NumberSelectHasRecord :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type === 'voice_matrix'">
- <voice-matrix :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'toneSelect_chs'">
- <SelectTone :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'sudoku_chs'">
- <Soduko :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'single_chs'">
- <Single :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'text_problem_chs'">
- <TextProblem :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'newWord_preview_chs'">
- <NewWordShow :cur-que="itemss.data" />
- </template>
- <template
- v-if="itemss.type == 'listen_record_single_syllable_chs'"
- >
- <SelectYinjie :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'sentence_listen_read_chs'">
- <SentenceListenRead :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'sort_chs'">
- <SentenceSort :cur-que="itemss.data" />
- </template>
- <template v-if="itemss.type == 'checkbox_self_assessment_chs'">
- <Checkbox :cur-que="itemss.data" />
- </template>
- <template
- v-if="
- itemss.type == 'record_control_mini' ||
- itemss.type == 'record_control_normal' ||
- itemss.type == 'record_control_pro' ||
- itemss.type == 'record_control_promax'
- "
- >
- <RecordModule :cur-que="itemss.data" />
- </template>
- <template
- v-if="
- itemss.type == 'upload_control_chs' ||
- itemss.type == 'upload_control_preview_chs'
- "
- >
- <UploadControlView
- :cur-que="itemss.data"
- :type="itemss.type"
- />
- </template>
- <template v-if="itemss.type == 'CourseStart_chs'">
- <CourseStart :cur-que="itemss.data" :handleNNPEnext="handleNNPEnext" />
- </template>
- <template v-if="itemss.type == 'tinydemo_chs'">
- <Tinydemo :cur-que="itemss.data" />
- </template>
- </template>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import Picture from "./preview/Picture.vue"; // 图片模板
- import Record from "./preview/Record.vue"; // 音频播放
- import Soundrecord from "./preview/Soundrecord.vue"; // 录音模板
- import ArticleTemChs from "./preview/ArticleViewChs/index.vue"; // 文章模板
- import DialogueArticleViewChs from "./preview/DialogueArticleViewChs/index.vue"; // 文章模板
- import SentenceSegWordViewChs from "./preview/SentenceSegWordViewChs.vue"; // 句子分词
- import WordPhrase from "./preview/WordPhrase.vue"; // 生词短语
- import Notes from "./preview/Notes.vue"; // 注释
- import Ligature from "./preview/Ligature.vue";
- import InputHasRecord from "./preview/InputHasRecord.vue"; // 输入加录音
- import TextInputRecord from "./preview/TextInputRecord.vue"; // 文本+输入+录音
- import SentenceInput from "./preview/SentenceInput.vue"; // 输入选项
- import NumberSelectHasRecord from "./preview/NumberSelectHasRecord.vue"; // 数字组合
- import SelectTone from "./preview/SelectTone.vue"; // 选择声调
- import Soduko from "./preview/Soduko.vue"; // 数独
- import Single from "./preview/Single.vue"; // 单选
- import TextProblem from "./preview/TextProblem.vue"; // 课文上方的问题
- import NewWordShow from "./preview/NewWordShow.vue"; // 生字展示
- import SelectYinjie from "./preview/SelectYinjie.vue"; // 选择音节
- import SentenceListenRead from "./preview/SentenceListenRead.vue"; // 听并朗读
- import SentenceSort from "./preview/SentenceSort.vue"; // 句子拖拽排序
- import Checkbox from "./preview/CheckBoxModule.vue"; // 问卷调查-多选题
- import VoiceMatrix from "./preview/VoiceMatrix.vue"; // 语音矩阵
- import RecordModule from "./preview/RecordModule.vue"; // 录音组件
- import UploadControlView from "./preview/UploadControlView.vue"; //预览控件
- import DialogueAnswerViewChs from "./preview/DialogueArticleViewChs/DialogueAnswerViewChs.vue"; // 文章模板
- import CourseStart from "./preview/CourseStart.vue" // 封面
- import Tinydemo from "./preview/TinyModule.vue" // 富文本
- export default {
- name: "Preview",
- components: {
- Picture,
- Record,
- Soundrecord,
- ArticleTemChs,
- DialogueArticleViewChs,
- SentenceSegWordViewChs,
- WordPhrase,
- Notes,
- Ligature,
- InputHasRecord,
- TextInputRecord,
- SentenceInput,
- NumberSelectHasRecord,
- SelectTone,
- Soduko,
- Single,
- TextProblem,
- NewWordShow,
- SelectYinjie,
- SentenceListenRead,
- SentenceSort,
- Checkbox,
- VoiceMatrix,
- RecordModule,
- UploadControlView,
- DialogueAnswerViewChs,
- CourseStart,
- Tinydemo,
- },
- props: [
- "context",
- "fatherName",
- "currentTreeID",
- "FatherTreeData",
- "changeId",
- ],
- data() {
- return {
- contextData: null,
- queIndex: -1, // 题目的索引
- cur: null, // 当前的题目
- watchIndex: -1, // 监听的值
- queList: [],
- queTotal: 0, // 题目总数
- NNPENewWordList: [], // 存放文章的生词
- NNPENewPhraseList: [], // 存放文章的短语
- NNPEAnnotationList: [], // 存放文章注释
- height: "", // 总体的高度
- colorBox: [
- {
- touxiang: "#72B51D",
- bg: "#E9F0DF",
- },
- {
- touxiang: "#DE4444",
- bg: "rgba(222, 68, 68, 0.1)",
- },
- {
- touxiang: "#A7A7A7",
- bg: "#ffffff",
- },
- {
- touxiang: "#4D91F6",
- bg: "#F1F7FF",
- },
- {
- touxiang: "#FF8A00",
- bg: "rgba(255, 138, 0, 0.1)",
- },
- ],
- chsFhList: [",", "。", "“", ":", "》", "《", "?", "!", ";"],
- };
- },
- computed: {},
- watch: {
- context: {
- handler(val, oldVal) {
- const _this = this;
- if (val) {
- _this.initContextData();
- _this.handleTitleData();
- }
- },
- // 深度观察监听
- deep: true,
- },
- },
- // 生命周期 - 创建完成(可以访问当前this实例)
- created() {},
- // 生命周期 - 挂载完成(可以访问DOM元素)
- mounted() {
- const _this = this;
- if (_this.context) {
- _this.initContextData();
- _this.handleTitleData();
- }
- },
- beforeCreate() {}, // 生命周期 - 创建之前
- beforeMount() {}, // 生命周期 - 挂载之前
- beforeUpdate() {}, // 生命周期 - 更新之前
- updated() {}, // 生命周期 - 更新之后
- beforeDestroy() {}, // 生命周期 - 销毁之前
- destroyed() {}, // 生命周期 - 销毁完成
- activated() {},
- // 方法集合
- methods: {
- // 处理数据
- handleTitleData(){
- let _this = this
- let curQue = JSON.parse(JSON.stringify(this.cur));
- curQue.detailList.forEach((dItem, dIndex) => {
- let paraArr = []
- dItem.wordsList.forEach((sItem, sIndex) => {
- let obj = {
- pinyin: sItem.pinyin,
- chs: sItem.chs,
- isShow: true,
- };
- paraArr.push(obj);
- })
- this.$set(_this.cur.detailList[dIndex],'resArr',paraArr)
- })
- },
- initContextData() {
- const _this = this;
- _this.contextData = JSON.parse(JSON.stringify(_this.context));
- _this.queIndex = 0;
- _this.NNPENewWordList = [];
- _this.NNPENewPhraseList = [];
- _this.watchIndex = _this.queIndex + new Date().getTime();
- if (_this.contextData) {
- // const list = _this.contextData;
- // if (list && list.length > 0) {
- // _this.queList = list;
- // _this.cur = list[_this.queIndex];
- _this.queTotal = 1;
- // _this.cur.cur_fn_data.forEach((item) => {
- // item.table_list.forEach((items) => {
- // items.forEach((itemss) => {
- // if (itemss.data && itemss.data.type == "NewWord_chs") {
- // _this.NNPENewWordList = _this.NNPENewWordList.concat(
- // itemss.data.option
- // );
- // } else if (itemss.data && itemss.data.type == "notes_chs") {
- // _this.NNPEAnnotationList = _this.NNPEAnnotationList.concat(
- // itemss.data.option
- // );
- // }
- // });
- // });
- // });
- // }
- _this.cur = _this.contextData;
- _this.cur.cur_fn_data.forEach((item) => {
- item.table_list.forEach((items) => {
- items.forEach((itemss) => {
- if (itemss.data && itemss.data.type == "NewWord_chs") {
- _this.NNPENewWordList = _this.NNPENewWordList.concat(
- itemss.data.option
- );
- } else if (itemss.data && itemss.data.type == "notes_chs") {
- _this.NNPEAnnotationList = _this.NNPEAnnotationList.concat(
- itemss.data.option
- );
- }
- });
- });
- });
- }
- },
- // 上一页
- handleNNPEprev() {
- const _this = this;
- if (_this.queIndex == 0) {
- let data = {};
- let flg = false;
- let xiangdeng = false;
- _this.FatherTreeData.forEach((item, itemIndex) => {
- if (item.children) {
- item.children.forEach((it, childrenIndex) => {
- if (it.id == _this.currentTreeID) {
- if (itemIndex == 0 && childrenIndex == 0) {
- this.$message({
- message: "已经是最后一题",
- type: "success",
- });
- flg = true;
- } else if (childrenIndex == 0) {
- // 当前子节点的第一个
- if (_this.FatherTreeData[itemIndex - 1].children) {
- data.fatherName =
- _this.FatherTreeData[
- itemIndex - 1
- ].children[0].fatherName;
- data.id =
- _this.FatherTreeData[itemIndex - 1].children[0].id;
- data.name =
- _this.FatherTreeData[itemIndex - 1].children[0].name;
- } else {
- data.fatherName =
- _this.FatherTreeData[itemIndex - 1].fatherName;
- data.id = _this.FatherTreeData[itemIndex - 1].id;
- data.name = _this.FatherTreeData[itemIndex - 1].name;
- }
- } else {
- data.fatherName = item.children[childrenIndex - 1].fatherName;
- data.id = item.children[childrenIndex - 1].id;
- data.name = item.children[childrenIndex - 1].name;
- }
- xiangdeng = true;
- }
- });
- } else {
- if (!xiangdeng) {
- if (item.id == _this.currentTreeID) {
- if (itemIndex == 0) {
- this.$message({
- message: "已经是第一题",
- type: "success",
- });
- flg = true;
- } else {
- if (_this.FatherTreeData[itemIndex - 1].children) {
- data.fatherName =
- _this.FatherTreeData[itemIndex - 1].children[
- _this.FatherTreeData[itemIndex - 1].children.length - 1
- ].fatherName;
- data.id =
- _this.FatherTreeData[itemIndex - 1].children[
- _this.FatherTreeData[itemIndex - 1].children.length - 1
- ].id;
- data.name =
- _this.FatherTreeData[itemIndex - 1].children[
- _this.FatherTreeData[itemIndex - 1].children.length - 1
- ].name;
- } else {
- data.fatherName =
- _this.FatherTreeData[itemIndex - 1].fatherName;
- data.id = _this.FatherTreeData[itemIndex - 1].id;
- data.name = _this.FatherTreeData[itemIndex - 1].name;
- }
- }
- }
- }
- }
- });
- if (flg) {
- return;
- }
- _this.queIndex = 0;
- _this.changeId(data.id, data.name, data.fatherName, "Preview");
- } else {
- _this.queIndex -= 1;
- _this.watchIndex = _this.queIndex + new Date().getTime();
- _this.cur = _this.queList[_this.queIndex];
- }
- },
- // 下一页
- handleNNPEnext() {
- const _this = this;
- if (_this.queIndex == _this.queTotal - 1) {
- let data = {};
- let flg = false;
- let xiangdeng = false;
- _this.FatherTreeData.forEach((item, itemIndex) => {
- if (item.children) {
- item.children.forEach((it, childrenIndex) => {
- if (it.id == _this.currentTreeID) {
- if (
- itemIndex == _this.FatherTreeData.length - 1 &&
- childrenIndex == item.children.length - 1
- ) {
- this.$message({
- message: "已经是最后一题",
- type: "success",
- });
- flg = true;
- } else if (childrenIndex == item.children.length - 1) {
- // 当前子节点的最后一个
- if (_this.FatherTreeData[itemIndex + 1].children) {
- data.fatherName =
- _this.FatherTreeData[
- itemIndex + 1
- ].children[0].fatherName;
- data.id =
- _this.FatherTreeData[itemIndex + 1].children[0].id;
- data.name =
- _this.FatherTreeData[itemIndex + 1].children[0].name;
- } else {
- data.fatherName =
- _this.FatherTreeData[itemIndex + 1].fatherName;
- data.id = _this.FatherTreeData[itemIndex + 1].id;
- data.name = _this.FatherTreeData[itemIndex + 1].name;
- }
- } else {
- data.fatherName = item.children[childrenIndex + 1].fatherName;
- data.id = item.children[childrenIndex + 1].id;
- data.name = item.children[childrenIndex + 1].name;
- }
- xiangdeng = true;
- }
- });
- } else {
- if (!xiangdeng) {
- if (item.id == _this.currentTreeID) {
- if (itemIndex == _this.FatherTreeData.length - 1) {
- this.$message({
- message: "已经是最后一题",
- type: "success",
- });
- flg = true;
- } else {
- if (_this.FatherTreeData[itemIndex + 1].children) {
- data.fatherName =
- _this.FatherTreeData[
- itemIndex + 1
- ].children[0].fatherName;
- data.name =
- _this.FatherTreeData[itemIndex + 1].children[0].name;
- data.id =
- _this.FatherTreeData[itemIndex + 1].children[0].id;
- } else {
- data.fatherName =
- _this.FatherTreeData[itemIndex + 1].fatherName;
- data.id = _this.FatherTreeData[itemIndex + 1].id;
- data.name = _this.FatherTreeData[itemIndex + 1].name;
- }
- }
- }
- }
- }
- });
- if (flg) {
- return;
- }
- _this.changeId(data.id, data.name, data.fatherName, "Preview");
- xiangdeng = false;
- } else {
- _this.queIndex += 1;
- _this.watchIndex = _this.queIndex + new Date().getTime();
- _this.cur = _this.queList[_this.queIndex];
- }
- },
- }, // 如果页面有keep-alive缓存功能,这个函数会触发
- };
- </script>
- <style lang='scss' scoped>
- //@import url(); 引入公共css类
- .NNPE-Big-Book-preview {
- width: 860px;
- margin: 0 auto;
- position: relative;
- .NNPE-title {
- background: #4f92f6;
- padding: 7px 24px;
- position: relative;
- height: 64px;
- display: flex;
- align-items: center;
- h1 {
- color: #ffffff;
- font-weight: bold;
- font-size: 16px;
- line-height: 150%;
- margin: 0;
- }
- .NNPE-title-left{
- display: flex;
- color: #FFFFFF;
- font-size: 20px;
- line-height: 28px;
- align-items: flex-end;
- .NNPE-title-item{
- margin-right: 2px;
- }
- .content-con{
- margin: 0;
- font-family: 'robot';
- &.hasCn,&.hanzi{
- font-family: 'FZJCGFKTK';
- }
- }
- .content-en{
- font-weight: normal;
- line-height: 28px;
- font-family: 'robot';
- }
- .con-box{
- display: flex;
- flex-flow: wrap;
- justify-content: center;
- .con-item{
- text-align: center;
- padding: 0 1px;
- }
- span{
- display: block;
- }
- .pinyin{
- font-family: 'GB-PINYINOK-B';
- font-size: 14px;
- line-height: 22px;
- height: 22px;
- }
- .synthesis-box{
- display: flex;
- }
- }
- }
- .NNPE-operate {
- position: absolute;
- top: 10px;
- right: 20px;
- a {
- background: #66a3ff url("../../assets/newImage/common/btn-pre.png")
- center no-repeat;
- border-radius: 4px;
- width: 44px;
- height: 44px;
- display: inline-block;
- margin: 0 4px;
- &.btn-next {
- background: #66a3ff url("../../assets/newImage/common/btn-next.png")
- center no-repeat;
- }
- &:hover {
- background-color: #3f75c4;
- }
- }
- }
- }
- .classTopic-box{
- background: #E35454;
- border-radius: 8px;
- width: 780px;
- margin: 24px auto 0 auto;
- text-align: center;
- padding: 8px 24px;
- span{
- font-size: 16px;
- line-height: 150%;
- color: #FFFFFF;
- padding: 0 1px;
- &.cn{
- font-family: 'FZJCGFKTK';
- }
- &.en{
- font-family: 'robot';
- }
- &.pinyin{
- font-family: 'GB-PINYINOK-B';
- }
- }
- }
- .NNPE-Book-content-inner {
- padding: 0 40px;
- > div {
- padding-top: 24px;
- > h2 {
- color: #000000;
- font-size: 16px;
- line-height: 150%;
- font-weight: bold;
- margin: 0;
- }
- > h3 {
- color: #000000;
- font-size: 16px;
- line-height: 150%;
- font-weight: normal;
- margin: 8px 0 16px 0;
- }
- }
- .NNPE-tableList {
- background: #fff;
- border-radius: 8px;
- // padding: 12px 8px;
- &.NNPE-tableList-hasBg {
- background: #f7f7f7;
- border: 1px solid rgba(0, 0, 0, 0.1);
- box-sizing: border-box;
- border-radius: 8px;
- }
- .NNPE-tableList-tr {
- display: flex;
- justify-content: space-between;
- // flex-flow: wrap;
- .NNPE-tableList-item {
- width: 100%;
- // margin: 12px 16px;
- // padding: 16px;
- // background: #FFFFFF;
- // border-radius: 4px;
- display: flex;
- flex-flow: wrap;
- justify-content: center;
- &.NNPE-tableList-item-noMargin {
- margin: 0;
- }
- &.NNPE-tableList-item2 {
- width: 378px;
- }
- &.NNPE-tableList-item3 {
- width: 244px;
- }
- }
- }
- }
- }
- }
- </style>
|