admin/src/views/modules/liuyanbanguanli/add-or-update.vue

(开头部分) 6KB

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

<template>
  <div>
    <el-form
      class="detail-form-content"
      ref="ruleForm"
      :model="ruleForm"
      :rules="rules"
      label-width="80px"
    >
      <el-row>
        <el-col :span="12">
          <el-form-item v-if="type!='info'" label="留言人用户名" prop="username">
            <el-input v-model="ruleForm.username" placeholder="留言人用户名" clearable readonly></el-input>
          </el-form-item>
          <div v-else>
            <el-form-item v-if="ruleForm.username" label="留言人用户名" prop="username">
              <el-input v-model="ruleForm.username" placeholder="留言人用户名" readonly></el-input>
            </el-form-item>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24">
          <el-form-item v-if="type!='info'" label="留言内容" prop="content">
            <el-input
              style="min-width: 200px; max-width: 600px;"
              type="textarea"
              :rows="8"
              placeholder="留言内容"
              v-model="ruleForm.content"
              readonly
            ></el-input>
          </el-form-item>
          <div v-else>
            <el-form-item v-if="ruleForm.content" label="留言内容" prop="content">
              <span>{{ruleForm.content}}</span>
            </el-form-item>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="24">
          <el-form-item v-if="type!='info'" label="回复内容" prop="reply">
            <el-input
              style="min-width: 200px; max-width: 600px;"
              type="textarea"
              :rows="8"
              placeholder="回复内容"
              v-model="ruleForm.reply"
            ></el-input>
          </el-form-item>
          <div v-else>
            <el-form-item v-if="ruleForm.reply" label="回复内容" prop="reply">
              <span>{{ruleForm.reply}}</span>
            </el-form-item>
          </div>
        </el-col>
      </el-row>
      <el-form-item>
        <el-button v-if="type!='info'" type="primary" @click="onSubmit">提交</el-button>
后面还有 197 行代码,购买后查看完整代码

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

AI 解读 AI

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

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