Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-new-compaign
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-new-compaign
提交
3bce84d1
提交
3bce84d1
编写于
3月 01, 2020
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
登录点赞页面
上级
0f26e7fc
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
192 行增加
和
4 行删除
+192
-4
index.vue
pages/index.vue
+3
-1
index.vue
pages/login-point/index.vue
+186
-0
index.vue
pages/perdetails/index.vue
+3
-3
未找到文件。
pages/index.vue
浏览文件 @
3bce84d1
<
template
>
<
template
>
<div
class=
"container"
>
<div
class=
"container"
>
<Header
<Header
v-if=
"userMobile"
:token=
"token"
:token=
"token"
:is-scroll=
"isScroll"
:is-scroll=
"isScroll"
:share-title1=
"shareTitle1"
:share-title1=
"shareTitle1"
...
@@ -120,7 +121,8 @@ export default {
...
@@ -120,7 +121,8 @@ export default {
},
},
// 查看个人明细
// 查看个人明细
selfInfo
()
{
selfInfo
()
{
// this.$router.push({path: "/perdetails",query: {}});
this
.
$router
.
push
({
path
:
"/login-point"
,
query
:
{}});
},
},
// 活动任务
// 活动任务
activityTaskJump
(
data
)
{
activityTaskJump
(
data
)
{
...
...
pages/login-point/index.vue
0 → 100644
浏览文件 @
3bce84d1
<
template
>
<div
class=
"point-container"
>
<div
class=
"info-text"
>
<img
src=
"../../static/images/task-four.png"
/>
<p
class=
"info-name"
>
某某邀请您助力 为他点赞
</p>
<p
class=
"info-award"
>
做任务瓜分500万云鹊豆
</p>
</div>
<div
class=
"form-info"
>
<div
class=
"field-wrap"
>
<label>
联系方式
</label>
<input
v-model=
"mobilePhone"
type=
"tel"
maxlength=
"11"
placeholder=
"请输入手机号"
>
</div>
<div
class=
"field-wrap"
>
<label>
图形验证码
</label>
<input
v-model=
"captchaAnswer"
type=
"text"
maxlength=
"6"
placeholder=
"请输入"
>
<div
class=
"cap-box"
><img
:src=
"captchaImg"
@
click=
"getCaptcha"
></div>
</div>
<div
class=
"field-wrap"
>
<label>
短信验证码
</label>
<input
v-model=
"authCode"
type=
"tel"
maxlength=
"6"
placeholder=
"请输入"
>
<button
v-if=
"notSend"
@
click=
"sendSms"
>
{{
btnMsg
}}
</button>
<van-count-down
v-if=
"!notSend"
:time=
"time"
@
finish=
"finishCount"
:format=
"'ss' + 's'"
/>
</div>
<button
class=
"btn-post"
@
click=
"getCourse"
>
登录点赞 助力好友
</button>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
notSend
:
true
,
mobilePhone
:
''
,
captchaAnswer
:
''
,
// 输入的图形验证码
captchaImg
:
''
,
// 图形验证码图片字段
authCode
:
''
,
// 短信验证码
btnMsg
:
'点击获取'
,
}
},
methods
:
{
// 点击刷新验证码
getCaptcha
(){
},
// 发送获取短信验证码
sendSms
(){
},
// 倒计时结束
finishCount
(){
},
getCourse
()
{
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.point-container {
width: 100%;
height: 100vh;
background-image:url('../../static/images/background.png');
background-size: 100% 100%;
.info-text {
padding: 30px 0;
text-align: center;
img {
display: inline-block;
width: 50px;
height: 50px;
}
.info-name {
padding: 14px 0 8px;
font-size: 20px;
font-weight: 700;
color: #fff;
text-shadow:0px 2px 10px rgba(222,77,16,1);
}
.info-award {
font-size: 13px;
color:#fff;
text-shadow:0px 2px 10px rgba(231,93,48,1);
}
}
.form-info {
padding: 15px;
margin: 0 15px;
height: 250px;
background: #fff;
border-radius: 6px;
box-sizing: border-box;
.field-wrap{
display: flex;
justify-content: flex-start;
width: 315px;
height: 45px;
line-height: 45px;
padding: 0 20px;
box-sizing: border-box;
background:rgba(248,249,250,1);
border-radius:22.5px;
margin-bottom: 10px;
position: relative;
.cap-box{
width: 90px;
height: 35px;
top: 5px;
right: 5px;
position: absolute;
background: #D8D8D8;
border-radius: 23px;
img {
width: 100%;
height: 100%;
display: block;
border-radius:22.5px;
}
}
button {
width:60px;
height:40px;
top: 2.5px;
right: 20px;
position: absolute;
font-size:14px;
color:rgba(151,152,153,1);
line-height:40px;
background: none;
border: none;
}
label{
margin-top: 2.5px;
font-size:14px;
font-weight:700;
display: block;
width: 112px;
height: 40px;
line-height: 40px;
color:rgba(55,56,57,1);
}
input{
margin-top: 2.5px;
font-size:14px;
width: 130px;
height: 40px;
line-height:40px;
background: none;
border: none;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color:rgba(199,200,201,1);
height: 40px;
line-height:40px;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color:rgba(199,200,201,1);
height: 40px;
line-height:40px;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color:rgba(199,200,201,1);
height: 40px;
line-height:40px;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color:rgba(199,200,201,1);
height: 40px;
line-height:40px;
}
}
.btn-post{
width: 315px;
height: 45px;
margin-top: 10px;
background:linear-gradient(90deg,rgba(241,104,57,1) 0%,rgba(220,49,81,1) 100%);
border-radius:22.5px;
font-size:15px;
font-weight:700;
color:rgba(255,255,255,1);
line-height:15px;
border: none;
}
}
}
</
style
>
\ No newline at end of file
pages/perdetails.vue
→
pages/perdetails
/index
.vue
浏览文件 @
3bce84d1
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
/>
/>
<section
class=
"personal-details-wrapper"
>
<section
class=
"personal-details-wrapper"
>
<article
class=
"user"
>
<article
class=
"user"
>
<img
class=
"user-img"
src=
"../assets/user-header.png"
alt=
""
>
<img
class=
"user-img"
src=
"../
../
assets/user-header.png"
alt=
""
>
<div
class=
"profile"
>
<div
class=
"profile"
>
<img
src=
"../assets/user-header.png"
alt=
""
>
<img
src=
"../
../
assets/user-header.png"
alt=
""
>
<div
class=
"desc"
>
<div
class=
"desc"
>
<span
class=
"score"
>
22345
</span>
<span
class=
"score"
>
22345
</span>
<span
class=
"text"
>
我的勤奋分
</span>
<span
class=
"text"
>
我的勤奋分
</span>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<
script
>
<
script
>
import
DetailList
from
'@/components/bussiness/detail-list'
;
import
DetailList
from
'@/components/bussiness/detail-list'
;
import
DetailBtn
from
'@/components/bussiness/detail-btn'
;
import
DetailBtn
from
'@/components/bussiness/detail-btn'
;
import
Header
from
'../components/header'
;
import
Header
from
'../
../
components/header'
;
export
default
{
export
default
{
components
:
{
components
:
{
Header
,
Header
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录