Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OKR
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
OKR
Commits
97d1b246
Commit
97d1b246
authored
Aug 30, 2021
by
lshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ls
parent
3d6d92cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
16 deletions
+31
-16
c-cell.vue
src/components/common/c-cell.vue
+2
-2
create-events.vue
src/views/schedule/create-events.vue
+3
-3
select-locale.vue
src/views/schedule/select-locale.vue
+25
-10
speech-recognition.vue
src/views/schedule/speech-recognition.vue
+1
-1
No files found.
src/components/common/c-cell.vue
View file @
97d1b246
...
...
@@ -16,7 +16,7 @@
:value=
"value"
:placeholder=
"placeholder"
@
input=
"handleInput"
:class=
"
lefti
nput"
:class=
"
classI
nput"
>
</
template
>
<
template
v-else
>
...
...
@@ -64,7 +64,7 @@ export default Vue.extend({
type
:
String
,
default
:
'text-text-primary'
},
lefti
nput
:
{
classI
nput
:
{
type
:
String
,
default
:
'text-right'
},
...
...
src/views/schedule/create-events.vue
View file @
97d1b246
...
...
@@ -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=
"请输入日程名称"
lefti
nput=
"text-left text-text-secondary text-sm"
/>
<c-cell
type=
"input"
placeholder=
"请输入日程名称"
classI
nput=
"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=
"请输入日程描述"
lefti
nput=
"text-left text-xs focus:text-text-secondary"
></c-cell>
<c-cell
type=
"input"
placeholder=
"请输入日程描述"
classI
nput=
"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>
...
...
src/views/schedule/select-locale.vue
View file @
97d1b246
...
...
@@ -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"
lefti
nput=
"text-left"
>
<c-cell
placeholder=
"请输入地点名称"
label=
"地点名称"
v-model=
"radio"
type=
"input"
classI
nput=
"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
>
...
...
src/views/schedule/speech-recognition.vue
View file @
97d1b246
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment