Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

个人信息修改,版块详情,帖子内容,发布帖子界面 #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion FzuBBS/pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,26 @@
"path" : "pages/det/det",
"style" : {}
}
,{
"path" : "pages/changeinformation/changeinformation",
"style" : {}
}
,{
"path" : "pages/upload/upload",
"style" : {
"backgroundColor":"#007AFF"
}
}
,{
"path" : "pages/news/news",
"style" : {}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "Fzu BBS",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
"backgroundColor":"#007AFF"
},
"tabBar": {
"color":"#999999",
Expand Down
53 changes: 53 additions & 0 deletions FzuBBS/pages/changeinformation/changeinformation.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<template><!--第一次登陆个人信息填写以及个人信息修改--> <!--暂无跳转-->
<view class="page">
<view class="content">
<text class="tittle">个人信息设置</text>
<text class="t">{{'that way,people will reconize you'}}</text>
<button style="width: 50px; height: 50px; border-radius:50%;border: none;background: url(../../static/RecIcon/avatar.png) no-repeat center;margin-bottom: -30upx;"></button>
<textarea placeholder="用户名" style="height: 50upx; border:none;border-radius: 25px; margin-bottom: 20upx;"/>
<textarea placeholder="性别" style="height: 50upx; border:none;border-radius: 25px;margin-bottom: 20upx;"/>
<textarea placeholder="出生日期" style="height: 50upx; border:none;border-radius: 25px;margin-bottom: 20upx;"/>
<textarea placeholder="邮箱" style="height: 50upx; border:none;border-radius: 25px;margin-bottom: 20upx;"/>
<textarea placeholder="学校" style="height: 50upx; border:none;border-radius: 25px;margin-bottom: 20upx;"/>
<textarea placeholder="居住地" style="height: 50upx; border:none;border-radius: 25px;margin-bottom: 80upx;"/>
<button type="primary" style="width: 350upx;height: 80upx;margin-bottom: 50upx;border-radius: 25px;">确定</button>
<button style="width: 350upx;height: 80upx;margin-bottom: 50upx;border-radius: 25px;">跳过</button>
</view>
</view>
</template>

<script>
export default {
data() {
return {

}
},
methods: {

}
}
</script>

<style>
.tittle{
margin-top: 80upx;
margin-bottom: 20upx;
font-size: 45upx;
font-weight: 700;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
},
.t{
font-size: 25upx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 200upx;
}
</style>
35 changes: 32 additions & 3 deletions FzuBBS/pages/det/det.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
<template>
<view class="page">
帖子详情页
<text class="tittle">[S9线下观赛助威邀请函]</text>
<text class="t">发帖人:FZUBBS</text>
<text v-html="str" ></text>
<button style="width: 100upx;height: 40upx;margin-top: 80upx;margin-bottom: 10upx;margin-left: 0upx;font-size: 5upx;display:flex;flex-direction: column;align-items: center;justify-content: center;">点赞</button>
<button style="width: 100upx;height: 40upx;margin-left: 0upx;font-size: 5upx;margin-bottom: 10upx;display:flex;flex-direction: column;align-items: center;justify-content: center;">转发</button>
<textarea placeholder="回复" style="width: 350upx;height: 100upx;"/>

</view>
</template>

<script>
export default {
data() {
return {

str:'[S9线下观赛助威邀请函]<br/>随着S9全球总决赛小组赛的结束,比赛也进入了白热化阶段。本周日我们即将迎来由FPX与G2对决的总决赛。我们将进行赛事实况转播,并盛情邀请各大LOL爱好者免费与我们齐聚一堂,为我们凤凰队加油助威!<br/>fly phinex fly!<br/>'
}
},
methods: {
Expand All @@ -18,5 +24,28 @@
</script>

<style>

.tittle{
margin-top: 80upx;
margin-bottom: 20upx;
font-size: 45upx;
font-weight: 700;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
},
.t{
font-size: 25upx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 200upx;
}
</style>
40 changes: 20 additions & 20 deletions FzuBBS/pages/details/details.vue
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
<template>
<view class="page">
<view class="content">
<textarea placeholder="Search message" style="width: 550upx;height: 50upx;margin-bottom: 30upx;border: 1px solid;border-radius:25px;text-align: center;"/>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">2019高考录取查询</button>
<image src="../../static/RecIcon/fireReading.png" style=" height: 35upx; width: 35upx;margin-right: 5upx;margin-bottom: -35upx;" ></image>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.7.15</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">收纳箱有需要的么,租房时用的,现在用不到了,基本都还是八成新</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">研究生数学建模成绩多久出来啊</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">诚意求购一电动车,价格不是问题,谢谢</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">福大有想买二手电动车的吗,本人大四实习结束,电动车是八九成新</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">大学好不适应</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">请问一下福大哪里有5g信号</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;"@click="det">[S9线下观赛助威邀请函]</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>

</view>
<textarea placeholder="Search message" style="width: 550upx;height: 50upx;margin-bottom: 30upx;border: 1px solid;border-radius:25px;text-align: center;"/>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">2019高考录取查询</button>
<image src="../../static/RecIcon/fireReading.png" style="height: 35upx; width: 35upx;margin-right: 5upx;margin-bottom: -35upx;" ></image>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.7.15</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">收纳箱有需要的么,租房时用的,现在用不到了,基本都还是八成新</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">研究生数学建模成绩多久出来啊</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">诚意求购一电动车,价格不是问题,谢谢</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">福大有想买二手电动车的吗,本人大四实习结束,电动车是八九成新</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">大学好不适应</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">请问一下福大哪里有5g信号</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
<button style=" height: 150upx; width: 750upx;margin-bottom: -75upx;font-size: 35upx;"@click="det">[S9线下观赛助威邀请函]</button>
<button style=" height: 75upx; width: 200upx;margin-right: 0upx;">2019.11.6</button>
</view>
</view>
</template>

Expand Down Expand Up @@ -56,4 +55,5 @@
justify-content: center;
margin-bottom: 30upx;
}

</style>
22 changes: 22 additions & 0 deletions FzuBBS/pages/news/news.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<view>

</view>
</template>

<script>
export default {
data() {
return {

}
},
methods: {

}
}
</script>

<style>

</style>
46 changes: 46 additions & 0 deletions FzuBBS/pages/upload/upload.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<template>
<view class="page">
<view class="content">
<text class="tittle">发布帖子</text>
</view>
<textarea placeholder="标题" style="border-radius: 15upx; width: 650upx;height: 80upx;margin-bottom: 50upx;margin-top: 50upx; border: 1upx solid;"/>
<textarea placeholder="请输入内容" style="border-radius: 15upx;width: 650upx;height: 400upx;margin-bottom: 50upx;margin-top: 50upx;border: 1upx solid;"/>
<button style="width: 120upx;height: 50upx;text-align: center;font-size: 15upx;">提交</button>
</view>
</template>

<script>
export default {
data() {
return {

}
},
methods: {

}
}
</script>

<style>
.tittle{
margin-top: 80upx;
margin-bottom: 20upx;
font-size: 45upx;
font-weight: 700;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
},
.t{
font-size: 25upx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 200upx;
}
</style>
Binary file added FzuBBS/static/RecIcon/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added FzuBBS/static/RecIcon/blue.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.