Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-Mob-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-Mob-R7-Res
提交
62662feb
提交
62662feb
编写于
8月 04, 2020
作者:
Neuromancer255
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
编辑器禁用功能修改 --fix1
上级
8191c6df
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
9 行增加
和
89 行删除
+9
-89
app-form-item.less
src/components/app-form-item/app-form-item.less
+3
-2
app-mob-check-list.vue
src/components/app-mob-check-list/app-mob-check-list.vue
+1
-9
app-mob-radio-list.vue
src/components/app-mob-radio-list/app-mob-radio-list.vue
+1
-9
app-mob-rate.vue
src/components/app-mob-rate/app-mob-rate.vue
+1
-10
app-mob-slider.vue
src/components/app-mob-slider/app-mob-slider.vue
+1
-10
app-mob-stepper.vue
src/components/app-mob-stepper/app-mob-stepper.vue
+1
-9
app-mob-switch.vue
src/components/app-mob-switch/app-mob-switch.vue
+1
-12
app-mob-textarea.vue
src/components/app-mob-textarea/app-mob-textarea.vue
+0
-9
app-multiple-select.vue
src/components/app-multiple-select/app-multiple-select.vue
+0
-9
app-radio.vue
src/components/app-radio/app-radio.vue
+0
-10
未找到文件。
src/components/app-form-item/app-form-item.less
浏览文件 @
62662feb
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
}
}
.app-form-item.item-has-value {
.app-form-item.item-has-value {
>ion-label {
>ion-label {
color:
rgb(50, 50, 50)
;
color:
#888888
;
font-size: 15px;
font-size: 15px;
}
}
}
}
...
@@ -55,8 +55,9 @@
...
@@ -55,8 +55,9 @@
}
}
.item-disabled {
.item-disabled {
opacity: 0.6;
ion-label{
ion-label{
-webkit-opacity: 1
.5
!important;
-webkit-opacity: 1 !important;
-webkit-text-fill-color: #000;
-webkit-text-fill-color: #000;
}
}
}
}
\ No newline at end of file
src/components/app-mob-check-list/app-mob-check-list.vue
浏览文件 @
62662feb
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"app-mobile-check-list"
>
<div
class=
"app-mobile-check-list"
>
<ion-icon
v-if=
"curValue"
name=
"close-outline"
@
click=
"clear"
></ion-icon>
<ion-icon
v-if=
"curValue"
name=
"close-outline"
@
click=
"clear"
></ion-icon>
<div
v-if=
"curValue== null || curValue==''"
class=
"ion-select-icon"
></div>
<div
v-if=
"curValue== null || curValue==''"
class=
"ion-select-icon"
></div>
<ion-select
ref=
"checkList"
@
ionChange=
"change"
:disabled=
"disabled"
multiple=
"true"
:ok-text=
"$t('app.button.confirm')"
:cancel-text=
"$t('app.button.cancel')"
>
<ion-select
ref=
"checkList"
@
ionChange=
"change"
multiple=
"true"
:ok-text=
"$t('app.button.confirm')"
:cancel-text=
"$t('app.button.cancel')"
>
<ion-select-option
v-for=
"option of options"
:key=
"option.value"
:value=
"option.value"
>
{{
option
.
text
}}
<ion-select-option
v-for=
"option of options"
:key=
"option.value"
:value=
"option.value"
>
{{
option
.
text
}}
</ion-select-option>
</ion-select-option>
</ion-select>
</ion-select>
...
@@ -56,14 +56,6 @@
...
@@ -56,14 +56,6 @@
*/
*/
public
options
:
any
[]
=
[];
public
options
:
any
[]
=
[];
/**
* 是否禁用
*
* @type {string}
* @memberof AppCheckList
*/
@
Prop
()
public
disabled
?
:
string
;
/**
/**
* 代码表标识
* 代码表标识
*
*
...
...
src/components/app-mob-radio-list/app-mob-radio-list.vue
浏览文件 @
62662feb
<
template
>
<
template
>
<van-radio-group
class=
"app-mobile-radio-list"
v-model=
"curValue"
:disabled=
"disabled"
direction=
"horizontal"
@
change=
"change"
>
<van-radio-group
class=
"app-mobile-radio-list"
v-model=
"curValue"
direction=
"horizontal"
@
change=
"change"
>
<van-radio
v-for=
"(item,index) in options"
:key=
"index"
:name=
"item.value"
>
{{
item
.
text
}}
</van-radio>
<van-radio
v-for=
"(item,index) in options"
:key=
"index"
:name=
"item.value"
>
{{
item
.
text
}}
</van-radio>
</van-radio-group>
</van-radio-group>
</
template
>
</
template
>
...
@@ -61,14 +61,6 @@ export default class AppMobRadio extends Vue {
...
@@ -61,14 +61,6 @@ export default class AppMobRadio extends Vue {
*/
*/
public
curValue
?:
any
=
this
.
value
;
public
curValue
?:
any
=
this
.
value
;
/**
* 禁用
*
* @type {boolean}
* @memberof AppMobRadio
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
/**
* change事件
* change事件
*
*
...
...
src/components/app-mob-rate/app-mob-rate.vue
浏览文件 @
62662feb
<
template
>
<
template
>
<van-rate
class=
"app-mobile-rate"
v-model=
"curValue"
:disabled=
"disabled"
/>
<van-rate
class=
"app-mobile-rate"
v-model=
"curValue"
/>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
...
@@ -39,15 +39,6 @@ export default class AppRate extends Vue {
...
@@ -39,15 +39,6 @@ export default class AppRate extends Vue {
set
curValue
(
val
:
any
){
set
curValue
(
val
:
any
){
this
.
$emit
(
'change'
,
val
);
this
.
$emit
(
'change'
,
val
);
}
}
/**
* 禁用
*
* @type {boolean}
* @memberof AppRate
*/
@
Prop
()
public
disabled
?:
boolean
;
public
mounted
(){
public
mounted
(){
this
.
changeLabelStyle
();
this
.
changeLabelStyle
();
...
...
src/components/app-mob-slider/app-mob-slider.vue
浏览文件 @
62662feb
<
template
>
<
template
>
<div
class=
"app-mobile-slider"
>
<div
class=
"app-mobile-slider"
>
<ion-range
:value=
"value"
:disabled=
"disabled"
min=
"0"
max=
"100"
pin
color=
"secondary"
@
ionChange=
"change"
></ion-range>
<ion-range
:value=
"value"
min=
"0"
max=
"100"
pin
color=
"secondary"
@
ionChange=
"change"
></ion-range>
</div>
</div>
</
template
>
</
template
>
...
@@ -23,15 +23,6 @@ export default class AppMobSlider extends Vue {
...
@@ -23,15 +23,6 @@ export default class AppMobSlider extends Vue {
*/
*/
@
Prop
()
public
value
?:
number
;
@
Prop
()
public
value
?:
number
;
/**
* 是否禁用
*
* @type {boolean}
* @memberof AppMobSlider
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
/**
* change事件
* change事件
*/
*/
...
...
src/components/app-mob-stepper/app-mob-stepper.vue
浏览文件 @
62662feb
<
template
>
<
template
>
<van-stepper
class=
"app-mobile-stepper"
v-model=
"curValue"
:disabled=
"disabled"
/>
<van-stepper
class=
"app-mobile-stepper"
v-model=
"curValue"
/>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
...
@@ -20,14 +20,6 @@ export default class AppStepper extends Vue {
...
@@ -20,14 +20,6 @@ export default class AppStepper extends Vue {
*/
*/
@
Prop
()
public
value
?:
number
;
@
Prop
()
public
value
?:
number
;
/**
* 是否禁用
*
* @type {number}
* @memberof AppStepper
*/
@
Prop
()
public
disabled
?:
boolean
;
get
curValue
(){
get
curValue
(){
return
this
.
value
;
return
this
.
value
;
}
}
...
...
src/components/app-mob-switch/app-mob-switch.vue
浏览文件 @
62662feb
<
template
>
<
template
>
<ion-toggle
<ion-toggle
:disabled=
"disabled"
:checked=
"curValue"
:checked=
"curValue"
@
ionChange=
"change"
@
ionChange=
"change"
>
>
...
@@ -37,17 +36,7 @@ export default class AppMobSwitch extends Vue {
...
@@ -37,17 +36,7 @@ export default class AppMobSwitch extends Vue {
public
change
(
value
:
any
){
public
change
(
value
:
any
){
this
.
$emit
(
'change'
,
value
.
detail
.
checked
==
true
?
'1'
:
'0'
);
this
.
$emit
(
'change'
,
value
.
detail
.
checked
==
true
?
'1'
:
'0'
);
}
}
}
/**
* 禁用
*
* @type {boolean}
* @memberof Appswitch
*/
@
Prop
()
public
disabled
?:
boolean
;
}
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@import './app-mob-switch.less';
@import './app-mob-switch.less';
...
...
src/components/app-mob-textarea/app-mob-textarea.vue
浏览文件 @
62662feb
<
template
>
<
template
>
<ion-textarea
<ion-textarea
:disabled=
"disabled"
:placeholder=
"placeholder"
:placeholder=
"placeholder"
:auto-grow =
"true"
:auto-grow =
"true"
:value =
"value"
:value =
"value"
...
@@ -33,14 +32,6 @@ export default class AppTextarea extends Vue {
...
@@ -33,14 +32,6 @@ export default class AppTextarea extends Vue {
this
.
$emit
(
'change'
,
event
.
detail
.
value
);
this
.
$emit
(
'change'
,
event
.
detail
.
value
);
}
}
/**
* 禁用
*
* @type {boolean}
* @memberof AppTextarea
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
/**
* 占位提示文字
* 占位提示文字
*
*
...
...
src/components/app-multiple-select/app-multiple-select.vue
浏览文件 @
62662feb
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
<van-checkbox-group
v-model=
"curValue"
>
<van-checkbox-group
v-model=
"curValue"
>
<van-checkbox
<van-checkbox
shape=
"square"
shape=
"square"
:disabled=
"disabled"
:name=
"item.value"
:name=
"item.value"
v-for=
"item in options"
v-for=
"item in options"
:key=
"item.id"
:key=
"item.id"
...
@@ -84,14 +83,6 @@ export default class AppMultipleSelect extends Vue {
...
@@ -84,14 +83,6 @@ export default class AppMultipleSelect extends Vue {
*/
*/
@
Prop
({
default
:
","
})
public
valueSeparator
?:
string
;
@
Prop
({
default
:
","
})
public
valueSeparator
?:
string
;
/**
* 禁用
*
* @type {boolean}
* @memberof AppInput
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
/**
* 数据显示分隔符
* 数据显示分隔符
*
*
...
...
src/components/app-radio/app-radio.vue
浏览文件 @
62662feb
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
v-bind:key=
"index"
v-bind:key=
"index"
:name=
"item.value"
:name=
"item.value"
style=
"padding-right: 8px;"
style=
"padding-right: 8px;"
:disabled=
"disabled"
>
{{
item
.
text
}}
</van-radio>
>
{{
item
.
text
}}
</van-radio>
</van-radio-group>
</van-radio-group>
</
template
>
</
template
>
...
@@ -94,15 +93,6 @@ export default class AppRadio extends Vue {
...
@@ -94,15 +93,6 @@ export default class AppRadio extends Vue {
this
.
$emit
(
"change"
,
val
);
this
.
$emit
(
"change"
,
val
);
}
}
/**
* 禁用
*
* @type {boolean}
* @memberof AppRadio
*/
@
Prop
()
public
disabled
?:
boolean
;
public
created
()
{
public
created
()
{
if
(
this
.
tag
&&
this
.
type
)
{
if
(
this
.
tag
&&
this
.
type
)
{
if
(
Object
.
is
(
this
.
type
,
"dynamic"
))
{
if
(
Object
.
is
(
this
.
type
,
"dynamic"
))
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录