Skip to content

Commit

Permalink
步骤显示样式更改,和swipe、swipe2区别开
Browse files Browse the repository at this point in the history
  • Loading branch information
YeungHoiChiu committed Jun 21, 2024
1 parent 27b4a94 commit 05c30bc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/components/StepShow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -549,11 +549,17 @@ const getNotes = (text, type) => {
<el-tag type="info" size="small">{{ step.elements[1]['eleName'] }}</el-tag>
</span>
<span v-if="step.stepType === 'drag2' || step.stepType === 'drag'">
<el-tag size="small" style="margin-right: 10px">
{{ $t('stepDetail.dragUp') }}</el-tag
>
<el-tag type="info" size="small">{{ step.elements[0]['eleName'] }}</el-tag>
<el-tag size="small" style="margin-left: 10px; margin-right: 10px">{{
$t('stepDetail.dragTo')
$t('stepDetail.dragMove')
}}</el-tag>
<el-tag type="info" size="small">{{ step.elements[1]['eleName'] }}</el-tag>
<el-tag size="small" style="margin-left: 10px; margin-right: 10px">
{{ $t('stepDetail.dragDown') }}</el-tag
>
</span>
<span
v-if="
Expand All @@ -564,11 +570,7 @@ const getNotes = (text, type) => {
<el-tag size="small" style="margin-left: 10px; margin-right: 10px">{{
$t('stepDetail.motionType.Exec')
}}</el-tag>
<el-tag
type="info"
size="small"
style="margin-right: 10px"
>
<el-tag type="info" size="small" style="margin-right: 10px">
{{ step.text.toUpperCase() }}</el-tag
>
</span>
Expand Down
3 changes: 3 additions & 0 deletions src/locales/lang/en_US.js
Original file line number Diff line number Diff line change
Expand Up @@ -1156,6 +1156,9 @@ const stepDetail = {
delete: 'Delete ',
detect: 'Detect ',
dragTo: 'Drag To ',
dragUp: 'Analog long press',
dragMove: 'Then drag to',
dragDown: 'And drop',
display: 'Display ',
downwards: 'Downwards ',
exception: {
Expand Down
3 changes: 3 additions & 0 deletions src/locales/lang/ja_JP.js
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,9 @@ const stepDetail = {
delete: '删除',
detect: '检测',
dragTo: '滑动拖拽至',
dragUp: '模拟长按',
dragMove: '后拖拽移动到',
dragDown: '松手',
display: '显示',
downwards: '向下',
exception: {
Expand Down
3 changes: 3 additions & 0 deletions src/locales/lang/zh_CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,9 @@ const stepDetail = {
delete: '删除',
detect: '检测',
dragTo: '滑动拖拽至',
dragUp: '模拟长按',
dragMove: '后拖拽移动到',
dragDown: '松手',
display: '显示',
downwards: '向下',
exception: {
Expand Down
3 changes: 3 additions & 0 deletions src/locales/lang/zh_TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,9 @@ const stepDetail = {
delete: '删除',
detect: '检测',
dragTo: '滑动拖拽至',
dragUp: '模拟长按',
dragMove: '后拖拽移动到',
dragDown: '松手',
display: '显示',
downwards: '向下',
exception: {
Expand Down

0 comments on commit 05c30bc

Please sign in to comment.