-
+
@@ -21,9 +21,9 @@
等领域
-
+
-
+
@@ -112,8 +112,8 @@ body
.navbar
position fixed
z-index 8 // signup login overlay = 9
-
-.review-bg
+
+.review-bg
background url("../img/heroimage.png")
background-size cover
background-position-y: -30px;
@@ -185,6 +185,7 @@ body
.reviewer-case
margin 0 auto
width 1160px
+ min-height 500px
h3
line-height 80px
padding-left 60px
diff --git a/src/views/reviewer-list.vue b/src/views/reviewer-list.vue
index aa0d81c..ebd0306 100644
--- a/src/views/reviewer-list.vue
+++ b/src/views/reviewer-list.vue
@@ -63,7 +63,7 @@ export default{
font-size 1.5rem
margin 15px 0px
font-weight 400
- font-family Raleway-ExtraLight, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", Arial, "Microsoft Yahei", Verdana, sans-serif
+ font-family "Helvetica Neue", Helvetica
.info
text-align center
@@ -75,7 +75,7 @@ export default{
font-size 20px
margin-top 30px
.num
- font-family Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,WenQuanYi Micro Hei,Arial,Microsoft Yahei,Verdana,sans-serif
+ font-family Helvetica Neue,Helvetica
font-size 48px
color green
vertical-align sub
diff --git a/src/views/setting.vue b/src/views/setting.vue
index 895ebc1..f4a94ab 100644
--- a/src/views/setting.vue
+++ b/src/views/setting.vue
@@ -15,9 +15,13 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -70,11 +81,15 @@
import serviceUrl from "../common/serviceUrl.js"
import Tag from '../components/tag.vue'
import Loading from '../components/loading.vue'
+ import ResetPassword from '../components/reset-password.vue'
+ import Overlay from '../components/overlay.vue'
export default {
components: {
'user-avatar': UserAvatar,
'tag': Tag,
- 'loading': Loading
+ 'loading': Loading,
+ 'reset-password': ResetPassword,
+ 'overlay': Overlay
},
data () {
return {
@@ -88,7 +103,8 @@
avatarUrl: '',
tags: [],
allTags: [],
- selected: ''
+ selected: '',
+ overlayStatus: false,
}
},
events: {
@@ -187,10 +203,27 @@
},
applyReviewer () {
var localUser = util.getLocalUser();
- if (!localUser.gitHubUsername || !localUser.company
- || !localUser.jobTitle || !localUser.introduction
- || localUser.avatarUrl == 'http://7xotd0.com1.z0.glb.clouddn.com/defaultAvatar.png') {
- util.show(this, 'info', '请先完善并保存 GitHub、公司、职位、简介、头像信息。公司名称仅用作审核,不展示。', 8000);
+ var defaultUrl = 'http://7xotd0.com1.z0.glb.clouddn.com/defaultAvatar.png';
+ if (!localUser.gitHubUsername && !localUser.company
+ && !localUser.jobTitle && !localUser.introduction
+ && localUser.avatarUrl == defaultUrl) {
+ util.show(this, 'info', '请先完善并保存各项资料。公司名称仅用作审核,不展示。');
+ return;
+ }
+ if (!localUser.gitHubUsername) {
+ util.show(this, 'info', '请先完善并保存 GitHub 用户名');
+ return;
+ }
+ if (!localUser.company) {
+ util.show(this, 'info', '请先完善并保存职务');
+ return;
+ }
+ if (!localUser.introduction) {
+ util.show(this, 'info', '请先完善并保存简介');
+ return;
+ }
+ if (localUser.avatarUrl == defaultUrl) {
+ util.show(this, 'info', '请先上传头像');
return;
}
this.$http.post(serviceUrl.applicationsCreate, {
@@ -199,6 +232,9 @@
util.show(this, 'info', '已收到您的申请,将尽快处理');
}
}, util.httpErrorFn(this))
+ },
+ showChangePassword() {
+ this.overlayStatus = true;
}
},
created() {
@@ -331,6 +367,8 @@
.form
width 61%
font-weight 200
+ box-shadow 0px 1px 0px rgba(255,255,255,0.15) inset, 0px 1px 2px rgba(0,0,0,0.15)
+ -webkit-box-shadow 0px 1px 0px rgba(255,255,255,0.15) inset, 0px 1px 2px rgba(0,0,0,0.15)
.white
background white
padding-bottom 54px
@@ -358,13 +396,15 @@
border-bottom-left-radius 3px
border-bottom-right-radius 3px
p
- opacity 0.6
line-height 32px
+ opacity 0.75
+ font-size 14px
+ font-weight 700
span
opacity .6
position absolute
top 78px
- left 50px
+ padding-left 15px
input
height 50px
border 1px solid rgba(40,47,49,.3)
@@ -373,16 +413,19 @@
text-indent 15px
box-shadow 0 1px 4px rgba(0,0,0,0.03)
color rgba(40,47,49,.6)
+ &:focus
+ border 1px solid #1CB2EF
textarea
width 100%
height 280px
- padding 10px
+ padding 15px
resize none
color rgba(40,47,49,.6)
font-size 1rem
border 1px solid rgba(40,47,49,.3)
- font-family Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,WenQuanYi Micro Hei,Arial,Microsoft Yahei,Verdana,sans-serif
-
+ font-family Helvetica Neue,Helvetica
+ &:focus
+ border 1px solid #1CB2EF
.update-btn
margin 27px 0 54px
background blue
@@ -392,10 +435,15 @@
.apply-btn
margin 27px 0 54px
float right
+ .pwd-btn
+ width 80px
+ height 30px
+ line-height 100%
.tags
width 34%
margin-left 5%
- box-shadow 0 4px 4px rgba(135,135,135,0.15)
+ box-shadow 0px 1px 0px rgba(255,255,255,0.15) inset, 0px 1px 2px rgba(0,0,0,0.15)
+ -webkit-box-shadow 0px 1px 0px rgba(255,255,255,0.15) inset, 0px 1px 2px rgba(0,0,0,0.15)
.tags-content
background #FDFFFF
font-weight 200
@@ -414,8 +462,10 @@
border-bottom-left-radius 3px
border-bottom-right-radius 3px
p
- opacity 0.6
+ opacity 0.75
line-height 50px
+ font-size 14px
+ font-weight 700
select
height 50px
width 205px
@@ -423,6 +473,8 @@
border 1px solid rgba(40,47,49,0.3)
box-shadow 0 1px 4px rgba(0,0,0,0.03)
background white
+ &:focus
+ border 1px solid #1CB2EF
option
-webkit-appearance: none
height 40px
diff --git a/src/views/statement.vue b/src/views/statement.vue
index e148223..6bb0778 100644
--- a/src/views/statement.vue
+++ b/src/views/statement.vue
@@ -90,7 +90,7 @@ body
.markdown-body
h1
text-align center
- font-family Raleway-Regular,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,WenQuanYi Micro Hei,Arial,Microsoft Yahei,Verdana,sans-serif
+ font-family Helvetica Neue,Helvetica
font-size 28px
margin-bottom 40px !important
diff --git a/src/views/video.vue b/src/views/video.vue
index 013a333..d82f959 100644
--- a/src/views/video.vue
+++ b/src/views/video.vue
@@ -215,7 +215,7 @@ body
opacity 0.6
font-size 14px
margin-left 20px
- font-family Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,WenQuanYi Micro Hei,Arial,Microsoft Yahei,Verdana,sans-serif
+ font-family Helvetica Neue,Helvetica
.pull-right
float right
@@ -229,9 +229,8 @@ body
.footer-area
position absolute
- bottom 0
+ bottom 0px
width 100%
- height 100px
margin 0
line-height 100px
display none
diff --git a/src/views/workshop.vue b/src/views/workshop.vue
new file mode 100644
index 0000000..de3b432
--- /dev/null
+++ b/src/views/workshop.vue
@@ -0,0 +1,717 @@
+
+
+
+
+
iOS 研讨班
+
+
+ -
+ 6周
+
+ -
+ 10学员
+
+ -
+ 60课时
+
+ -
+ 150任务
+
+ -
+ 每天审核代码
+
+
+
+

+

+
+
+
+
+
+
+
+
导师
+
+
+
+

+
臧其龙
+
微博 @叶孤城。
+ 曾就职于探探、Camera 360、流利说。对动画交互,图像,视频处理颇有心得。
+ 热爱 分享,热爱 iOS 圈子,为大家提供了
+ Code Review 平台。
+
+
+
+
+
+
+
+
+
+
+ 起源
+
+ 去年 12 月开始创办 Code Review 平台,今年 3 月尝试线下交流会。我们用心地准备场地、自助餐、演讲内容,最后也收到了很好的评价。一位参会的朋友说,这是他参加过的氛围最好的技术会议。于是打算尝试更多的线下活动,期待着用我们多年积累的编程经验来帮助渴望提高的 iOS 开发。
+
+
+ 形式上,周一至周五晚上线上指导、周六日全天线下指导。一周会安排若干任务,每一个任务都严格按照正式开发的流程开发,比如服务端和 UI 素材由我们提供、严格 Git 开发流程、每一次提交都会有代码审核、需要编写测试用例等等。
+
+
+ 第一期只招 10 位学员。如果说我们和其它线下教育机构有什么最大的不同的话,我想就是这点:两位导师将全职陪同 10 位学员度过一个半月的学习。
+
+
+ 定价是 {{workshop.amount | moneyAsYuan}} 元,或许你会觉得定价很高。定价高来源于我们有信心提供高质量的内容,让大家快速摆脱初级开发的尴尬定位,迅速成为能够独当一面的移动端开发。
+
+
+
+
+
+
课程安排
+
+ -
+ {{chapter.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 已经有 {{workshop.enrollCount}} 人报名参加了研讨会
还剩 {{workshop.restCount}} 个名额
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/write-review.vue b/src/views/write-review.vue
index 902e58c..7d94a8d 100644
--- a/src/views/write-review.vue
+++ b/src/views/write-review.vue
@@ -37,7 +37,7 @@
{{rightTitle}}