Commit 2b461f12 authored by JingChao's avatar JingChao

Item调整

parent 452a754d
......@@ -13,7 +13,7 @@
v-text="b.text"/>
</div>
<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>
......@@ -65,7 +65,6 @@
}
}
}
}
.action-sheet-backdrop {
......
......@@ -56,13 +56,13 @@ export default {
padding: 5px 5px;
input {
width: 24px;
height: 24px;
border-radius: 12px;
width: 22px;
height: 22px;
border-radius: 11px;
&:after {
top: 30%;
left: 22%;
top: 32%;
left: 20%;
opacity: 1;
border-width: 2px; /*no*/
}
......
......@@ -35,7 +35,7 @@ export default {
document.title = this.title
}
},
activated (){
activated () {
if (this.title) {
document.title = this.title
}
......
......@@ -8,8 +8,6 @@
<slot/>
</div>
<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>
</template>
......@@ -21,8 +19,6 @@ export default {
name: 'ItemOption',
components: {optionButton},
props: {
showDelete: Boolean,
showEdit: Boolean,
deleteText: {
type: String,
default: '删除',
......@@ -65,14 +61,6 @@ export default {
this.init()
},
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) {
this.$refs.item.style.transform = 'translate3d(0px,0px,0px)'
this.reset()
......
......@@ -182,8 +182,8 @@ export default {
.h-checkbox{
.checkbox {
input{
width: 24px;
height: 24px;
width: 22px;
height: 22px;
}
}
}
......
......@@ -4,7 +4,7 @@
*/
<template>
<h-view>
<h-view title="HFile">
<h-header>
<div slot="left" class="h-header-btn" @click="$routeGo()">
<i class="ion-ios-arrow-back"/>
......
......@@ -4,7 +4,7 @@
*/
<template>
<h-view class="form">
<h-view class="form" title="From">
<h-header>
<div slot="left" class="h-header-btn" @click="$hlsExit()">
<i class="ion-ios-arrow-back"/>
......
......@@ -4,7 +4,7 @@
*/
<template>
<h-view>
<h-view title="CheckBox">
<h-content>
<list-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