Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
Y
year-end-activitiy
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.foundation.frontend
year-end-activitiy
提交
ed415941
提交
ed415941
编写于
11月 29, 2019
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
个人明细
上级
13f6056c
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
193 行增加
和
0 行删除
+193
-0
detail-top-bg.png
assets/img/person-detail/detail-top-bg.png
+0
-0
ship-select.vue
pages/person-detail/child/ship-select.vue
+94
-0
index.scss
pages/person-detail/index.scss
+32
-0
index.vue
pages/person-detail/index.vue
+67
-0
未找到文件。
assets/img/person-detail/detail-top-bg.png
0 → 100644
浏览文件 @
ed415941
18.9 KB
pages/person-detail/child/ship-select.vue
0 → 100644
浏览文件 @
ed415941
<
template
>
<div
class=
"select-box sex-box"
>
<div
class=
"mark"
@
click=
"chooseShip(
{type: -1})">
</div>
<div
class=
"select-con t-center"
>
<div
class=
"s-tit"
>
与患者关系
</div>
<div
class=
"s-val"
:class=
"curShip === item.id ? 'curSex': '' "
v-for=
"(item,index) in defaShip"
:key=
"index"
@
click=
"chooseShip(
{type:item.id,name:item.name})">
{{
item
.
name
}}
</div>
<!--
<div
class=
"s-val"
:class=
"curSex === 2 ? 'curSex': '' "
@
click=
"chooseSex('sex',
{type: 2})">女
</div>
-->
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
defaShip
:[
{
name
:
'医生与患者'
,
id
:
1
},
{
name
:
'直系亲属'
,
id
:
2
},
{
name
:
'朋友'
,
id
:
3
},
{
name
:
'其他'
,
id
:
4
}
]
};
},
props
:
{
chooseShip
:
{
type
:
Function
,
default
:
()
=>
{},
},
curShip
:
{
type
:
Number
,
default
:
3
,
},
},
};
</
script
>
<
style
lang=
"scss"
>
// @import '@/static/css/common.scss';
.sex-box
{
.select-con
{
position
:
fixed
;
left
:
0
;
bottom
:
0
;
width
:
100%
;
z-index
:
100
;
font-size
:
30px
;
background
:
#fff
;
color
:
rgba
(
51
,
51
,
51
,
1
);
.s-tit
{
color
:
rgba
(
148
,
151
,
153
,
1
);
height
:
100px
;
line-height
:
100px
;
}
.s-val
{
height
:
90px
;
line-height
:
90px
;
border-bottom
:
1px
solid
rgba
(
240
,
240
,
240
,
1
);
}
.curSex
{
color
:rgba
(
65
,
183
,
167
,
1
)
;
}
.s-val-cur
{
color
:
rgba
(
65
,
183
,
167
,
1
);
}
.s-footer-box
{
height
:
87px
;
line-height
:
87px
;
.s-left
{
color
:
rgba
(
153
,
153
,
153
,
1
);
}
.s-right
{
color
:
rgba
(
65
,
183
,
167
,
1
);
border-left
:
1px
solid
rgba
(
240
,
240
,
240
,
1
);
}
}
}
}
</
style
>
pages/person-detail/index.scss
0 → 100644
浏览文件 @
ed415941
.person-detail-wrap
{
.person-detail
{
position
:relative
;
z-index
:
18
;
.bg
{
background
:url
(
..
/
..
/
assets
/
img
/
person-detail
/
detail-top-bg
.png
)
no-repeat
;
background-size
:
100%
100%
;
width
:
100%
;
height
:
130px
;
position
:
absolute
;
z-index
:
19
;
}
.person-info
{
position
:relative
;
padding
:
20px
15px
;
z-index
:
20
;
display
:
flex
;
align-items
:
center
;
color
:
#fff
;
font-size
:
14px
;
span
.orge
{
color
:
#FFDD58
}
.header-pic
{
width
:
50px
;
height
:
50px
;
border-radius
:
50px
;
margin-right
:
11px
;
}
}
}
}
\ No newline at end of file
pages/person-detail/index.vue
0 → 100644
浏览文件 @
ed415941
<
template
>
<div
class=
"person-detail-wrap"
>
<div
class=
"person-detail"
>
<div
class=
"bg"
></div>
<div
class=
"person-info"
>
<img
class=
"header-pic"
src=
"https://pics2.baidu.com/feed/b3fb43166d224f4acd2725cb12a05e579922d10d.jpeg?token=1fefde88eededad95a771a0daa49c7ea&s=F63015C74A323A900A8D193803008010"
/>
<div>
累计排名
<span
class=
"orge"
>
123
</span>
| 累计勤奋分
<span
class=
"orge"
>
123
</span>
</div>
</div>
<div
class=
"detail-list"
>
<div
class=
"list-item"
>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
Vue
from
'vue'
;
import
{
mapState
}
from
'vuex'
;
import
{
Toast
,
List
,
Popup
}
from
'vant'
;
// import Dialog from '@/components/dialog';
// import Ajax from '@/assets/commons/tools/ajax';
// import BottomPop from '@/components/bottom-pop.vue';
// import ShipSelect from './child/ship-select';
//
// Vue.use(List).use(Popup);
export
default
{
head
()
{
return
{
title
:
'添加居民'
,
};
},
data
()
{
return
{
showPop
:
false
};
},
computed
:
{
// ...mapState({
// list: state => state.smsInviteResident.chooseSmsResident,
// doctorId: state => state.logins.doctorId,
// projectId: state => state.logins.projectId,
// sAuthentication:state => state.logins.isAuthentication,
// }),
},
components
:
{
},
mounted
()
{
},
methods
:
{
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
'./index.scss'
;
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录