Commit 97d1b246 authored by lshan's avatar lshan

ls

parent 3d6d92cb
......@@ -16,7 +16,7 @@
:value="value"
:placeholder="placeholder"
@input="handleInput"
:class="leftinput"
:class="classInput"
>
</template>
<template v-else>
......@@ -64,7 +64,7 @@ export default Vue.extend({
type: String,
default: 'text-text-primary'
},
leftinput: {
classInput: {
type: String,
default: 'text-right'
},
......
......@@ -24,7 +24,7 @@
<c-cell title="删除" titleColor="text-text-secondary "></c-cell>
</van-action-sheet>
<c-cell title="日程名称" titleColor="text-text-secondary text-sm "/>
<c-cell type="input" placeholder="请输入日程名称" leftinput="text-left text-text-secondary text-sm"/>
<c-cell type="input" placeholder="请输入日程名称" classInput="text-left text-text-secondary text-sm"/>
<group-cell class="mt-4" title="基本信息" >
<c-cell title="地点" titleColor="text-text-secondary text-sm">
<app-icon
......@@ -53,7 +53,7 @@
/>
</c-cell>
<c-cell title="描述" titleColor="text-text-secondary text-sm"/>
<c-cell type="input" placeholder="请输入日程描述" leftinput="text-left text-xs focus:text-text-secondary"></c-cell>
<c-cell type="input" placeholder="请输入日程描述" classInput="text-left text-xs focus:text-text-secondary"></c-cell>
</group-cell>
<group-cell class="mt-4" title="更多信息">
<c-cell title="私密" titleColor="text-text-secondary text-sm">
......@@ -78,7 +78,7 @@
</c-cell>
</group-cell>
<!--按钮-->
<div class="fixed bottom-0 left-0 w-full px-4 bg-common-bg py-4">
<div class="fixed bottom-0 left-0 w-full px-4 bg-common-bg py-1.5">
<c-button>
发布
</c-button>
......
......@@ -9,7 +9,7 @@
<div class="px-4 pb-28">
<!-- 选择地址 -->
<div class="-mt-8 text-sm text-text-secondary">
<c-cell placeholder="请输入地点名称" label="地点名称" v-model="radio" type="input" leftinput="text-left">
<c-cell placeholder="请输入地点名称" label="地点名称" v-model="radio" type="input" classInput="text-left">
<app-icon
slot="right"
icon-name="search-blue"
......@@ -21,14 +21,27 @@
<div class="mt-4 text-sm text-text-secondary">
<div class="bg-white h-7 flex items-center px-4 rounded">预存地址</div>
<van-radio-group v-model="radio">
<div v-for="(place,index) in places" :key="index" class="flex rounded">
<van-radio :name="place" class="bg-white pl-4 pr-1 rounded"></van-radio>
<c-cell :title='place' class="w-full" titleColor="text-text-secondary text-sm"/>
<div v-for="(place,index) in places" :key="index" class="flex rounded" @click="clickC(index)">
<van-radio :name="place" icon-size="16px" icon="radio" class="bg-white pl-4 pr-1 w-full" >
<div class="border-b py-3 w-screen text-text-secondary">{{place}}</div>
<app-icon
v-if="checked === index+''"
slot="icon"
icon-name="radio-checked"
class-name="w-4 h-4 flex items-center"
/>
<app-icon
v-else
slot="icon"
icon-name="radio"
class-name="w-4 h-4 flex items-center"
/>
</van-radio>
</div>
</van-radio-group>
</div>
<!--按钮-->
<div class="fixed bottom-0 left-0 w-full px-4 bg-common-bg py-4">
<div class="fixed bottom-0 left-0 w-full px-4 bg-common-bg py-1.5">
<c-button>
发布
</c-button>
......@@ -59,16 +72,18 @@ export default Vue.extend({
return {
radio:'',
place:'',
places:['第一会议室','峨眉会议室','南京分公司']
places:['第一会议室','峨眉会议室','南京分公司'],
checked: '',
isshow:false
}
},
computed: {
// text() {
// return this.currentRate.toFixed(0) + '%';
// },
},
methods:{
clickC(index: number){
this.checked=index + ''
},
}
})
</script>
......
......@@ -24,7 +24,7 @@
</div>
<div class="flex items-center justify-center text-xs text-text-secondary ">长按录音</div>
<!--按钮-->
<div class="fixed bottom-0 left-0 w-full px-4 bg-common-bg py-4">
<div class="fixed bottom-0 left-0 w-full px-4 bg-common-bg py-1.5">
<c-button>
发布
</c-button>
......
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