Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Codet
mini-vote
提交
1e4d7ae8
M
mini-vote
项目概览
Codet
/
mini-vote
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mini-vote
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
1e4d7ae8
编写于
9月 14, 2020
作者:
N
nenyah
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(*): update index
上级
14809cb4
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
17 addition
and
16 deletion
+17
-16
src/pages/index/index.vue
src/pages/index/index.vue
+17
-16
未找到文件。
src/pages/index/index.vue
浏览文件 @
1e4d7ae8
...
...
@@ -3,7 +3,7 @@
* @Author: Steven
* @Date: 2020-08-26 16:08:15
* @LastEditors: Steven
* @LastEditTime: 2020-09-14 16:
48:00
* @LastEditTime: 2020-09-14 16:
51:37
-->
<
template
>
<view
class=
"bg-purple"
>
...
...
@@ -19,24 +19,24 @@
</stats>
<!-- 规则区域 -->
<view
class=
"bg-color pt-4"
>
<!-- 活动规则 -->
<vote-rule
:acitivity=
"acitivity"
></vote-rule>
<!-- 活动详情 -->
<view
class=
"text-white flex px-4"
>
<view
class=
"attr"
>
<view
class=
"fa fa-clock-o text-orange-500 mr-2"
></view>
活动详情:
<!-- 活动规则 -->
<vote-rule
:acitivity=
"acitivity"
></vote-rule>
<!-- 活动详情 -->
<view
class=
"text-white flex px-4"
>
<view
class=
"attr"
>
<view
class=
"fa fa-clock-o text-orange-500 mr-2"
></view>
活动详情:
</view>
<view
class=
"flex"
@
click=
"display = !display"
>
{{
display
?
"
收起
"
:
"
展开
"
}}
<view
class=
"text-orange-500 ml-2"
>
>
</view>
</view>
</view>
<
view
class=
"flex"
@
click=
"display = !display"
>
{{
display
?
"
收起
"
:
"
展开
"
}}
<view
class=
"text-orange-500 ml-2"
>
>
</view>
<
!-- 详情描述 --
>
<view
v-if=
"display"
class=
"my-3 text-gray-100 px-4"
>
{{
activity
.
desc
}}
</view>
</view>
<!-- 详情描述 -->
<view
v-if=
"display"
class=
"my-3 text-gray-100 px-4"
>
{{
activity
.
desc
}}
</view>
</view>
<!-- 搜索区域 -->
<search-bar></search-bar>
<!-- 项目列表区域 -->
...
...
@@ -65,6 +65,7 @@ export default Vue.extend({
activity
:
{},
lastdate
:
"
2天
"
,
pageType
:
"
index
"
,
display
:
false
,
}
},
async
onLoad
(
query
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录