class="hljs-ln-code"> class="hljs-ln-line"> <div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line"> <div class="search-term">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form :inline="true" :model="searchInfo" class="demo-form-inline">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="案例标题">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input v-model="searchInfo.title" placeholder="请输入案例标题" />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="项目名称">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="searchInfo.projectName"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请输入项目名称"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line"> <el-button type="primary" @click="onSubmit">查询el-button>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="18"> class="hljs-ln-code"> class="hljs-ln-line"> <el-button type="primary" @click="openDialog('addArticle')">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="19"> class="hljs-ln-code"> class="hljs-ln-line"> 新增案例
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="20"> class="hljs-ln-code"> class="hljs-ln-line"> el-button>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="21"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="22"> class="hljs-ln-code"> class="hljs-ln-line"> el-form>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="23"> class="hljs-ln-code"> class="hljs-ln-line"> div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="24"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="25"> class="hljs-ln-code"> class="hljs-ln-line"> :data="tableData"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="26"> class="hljs-ln-code"> class="hljs-ln-line"> @sort-change="sortChange"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="27"> class="hljs-ln-code"> class="hljs-ln-line"> @selection-change="handleSelectionChange"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="28"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="29"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column type="selection" width="55" />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="30"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="31"> class="hljs-ln-code"> class="hljs-ln-line"> type="index"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="32"> class="hljs-ln-code"> class="hljs-ln-line"> :index="indexMethod"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="33"> class="hljs-ln-code"> class="hljs-ln-line"> label="序号"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="34"> class="hljs-ln-code"> class="hljs-ln-line"> width="100"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="35"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="36"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="37"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="38"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="标题与副标题" min-width="300">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="39"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="40"> class="hljs-ln-code"> class="hljs-ln-line"> <div><strong>ID:strong> {{ scope.row.id }}div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="41"> class="hljs-ln-code"> class="hljs-ln-line"> <div><strong>标题:strong> {{ scope.row.title }}div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="42"> class="hljs-ln-code"> class="hljs-ln-line"> <div><strong>副标题:strong> {{ scope.row.subtitle }}div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="43"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="44"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="45"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="51"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="项目名称" min-width="150">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="52"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="53"> class="hljs-ln-code"> class="hljs-ln-line"> {{ getProjectName(scope.row.projectId) }}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="54"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="55"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="56"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="小区" min-width="150">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="57"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="58"> class="hljs-ln-code"> class="hljs-ln-line"> {{ getCommunityName(scope.row.communityId) }}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="59"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="60"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="61"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="风格" min-width="150">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="62"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="63"> class="hljs-ln-code"> class="hljs-ln-line"> {{ getStyleName(scope.row.seriesId) }}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="64"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="65"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="66"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="房型" min-width="150">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="67"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="68"> class="hljs-ln-code"> class="hljs-ln-line"> {{ getHouseTypeName(scope.row.houseTypeId) }}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="69"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="70"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="71"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="面积与标签" min-width="200">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="72"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="73"> class="hljs-ln-code"> class="hljs-ln-line"> <div><strong>面积:strong> {{ scope.row.area }} 平方米div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="74"> class="hljs-ln-code"> class="hljs-ln-line"> <div><strong>标签:strong> {{ scope.row.tags }}div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="75"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="76"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="77"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="推荐" min-width="100" prop="isRecommend">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="78"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="79"> class="hljs-ln-code"> class="hljs-ln-line"> <el-tag
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="80"> class="hljs-ln-code"> class="hljs-ln-line"> v-if="scope.row.isRecommend === '0'"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="81"> class="hljs-ln-code"> class="hljs-ln-line"> effect="dark"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="82"> class="hljs-ln-code"> class="hljs-ln-line"> size="mini"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="83"> class="hljs-ln-code"> class="hljs-ln-line"> type="info"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="84"> class="hljs-ln-code"> class="hljs-ln-line"> >否
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="85"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="86"> class="hljs-ln-code"> class="hljs-ln-line"> <el-tag v-else effect="dark" size="mini" type="success">el-tag>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="87"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="88"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="89"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="创建时间" min-width="100" prop="createdAt" />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="90"> class="hljs-ln-code"> class="hljs-ln-line"> <el-table-column label="操作" width="250">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="91"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot-scope="scope">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="92"> class="hljs-ln-code"> class="hljs-ln-line"> <el-button
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="93"> class="hljs-ln-code"> class="hljs-ln-line"> size="small"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="94"> class="hljs-ln-code"> class="hljs-ln-line"> type="primary"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="95"> class="hljs-ln-code"> class="hljs-ln-line"> icon="el-icon-edit"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="96"> class="hljs-ln-code"> class="hljs-ln-line"> @click="editArticle(scope.row)"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="97"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="98"> class="hljs-ln-code"> class="hljs-ln-line"> 编辑
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="99"> class="hljs-ln-code"> class="hljs-ln-line"> el-button>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="100"> class="hljs-ln-code"> class="hljs-ln-line"> <el-button
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="101"> class="hljs-ln-code"> class="hljs-ln-line"> size="small"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="102"> class="hljs-ln-code"> class="hljs-ln-line"> type="danger"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="103"> class="hljs-ln-code"> class="hljs-ln-line"> icon="el-icon-delete"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="104"> class="hljs-ln-code"> class="hljs-ln-line"> @click="deleteArticle(scope.row)"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="105"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="106"> class="hljs-ln-code"> class="hljs-ln-line"> 删除
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="107"> class="hljs-ln-code"> class="hljs-ln-line"> el-button>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="108"> class="hljs-ln-code"> class="hljs-ln-line"> template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="109"> class="hljs-ln-code"> class="hljs-ln-line"> el-table-column>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="110"> class="hljs-ln-code"> class="hljs-ln-line"> el-table>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="111"> class="hljs-ln-code"> class="hljs-ln-line"> <el-pagination
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="112"> class="hljs-ln-code"> class="hljs-ln-line"> :current-page="page"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="113"> class="hljs-ln-code"> class="hljs-ln-line"> :page-size="pageSize"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="114"> class="hljs-ln-code"> class="hljs-ln-line"> :page-sizes="[10, 30, 50, 100]"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="115"> class="hljs-ln-code"> class="hljs-ln-line"> :style="{ float: 'right', padding: '20px' }"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="116"> class="hljs-ln-code"> class="hljs-ln-line"> :total="total"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="117"> class="hljs-ln-code"> class="hljs-ln-line"> layout="total, sizes, prev, pager, next, jumper"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="118"> class="hljs-ln-code"> class="hljs-ln-line"> @current-change="handleCurrentChange"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="119"> class="hljs-ln-code"> class="hljs-ln-line"> @size-change="handleSizeChange"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="120"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="121"> class="hljs-ln-code"> class="hljs-ln-line"> <el-dialog
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="122"> class="hljs-ln-code"> class="hljs-ln-line"> :before-close="closeDialog"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="123"> class="hljs-ln-code"> class="hljs-ln-line"> :title="dialogTitle"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="124"> class="hljs-ln-code"> class="hljs-ln-line"> :visible.sync="dialogFormVisible"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="125"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="126"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="127"> class="hljs-ln-code"> class="hljs-ln-line"> ref="articleForm"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="128"> class="hljs-ln-code"> class="hljs-ln-line"> :inline="false"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="129"> class="hljs-ln-code"> class="hljs-ln-line"> :model="form"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="130"> class="hljs-ln-code"> class="hljs-ln-line"> :rules="rules"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="131"> class="hljs-ln-code"> class="hljs-ln-line"> label-width="80px"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="132"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="133"> class="hljs-ln-code"> class="hljs-ln-line"> <el-tabs v-model="activeName" @tab-click="handleClick">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="134"> class="hljs-ln-code"> class="hljs-ln-line"> <el-tab-pane label="基本信息" name="first">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="135"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="标题" prop="title">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="136"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="137"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="form.title"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="138"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请输入标题"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="139"> class="hljs-ln-code"> class="hljs-ln-line"> required
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="140"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="141"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="142"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="副标题" prop="title">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="143"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input v-model="form.subtitle" placeholder="请输入副标题" />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="144"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="145"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="案例封面" prop="picUrl">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="146"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="147"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="form.picUrl"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="148"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="http://"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="149"> class="hljs-ln-code"> class="hljs-ln-line"> disabled
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="150"> class="hljs-ln-code"> class="hljs-ln-line"> style="display: none"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="151"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="152"> class="hljs-ln-code"> class="hljs-ln-line"> <QnEleUpload :image-url="form.picUrl" @oss-url="ossPicUrl" />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="153"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="154"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="全景链接">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="155"> class="hljs-ln-code"> class="hljs-ln-line"> <el-row style="padding-top: 0px">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="156"> class="hljs-ln-code"> class="hljs-ln-line"> <el-col :span="4">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="157"> class="hljs-ln-code"> class="hljs-ln-line"> <el-select v-model="form.panoramaType" placeholder="请选择">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="158"> class="hljs-ln-code"> class="hljs-ln-line"> <el-option
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="159"> class="hljs-ln-code"> class="hljs-ln-line"> v-for="item in panoramaList"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="160"> class="hljs-ln-code"> class="hljs-ln-line"> :key="item.value"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="161"> class="hljs-ln-code"> class="hljs-ln-line"> :label="item.label"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="162"> class="hljs-ln-code"> class="hljs-ln-line"> :value="item.value"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="163"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="164"> class="hljs-ln-code"> class="hljs-ln-line"> el-select>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="165"> class="hljs-ln-code"> class="hljs-ln-line"> el-col>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="166"> class="hljs-ln-code"> class="hljs-ln-line"> <el-col :span="12" style="margin-left: 10px">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="167"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="168"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="form.panoramaUrl"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="169"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请输入全景链接"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="170"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="171"> class="hljs-ln-code"> class="hljs-ln-line"> el-col>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="172"> class="hljs-ln-code"> class="hljs-ln-line"> el-row>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="173"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="174"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="项目" required>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="175"> class="hljs-ln-code"> class="hljs-ln-line"> <el-select
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="176"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="projectId"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="177"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请选择"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="178"> class="hljs-ln-code"> class="hljs-ln-line"> style="width: 100%"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="179"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="180"> class="hljs-ln-code"> class="hljs-ln-line"> <el-option
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="181"> class="hljs-ln-code"> class="hljs-ln-line"> v-for="(item, index) in projectList"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="182"> class="hljs-ln-code"> class="hljs-ln-line"> :key="index"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="183"> class="hljs-ln-code"> class="hljs-ln-line"> :label="item.title"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="184"> class="hljs-ln-code"> class="hljs-ln-line"> :value="item.id"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="185"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="186"> class="hljs-ln-code"> class="hljs-ln-line"> el-select>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="187"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="188"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="212"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="小区">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="213"> class="hljs-ln-code"> class="hljs-ln-line"> <el-select
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="214"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="communityId"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="215"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请选择"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="216"> class="hljs-ln-code"> class="hljs-ln-line"> style="width: 100%"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="217"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="218"> class="hljs-ln-code"> class="hljs-ln-line"> <el-option
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="219"> class="hljs-ln-code"> class="hljs-ln-line"> v-for="(item, index) in communityList"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="220"> class="hljs-ln-code"> class="hljs-ln-line"> :key="index"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="221"> class="hljs-ln-code"> class="hljs-ln-line"> :label="item.name"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="222"> class="hljs-ln-code"> class="hljs-ln-line"> :value="item.id"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="223"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="224"> class="hljs-ln-code"> class="hljs-ln-line"> el-select>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="225"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="226"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="户型名称" required>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="227"> class="hljs-ln-code"> class="hljs-ln-line"> <el-select
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="228"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="houseTypeId"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="229"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请选择"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="230"> class="hljs-ln-code"> class="hljs-ln-line"> style="width: 100%"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="231"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="232"> class="hljs-ln-code"> class="hljs-ln-line"> <el-option
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="233"> class="hljs-ln-code"> class="hljs-ln-line"> v-for="(item, index) in houseTypeList"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="234"> class="hljs-ln-code"> class="hljs-ln-line"> :key="index"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="235"> class="hljs-ln-code"> class="hljs-ln-line"> :label="item.title"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="236"> class="hljs-ln-code"> class="hljs-ln-line"> :value="item.id"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="237"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="238"> class="hljs-ln-code"> class="hljs-ln-line"> el-select>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="239"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="240"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="风格">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="241"> class="hljs-ln-code"> class="hljs-ln-line"> <el-select
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="242"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="seriesId"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="243"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请选择"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="244"> class="hljs-ln-code"> class="hljs-ln-line"> style="width: 100%"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="245"> class="hljs-ln-code"> class="hljs-ln-line"> >
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="246"> class="hljs-ln-code"> class="hljs-ln-line"> <el-option
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="247"> class="hljs-ln-code"> class="hljs-ln-line"> v-for="(item, index) in seriesList"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="248"> class="hljs-ln-code"> class="hljs-ln-line"> :key="index"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="249"> class="hljs-ln-code"> class="hljs-ln-line"> :label="item.title"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="250"> class="hljs-ln-code"> class="hljs-ln-line"> :value="item.id"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="251"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="252"> class="hljs-ln-code"> class="hljs-ln-line"> el-select>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="253"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="254"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="259"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="标签" prop="tags">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="260"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="261"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="form.tags"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="262"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder="请输入标签,多个标签用 | 分割"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="263"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="264"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="265"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="面积" prop="area">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="266"> class="hljs-ln-code"> class="hljs-ln-line"> <el-input v-model="form.area" placeholder="请输入面积" required>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="267"> class="hljs-ln-code"> class="hljs-ln-line"> <template slot="append">平方米template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="268"> class="hljs-ln-code"> class="hljs-ln-line"> el-input>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="269"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="270"> class="hljs-ln-code"> class="hljs-ln-line"> <el-form-item label="是否推荐" prop="isRecommend">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="271"> class="hljs-ln-code"> class="hljs-ln-line"> <el-switch
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="272"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="form.isRecommend"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="273"> class="hljs-ln-code"> class="hljs-ln-line"> :active-value="'1'"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="274"> class="hljs-ln-code"> class="hljs-ln-line"> :inactive-value="'0'"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="275"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="276"> class="hljs-ln-code"> class="hljs-ln-line"> el-form-item>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="277"> class="hljs-ln-code"> class="hljs-ln-line"> el-tab-pane>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="278"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="279"> class="hljs-ln-code"> class="hljs-ln-line"> <el-tab-pane label="案例详情" name="second">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="280"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="283"> class="hljs-ln-code"> class="hljs-ln-line"> <div style="min-height: 500px">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="284"> class="hljs-ln-code"> class="hljs-ln-line"> <QnEleUpload
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="285"> class="hljs-ln-code"> class="hljs-ln-line"> v-show="false"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="286"> class="hljs-ln-code"> class="hljs-ln-line"> ref="upload"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="287"> class="hljs-ln-code"> class="hljs-ln-line"> class="avatar-uploader"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="288"> class="hljs-ln-code"> class="hljs-ln-line"> :image-url="form.avatar"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="289"> class="hljs-ln-code"> class="hljs-ln-line"> @oss-url="onUploadHandler"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="290"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="291"> class="hljs-ln-code"> class="hljs-ln-line"> <quill-editor
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="292"> class="hljs-ln-code"> class="hljs-ln-line"> ref="myQuillEditor"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="293"> class="hljs-ln-code"> class="hljs-ln-line"> v-model="form.detail"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="294"> class="hljs-ln-code"> class="hljs-ln-line"> :options="editorOption"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="295"> class="hljs-ln-code"> class="hljs-ln-line"> style="min-height: 300px"
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="296"> class="hljs-ln-code"> class="hljs-ln-line"> />
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="297"> class="hljs-ln-code"> class="hljs-ln-line"> div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="298"> class="hljs-ln-code"> class="hljs-ln-line"> el-tab-pane>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="299"> class="hljs-ln-code"> class="hljs-ln-line"> el-tabs>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="300"> class="hljs-ln-code"> class="hljs-ln-line"> el-form>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="301"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="302"> class="hljs-ln-code"> class="hljs-ln-line"> <div slot="footer" class="dialog-footer">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="303"> class="hljs-ln-code"> class="hljs-ln-line"> <el-button @click="closeDialog">取 消el-button>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="304"> class="hljs-ln-code"> class="hljs-ln-line"> <el-button type="primary" @click="enterDialog">确 定el-button>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="305"> class="hljs-ln-code"> class="hljs-ln-line"> div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="306"> class="hljs-ln-code"> class="hljs-ln-line"> el-dialog>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="307"> class="hljs-ln-code"> class="hljs-ln-line"> div>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="308"> class="hljs-ln-code"> class="hljs-ln-line">template>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="309"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="310"> class="hljs-ln-code"> class="hljs-ln-line"><style>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="311"> class="hljs-ln-code"> class="hljs-ln-line">#editor—wrapper {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="312"> class="hljs-ln-code"> class="hljs-ln-line"> border: 1px solid #ccc;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="313"> class="hljs-ln-code"> class="hljs-ln-line"> z-index: 100; /* 按需定义 */
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="314"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="315"> class="hljs-ln-code"> class="hljs-ln-line">#toolbar-container {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="316"> class="hljs-ln-code"> class="hljs-ln-line"> border-bottom: 1px solid #ccc;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="317"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="318"> class="hljs-ln-code"> class="hljs-ln-line">#editor-container {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="319"> class="hljs-ln-code"> class="hljs-ln-line"> height: 500px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="320"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="321"> class="hljs-ln-code"> class="hljs-ln-line">style>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="322"> class="hljs-ln-code"> class="hljs-ln-line"><script>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="323"> class="hljs-ln-code"> class="hljs-ln-line">// 获取列表内容封装在mixins内部 getTableData方法 初始化已封装完成 条件搜索时候 请把条件安好后台定制的结构体字段 放到 this.searchInfo 中即可实现条件搜索
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="324"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="325"> class="hljs-ln-code"> class="hljs-ln-line">import {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="326"> class="hljs-ln-code"> class="hljs-ln-line"> getArticleList,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="327"> class="hljs-ln-code"> class="hljs-ln-line"> createArticle,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="328"> class="hljs-ln-code"> class="hljs-ln-line"> updateArticle,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="329"> class="hljs-ln-code"> class="hljs-ln-line"> deleteArticle
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="330"> class="hljs-ln-code"> class="hljs-ln-line"> // deleteArticlesByIds
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="331"> class="hljs-ln-code"> class="hljs-ln-line">} from '@/api/article'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="332"> class="hljs-ln-code"> class="hljs-ln-line">import { getProjectList } from '@/api/project'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="333"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="334"> class="hljs-ln-code"> class="hljs-ln-line">import { getCityList } from '@/api/city'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="335"> class="hljs-ln-code"> class="hljs-ln-line">import { getCommunityList } from '@/api/community'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="336"> class="hljs-ln-code"> class="hljs-ln-line">import { getSeriesList } from '@/api/series'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="337"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="338"> class="hljs-ln-code"> class="hljs-ln-line">import infoList from '@/mixins/infoList'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="339"> class="hljs-ln-code"> class="hljs-ln-line">import { toSQLLine } from '@/utils/stringFun'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="340"> class="hljs-ln-code"> class="hljs-ln-line">import QnEleUpload from '@/components/oss/qiniu'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="341"> class="hljs-ln-code"> class="hljs-ln-line">// import QnEleUploadVedio from '@/components/oss/qiniuVideo'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="342"> class="hljs-ln-code"> class="hljs-ln-line">import * as Quill from 'quill'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="343"> class="hljs-ln-code"> class="hljs-ln-line">import 'quill/dist/quill.core.css'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="344"> class="hljs-ln-code"> class="hljs-ln-line">import 'quill/dist/quill.snow.css'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="345"> class="hljs-ln-code"> class="hljs-ln-line">import 'quill/dist/quill.bubble.css'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="346"> class="hljs-ln-code"> class="hljs-ln-line">// 引用字号和字体css
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="347"> class="hljs-ln-code"> class="hljs-ln-line">import '@/utils/quillEditor.css'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="348"> class="hljs-ln-code"> class="hljs-ln-line">// 设置字体大小
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="349"> class="hljs-ln-code"> class="hljs-ln-line">const fontSizeStyle = Quill.import('attributors/style/size') // 引入这个后会把样式写在style上
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="350"> class="hljs-ln-code"> class="hljs-ln-line">fontSizeStyle.whitelist = ['12px', '14px', '16px', '18px', '20px', '24px', '28px', '32px', '36px']
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="351"> class="hljs-ln-code"> class="hljs-ln-line">Quill.register(fontSizeStyle, true)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="352"> class="hljs-ln-code"> class="hljs-ln-line">// 设置字体样式
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="353"> class="hljs-ln-code"> class="hljs-ln-line">const Font = Quill.import('attributors/style/font') // 引入这个后会把样式写在style上
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="354"> class="hljs-ln-code"> class="hljs-ln-line">const fonts = [
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="355"> class="hljs-ln-code"> class="hljs-ln-line"> 'SimSun',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="356"> class="hljs-ln-code"> class="hljs-ln-line"> 'SimHei',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="357"> class="hljs-ln-code"> class="hljs-ln-line"> 'Microsoft-YaHei',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="358"> class="hljs-ln-code"> class="hljs-ln-line"> 'KaiTi',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="359"> class="hljs-ln-code"> class="hljs-ln-line"> 'FangSong'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="360"> class="hljs-ln-code"> class="hljs-ln-line">]
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="361"> class="hljs-ln-code"> class="hljs-ln-line">Font.whitelist = fonts // 将字体加入到白名单
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="362"> class="hljs-ln-code"> class="hljs-ln-line">Quill.register(Font, true)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="363"> class="hljs-ln-code"> class="hljs-ln-line">// 设置文字水平方式
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="364"> class="hljs-ln-code"> class="hljs-ln-line">var Align = Quill.import('attributors/style/align')
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="365"> class="hljs-ln-code"> class="hljs-ln-line">Align.whitelist = ['right', 'center', 'justify']
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="366"> class="hljs-ln-code"> class="hljs-ln-line">Quill.register(Align, true)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="367"> class="hljs-ln-code"> class="hljs-ln-line">const toolbarOptions = [
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="368"> class="hljs-ln-code"> class="hljs-ln-line"> ['bold', 'italic', 'underline', 'strike'], // 加粗 斜体 下划线 删除线
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="369"> class="hljs-ln-code"> class="hljs-ln-line"> ['blockquote', 'code-block'], // 引用 代码块
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="370"> class="hljs-ln-code"> class="hljs-ln-line"> [{ header: 1 }, { header: 2 }], // 1、2 级标题
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="371"> class="hljs-ln-code"> class="hljs-ln-line"> [{ list: 'ordered' }, { list: 'bullet' }], // 有序、无序列表
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="372"> class="hljs-ln-code"> class="hljs-ln-line"> [{ script: 'sub' }, { script: 'super' }], // 上标/下标
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="373"> class="hljs-ln-code"> class="hljs-ln-line"> [{ indent: '-1' }, { indent: '+1' }], // 缩进
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="374"> class="hljs-ln-code"> class="hljs-ln-line"> // [{ direction: 'rtl' }], // 文本方向
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="375"> class="hljs-ln-code"> class="hljs-ln-line"> [{ size: ['12px', '14px', '16px', '18px', '20px', '24px', '28px', '32px', '36px'] }], // 字体大小
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="376"> class="hljs-ln-code"> class="hljs-ln-line"> [{ header: [1, 2, 3, 4, 5, 6] }], // 标题
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="377"> class="hljs-ln-code"> class="hljs-ln-line"> [{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="378"> class="hljs-ln-code"> class="hljs-ln-line"> // [{ font: ['songti'] }], // 字体种类
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="379"> class="hljs-ln-code"> class="hljs-ln-line"> [{ align: [] }], // 对齐方式
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="380"> class="hljs-ln-code"> class="hljs-ln-line"> ['clean'], // 清除文本格式
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="381"> class="hljs-ln-code"> class="hljs-ln-line"> ['image'] // 链接、图片,需要视频的可以加上video
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="382"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="383"> class="hljs-ln-code"> class="hljs-ln-line">]
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="384"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="385"> class="hljs-ln-code"> class="hljs-ln-line">// import * as Quill from 'quill'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="386"> class="hljs-ln-code"> class="hljs-ln-line">// 调整上传图片大小
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="387"> class="hljs-ln-code"> class="hljs-ln-line">import ImageResize from 'quill-image-resize-module' // 引用
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="388"> class="hljs-ln-code"> class="hljs-ln-line">import { ImageDrop } from 'quill-image-drop-module'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="389"> class="hljs-ln-code"> class="hljs-ln-line">// import { json } from 'body-parser'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="390"> class="hljs-ln-code"> class="hljs-ln-line">Quill.register('modules/imageResize', ImageResize) // 注册
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="391"> class="hljs-ln-code"> class="hljs-ln-line">Quill.register('modules/imageDrop', ImageDrop)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="392"> class="hljs-ln-code"> class="hljs-ln-line">import { getHouseTypeList } from '@/api/houseType'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="393"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="394"> class="hljs-ln-code"> class="hljs-ln-line">export default {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="395"> class="hljs-ln-code"> class="hljs-ln-line"> name: 'Article',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="396"> class="hljs-ln-code"> class="hljs-ln-line"> // 注册组件
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="397"> class="hljs-ln-code"> class="hljs-ln-line"> components: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="398"> class="hljs-ln-code"> class="hljs-ln-line"> QnEleUpload
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="399"> class="hljs-ln-code"> class="hljs-ln-line"> // QnEleUploadVedio
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="400"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="401"> class="hljs-ln-code"> class="hljs-ln-line"> filters: {},
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="402"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="403"> class="hljs-ln-code"> class="hljs-ln-line"> mixins: [infoList],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="404"> class="hljs-ln-code"> class="hljs-ln-line"> data () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="405"> class="hljs-ln-code"> class="hljs-ln-line"> return {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="406"> class="hljs-ln-code"> class="hljs-ln-line"> panoramaList: [{ value: 0, label: '酷家乐', prefix: 'http://pano478.p.kujiale.com/' }, { value: 1, label: '小红屋', prefix: 'http://pano478.p.xiaohongwu.com/' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="407"> class="hljs-ln-code"> class="hljs-ln-line"> isRecommend: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="408"> class="hljs-ln-code"> class="hljs-ln-line"> cityList: [],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="409"> class="hljs-ln-code"> class="hljs-ln-line"> provinceId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="410"> class="hljs-ln-code"> class="hljs-ln-line"> provinceName: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="411"> class="hljs-ln-code"> class="hljs-ln-line"> cityId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="412"> class="hljs-ln-code"> class="hljs-ln-line"> cityName: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="413"> class="hljs-ln-code"> class="hljs-ln-line"> projectList: [],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="414"> class="hljs-ln-code"> class="hljs-ln-line"> projectId: '1',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="415"> class="hljs-ln-code"> class="hljs-ln-line"> provinceList: [],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="416"> class="hljs-ln-code"> class="hljs-ln-line"> communityList: [{ id: '0', name: '请选择' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="417"> class="hljs-ln-code"> class="hljs-ln-line"> communityId: '0',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="418"> class="hljs-ln-code"> class="hljs-ln-line"> seriesList: [],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="419"> class="hljs-ln-code"> class="hljs-ln-line"> seriesId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="420"> class="hljs-ln-code"> class="hljs-ln-line"> houseTypeList: [],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="421"> class="hljs-ln-code"> class="hljs-ln-line"> houseTypeId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="422"> class="hljs-ln-code"> class="hljs-ln-line"> content: '', // 双向数据绑定数据
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="423"> class="hljs-ln-code"> class="hljs-ln-line"> tags: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="424"> class="hljs-ln-code"> class="hljs-ln-line"> editorOption: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="425"> class="hljs-ln-code"> class="hljs-ln-line"> modules: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="426"> class="hljs-ln-code"> class="hljs-ln-line"> // 重写剪贴板模块
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="427"> class="hljs-ln-code"> class="hljs-ln-line"> clipboard: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="428"> class="hljs-ln-code"> class="hljs-ln-line"> matchers: [
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="429"> class="hljs-ln-code"> class="hljs-ln-line"> [Node.ELEMENT_NODE, (node, delta) => {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="430"> class="hljs-ln-code"> class="hljs-ln-line"> // 拦截图片标签
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="431"> class="hljs-ln-code"> class="hljs-ln-line"> if (node.tagName === 'IMG') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="432"> class="hljs-ln-code"> class="hljs-ln-line"> // 返回空 Delta 阻止插入
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="433"> class="hljs-ln-code"> class="hljs-ln-line"> return new Delta().retain(delta.length());
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="434"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="435"> class="hljs-ln-code"> class="hljs-ln-line"> return delta;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="436"> class="hljs-ln-code"> class="hljs-ln-line"> }]
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="437"> class="hljs-ln-code"> class="hljs-ln-line"> ]
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="438"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="439"> class="hljs-ln-code"> class="hljs-ln-line"> toolbar: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="440"> class="hljs-ln-code"> class="hljs-ln-line"> container: toolbarOptions, // 工具栏
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="441"> class="hljs-ln-code"> class="hljs-ln-line"> handlers: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="442"> class="hljs-ln-code"> class="hljs-ln-line"> 'image': function (value) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="443"> class="hljs-ln-code"> class="hljs-ln-line"> if (value) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="444"> class="hljs-ln-code"> class="hljs-ln-line"> // 调用el-upload的click点击事件实现文件上传
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="445"> class="hljs-ln-code"> class="hljs-ln-line"> document.querySelector('.avatar-uploader input').click()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="446"> class="hljs-ln-code"> class="hljs-ln-line"> } else {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="447"> class="hljs-ln-code"> class="hljs-ln-line"> this.quill.format('image', false)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="448"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="449"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="450"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="451"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="452"> class="hljs-ln-code"> class="hljs-ln-line"> // 调整图片大小
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="453"> class="hljs-ln-code"> class="hljs-ln-line"> imageResize: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="454"> class="hljs-ln-code"> class="hljs-ln-line"> displayStyles: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="455"> class="hljs-ln-code"> class="hljs-ln-line"> backgroundColor: 'black',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="456"> class="hljs-ln-code"> class="hljs-ln-line"> border: 'none',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="457"> class="hljs-ln-code"> class="hljs-ln-line"> color: 'white'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="458"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="459"> class="hljs-ln-code"> class="hljs-ln-line"> modules: ['Resize', 'DisplaySize', 'Toolbar']
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="460"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="461"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="462"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="463"> class="hljs-ln-code"> class="hljs-ln-line"> placeholder: '请输入案例详情'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="464"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="465"> class="hljs-ln-code"> class="hljs-ln-line"> activeName: 'first',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="466"> class="hljs-ln-code"> class="hljs-ln-line"> deleteVisible: false,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="467"> class="hljs-ln-code"> class="hljs-ln-line"> listApi: getArticleList,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="468"> class="hljs-ln-code"> class="hljs-ln-line"> dialogFormVisible: false,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="469"> class="hljs-ln-code"> class="hljs-ln-line"> dialogTitle: '新增案例',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="470"> class="hljs-ln-code"> class="hljs-ln-line"> articles: [],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="471"> class="hljs-ln-code"> class="hljs-ln-line"> form: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="472"> class="hljs-ln-code"> class="hljs-ln-line"> id: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="473"> class="hljs-ln-code"> class="hljs-ln-line"> isRecommend: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="474"> class="hljs-ln-code"> class="hljs-ln-line"> projectId: '1',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="475"> class="hljs-ln-code"> class="hljs-ln-line"> title: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="476"> class="hljs-ln-code"> class="hljs-ln-line"> subtitle: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="477"> class="hljs-ln-code"> class="hljs-ln-line"> picUrl: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="478"> class="hljs-ln-code"> class="hljs-ln-line"> sort: 1,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="479"> class="hljs-ln-code"> class="hljs-ln-line"> detail: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="480"> class="hljs-ln-code"> class="hljs-ln-line"> provinceId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="481"> class="hljs-ln-code"> class="hljs-ln-line"> provinceName: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="482"> class="hljs-ln-code"> class="hljs-ln-line"> cityId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="483"> class="hljs-ln-code"> class="hljs-ln-line"> cityName: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="484"> class="hljs-ln-code"> class="hljs-ln-line"> tags: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="485"> class="hljs-ln-code"> class="hljs-ln-line"> communityId: '0',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="486"> class="hljs-ln-code"> class="hljs-ln-line"> seriesId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="487"> class="hljs-ln-code"> class="hljs-ln-line"> houseTypeId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="488"> class="hljs-ln-code"> class="hljs-ln-line"> area: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="489"> class="hljs-ln-code"> class="hljs-ln-line"> panoramaUrl: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="490"> class="hljs-ln-code"> class="hljs-ln-line"> panoramaType: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="491"> class="hljs-ln-code"> class="hljs-ln-line"> panoramaPrefix: ''
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="492"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="493"> class="hljs-ln-code"> class="hljs-ln-line"> tab: 'first',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="494"> class="hljs-ln-code"> class="hljs-ln-line"> rules: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="495"> class="hljs-ln-code"> class="hljs-ln-line"> title: [{ required: true, message: '请选输入案例标题', trigger: 'blur' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="496"> class="hljs-ln-code"> class="hljs-ln-line"> picUrl: [{ required: true, message: '请上传案例封面', trigger: 'blur' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="497"> class="hljs-ln-code"> class="hljs-ln-line"> detail: [{ required: true, message: '案例详情不能为空', trigger: 'blur' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="498"> class="hljs-ln-code"> class="hljs-ln-line"> area: [{ required: true, message: '面积不能为空', trigger: 'blur' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="499"> class="hljs-ln-code"> class="hljs-ln-line"> // seriesId: [{ required: true, message: '系列不能为空', trigger: 'blur' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="500"> class="hljs-ln-code"> class="hljs-ln-line"> houseTypeId: [{ required: true, message: '风格不能为空', trigger: 'blur' }],
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="501"> class="hljs-ln-code"> class="hljs-ln-line"> panoramaUrl: [{
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="502"> class="hljs-ln-code"> class="hljs-ln-line"> required: false,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="503"> class="hljs-ln-code"> class="hljs-ln-line"> validator: this.validatePanoramaUrl,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="504"> class="hljs-ln-code"> class="hljs-ln-line"> trigger: 'blur'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="505"> class="hljs-ln-code"> class="hljs-ln-line"> }]
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="506"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="507"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="508"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="509"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="510"> class="hljs-ln-code"> class="hljs-ln-line"> watch: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="511"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="512"> class="hljs-ln-code"> class="hljs-ln-line"> seriesId (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="513"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.seriesId = val
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="514"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="515"> class="hljs-ln-code"> class="hljs-ln-line"> communityId (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="516"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.communityId = val
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="517"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="518"> class="hljs-ln-code"> class="hljs-ln-line"> projectId (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="519"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.projectId = this.projectId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="520"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="521"> class="hljs-ln-code"> class="hljs-ln-line"> houseTypeId (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="522"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.houseTypeId = val
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="523"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="524"> class="hljs-ln-code"> class="hljs-ln-line"> provinceId (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="525"> class="hljs-ln-code"> class="hljs-ln-line"> this.cityList = this.provinceList.find(item => item.id === val).children
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="526"> class="hljs-ln-code"> class="hljs-ln-line"> console.log(1112, this.cityList)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="527"> class="hljs-ln-code"> class="hljs-ln-line"> this.provinceName = this.provinceList.find(item => item.id === val).name
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="528"> class="hljs-ln-code"> class="hljs-ln-line"> this.cityId = this.cityList[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="529"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.cityId = this.cityList[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="530"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.cityName = this.cityList[0].name
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="531"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.provinceName = this.provinceName
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="532"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.provinceId = val
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="533"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="534"> class="hljs-ln-code"> class="hljs-ln-line"> cityId (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="535"> class="hljs-ln-code"> class="hljs-ln-line"> this.cityId = val
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="536"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.cityId = val
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="537"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.cityName = this.cityList.find(item => item.id === val).name
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="538"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="539"> class="hljs-ln-code"> class="hljs-ln-line"> // isRecommend (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="540"> class="hljs-ln-code"> class="hljs-ln-line"> // this.form.isRecommend = Number(val)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="541"> class="hljs-ln-code"> class="hljs-ln-line"> // }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="542"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="543"> class="hljs-ln-code"> class="hljs-ln-line"> async created () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="544"> class="hljs-ln-code"> class="hljs-ln-line"> const params = this.$route.params
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="545"> class="hljs-ln-code"> class="hljs-ln-line"> this.searchInfo.projectName = params.projectName
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="546"> class="hljs-ln-code"> class="hljs-ln-line"> this.getTableData()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="547"> class="hljs-ln-code"> class="hljs-ln-line"> this.initForm()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="548"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="549"> class="hljs-ln-code"> class="hljs-ln-line"> methods: {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="550"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="551"> class="hljs-ln-code"> class="hljs-ln-line"> // 计算序号
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="552"> class="hljs-ln-code"> class="hljs-ln-line"> indexMethod (index) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="553"> class="hljs-ln-code"> class="hljs-ln-line"> return (this.page - 1) * this.pageSize + index + 1
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="554"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="555"> class="hljs-ln-code"> class="hljs-ln-line"> validatePanoramaUrl (rule, value, callback) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="556"> class="hljs-ln-code"> class="hljs-ln-line"> if (value && !value.startsWith('http')) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="557"> class="hljs-ln-code"> class="hljs-ln-line"> callback(new Error('必须以http开头'))
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="558"> class="hljs-ln-code"> class="hljs-ln-line"> } else {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="559"> class="hljs-ln-code"> class="hljs-ln-line"> callback()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="560"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="561"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="562"> class="hljs-ln-code"> class="hljs-ln-line"> getProjectName (projectId) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="563"> class="hljs-ln-code"> class="hljs-ln-line"> console.log(111111, projectId)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="564"> class="hljs-ln-code"> class="hljs-ln-line"> const project = this.projectList.find(item => item.id === projectId)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="565"> class="hljs-ln-code"> class="hljs-ln-line"> return project ? project.title : '-'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="566"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="567"> class="hljs-ln-code"> class="hljs-ln-line"> getCommunityName (communityId) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="568"> class="hljs-ln-code"> class="hljs-ln-line"> const community = this.communityList.find(item => item.id === communityId)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="569"> class="hljs-ln-code"> class="hljs-ln-line"> return community ? community.name : ''
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="570"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="571"> class="hljs-ln-code"> class="hljs-ln-line"> getStyleName (seriesId) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="572"> class="hljs-ln-code"> class="hljs-ln-line"> const series = this.seriesList.find(item => item.id === seriesId)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="573"> class="hljs-ln-code"> class="hljs-ln-line"> return series ? series.title : ''
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="574"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="575"> class="hljs-ln-code"> class="hljs-ln-line"> getHouseTypeName (houseTypeId) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="576"> class="hljs-ln-code"> class="hljs-ln-line"> const houseType = this.houseTypeList.find(item => item.id === houseTypeId)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="577"> class="hljs-ln-code"> class="hljs-ln-line"> return houseType ? houseType.title : ''
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="578"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="579"> class="hljs-ln-code"> class="hljs-ln-line"> async getHouseTypeList () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="580"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await getHouseTypeList({ page: 1, pageSize: 1000 })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="581"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="582"> class="hljs-ln-code"> class="hljs-ln-line"> this.houseTypeList = res.data.list
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="583"> class="hljs-ln-code"> class="hljs-ln-line"> this.houseTypeId = this.houseTypeList[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="584"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.houseTypeId = this.houseTypeId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="585"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="586"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="587"> class="hljs-ln-code"> class="hljs-ln-line"> async getSeriesList () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="588"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await getSeriesList({ page: 1, pageSize: 1000 })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="589"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="590"> class="hljs-ln-code"> class="hljs-ln-line"> this.seriesList = res.data.list
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="591"> class="hljs-ln-code"> class="hljs-ln-line"> this.seriesId = this.seriesList[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="592"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.seriesId = this.seriesId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="593"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="594"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="595"> class="hljs-ln-code"> class="hljs-ln-line"> async getCommunityList () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="596"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await getCommunityList({ page: 1, pageSize: 10000 })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="597"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="598"> class="hljs-ln-code"> class="hljs-ln-line"> this.communityList = [{ id: '0', name: '请选择' }, ...res.data.list]
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="599"> class="hljs-ln-code"> class="hljs-ln-line"> // this.communityList = res.data.list
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="600"> class="hljs-ln-code"> class="hljs-ln-line"> this.communityId = this.communityList[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="601"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.communityId = this.communityId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="602"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="603"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="604"> class="hljs-ln-code"> class="hljs-ln-line"> async getProjectList () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="605"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await getProjectList({ page: 1, pageSize: 1000 })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="606"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="607"> class="hljs-ln-code"> class="hljs-ln-line"> this.projectList = res.data.list
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="608"> class="hljs-ln-code"> class="hljs-ln-line"> this.projectId = this.projectList[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="609"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.projectId = this.projectId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="610"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="611"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="612"> class="hljs-ln-code"> class="hljs-ln-line"> async getCityLists () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="613"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await getCityList({})
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="614"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="615"> class="hljs-ln-code"> class="hljs-ln-line"> this.provinceList = res.data.list
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="616"> class="hljs-ln-code"> class="hljs-ln-line"> this.provinceId = this.provinceList[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="617"> class="hljs-ln-code"> class="hljs-ln-line"> this.provinceName = this.provinceList[0].name
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="618"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.provinceId = this.provinceId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="619"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.provinceName = this.provinceName
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="620"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.cityId = this.provinceList[0].children[0].id
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="621"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.cityName = this.provinceList[0].children[0].name
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="622"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="623"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="624"> class="hljs-ln-code"> class="hljs-ln-line"> onEditorBlur (val) { }, // 失去焦点触发事件
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="625"> class="hljs-ln-code"> class="hljs-ln-line"> onEditorFocus () { }, // 获得焦点触发事件
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="626"> class="hljs-ln-code"> class="hljs-ln-line"> onEditorChange (val) { }, // 内容改变触发事件
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="627"> class="hljs-ln-code"> class="hljs-ln-line"> ossPicUrl (e) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="628"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.picUrl = e.url
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="629"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="630"> class="hljs-ln-code"> class="hljs-ln-line"> ossPicUrlVideo (e) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="631"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.videoUrl = e.url
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="632"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="633"> class="hljs-ln-code"> class="hljs-ln-line"> async onUploadHandler (e) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="634"> class="hljs-ln-code"> class="hljs-ln-line"> console.log(e)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="635"> class="hljs-ln-code"> class="hljs-ln-line"> const imageUrl = e.url
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="636"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="637"> class="hljs-ln-code"> class="hljs-ln-line"> // 获取光标所在位置
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="638"> class="hljs-ln-code"> class="hljs-ln-line"> const quill = this.$refs.myQuillEditor.quill
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="639"> class="hljs-ln-code"> class="hljs-ln-line"> const length = quill.getSelection().index
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="640"> class="hljs-ln-code"> class="hljs-ln-line"> // 插入图片
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="641"> class="hljs-ln-code"> class="hljs-ln-line"> quill.insertEmbed(length, 'image', imageUrl)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="642"> class="hljs-ln-code"> class="hljs-ln-line"> // 调整光标到最后
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="643"> class="hljs-ln-code"> class="hljs-ln-line"> quill.setSelection(length + 1)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="644"> class="hljs-ln-code"> class="hljs-ln-line"> // this.content += url
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="645"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="646"> class="hljs-ln-code"> class="hljs-ln-line"> async onUploadHandlerCaseDescription (e) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="647"> class="hljs-ln-code"> class="hljs-ln-line"> console.log(e)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="648"> class="hljs-ln-code"> class="hljs-ln-line"> const imageUrl = e.url
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="649"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="650"> class="hljs-ln-code"> class="hljs-ln-line"> // 获取光标所在位置
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="651"> class="hljs-ln-code"> class="hljs-ln-line"> const quill = this.$refs.myQuillEditorCaseDescription.quill
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="652"> class="hljs-ln-code"> class="hljs-ln-line"> const length = quill.getSelection().index
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="653"> class="hljs-ln-code"> class="hljs-ln-line"> // 插入图片
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="654"> class="hljs-ln-code"> class="hljs-ln-line"> quill.insertEmbed(length, 'image', imageUrl)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="655"> class="hljs-ln-code"> class="hljs-ln-line"> // 调整光标到最后
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="656"> class="hljs-ln-code"> class="hljs-ln-line"> quill.setSelection(length + 1)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="657"> class="hljs-ln-code"> class="hljs-ln-line"> // this.content += url
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="658"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="659"> class="hljs-ln-code"> class="hljs-ln-line"> handleClick (tab, event) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="660"> class="hljs-ln-code"> class="hljs-ln-line"> console.log(tab, event)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="661"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="662"> class="hljs-ln-code"> class="hljs-ln-line"> // 选中article
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="663"> class="hljs-ln-code"> class="hljs-ln-line"> handleSelectionChange (val) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="664"> class="hljs-ln-code"> class="hljs-ln-line"> this.articles = val
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="665"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="666"> class="hljs-ln-code"> class="hljs-ln-line"> // async onDelete() {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="667"> class="hljs-ln-code"> class="hljs-ln-line"> // const ids = this.articles.map(item => item.id)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="668"> class="hljs-ln-code"> class="hljs-ln-line"> // const res = await deleteArticlesByIds({ ids })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="669"> class="hljs-ln-code"> class="hljs-ln-line"> // if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="670"> class="hljs-ln-code"> class="hljs-ln-line"> // this.$message({
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="671"> class="hljs-ln-code"> class="hljs-ln-line"> // type: 'success',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="672"> class="hljs-ln-code"> class="hljs-ln-line"> // message: res.message && '删除成功~'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="673"> class="hljs-ln-code"> class="hljs-ln-line"> // })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="674"> class="hljs-ln-code"> class="hljs-ln-line"> // if (this.tableData.length === ids.length && this.page > 1) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="675"> class="hljs-ln-code"> class="hljs-ln-line"> // this.page--
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="676"> class="hljs-ln-code"> class="hljs-ln-line"> // }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="677"> class="hljs-ln-code"> class="hljs-ln-line"> // this.deleteVisible = false
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="678"> class="hljs-ln-code"> class="hljs-ln-line"> // this.getTableData()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="679"> class="hljs-ln-code"> class="hljs-ln-line"> // }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="680"> class="hljs-ln-code"> class="hljs-ln-line"> // },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="681"> class="hljs-ln-code"> class="hljs-ln-line"> // 排序
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="682"> class="hljs-ln-code"> class="hljs-ln-line"> sortChange ({ prop, order }) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="683"> class="hljs-ln-code"> class="hljs-ln-line"> if (prop) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="684"> class="hljs-ln-code"> class="hljs-ln-line"> this.searchInfo.orderKey = toSQLLine(prop)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="685"> class="hljs-ln-code"> class="hljs-ln-line"> this.searchInfo.desc = order === 'descending'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="686"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="687"> class="hljs-ln-code"> class="hljs-ln-line"> this.getTableData()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="688"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="689"> class="hljs-ln-code"> class="hljs-ln-line"> // 条件搜索前端看此方法
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="690"> class="hljs-ln-code"> class="hljs-ln-line"> onSubmit () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="691"> class="hljs-ln-code"> class="hljs-ln-line"> this.page = 1
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="692"> class="hljs-ln-code"> class="hljs-ln-line"> this.pageSize = 10
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="693"> class="hljs-ln-code"> class="hljs-ln-line"> this.getTableData()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="694"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="695"> class="hljs-ln-code"> class="hljs-ln-line"> async initForm () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="696"> class="hljs-ln-code"> class="hljs-ln-line"> // this.$refs.articleForm.resetFields()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="697"> class="hljs-ln-code"> class="hljs-ln-line"> this.form = {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="698"> class="hljs-ln-code"> class="hljs-ln-line"> id: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="699"> class="hljs-ln-code"> class="hljs-ln-line"> isRecommend: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="700"> class="hljs-ln-code"> class="hljs-ln-line"> projectId: '1',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="701"> class="hljs-ln-code"> class="hljs-ln-line"> title: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="702"> class="hljs-ln-code"> class="hljs-ln-line"> subtitle: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="703"> class="hljs-ln-code"> class="hljs-ln-line"> picUrl: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="704"> class="hljs-ln-code"> class="hljs-ln-line"> sort: 1,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="705"> class="hljs-ln-code"> class="hljs-ln-line"> detail: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="706"> class="hljs-ln-code"> class="hljs-ln-line"> provinceId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="707"> class="hljs-ln-code"> class="hljs-ln-line"> provinceName: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="708"> class="hljs-ln-code"> class="hljs-ln-line"> cityId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="709"> class="hljs-ln-code"> class="hljs-ln-line"> cityName: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="710"> class="hljs-ln-code"> class="hljs-ln-line"> communityId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="711"> class="hljs-ln-code"> class="hljs-ln-line"> seriesId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="712"> class="hljs-ln-code"> class="hljs-ln-line"> houseTypeId: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="713"> class="hljs-ln-code"> class="hljs-ln-line"> area: '',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="714"> class="hljs-ln-code"> class="hljs-ln-line"> panoramaType: 0,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="715"> class="hljs-ln-code"> class="hljs-ln-line"> panoramaPrefix: ''
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="716"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="717"> class="hljs-ln-code"> class="hljs-ln-line"> await this.getCityLists()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="718"> class="hljs-ln-code"> class="hljs-ln-line"> await this.getProjectList()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="719"> class="hljs-ln-code"> class="hljs-ln-line"> await this.getCommunityList()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="720"> class="hljs-ln-code"> class="hljs-ln-line"> await this.getSeriesList()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="721"> class="hljs-ln-code"> class="hljs-ln-line"> await this.getHouseTypeList()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="722"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="723"> class="hljs-ln-code"> class="hljs-ln-line"> closeDialog () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="724"> class="hljs-ln-code"> class="hljs-ln-line"> // this.initForm()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="725"> class="hljs-ln-code"> class="hljs-ln-line"> this.dialogFormVisible = false
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="726"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="727"> class="hljs-ln-code"> class="hljs-ln-line"> openDialog (type) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="728"> class="hljs-ln-code"> class="hljs-ln-line"> switch (type) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="729"> class="hljs-ln-code"> class="hljs-ln-line"> case 'addArticle':
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="730"> class="hljs-ln-code"> class="hljs-ln-line"> this.initForm()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="731"> class="hljs-ln-code"> class="hljs-ln-line"> this.dialogTitle = '新增案例'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="732"> class="hljs-ln-code"> class="hljs-ln-line"> break
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="733"> class="hljs-ln-code"> class="hljs-ln-line"> case 'edit':
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="734"> class="hljs-ln-code"> class="hljs-ln-line"> this.dialogTitle = '编辑案例'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="735"> class="hljs-ln-code"> class="hljs-ln-line"> break
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="736"> class="hljs-ln-code"> class="hljs-ln-line"> default:
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="737"> class="hljs-ln-code"> class="hljs-ln-line"> break
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="738"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="739"> class="hljs-ln-code"> class="hljs-ln-line"> this.activeName = 'first'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="740"> class="hljs-ln-code"> class="hljs-ln-line"> this.type = type
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="741"> class="hljs-ln-code"> class="hljs-ln-line"> this.dialogFormVisible = true
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="742"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="743"> class="hljs-ln-code"> class="hljs-ln-line"> async editArticle (row) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="744"> class="hljs-ln-code"> class="hljs-ln-line"> // const res = await getArticleById({ id: row.id })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="745"> class="hljs-ln-code"> class="hljs-ln-line"> // if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="746"> class="hljs-ln-code"> class="hljs-ln-line"> // this.form = res.data
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="747"> class="hljs-ln-code"> class="hljs-ln-line"> // this.openDialog('edit')
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="748"> class="hljs-ln-code"> class="hljs-ln-line"> // }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="749"> class="hljs-ln-code"> class="hljs-ln-line"> // this.initForm()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="750"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="751"> class="hljs-ln-code"> class="hljs-ln-line"> console.log(2222, row)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="752"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="753"> class="hljs-ln-code"> class="hljs-ln-line"> // this.$nextTick(() => {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="754"> class="hljs-ln-code"> class="hljs-ln-line"> this.form = row
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="755"> class="hljs-ln-code"> class="hljs-ln-line"> this.communityId = row.communityId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="756"> class="hljs-ln-code"> class="hljs-ln-line"> this.projectId = row.projectId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="757"> class="hljs-ln-code"> class="hljs-ln-line"> this.provinceId = row.provinceId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="758"> class="hljs-ln-code"> class="hljs-ln-line"> this.cityId = row.cityId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="759"> class="hljs-ln-code"> class="hljs-ln-line"> this.houseTypeId = row.houseTypeId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="760"> class="hljs-ln-code"> class="hljs-ln-line"> this.seriesId = row.seriesId
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="761"> class="hljs-ln-code"> class="hljs-ln-line"> this.isRecommend = Number(row.isRecommend)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="762"> class="hljs-ln-code"> class="hljs-ln-line"> // this.form.isRecommend = Number(row.isRecommend)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="763"> class="hljs-ln-code"> class="hljs-ln-line"> // this.form.isShow = Number(row.isShow)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="764"> class="hljs-ln-code"> class="hljs-ln-line"> // this.openDialog('edit')
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="765"> class="hljs-ln-code"> class="hljs-ln-line"> // })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="766"> class="hljs-ln-code"> class="hljs-ln-line"> this.openDialog('edit')
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="767"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="768"> class="hljs-ln-code"> class="hljs-ln-line"> async deleteArticle (row) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="769"> class="hljs-ln-code"> class="hljs-ln-line"> this.$confirm(
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="770"> class="hljs-ln-code"> class="hljs-ln-line"> '此操作将永久删除该条记录, 是否继续?',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="771"> class="hljs-ln-code"> class="hljs-ln-line"> '提示',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="772"> class="hljs-ln-code"> class="hljs-ln-line"> {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="773"> class="hljs-ln-code"> class="hljs-ln-line"> confirmButtonText: '确定',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="774"> class="hljs-ln-code"> class="hljs-ln-line"> cancelButtonText: '取消',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="775"> class="hljs-ln-code"> class="hljs-ln-line"> type: 'warning'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="776"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="777"> class="hljs-ln-code"> class="hljs-ln-line"> )
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="778"> class="hljs-ln-code"> class="hljs-ln-line"> .then(async () => {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="779"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await deleteArticle({ id: row.id })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="780"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="781"> class="hljs-ln-code"> class="hljs-ln-line"> this.$message({
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="782"> class="hljs-ln-code"> class="hljs-ln-line"> type: 'success',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="783"> class="hljs-ln-code"> class="hljs-ln-line"> message: '删除成功!'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="784"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="785"> class="hljs-ln-code"> class="hljs-ln-line"> if (this.tableData.length === 1 && this.page > 1) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="786"> class="hljs-ln-code"> class="hljs-ln-line"> this.page--
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="787"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="788"> class="hljs-ln-code"> class="hljs-ln-line"> this.getTableData()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="789"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="790"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="791"> class="hljs-ln-code"> class="hljs-ln-line"> .catch(() => {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="792"> class="hljs-ln-code"> class="hljs-ln-line"> this.$message({
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="793"> class="hljs-ln-code"> class="hljs-ln-line"> type: 'info',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="794"> class="hljs-ln-code"> class="hljs-ln-line"> message: '已取消删除'
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="795"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="796"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="797"> class="hljs-ln-code"> class="hljs-ln-line"> },
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="798"> class="hljs-ln-code"> class="hljs-ln-line"> async enterDialog () {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="799"> class="hljs-ln-code"> class="hljs-ln-line"> this.$refs.articleForm.validate(async valid => {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="800"> class="hljs-ln-code"> class="hljs-ln-line"> if (valid) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="801"> class="hljs-ln-code"> class="hljs-ln-line"> for (let i = 0; i < this.panoramaList.length; i++) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="802"> class="hljs-ln-code"> class="hljs-ln-line"> if (this.form.panoramaType == this.panoramaList[i].value) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="803"> class="hljs-ln-code"> class="hljs-ln-line"> this.form.panoramaPrefix = this.panoramaList[i].prefix
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="804"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="805"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="806"> class="hljs-ln-code"> class="hljs-ln-line"> // this.form.mentorId = Number(this.form.mentorId)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="807"> class="hljs-ln-code"> class="hljs-ln-line"> switch (this.type) {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="808"> class="hljs-ln-code"> class="hljs-ln-line"> case 'addArticle':
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="809"> class="hljs-ln-code"> class="hljs-ln-line"> {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="810"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await createArticle(this.form)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="811"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="812"> class="hljs-ln-code"> class="hljs-ln-line"> this.$message({
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="813"> class="hljs-ln-code"> class="hljs-ln-line"> type: 'success',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="814"> class="hljs-ln-code"> class="hljs-ln-line"> message: '添加成功',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="815"> class="hljs-ln-code"> class="hljs-ln-line"> showClose: true
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="816"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="817"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="818"> class="hljs-ln-code"> class="hljs-ln-line"> this.getTableData()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="819"> class="hljs-ln-code"> class="hljs-ln-line"> this.closeDialog()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="820"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="821"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="822"> class="hljs-ln-code"> class="hljs-ln-line"> break
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="823"> class="hljs-ln-code"> class="hljs-ln-line"> case 'edit':
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="824"> class="hljs-ln-code"> class="hljs-ln-line"> {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="825"> class="hljs-ln-code"> class="hljs-ln-line"> const res = await updateArticle(this.form)
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="826"> class="hljs-ln-code"> class="hljs-ln-line"> if (res.code === '0') {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="827"> class="hljs-ln-code"> class="hljs-ln-line"> this.$message({
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="828"> class="hljs-ln-code"> class="hljs-ln-line"> type: 'success',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="829"> class="hljs-ln-code"> class="hljs-ln-line"> message: '编辑成功',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="830"> class="hljs-ln-code"> class="hljs-ln-line"> showClose: true
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="831"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="832"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="833"> class="hljs-ln-code"> class="hljs-ln-line"> this.getTableData()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="834"> class="hljs-ln-code"> class="hljs-ln-line"> this.closeDialog()
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="835"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="836"> class="hljs-ln-code"> class="hljs-ln-line"> break
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="837"> class="hljs-ln-code"> class="hljs-ln-line"> default:
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="838"> class="hljs-ln-code"> class="hljs-ln-line"> // eslint-disable-next-line no-lone-blocks
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="839"> class="hljs-ln-code"> class="hljs-ln-line"> {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="840"> class="hljs-ln-code"> class="hljs-ln-line"> this.$message({
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="841"> class="hljs-ln-code"> class="hljs-ln-line"> type: 'error',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="842"> class="hljs-ln-code"> class="hljs-ln-line"> message: '未知操作',
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="843"> class="hljs-ln-code"> class="hljs-ln-line"> showClose: true
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="844"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="845"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="846"> class="hljs-ln-code"> class="hljs-ln-line"> break
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="847"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="848"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="849"> class="hljs-ln-code"> class="hljs-ln-line"> })
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="850"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="851"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="852"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="853"> class="hljs-ln-code"> class="hljs-ln-line">script>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="854"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="855"> class="hljs-ln-code"> class="hljs-ln-line"><style scoped lang="scss">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="856"> class="hljs-ln-code"> class="hljs-ln-line">.button-box {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="857"> class="hljs-ln-code"> class="hljs-ln-line"> padding: 10px 20px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="858"> class="hljs-ln-code"> class="hljs-ln-line"> .el-button {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="859"> class="hljs-ln-code"> class="hljs-ln-line"> float: right;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="860"> class="hljs-ln-code"> class="hljs-ln-line"> }
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="861"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="862"> class="hljs-ln-code"> class="hljs-ln-line">.el-tag--mini {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="863"> class="hljs-ln-code"> class="hljs-ln-line"> margin-left: 5px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="864"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="865"> class="hljs-ln-code"> class="hljs-ln-line">.warning {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="866"> class="hljs-ln-code"> class="hljs-ln-line"> color: #dc143c;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="867"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="868"> class="hljs-ln-code"> class="hljs-ln-line">.quill-editor {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="869"> class="hljs-ln-code"> class="hljs-ln-line"> height: 400px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="870"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="871"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="872"> class="hljs-ln-code"> class="hljs-ln-line">.editor {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="873"> class="hljs-ln-code"> class="hljs-ln-line"> line-height: normal !important;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="874"> class="hljs-ln-code"> class="hljs-ln-line"> height: 400px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="875"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="876"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-tooltip[data-mode="link"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="877"> class="hljs-ln-code"> class="hljs-ln-line"> content: "请输入链接地址:";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="878"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="879"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="880"> class="hljs-ln-code"> class="hljs-ln-line"> border-right: 0px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="881"> class="hljs-ln-code"> class="hljs-ln-line"> content: "保存";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="882"> class="hljs-ln-code"> class="hljs-ln-line"> padding-right: 0px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="883"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="884"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="885"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="886"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="887"> class="hljs-ln-code"> class="hljs-ln-line"> content: "14px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="888"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="889"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="890"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="891"> class="hljs-ln-code"> class="hljs-ln-line"> content: "10px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="892"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="893"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="894"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="895"> class="hljs-ln-code"> class="hljs-ln-line"> content: "18px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="896"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="897"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="898"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="899"> class="hljs-ln-code"> class="hljs-ln-line"> content: "32px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="900"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="901"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="902"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-label::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="903"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-item::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="904"> class="hljs-ln-code"> class="hljs-ln-line"> content: "文本";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="905"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="906"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="907"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="908"> class="hljs-ln-code"> class="hljs-ln-line"> content: "标题1";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="909"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="910"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="911"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="912"> class="hljs-ln-code"> class="hljs-ln-line"> content: "标题2";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="913"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="914"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="915"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="916"> class="hljs-ln-code"> class="hljs-ln-line"> content: "标题3";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="917"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="918"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="919"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="920"> class="hljs-ln-code"> class="hljs-ln-line"> content: "标题4";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="921"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="922"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="923"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="924"> class="hljs-ln-code"> class="hljs-ln-line"> content: "标题5";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="925"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="926"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="927"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="928"> class="hljs-ln-code"> class="hljs-ln-line"> content: "标题6";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="929"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="930"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="931"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="932"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="933"> class="hljs-ln-code"> class="hljs-ln-line"> content: "标准字体";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="934"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="935"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="serif"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="936"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="937"> class="hljs-ln-code"> class="hljs-ln-line"> content: "衬线字体";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="938"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="939"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="940"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="941"> class="hljs-ln-code"> class="hljs-ln-line"> content: "等宽字体";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="942"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="943"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="944"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="12"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="945"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="12"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="946"> class="hljs-ln-code"> class="hljs-ln-line"> content: "12px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="947"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="948"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="949"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="14"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="950"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="14"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="951"> class="hljs-ln-code"> class="hljs-ln-line"> content: "14px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="952"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="953"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="954"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="16"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="955"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="16"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="956"> class="hljs-ln-code"> class="hljs-ln-line"> content: "16px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="957"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="958"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="959"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="18"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="960"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="18"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="961"> class="hljs-ln-code"> class="hljs-ln-line"> content: "18px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="962"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="963"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="964"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="20"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="965"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="20"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="966"> class="hljs-ln-code"> class="hljs-ln-line"> content: "20px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="967"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="968"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="969"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="22"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="970"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="22"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="971"> class="hljs-ln-code"> class="hljs-ln-line"> content: "22px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="972"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="973"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="974"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="24"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="975"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="24"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="976"> class="hljs-ln-code"> class="hljs-ln-line"> content: "24px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="977"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="978"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="979"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="28"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="980"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="981"> class="hljs-ln-code"> class="hljs-ln-line"> content: "28px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="982"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="983"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="984"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="32"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="985"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="32"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="986"> class="hljs-ln-code"> class="hljs-ln-line"> content: "32px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="987"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="988"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="989"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="36"]::before,
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="990"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="36"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="991"> class="hljs-ln-code"> class="hljs-ln-line"> content: "36px";
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="992"> class="hljs-ln-code"> class="hljs-ln-line"> vertical-align: top;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="993"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="994"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="995"> class="hljs-ln-code"> class="hljs-ln-line">/* 这个是字号数字对应的px值 */
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="996"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-12 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="997"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 12px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="998"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="999"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-14 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1000"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 14px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1001"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1002"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-16 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1003"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 16px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1004"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1005"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-18 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1006"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 18px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1007"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1008"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-20 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1009"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 20px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1010"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1011"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-22 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1012"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 22px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1013"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1014"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-24 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1015"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 24px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1016"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1017"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-28 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1018"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 28px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1019"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1020"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-32 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1021"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 32px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1022"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1023"> class="hljs-ln-code"> class="hljs-ln-line">.ql-editor .ql-size-36 {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1024"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 36px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1025"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1026"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1027"> class="hljs-ln-code"> class="hljs-ln-line">/* 选择字号富文本字的大小 */
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1028"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="12"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1029"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 12px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1030"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1031"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="14"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1032"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 14px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1033"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1034"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="16"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1035"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 16px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1036"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1037"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="18"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1038"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 18px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1039"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1040"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="20"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1041"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 20px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1042"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1043"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="22"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1044"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 22px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1045"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1046"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="24"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1047"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 24px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1048"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1049"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1050"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 28px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1051"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1052"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="32"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1053"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 32px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1054"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1055"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="36"]::before {
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1056"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 36px;
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1057"> class="hljs-ln-code"> class="hljs-ln-line">}
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1058"> class="hljs-ln-code"> class="hljs-ln-line">style>
  • class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1059"> class="hljs-ln-code"> class="hljs-ln-line">
  • class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

    quillEditor.css

    1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimHei]::before,
    2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimHei]::before {
    3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line"> content: "黑体";
    4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "SimHei";
    5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line">}
    6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line">
    7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Microsoft-YaHei]::before,
    8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Microsoft-YaHei]::before {
    9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line"> content: "微软雅黑";
    10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "Microsoft YaHei";
    11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line">}
    12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line">
    13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=KaiTi]::before,
    14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=KaiTi]::before {
    15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line"> content: "楷体";
    16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "KaiTi";
    17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line">}
    18. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="18"> class="hljs-ln-code"> class="hljs-ln-line">
    19. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="19"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=FangSong]::before,
    20. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="20"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=FangSong]::before {
    21. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="21"> class="hljs-ln-code"> class="hljs-ln-line"> content: "仿宋";
    22. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="22"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "FangSong";
    23. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="23"> class="hljs-ln-code"> class="hljs-ln-line">}
    24. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="24"> class="hljs-ln-code"> class="hljs-ln-line">
    25. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="25"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Arial]::before,
    26. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="26"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Arial]::before {
    27. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="27"> class="hljs-ln-code"> class="hljs-ln-line"> content: "Arial";
    28. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="28"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "Arial";
    29. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="29"> class="hljs-ln-code"> class="hljs-ln-line">}
    30. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="30"> class="hljs-ln-code"> class="hljs-ln-line">
    31. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="31"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Times-New-Roman]::before,
    32. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="32"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Times-New-Roman]::before {
    33. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="33"> class="hljs-ln-code"> class="hljs-ln-line"> content: "Times New Roman";
    34. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="34"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "Times New Roman";
    35. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="35"> class="hljs-ln-code"> class="hljs-ln-line">}
    36. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="36"> class="hljs-ln-code"> class="hljs-ln-line">
    37. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="37"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=sans-serif]::before,
    38. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="38"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=sans-serif]::before {
    39. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="39"> class="hljs-ln-code"> class="hljs-ln-line"> content: "sans-serif";
    40. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="40"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "sans-serif";
    41. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="41"> class="hljs-ln-code"> class="hljs-ln-line">}
    42. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="42"> class="hljs-ln-code"> class="hljs-ln-line">
    43. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="43"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-SimSun {
    44. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="44"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "SimSun";
    45. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="45"> class="hljs-ln-code"> class="hljs-ln-line">}
    46. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="46"> class="hljs-ln-code"> class="hljs-ln-line">
    47. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="47"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-SimHei {
    48. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="48"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "SimHei";
    49. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="49"> class="hljs-ln-code"> class="hljs-ln-line">}
    50. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="50"> class="hljs-ln-code"> class="hljs-ln-line">
    51. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="51"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-Microsoft-YaHei {
    52. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="52"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "Microsoft YaHei";
    53. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="53"> class="hljs-ln-code"> class="hljs-ln-line">}
    54. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="54"> class="hljs-ln-code"> class="hljs-ln-line">
    55. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="55"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-KaiTi {
    56. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="56"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "KaiTi";
    57. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="57"> class="hljs-ln-code"> class="hljs-ln-line">}
    58. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="58"> class="hljs-ln-code"> class="hljs-ln-line">
    59. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="59"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-FangSong {
    60. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="60"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "FangSong";
    61. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="61"> class="hljs-ln-code"> class="hljs-ln-line">}
    62. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="62"> class="hljs-ln-code"> class="hljs-ln-line">
    63. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="63"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-Arial {
    64. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="64"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "Arial";
    65. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="65"> class="hljs-ln-code"> class="hljs-ln-line">}
    66. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="66"> class="hljs-ln-code"> class="hljs-ln-line">
    67. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="67"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-Times-New-Roman {
    68. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="68"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "Times New Roman";
    69. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="69"> class="hljs-ln-code"> class="hljs-ln-line">}
    70. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="70"> class="hljs-ln-code"> class="hljs-ln-line">
    71. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="71"> class="hljs-ln-code"> class="hljs-ln-line">.ql-font-sans-serif {
    72. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="72"> class="hljs-ln-code"> class="hljs-ln-line"> font-family: "sans-serif";
    73. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="73"> class="hljs-ln-code"> class="hljs-ln-line">}
    74. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="74"> class="hljs-ln-code"> class="hljs-ln-line">
    75. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="75"> class="hljs-ln-code"> class="hljs-ln-line">/* 字号设置 */
    76. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="76"> class="hljs-ln-code"> class="hljs-ln-line">/* 默认字号 */
    77. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="77"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label::before,
    78. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="78"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item::before {
    79. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="79"> class="hljs-ln-code"> class="hljs-ln-line"> content: "14px";
    80. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="80"> class="hljs-ln-code"> class="hljs-ln-line">}
    81. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="81"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="12px"]::before,
    82. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="82"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="12px"]::before {
    83. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="83"> class="hljs-ln-code"> class="hljs-ln-line"> content: "12px";
    84. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="84"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 12px;
    85. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="85"> class="hljs-ln-code"> class="hljs-ln-line">}
    86. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="86"> class="hljs-ln-code"> class="hljs-ln-line">
    87. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="87"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="14px"]::before,
    88. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="88"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="14px"]::before {
    89. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="89"> class="hljs-ln-code"> class="hljs-ln-line"> content: "14px";
    90. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="90"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 14px;
    91. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="91"> class="hljs-ln-code"> class="hljs-ln-line">}
    92. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="92"> class="hljs-ln-code"> class="hljs-ln-line">
    93. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="93"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-14px {
    94. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="94"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 14px;
    95. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="95"> class="hljs-ln-code"> class="hljs-ln-line">}
    96. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="96"> class="hljs-ln-code"> class="hljs-ln-line">
    97. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="97"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="16px"]::before,
    98. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="98"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="16px"]::before {
    99. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="99"> class="hljs-ln-code"> class="hljs-ln-line"> content: "16px";
    100. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="100"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 16px;
    101. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="101"> class="hljs-ln-code"> class="hljs-ln-line">}
    102. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="102"> class="hljs-ln-code"> class="hljs-ln-line">
    103. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="103"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-16px {
    104. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="104"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 16px;
    105. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="105"> class="hljs-ln-code"> class="hljs-ln-line">}
    106. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="106"> class="hljs-ln-code"> class="hljs-ln-line">
    107. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="107"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="18px"]::before,
    108. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="108"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="18px"]::before {
    109. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="109"> class="hljs-ln-code"> class="hljs-ln-line"> content: "18px";
    110. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="110"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 18px;
    111. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="111"> class="hljs-ln-code"> class="hljs-ln-line">}
    112. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="112"> class="hljs-ln-code"> class="hljs-ln-line">
    113. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="113"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-18px {
    114. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="114"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 18px;
    115. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="115"> class="hljs-ln-code"> class="hljs-ln-line">}
    116. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="116"> class="hljs-ln-code"> class="hljs-ln-line">
    117. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="117"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="20px"]::before,
    118. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="118"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="20px"]::before {
    119. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="119"> class="hljs-ln-code"> class="hljs-ln-line"> content: "20px";
    120. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="120"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 20px;
    121. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="121"> class="hljs-ln-code"> class="hljs-ln-line">}
    122. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="122"> class="hljs-ln-code"> class="hljs-ln-line">
    123. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="123"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-20px {
    124. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="124"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 20px;
    125. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="125"> class="hljs-ln-code"> class="hljs-ln-line">}
    126. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="126"> class="hljs-ln-code"> class="hljs-ln-line">
    127. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="127"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="22px"]::before,
    128. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="128"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="22px"]::before {
    129. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="129"> class="hljs-ln-code"> class="hljs-ln-line"> content: "22px";
    130. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="130"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 22px;
    131. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="131"> class="hljs-ln-code"> class="hljs-ln-line">}
    132. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="132"> class="hljs-ln-code"> class="hljs-ln-line">
    133. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="133"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-22px {
    134. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="134"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 22px;
    135. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="135"> class="hljs-ln-code"> class="hljs-ln-line">}
    136. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="136"> class="hljs-ln-code"> class="hljs-ln-line">
    137. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="137"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="26px"]::before,
    138. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="138"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="26px"]::before {
    139. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="139"> class="hljs-ln-code"> class="hljs-ln-line"> content: "26px";
    140. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="140"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 26px;
    141. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="141"> class="hljs-ln-code"> class="hljs-ln-line">}
    142. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="142"> class="hljs-ln-code"> class="hljs-ln-line">
    143. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="143"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-26px {
    144. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="144"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 26px;
    145. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="145"> class="hljs-ln-code"> class="hljs-ln-line">}
    146. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="146"> class="hljs-ln-code"> class="hljs-ln-line">
    147. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="147"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="28px"]::before,
    148. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="148"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28px"]::before {
    149. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="149"> class="hljs-ln-code"> class="hljs-ln-line"> content: "28px";
    150. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="150"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 28px;
    151. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="151"> class="hljs-ln-code"> class="hljs-ln-line">}
    152. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="152"> class="hljs-ln-code"> class="hljs-ln-line">
    153. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="153"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-28px {
    154. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="154"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 28px;
    155. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="155"> class="hljs-ln-code"> class="hljs-ln-line">}
    156. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="156"> class="hljs-ln-code"> class="hljs-ln-line">
    157. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="157"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="30px"]::before,
    158. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="158"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="30px"]::before {
    159. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="159"> class="hljs-ln-code"> class="hljs-ln-line"> content: "30px";
    160. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="160"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 30px;
    161. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="161"> class="hljs-ln-code"> class="hljs-ln-line">}
    162. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="162"> class="hljs-ln-code"> class="hljs-ln-line">
    163. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="163"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-30px {
    164. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="164"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 30px;
    165. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="165"> class="hljs-ln-code"> class="hljs-ln-line">}
    166. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="166"> class="hljs-ln-code"> class="hljs-ln-line">
    167. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="167"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="32px"]::before,
    168. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="168"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="32px"]::before {
    169. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="169"> class="hljs-ln-code"> class="hljs-ln-line"> content: "32px";
    170. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="170"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 32px;
    171. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="171"> class="hljs-ln-code"> class="hljs-ln-line">}
    172. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="172"> class="hljs-ln-code"> class="hljs-ln-line">
    173. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="173"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-32px {
    174. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="174"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 32px;
    175. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="175"> class="hljs-ln-code"> class="hljs-ln-line">}
    176. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="176"> class="hljs-ln-code"> class="hljs-ln-line">
    177. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="177"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="36px"]::before,
    178. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="178"> class="hljs-ln-code"> class="hljs-ln-line">.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="36px"]::before {
    179. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="179"> class="hljs-ln-code"> class="hljs-ln-line"> content: "36px";
    180. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="180"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 36px;
    181. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="181"> class="hljs-ln-code"> class="hljs-ln-line">}
    182. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="182"> class="hljs-ln-code"> class="hljs-ln-line">
    183. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="183"> class="hljs-ln-code"> class="hljs-ln-line">.ql-size-36px {
    184. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="184"> class="hljs-ln-code"> class="hljs-ln-line"> font-size: 36px;
    185. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="185"> class="hljs-ln-code"> class="hljs-ln-line">}
    186. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="186"> class="hljs-ln-code"> class="hljs-ln-line">
    187. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="187"> class="hljs-ln-code"> class="hljs-ln-line">
    class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

    config.js

    1. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="1"> class="hljs-ln-code"> class="hljs-ln-line">export const titleConfig = [
    2. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="2"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-bold', title: '加粗' },
    3. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="3"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-italic', title: '斜体' },
    4. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="4"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-underline', title: '下划线' },
    5. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="5"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header', title: '段落格式' },
    6. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="6"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-strike', title: '删除线' },
    7. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="7"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-blockquote', title: '块引用' },
    8. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="8"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-code', title: '插入代码' },
    9. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="9"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-code-block', title: '插入代码段' },
    10. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="10"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-font', title: '字体' },
    11. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="11"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-size', title: '字体大小' },
    12. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="12"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-list[value="ordered"]', title: '编号列表' },
    13. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="13"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-list[value="bullet"]', title: '项目列表' },
    14. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="14"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-direction', title: '文本方向' },
    15. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="15"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header[value="1"]', title: 'h1标题' },
    16. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="16"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header[value="2"]', title: 'h2标题' },
    17. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="17"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-align', title: '对齐方式' },
    18. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="18"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-color', title: '字体颜色' },
    19. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="19"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-background', title: '背景颜色' },
    20. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="20"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-image', title: '图像' },
    21. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="21"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-video', title: '视频' },
    22. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="22"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-link', title: '添加链接' },
    23. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="23"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-table', title: '添加表格' },
    24. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="24"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-formula', title: '插入公式' },
    25. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="25"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-clean', title: '清除字体格式' },
    26. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="26"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-script[value="sub"]', title: '下标' },
    27. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="27"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-script[value="super"]', title: '上标' },
    28. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="28"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-indent[value="-1"]', title: '向左缩进' },
    29. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="29"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-indent[value="+1"]', title: '向右缩进' },
    30. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="30"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-label', title: '标题大小' },
    31. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="31"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-item[data-value="1"]', title: '标题一' },
    32. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="32"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-item[data-value="2"]', title: '标题二' },
    33. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="33"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-item[data-value="3"]', title: '标题三' },
    34. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="34"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-item[data-value="4"]', title: '标题四' },
    35. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="35"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-item[data-value="5"]', title: '标题五' },
    36. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="36"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-item[data-value="6"]', title: '标题六' },
    37. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="37"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-header .ql-picker-item:last-child', title: '标准' },
    38. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="38"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-size .ql-picker-item[data-value="small"]', title: '小号' },
    39. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="39"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-size .ql-picker-item[data-value="large"]', title: '大号' },
    40. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="40"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-size .ql-picker-item[data-value="huge"]', title: '超大号' },
    41. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="41"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-size .ql-picker-item:nth-child(2)', title: '标准' },
    42. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="42"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-align', title: '文本对齐' },
    43. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="43"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-align .ql-picker-item:first-child', title: '居左对齐' },
    44. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="44"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-align .ql-picker-item[data-value="center"]', title: '居中对齐' },
    45. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="45"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-align .ql-picker-item[data-value="right"]', title: '居右对齐' },
    46. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="46"> class="hljs-ln-code"> class="hljs-ln-line"> { Choice: '.ql-align .ql-picker-item[data-value="justify"]', title: '两端对齐' }
    47. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="47"> class="hljs-ln-code"> class="hljs-ln-line">]
    48. class="hljs-ln-numbers"> class="hljs-ln-line hljs-ln-n" data-line-number="48"> class="hljs-ln-code"> class="hljs-ln-line">
    class="hide-preCode-box"> class="hljs-button signin active" data-title="登录复制" data-report-click="{"spm":"1001.2101.3001.4334"}" onclick="hljs.signin(event)">

    >>
    注:本文转载自blog.csdn.net的会飞的胖达喵的文章"https://blog.csdn.net/lengyue1084/article/details/146027705"。版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。如有侵权,请联系我们删除。

    评论记录:

    未查询到任何数据!