Commit 2b461f12 authored by JingChao's avatar JingChao

Item调整

parent 452a754d
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
v-text="b.text"/> v-text="b.text"/>
</div> </div>
<div class="action-sheet-group action-sheet-cancel"> <div class="action-sheet-group action-sheet-cancel">
<div class="ng-binding action-sheet-option" style="border:none" @click="hide(-1)">取消</div> <div class="action-sheet-option" style="border:none" @click="hide(-1)">取消</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
} }
} }
} }
} }
.action-sheet-backdrop { .action-sheet-backdrop {
......
...@@ -56,13 +56,13 @@ export default { ...@@ -56,13 +56,13 @@ export default {
padding: 5px 5px; padding: 5px 5px;
input { input {
width: 24px; width: 22px;
height: 24px; height: 22px;
border-radius: 12px; border-radius: 11px;
&:after { &:after {
top: 30%; top: 32%;
left: 22%; left: 20%;
opacity: 1; opacity: 1;
border-width: 2px; /*no*/ border-width: 2px; /*no*/
} }
......
...@@ -35,10 +35,10 @@ export default { ...@@ -35,10 +35,10 @@ export default {
document.title = this.title document.title = this.title
} }
}, },
activated (){ activated () {
if (this.title) { if (this.title) {
document.title = this.title document.title = this.title
} }
}, },
created () { created () {
this.fullScreen && detectOS() === 'ios' && (this.isIos = true) this.fullScreen && detectOS() === 'ios' && (this.isIos = true)
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
<slot/> <slot/>
</div> </div>
<slot name="buttons"/> <slot name="buttons"/>
<!--<div class="function edit" @click="myEdit" v-if="showEdit">{{editText}}</div>
<div class="function delete" @click="myDelete" v-if="showDelete">{{deleteText}}</div>-->
</div> </div>
</div> </div>
</template> </template>
...@@ -21,8 +19,6 @@ export default { ...@@ -21,8 +19,6 @@ export default {
name: 'ItemOption', name: 'ItemOption',
components: {optionButton}, components: {optionButton},
props: { props: {
showDelete: Boolean,
showEdit: Boolean,
deleteText: { deleteText: {
type: String, type: String,
default: '删除', default: '删除',
...@@ -65,14 +61,6 @@ export default { ...@@ -65,14 +61,6 @@ export default {
this.init() this.init()
}, },
methods: { methods: {
myDelete () {
this.$emit('deleteFun')
this.$refs.item.style.transform = 'translate3d(0px,0px,0px)'
},
myEdit () {
this.$emit('editFun')
this.$refs.item.style.transform = 'translate3d(0px,0px,0px)'
},
touchStart (ev) { touchStart (ev) {
this.$refs.item.style.transform = 'translate3d(0px,0px,0px)' this.$refs.item.style.transform = 'translate3d(0px,0px,0px)'
this.reset() this.reset()
......
...@@ -182,8 +182,8 @@ export default { ...@@ -182,8 +182,8 @@ export default {
.h-checkbox{ .h-checkbox{
.checkbox { .checkbox {
input{ input{
width: 24px; width: 22px;
height: 24px; height: 22px;
} }
} }
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
<template> <template>
<h-view> <h-view title="HFile">
<h-header> <h-header>
<div slot="left" class="h-header-btn" @click="$routeGo()"> <div slot="left" class="h-header-btn" @click="$routeGo()">
<i class="ion-ios-arrow-back"/> <i class="ion-ios-arrow-back"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
<template> <template>
<h-view class="form"> <h-view class="form" title="From">
<h-header> <h-header>
<div slot="left" class="h-header-btn" @click="$hlsExit()"> <div slot="left" class="h-header-btn" @click="$hlsExit()">
<i class="ion-ios-arrow-back"/> <i class="ion-ios-arrow-back"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
<template> <template>
<h-view> <h-view title="CheckBox">
<h-content> <h-content>
<list-item> <list-item>
<item> <item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment