src/SSCMS.Web/Pages/ss-admin/cms/settingsStyleSite.cshtml

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@page
@{ Layout = "_Layout"; }

<div style="height: 10px"></div>

<el-table :data="styles" style="width: 100%">
  <el-table-column label="排序" prop="taxis" width="60">
    <template slot-scope="scope">
      {{ scope.row.taxis ? scope.row.taxis : '' }}
    </template>
  </el-table-column>
  <el-table-column label="字段名" prop="attributeName"></el-table-column>
  <el-table-column label="显示名称" prop="displayName"></el-table-column>
  <el-table-column label="提交类型" width="120">
    <template slot-scope="scope">
      {{ getInputType(scope.row.inputType) }}
    </template>
  </el-table-column>
  <el-table-column label="验证规则">
    <template slot-scope="scope">
      <el-link
        :underline="false"
        v-on:click="btnValidateClick(scope.row.attributeName)"
        type="primary">
        {{ getRules(scope.row.rules) }}
      </el-link>
    </template>
  </el-table-column>
  <el-table-column label="操作" width="130">
    <template slot-scope="scope">
      <el-link
        :underline="false"
        v-on:click="btnEditClick(scope.row.attributeName)"
        type="primary">
        编辑
      </el-link>
      <el-link
        :underline="false"
        v-if="!scope.row.isSystem"
        type="danger"
        v-on:click="btnDeleteClick(scope.row.attributeName)">
        删除
      </el-link>
    </template>
  </el-table-column>
</el-table>

<div style="height: 10px"></div>
<el-divider></el-divider>
<div style="height: 10px"></div>

<el-button size="small" type="primary" plain style="margin-left: 0px;" icon="el-icon-plus" v-on:click="btnAddClick">
  新增字段
</el-button>
<el-button size="small" type="primary" plain style="margin-left: 0px;" icon="el-icon-folder-add" v-on:click="btnAddMultipleClick">
  批量新增字段
</el-button>
<el-button size="small" type="primary" plain style="margin-left: 0px;" icon="el-icon-upload" v-on:click="btnImportClick">
  导 入
</el-button>
后面还有 38 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。