Blame view

src/views/basic/down/client.vue 19.1 KB
4c4f7640   梁保满   路由表,路由前端文件
1
  <template>
560c12f2   阿宝   学校设置,软件下载
2
3
4
5
6
7
8
9
10
    <div class="page-container">
      <back-box>
        <template slot="title">
          <span>授课端下载</span>
        </template>
      </back-box>
      <div class="page-content">
        <div class="content-top">
          <div class="cont-info">
61e05c2e   阿宝   软件下载
11
            <img v-if="info.appImage" class="logo" :src="info.appImage" alt="" />
560c12f2   阿宝   学校设置,软件下载
12
            <div>
8f882f63   阿宝   软件下载调整
13
14
15
              <p class="name">
                {{ `${info.appName || ""} ${info.versionName || ""}` }}
              </p>
560c12f2   阿宝   学校设置,软件下载
16
17
18
19
20
21
              <p class="txt">文件大小:{{ `${info.fileSize}` }}M</p>
              <p class="txt">最近更新:{{ info.modifiedTime }}</p>
            </div>
          </div>
          <div class="down-box">
            <p class="txt">默认参数配置</p>
ead476dd   LH_PC   fix:最终定版
22
23
            <el-button class="down-btn" type="primary"  v-loading="downClientLoading"
              @click="getAppDownloadUrl(false)">立即下载</el-button>
560c12f2   阿宝   学校设置,软件下载
24
25
          </div>
        </div>
575eb544   梁保满   账号异常提示,放开长水学校管理员设...
26
        <!-- <ul class="down-ul">
560c12f2   阿宝   学校设置,软件下载
27
          <li class="down-li" v-for="item in tableData" :key="item.id">
8f882f63   阿宝   软件下载调整
28
29
30
            <span class="p1 ellipsis" @click="setConfigForm(item)">{{
              item.configName
            }}</span>
560c12f2   阿宝   学校设置,软件下载
31
32
33
34
35
36
            <el-button plan round @click="getAppDownloadUrl(item.id)"
              >下载</el-button
            >
          </li>
          <li class="down-li">
            <span>自定义软件功能</span>
61e05c2e   阿宝   软件下载
37
38
39
40
41
42
43
            <el-button
              plan
              round
              icon="el-icon-plus"
              @click="setDefaultForm(), (dialogVis = true), (type = 1)"
              >参数设置</el-button
            >
560c12f2   阿宝   学校设置,软件下载
44
          </li>
575eb544   梁保满   账号异常提示,放开长水学校管理员设...
45
        </ul> -->
560c12f2   阿宝   学校设置,软件下载
46
      </div>
ca39cc52   阿宝   飞书问题处理
47
      <div class="edit-dia" ref="editDia" v-show="dialogVis" height="100%">
560c12f2   阿宝   学校设置,软件下载
48
49
50
        <div class="back">
          <div class="back-l" @click="dialogVis = false">
            <i class="fa fa-mail-reply-all"></i>
ca39cc52   阿宝   飞书问题处理
51
            <p>
e5ff81a1   阿宝   集团管理员接口
52
              {{
ef16e57e   LH_PC   fix:前端版本迭代
53
54
              `${type == 1 ? "参数设置" : formData.configName}`
            }}
ca39cc52   阿宝   飞书问题处理
55
            </p>
560c12f2   阿宝   学校设置,软件下载
56
57
58
          </div>
        </div>
        <div class="form-box">
ef16e57e   LH_PC   fix:前端版本迭代
59
          <el-form ref="forms" :model="formData" :rules="ruleForm" label-width="180px">
dbbfc6c5   梁保满   飞书优化及bug
60
            <el-form-item label="配置名称:" prop="configName" v-if="type == 1">
61e05c2e   阿宝   软件下载
61
              <el-col :span="12">
ef16e57e   LH_PC   fix:前端版本迭代
62
                <el-input v-model.trim="formData.configName" placeholder="请填写配置名称"></el-input>
61e05c2e   阿宝   软件下载
63
64
              </el-col>
            </el-form-item>
560c12f2   阿宝   学校设置,软件下载
65
66
67
            <el-form-item label="主菜单设置:" prop="mainMenu">
              <el-checkbox-group v-model="formData.mainMenu" :max="4">
                <el-checkbox v-for="item in menuList" :label="item" :key="item">{{
ef16e57e   LH_PC   fix:前端版本迭代
68
69
              item
            }}</el-checkbox>
560c12f2   阿宝   学校设置,软件下载
70
71
72
73
74
              </el-checkbox-group>
            </el-form-item>
            <el-form-item label="弹出菜单组:" prop="popupMenu">
              <el-radio-group v-model="formData.popupMenu">
                <p class="popup-menu">
ef16e57e   LH_PC   fix:前端版本迭代
75
76
                  <el-radio :label="1"><span>1:签到点名</span> <span> 2:导入导出</span>
                    <span>3:班级管理</span> <span>4:系统设置</span></el-radio>
560c12f2   阿宝   学校设置,软件下载
77
78
79
80
                </p>
                <p class="popup-menu popup-menu1">
                  <el-radio :label="2">
                    <span>1:签到点名</span> <span> 2:导入导出</span>
ef16e57e   LH_PC   fix:前端版本迭代
81
                    <span>3:考试任务</span> <span>4:系统设置</span></el-radio>
560c12f2   阿宝   学校设置,软件下载
82
83
84
85
86
                </p>
              </el-radio-group>
            </el-form-item>
            <el-form-item label="成绩等级设置:">
              <el-col :span="12">
61e05c2e   阿宝   软件下载
87
88
                <div class="silde-box">
                  <p class="silde-p">
ef16e57e   LH_PC   fix:前端版本迭代
89
90
91
                    <span class="num" :style="{ left: formData.failedSet + '%' }">{{ formData.failedSet }}%</span>
                    <el-slider v-model="formData.failedSet" :show-tooltip="false"></el-slider><span class="txt"
                      :style="{ left: formData.failedSet + '%' }">不及格</span>
61e05c2e   阿宝   软件下载
92
93
                  </p>
                  <p class="silde-p">
ef16e57e   LH_PC   fix:前端版本迭代
94
95
96
                    <span class="num" :style="{ left: formData.passSet + '%' }">{{ formData.passSet }}%</span>
                    <el-slider v-model="formData.passSet" :show-tooltip="false"></el-slider><span class="txt"
                      :style="{ left: formData.passSet + '%' }">及格</span>
61e05c2e   阿宝   软件下载
97
98
                  </p>
                  <p class="silde-p">
ef16e57e   LH_PC   fix:前端版本迭代
99
100
101
                    <span class="num" :style="{ left: formData.goodSet + '%' }">{{ formData.goodSet }}%</span>
                    <el-slider v-model="formData.goodSet" :show-tooltip="false"></el-slider><span class="txt"
                      :style="{ left: formData.goodSet + '%' }">良好</span>
61e05c2e   阿宝   软件下载
102
103
                  </p>
                  <p class="silde-p">
ef16e57e   LH_PC   fix:前端版本迭代
104
105
106
                    <span class="num" :style="{ left: formData.excellenSet + '%' }">{{ formData.excellenSet }}%</span>
                    <el-slider v-model="formData.excellenSet" :show-tooltip="false"></el-slider><span class="txt"
                      :style="{ left: formData.excellenSet + '%' }">优秀</span>
61e05c2e   阿宝   软件下载
107
108
                  </p>
                </div>
560c12f2   阿宝   学校设置,软件下载
109
110
111
              </el-col>
            </el-form-item>
            <el-form-item label="抢答设置:" prop="viesAnswerSet">
61e05c2e   阿宝   软件下载
112
              <el-radio-group v-model="formData.viesAnswerSet">
560c12f2   阿宝   学校设置,软件下载
113
114
115
116
                <el-radio :label="0">倒计时抢答</el-radio>
                <el-radio :label="1">即时抢答</el-radio>
                <el-radio :label="2">老师选择</el-radio>
              </el-radio-group>
ef16e57e   LH_PC   fix:前端版本迭代
117
118
              <el-input-number v-show="formData.viesAnswerSet === 0" size="small" class="count-down"
                v-model="formData.countdown" :step="1" :step-strictly="true"></el-input-number>
dbbfc6c5   梁保满   飞书优化及bug
119
              <span v-show="formData.viesAnswerSet == 0">秒</span>
560c12f2   阿宝   学校设置,软件下载
120
            </el-form-item>
61e05c2e   阿宝   软件下载
121
            <el-form-item label="抽答设置:" prop="ballotAnswerSet">
560c12f2   阿宝   学校设置,软件下载
122
123
124
125
126
              <el-radio-group v-model="formData.ballotAnswerSet">
                <el-radio :label="0">点名抽答</el-radio>
                <el-radio :label="1">随机抽答</el-radio>
              </el-radio-group>
            </el-form-item>
61e05c2e   阿宝   软件下载
127
            <el-form-item label="单选题选项默认个数:" prop="singleChoiceNum">
ef16e57e   LH_PC   fix:前端版本迭代
128
129
              <el-input-number size="small" class="count-down count-down2" v-model="formData.singleChoiceNum" :min="2"
                :max="7" :step="1" :step-strictly="true"></el-input-number>个
61e05c2e   阿宝   软件下载
130
            </el-form-item>
aeac66d4   阿宝   飞书测试bug
131
            <el-form-item label="多选题选项默认个数:" prop="multipleChoiceNum">
ef16e57e   LH_PC   fix:前端版本迭代
132
133
              <el-input-number size="small" class="count-down count-down2" v-model="formData.multipleChoiceNum" :min="2"
                :max="7" :step="1" :step-strictly="true"></el-input-number>个
61e05c2e   阿宝   软件下载
134
135
            </el-form-item>
            <el-form-item label="测—单题型默认题数:" prop="singleTypeNum">
ef16e57e   LH_PC   fix:前端版本迭代
136
137
              <el-input-number size="small" class="count-down count-down2" v-model="formData.singleTypeNum" :min="2"
                :max="25" :step="1" :step-strictly="true"></el-input-number>个
61e05c2e   阿宝   软件下载
138
139
140
            </el-form-item>
            <el-form-item label="问—倒计时:" prop="askCountdown">
              <el-switch v-model="askCount" @change="askCountChange"> </el-switch>
ef16e57e   LH_PC   fix:前端版本迭代
141
142
              <el-input-number v-show="askCount" size="small" class="count-down" v-model="formData.askCountdown" :min="0"
                :step="1" :step-strictly="true"></el-input-number>
61e05c2e   阿宝   软件下载
143
144
145
146
147
              {{ askCount ? "秒" : "" }}
            </el-form-item>
            <el-form-item label="测—倒计时:" prop="viesAnswerSet">
              <el-switch v-model="examsDuration" @change="examsDurationChange">
              </el-switch>
ef16e57e   LH_PC   fix:前端版本迭代
148
149
              <el-input-number v-show="examsDuration" size="small" class="count-down" v-model="formData.examsDuration"
                :min="0" :step="1" :step-strictly="true"></el-input-number>
0a4de034   阿宝   教师管理,学生管理班级设置
150
              {{ examsDuration ? "分" : "" }}
61e05c2e   阿宝   软件下载
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
            </el-form-item>
            <el-form-item label="答题结构展示:" prop="displayModel">
              <el-radio-group v-model="formData.displayModel">
                <el-radio :label="0">极简模式</el-radio>
                <el-radio :label="1">全屏模式</el-radio>
              </el-radio-group>
            </el-form-item>
            <el-form-item label="语言设置:" prop="languageSet">
              <el-radio-group v-model="formData.languageSet">
                <el-radio :label="0">中文</el-radio>
                <el-radio :label="1">英文</el-radio>
              </el-radio-group>
            </el-form-item>
            <el-form-item label="其他设置:">
              <el-checkbox-group v-model="formData.otherSet">
                <p>
                  <el-checkbox :label="0">答题结束自动显示答题统计</el-checkbox>
                </p>
                <p><el-checkbox :label="1">答题结束自动保存截屏</el-checkbox></p>
              </el-checkbox-group>
            </el-form-item>
            <el-form-item label=" ">
              <el-button type="primary" round @click="saveForm">保存</el-button>
              <el-button round @click="setDefaultForm">恢复默认设置</el-button>
              <el-button round @click="dialogVis = false">取消</el-button>
            </el-form-item>
560c12f2   阿宝   学校设置,软件下载
177
178
179
180
          </el-form>
        </div>
      </div>
    </div>
4c4f7640   梁保满   路由表,路由前端文件
181
182
183
  </template>
  
  <script>
61e05c2e   阿宝   软件下载
184
185
186
187
188
189
190
191
192
193
194
195
196
  const defaultForm = {
    configName: "",
    mainMenu: ["问"],
    popupMenu: 1,
    failedSet: 60,
    passSet: 80,
    goodSet: 90,
    excellenSet: 98,
    viesAnswerSet: 0,
    countdown: 5,
    ballotAnswerSet: 0,
    singleChoiceNum: 4,
    multipleChoiceNum: 4,
aeac66d4   阿宝   飞书测试bug
197
    singleTypeNum: 25,
61e05c2e   阿宝   软件下载
198
    askCountdown: 30,
225a00b6   梁保满   飞书问题解决
199
    examsDuration: 90,
61e05c2e   阿宝   软件下载
200
201
202
203
    displayModel: 0,
    languageSet: 0,
    otherSet: [],
  };
4c4f7640   梁保满   路由表,路由前端文件
204
  export default {
61e05c2e   阿宝   软件下载
205
206
207
208
209
210
211
212
213
214
215
216
    watch: {
      "formData.askCountdown": function (val) {
        if (val == 0) {
          this.askCount = false;
        }
      },
      "formData.examsDuration": function (val) {
        if (val == 0) {
          this.examsDuration = false;
        }
      },
    },
560c12f2   阿宝   学校设置,软件下载
217
218
219
220
    data() {
      return {
        page: 1,
        size: 20,
61e05c2e   阿宝   软件下载
221
        type: 1, //1-添加;2-修改
560c12f2   阿宝   学校设置,软件下载
222
223
224
225
226
227
228
229
        info: {
          appName: "",
          appImage: "",
          versionName: "",
          fileSize: "",
          modifiedTime: "",
        },
        tableData: [],
61e05c2e   阿宝   软件下载
230
231
232
        dialogVis: false,
        askCount: true,
        examsDuration: true,
ead476dd   LH_PC   fix:最终定版
233
        downClientLoading: false,
8f882f63   阿宝   软件下载调整
234
        configId: "",
560c12f2   阿宝   学校设置,软件下载
235
        formData: {
61e05c2e   阿宝   软件下载
236
          configName: "",
560c12f2   阿宝   学校设置,软件下载
237
238
239
240
241
242
243
244
245
          mainMenu: ["问"],
          popupMenu: 1,
          failedSet: 60,
          passSet: 80,
          goodSet: 90,
          excellenSet: 98,
          viesAnswerSet: 0,
          countdown: 5,
          ballotAnswerSet: 0,
61e05c2e   阿宝   软件下载
246
247
          singleChoiceNum: 4,
          multipleChoiceNum: 4,
aeac66d4   阿宝   飞书测试bug
248
          singleTypeNum: 25,
61e05c2e   阿宝   软件下载
249
          askCountdown: 30,
0a4de034   阿宝   教师管理,学生管理班级设置
250
          examsDuration: 90,
61e05c2e   阿宝   软件下载
251
252
253
          displayModel: 0,
          languageSet: 0,
          otherSet: [],
560c12f2   阿宝   学校设置,软件下载
254
255
        },
        ruleForm: {
61e05c2e   阿宝   软件下载
256
257
258
          configName: [
            { required: true, message: "请填写配置名称", trigger: "blur" },
          ],
ca39cc52   阿宝   飞书问题处理
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
          // mainMenu: [
          //   { required: true, message: "请选择主菜单", trigger: "blur" },
          // ],
          // popupMenu: [
          //   { required: true, message: "请选择弹出菜单", trigger: "blur" },
          // ],
          // viesAnswerSet: [
          //   { required: true, message: "请选择抢答类型", trigger: "blur" },
          // ],
          // countdown: [
          //   { required: true, message: "请输入抢答倒计时", trigger: "blur" },
          // ],
          // ballotAnswerSet: [
          //   { required: true, message: "请选择抽答类型", trigger: "blur" },
          // ],
          // singleChoiceNum: [
          //   {
          //     required: true,
          //     message: "请输入单选题选项默认个数",
          //     trigger: "blur",
          //   },
          // ],
          // multipleChoiceNum: [
          //   {
          //     required: true,
          //     message: "请输入多选题选项默认个数",
          //     trigger: "blur",
          //   },
          // ],
          // singleTypeNum: [
          //   {
          //     required: true,
          //     message: "请输入测—单题型默认题数",
          //     trigger: "blur",
          //   },
          // ],
          // displayModel: [
          //   {
          //     required: true,
          //     message: "请选择答题结构",
          //     trigger: "blur",
          //   },
          // ],
          // languageSet: [
          //   {
          //     required: true,
          //     message: "请选择语言",
          //     trigger: "blur",
          //   },
          // ],
560c12f2   阿宝   学校设置,软件下载
309
310
311
312
313
314
        },
        menuList: ["问", "测", "析"],
      };
    },
    created() {
      this.latestVersion();
b8827a72   梁保满   测试bug
315
      // this.appConfigList();
560c12f2   阿宝   学校设置,软件下载
316
317
    },
    methods: {
61e05c2e   阿宝   软件下载
318
      setConfigForm(obj) {
8f882f63   阿宝   软件下载调整
319
        let content = JSON.parse(obj.content);
e5ff81a1   阿宝   集团管理员接口
320
        this.formData.configName = obj.configName;
61e05c2e   阿宝   软件下载
321
322
323
        for (let key in this.formData) {
          content[key] ? (this.formData[key] = content[key]) : "";
        }
0a4de034   阿宝   教师管理,学生管理班级设置
324
325
326
        this.formData.examsDuration = (this.formData.examsDuration / 60).toFixed(
          0
        );
61e05c2e   阿宝   软件下载
327
        this.type = 2;
8f882f63   阿宝   软件下载调整
328
        (this.configId = obj.id), (this.dialogVis = true);
ca39cc52   阿宝   飞书问题处理
329
330
331
        this.$nextTick(function () {
          this.$refs.editDia.scrollTop = 0;
        });
61e05c2e   阿宝   软件下载
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
      },
      setDefaultForm() {
        for (let key in this.formData) {
          this.formData[key] = defaultForm[key];
        }
      },
      askCountChange(val) {
        if (val) {
          this.formData.askCountdown = 30;
        } else {
          this.formData.askCountdown = 0;
        }
      },
      examsDurationChange(val) {
        if (val) {
0a4de034   阿宝   教师管理,学生管理班级设置
347
          this.formData.examsDuration = 90;
61e05c2e   阿宝   软件下载
348
349
350
351
352
353
354
355
356
357
358
        } else {
          this.formData.examsDuration = 0;
        }
      },
      async saveForm() {
        let content = {};
        for (let key in this.formData) {
          if (key != "configName") {
            content[key] = this.formData[key];
          }
        }
0a4de034   阿宝   教师管理,学生管理班级设置
359
        content.examsDuration = content.examsDuration * 60;
e5ff81a1   阿宝   集团管理员接口
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
        this.$refs.forms.validate((valid) => {
          if (valid) {
            if (this.type == 1) {
              this.addAppConfig({
                configName: this.formData.configName,
                content: { ...content },
              });
            } else {
              this.updateAppConfig({
                configId: this.configId,
                content: { ...content },
              });
            }
          } else {
            this.$message.warning("配置名称输入有误请检查!");
            return false;
          }
        });
61e05c2e   阿宝   软件下载
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
      },
  
      async addAppConfig(params) {
        const { data, status, info } = await this.$request.addAppConfig({
          ...params,
        });
        if (status == 0) {
          this.$message.success("配置成功");
          this.dialogVis = false;
          this.appConfigList();
        } else {
          this.$message.error(info);
        }
      },
      async updateAppConfig(params) {
        const { data, status, info } = await this.$request.updateAppConfig({
          ...params,
        });
        if (status == 0) {
          this.$message.success("配置成功");
          this.dialogVis = false;
          this.appConfigList();
        } else {
          this.$message.error(info);
        }
      },
  
560c12f2   阿宝   学校设置,软件下载
405
406
407
408
409
      async latestVersion() {
        const { data, status, info } = await this.$request.latestVersion();
        if (status == 0) {
          this.info = { ...data };
          this.info.fileSize =
8f882f63   阿宝   软件下载调整
410
411
            (this.info.fileSize &&
              (this.info.fileSize / 1024 / 1024).toFixed(2)) ||
560c12f2   阿宝   学校设置,软件下载
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
            "--";
        } else {
          this.$message.error(info);
        }
      },
      async appConfigList() {
        const { data, status, info } = await this.$request.appConfigList({
          page: this.page,
          size: this.size,
        });
        if (status == 0) {
          this.tableData = [...data.list] || [];
        } else {
          this.$message.error(info);
        }
      },
ead476dd   LH_PC   fix:最终定版
428
429
430
      async getAppDownloadUrl(configId) {
        if (this.downClientLoading) return;
        this.downClientLoading = true;
560c12f2   阿宝   学校设置,软件下载
431
432
433
434
        const { data, status, info } = await this.$request.getAppDownloadUrl({
          configId: configId || "",
        });
        if (status == 0) {
ead476dd   LH_PC   fix:最终定版
435
          this.downClientLoading = false;
560c12f2   阿宝   学校设置,软件下载
436
          // this.tableData = [...data.list] || [];
8f882f63   阿宝   软件下载调整
437
438
439
440
441
          const a = document.createElement("a");
          a.href = data.downloadUrl;
          document.body.appendChild(a);
          a.click();
          a.remove();
560c12f2   阿宝   学校设置,软件下载
442
        } else {
ead476dd   LH_PC   fix:最终定版
443
          this.downClientLoading = false;
560c12f2   阿宝   学校设置,软件下载
444
445
446
447
448
          this.$message.error(info);
        }
      },
    },
  };
4c4f7640   梁保满   路由表,路由前端文件
449
450
  </script>
  
560c12f2   阿宝   学校设置,软件下载
451
452
  <style lang="scss" scoped>
  .page-container {
ca39cc52   阿宝   飞书问题处理
453
    width: 100%;
560c12f2   阿宝   学校设置,软件下载
454
455
    position: relative;
  }
ef16e57e   LH_PC   fix:前端版本迭代
456
  
560c12f2   阿宝   学校设置,软件下载
457
458
  .page-content {
    padding: 30px;
ef16e57e   LH_PC   fix:前端版本迭代
459
  
560c12f2   阿宝   学校设置,软件下载
460
461
462
463
464
    .content-top {
      padding: 20px 50px 20px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
ef16e57e   LH_PC   fix:前端版本迭代
465
  
560c12f2   阿宝   学校设置,软件下载
466
467
468
469
      .cont-info {
        flex: 1;
        display: flex;
        align-items: center;
ef16e57e   LH_PC   fix:前端版本迭代
470
  
560c12f2   阿宝   学校设置,软件下载
471
472
473
474
        .logo {
          width: 140px;
          margin-right: 16px;
        }
ef16e57e   LH_PC   fix:前端版本迭代
475
  
560c12f2   阿宝   学校设置,软件下载
476
477
478
479
480
481
        .name {
          font-size: 20px;
          color: #333;
          line-height: 24px;
          padding-bottom: 12px;
        }
ef16e57e   LH_PC   fix:前端版本迭代
482
  
560c12f2   阿宝   学校设置,软件下载
483
484
485
486
487
488
        .txt {
          font-size: 15px;
          color: #7f7f7f;
          line-height: 25px;
        }
      }
ef16e57e   LH_PC   fix:前端版本迭代
489
  
560c12f2   阿宝   学校设置,软件下载
490
491
492
      .down-box {
        width: 200px;
        text-align: center;
ef16e57e   LH_PC   fix:前端版本迭代
493
  
560c12f2   阿宝   学校设置,软件下载
494
495
496
497
        .txt {
          font-size: 16px;
          padding-bottom: 8px;
        }
ef16e57e   LH_PC   fix:前端版本迭代
498
  
560c12f2   阿宝   学校设置,软件下载
499
500
501
502
503
        .down-btn {
          font-size: 20px;
        }
      }
    }
ef16e57e   LH_PC   fix:前端版本迭代
504
  
560c12f2   阿宝   学校设置,软件下载
505
506
507
508
    .down-ul {
      display: flex;
      flex-wrap: wrap;
      padding: 0 20px;
ef16e57e   LH_PC   fix:前端版本迭代
509
  
560c12f2   阿宝   学校设置,软件下载
510
511
512
513
514
515
516
517
518
519
520
521
      .down-li {
        width: calc(50% - 12px);
        height: 72px;
        padding: 0 16px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 24px 30px 0;
        border-radius: 10px;
        background: #f8f8f8;
        box-shadow: 2px 2px 5px #ccc;
ef16e57e   LH_PC   fix:前端版本迭代
522
  
560c12f2   阿宝   学校设置,软件下载
523
524
525
        &:nth-child(2n) {
          margin-right: 0;
        }
ef16e57e   LH_PC   fix:前端版本迭代
526
  
560c12f2   阿宝   学校设置,软件下载
527
528
        font-size: 16px;
        color: #667ffd;
ef16e57e   LH_PC   fix:前端版本迭代
529
  
8f882f63   阿宝   软件下载调整
530
531
532
        .p1 {
          cursor: pointer;
        }
560c12f2   阿宝   学校设置,软件下载
533
534
535
      }
    }
  }
ef16e57e   LH_PC   fix:前端版本迭代
536
  
560c12f2   阿宝   学校设置,软件下载
537
538
539
540
541
  :deep(.el-button.is-round) {
    width: 120px;
    text-align: center;
    padding: 10px 0;
  }
ef16e57e   LH_PC   fix:前端版本迭代
542
  
560c12f2   阿宝   学校设置,软件下载
543
544
545
546
547
548
549
550
551
552
  .edit-dia {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: #fff;
    overflow-y: auto;
ef16e57e   LH_PC   fix:前端版本迭代
553
  
560c12f2   阿宝   学校设置,软件下载
554
555
556
557
558
559
560
561
    .back {
      width: 100%;
      height: 56px;
      border-bottom: 1px solid #e2e2e2;
      display: flex;
      align-items: center;
      padding: 0 20px;
      box-sizing: border-box;
ef16e57e   LH_PC   fix:前端版本迭代
562
  
560c12f2   阿宝   学校设置,软件下载
563
564
565
566
567
568
569
570
      .back-l {
        display: flex;
        align-items: center;
        cursor: pointer;
        flex-shrink: 0;
        font-size: 18px;
        font-weight: 500;
      }
ef16e57e   LH_PC   fix:前端版本迭代
571
  
560c12f2   阿宝   学校设置,软件下载
572
573
574
575
576
577
      .fa-mail-reply-all {
        font-size: 28px;
        color: #b3b3b3;
        margin-right: 12px;
      }
    }
ef16e57e   LH_PC   fix:前端版本迭代
578
  
560c12f2   阿宝   学校设置,软件下载
579
580
    .form-box {
      padding: 20px;
ef16e57e   LH_PC   fix:前端版本迭代
581
  
560c12f2   阿宝   学校设置,软件下载
582
583
      .popup-menu {
        padding-bottom: 16px;
ef16e57e   LH_PC   fix:前端版本迭代
584
  
560c12f2   阿宝   学校设置,软件下载
585
586
587
588
        span {
          padding-right: 12px;
        }
      }
ef16e57e   LH_PC   fix:前端版本迭代
589
  
560c12f2   阿宝   学校设置,软件下载
590
591
592
      .popup-menu1 {
        padding-bottom: 0;
      }
ef16e57e   LH_PC   fix:前端版本迭代
593
  
560c12f2   阿宝   学校设置,软件下载
594
595
596
      .count-down {
        width: 48px;
        margin: 0 8px 0 20px;
ef16e57e   LH_PC   fix:前端版本迭代
597
  
560c12f2   阿宝   学校设置,软件下载
598
599
600
601
602
603
604
605
        :deep(.el-input__inner) {
          width: 48px;
          height: 32px;
          line-height: 32px;
          border-radius: 20px;
          border-color: #667ffd;
          padding: 0;
        }
ef16e57e   LH_PC   fix:前端版本迭代
606
  
560c12f2   阿宝   学校设置,软件下载
607
608
609
        :deep(.el-input-number__decrease) {
          display: none;
        }
ef16e57e   LH_PC   fix:前端版本迭代
610
  
560c12f2   阿宝   学校设置,软件下载
611
612
613
614
        :deep(.el-input-number__increase) {
          display: none;
        }
      }
ef16e57e   LH_PC   fix:前端版本迭代
615
  
61e05c2e   阿宝   软件下载
616
617
618
      .count-down2 {
        margin-left: 0;
      }
ef16e57e   LH_PC   fix:前端版本迭代
619
  
61e05c2e   阿宝   软件下载
620
621
622
623
      .silde-box {
        position: relative;
        width: 100%;
        height: 60px;
ef16e57e   LH_PC   fix:前端版本迭代
624
  
61e05c2e   阿宝   软件下载
625
626
627
628
        .silde-p {
          width: 100%;
          position: absolute;
          padding-top: 20px;
ef16e57e   LH_PC   fix:前端版本迭代
629
630
  
          &>span {
61e05c2e   阿宝   软件下载
631
632
633
634
635
636
637
            position: absolute;
            width: 48px;
            text-align: center;
            line-height: 18px;
            flex-shrink: 0;
            font-size: 12px;
          }
ef16e57e   LH_PC   fix:前端版本迭代
638
  
61e05c2e   阿宝   软件下载
639
640
641
          :deep(.el-slider) {
            flex: 1;
          }
ef16e57e   LH_PC   fix:前端版本迭代
642
  
61e05c2e   阿宝   软件下载
643
644
645
          :deep(.el-slider__runway) {
            margin: 5px 0;
          }
ef16e57e   LH_PC   fix:前端版本迭代
646
  
61e05c2e   阿宝   软件下载
647
648
649
          :deep(.el-slider__runway) {
            background-color: #409eff;
          }
ef16e57e   LH_PC   fix:前端版本迭代
650
  
61e05c2e   阿宝   软件下载
651
652
653
654
          .num {
            top: 0;
            transform: translateX(-24px);
          }
ef16e57e   LH_PC   fix:前端版本迭代
655
  
61e05c2e   阿宝   软件下载
656
657
658
659
          .txt {
            bottom: -20px;
            transform: translateX(-24px);
          }
560c12f2   阿宝   学校设置,软件下载
660
661
662
663
        }
      }
    }
  }
4c4f7640   梁保满   路由表,路由前端文件
664
  </style>