Skip to content

Commit

Permalink
fix(Admin): [radio] 固定了但多选题选项框的大小 (#57)
Browse files Browse the repository at this point in the history
* style:优化代码格式

* feat(axios):新增axios依赖

* fix(Admin):[reset] 修复了设计问卷选择题选项传参丢失的问题

* Update package.json

* fix(Admin): [radio] 固定了但多选题选项框的大小

* Update package.json
  • Loading branch information
xixiIBN5100 authored Aug 18, 2024
1 parent 5de0a49 commit 84bb88c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "text-ci",
"version": "0.1.3",
"version": "0.1.4",
"private": true,
"type": "module",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/View/checkbox.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="rounded mx-30 mt-30">
<div class="rounded mx-5 mt-30">
<div class="flex justify-between">
<div class="flex-col">
<div class="flex items-center gap-20">
Expand All @@ -16,7 +16,7 @@
<div class="divider my-5"></div>
<div class="flex-col p-5 h-auto">
<div v-for="item in localOptions" :key="item.serial_num" class="flex items-center gap-10 my-5">
<input type="checkbox" :name="props.serial_num" class="checkbox-sm my-5" :value="item.content" v-model="answerArr"/>
<input type="checkbox" :name="props.serial_num" class="my-5" style="zoom: 140%" :value="item.content" v-model="answerArr"/>
<span v-if="item.content">{{ item.content }}</span>
<div class="ml-10 flex items-center gap-20">
<div v-if="item.img" class="mt-4">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/View/fill.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="rounded mx-30 mt-30">
<div class="rounded mx-5 mt-30">
<div class="flex justify-between">
<div class="flex-col">
<div class="flex items-center gap-20">
Expand Down
4 changes: 2 additions & 2 deletions src/pages/View/radio.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="rounded mx-30 mt-30" >
<div class="rounded mx-5 mt-30" >
<div class="flex justify-between">
<div class="flex-col">
<div class="flex items-center gap-20">
Expand All @@ -16,7 +16,7 @@
<div class="divider my-5"></div>
<div class="flex-col p-5 h-auto">
<div v-for="item in localOptions" :key="item.serial_num" class="flex items-center gap-10 my-5">
<input type="radio" :name="props.serial_num" class="radio-sm my-5" :value="item.content" v-model="localAnswer" />
<input type="radio" :name="props.serial_num" class="my-5" style="zoom: 140%" :value="item.content" v-model="localAnswer" />
<span v-if="item.content">{{ item.content }}</span>
<div class="ml-10 flex items-center gap-20">
<div v-if="item.img" class="mt-4">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/View/textArea.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="rounded mx-30 mt-30">
<div class="rounded mx-5 mt-30">
<div class="flex justify-between">
<div class="flex-col">
<div class="flex items-center gap-20">
Expand Down

0 comments on commit 84bb88c

Please sign in to comment.