Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DAO实验室
DAO项目提案工具
提交
e910dd2e
D
DAO项目提案工具
项目概览
DAO实验室
/
DAO项目提案工具
通知
6
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DAO项目提案工具
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
e910dd2e
编写于
7月 11, 2022
作者:
Z
zhaoshuangshi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
列表首页=》发起开源项目按钮样式修改,添加导航组件实现页面返回功能
上级
b931f1d0
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
48 addition
and
19 deletion
+48
-19
miniprogram/app.json
miniprogram/app.json
+3
-2
miniprogram/components/colorui/main.wxss
miniprogram/components/colorui/main.wxss
+16
-0
miniprogram/pages/index/index.js
miniprogram/pages/index/index.js
+8
-0
miniprogram/pages/index/index.wxml
miniprogram/pages/index/index.wxml
+11
-8
miniprogram/pages/index/index.wxss
miniprogram/pages/index/index.wxss
+2
-1
miniprogram/pages/template/detail/micapp.wxml
miniprogram/pages/template/detail/micapp.wxml
+4
-4
miniprogram/pages/template/new/micapp.wxml
miniprogram/pages/template/new/micapp.wxml
+4
-4
未找到文件。
miniprogram/app.json
浏览文件 @
e910dd2e
...
...
@@ -9,8 +9,9 @@
"backgroundColor"
:
"#fff"
,
"backgroundTextStyle"
:
"light"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationStyle"
:
"custom"
,
"navigationBarTextStyle"
:
"black"
"navigationStyle"
:
"default"
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTitleText"
:
"【CSDN】DAO实验室"
},
"usingComponents"
:
{
"cu-custom"
:
"./components/colorui/components/cu-custom"
...
...
miniprogram/components/colorui/main.wxss
浏览文件 @
e910dd2e
...
...
@@ -3743,3 +3743,19 @@ scroll-view.cu-steps .cu-item {
.text-shadow {
text-shadow: 2rpx 4rpx 6rpx rgba(0, 0, 0, 0.4);
}
.addBox{
background-color: #39B54A;
position: fixed;
bottom: 70rpx;
right: 40rpx;
color: #fff;
border-radius: 50%;
width: 98rpx;
height: 100rpx;
line-height: 103rpx;
text-align: center;
}
/* .topNav{
background-color: #fff;
} */
miniprogram/pages/index/index.js
浏览文件 @
e910dd2e
...
...
@@ -5,9 +5,17 @@ const app = getApp()
Page
({
data
:
{
// markdown:" # DAO中国实验室"
nbFrontColor
:
'
#000000
'
,
nbBackgroundColor
:
'
#ffffff
'
,
},
onLoad
(){
this
.
setData
({
nbTitle
:
'
新标题
'
,
nbLoading
:
true
,
nbFrontColor
:
'
#ffffff
'
,
nbBackgroundColor
:
'
#000000
'
,
}),
this
.
loadProjects
();
// let that = this;
// wx.request({
...
...
miniprogram/pages/index/index.wxml
浏览文件 @
e910dd2e
<view class="cu-bar solid-bottom padding ">
<view class="action " bindtap="toNewPage">
<text class="icon-edit margin-top-lg" style="color: #84868E;font-size: small;"> 发起开源项目</text>
</view>
</view>
<!-- <view class="margin " style=" margin-top:50rpx; background:#1C1F27;" wx:if="{{markdown}}">
...
...
@@ -16,10 +12,10 @@
</view> -->
<!-- background:#1C1F27; -->
<view
class="cu-card
padding-left padding-right padding-top" wx:for="{{projects}}" bindtap="itemClick" data-id="{{item._id}}">
<view class="flex align-start align-start padding-bottom padding-top bg-gray" style="height: auto;" >
<view
class="cu-card
padding-left padding-right padding-top" wx:for="{{projects}}" bindtap="itemClick" data-id="{{item._id}}">
<view
class="flex align-start align-start padding-bottom padding-top bg-gray" style="height: auto;" >
<view style="height: auto; width: 100%;" class="margin-left margin-right-lg">
<view
style="height: auto; width: 100%;" class="margin-left margin-right-lg">
<view class="text-xl text-black" style="font-weight: 400;">{{item.title}}
</view>
<view class="text-black text-sm flex margin-top-sm">
...
...
@@ -36,4 +32,11 @@
</view>
<view class="action" style="width:180rpx"><button class="cu-btn round bg-green shadow" >查看项目</button></view>
</view>
</view>
<view class="addBox" bindtap="toNewPage">
<view class="action " >
<text class="margin-top-lg" style="font-size:40px;"> +</text>
</view>
</view>
\ No newline at end of file
miniprogram/pages/index/index.wxss
浏览文件 @
e910dd2e
...
...
@@ -4,4 +4,5 @@ Page{
.cu-list.menu>.cu-item:after {
border-bottom: 1rpx solid #1C1F27;
}
\ No newline at end of file
}
miniprogram/pages/template/detail/micapp.wxml
浏览文件 @
e910dd2e
<view class="cu-bar padding ">
<
!-- <
view class="cu-bar padding ">
<view class="action ">
<
!-- <text class="icon-home margin-top-lg" style="color: #84868E;font-size: small;"> 首页</text> --
>
<
text class="icon-home margin-top-lg" style="color: #84868E;font-size: small;"> 首页</text
>
</view>
</view>
</view>
-->
<!-- <view class="cu-tabbar-height"></view> -->
<view wx:if="{{project}}"
class="padding-top"
>
<view wx:if="{{project}}" >
<!-- background:#1C1F27; bg-gray-->
<view >
<view class="margin bg-gray">
...
...
miniprogram/pages/template/new/micapp.wxml
浏览文件 @
e910dd2e
<view class="cu-bar solid-bottom padding ">
<
!-- <
view class="cu-bar solid-bottom padding ">
<view class="action ">
<
!-- <text class="icon-edit margin-top-lg" style="color: #84868E;font-size: small;"> 发起开源项目</text> --
>
<
text class="icon-edit margin-top-lg" style="color: #84868E;font-size: small;"> 发起开源项目</text
>
</view>
</view>
</view>
-->
<form bindsubmit='submit' report-submit='true'>
<view class="margin bg-gray"
style=" margin-top:50rpx; "
>
<view class="margin bg-gray">
<view class="padding-xs flex align-center " >
<view class="flex-sub text-center padding-top padding-bottom solid-bottom">
<view class=" text-xl padding-bottom-xs padding-top-xs">
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录