提交 d636665c 编写于 作者: L lumin

优化一些页面

上级 4523c5f0
......@@ -15,33 +15,25 @@
</view>
</view> -->
<view class="cu-card padding-left padding-right padding-top" wx:for="{{projects}}" >
<view class="flex align-start align-start padding-bottom padding-top" style="height: auto;background:#1C1F27;" bindtap="itemClick" data-id="{{item._id}}">
<view class="margin-left solid-right padding-right padding-left justify-center">
<view class="cu-avatar round xl" style="background-image:url({{item.users[0].userInfo.avatarUrl}});display: flex;justify-content: center;margin: 0 auto;">
</view>
<view class="text-black flex margin-top-sm text-center" style="width:140rpx">
<text class="text-bold text-white" style="width:100%;">{{item.users[0].userInfo.nickName}}
</text>
</view>
<view class="text-gray text-sm flex margin-top-xs text-center" style="width:140rpx">
<!-- <text style="width:100%;"><text class="icon-write text-lg margin-right-xs"></text>创作中
</text> -->
</view>
<!-- <view class="text-gray flex margin-top-sm text-center" style="width:140rpx">
<button class="cu-btn sm">关注</button>
</view> -->
</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 style="height: auto; width: 100%;" class="margin-left margin-right-lg">
<view class="text-xl text-white" style="font-weight: 400;">{{item.title}}
<view class="text-xl text-black" style="font-weight: 400;">{{item.title}}
</view>
<view class="text-grey text-sm flex margin-top-sm">
<view class="text-black text-sm flex margin-top-sm">
{{item.info.description}}
</view>
<!-- <view class="cu-tag bg-green light sm round margin-top" wx:for="{{item.tags}}" wx:if="{{index<3}}">{{item}}</view> -->
</view>
</view>
<view class="cu-bar bg-white solid-bottom" >
<view class="action"><text class="cuIcon-titles text-orange"></text>
<view class="cu-avatar round " style="background-image:url({{item.users[0].userInfo.avatarUrl}});"></view>
<view class="text-gray text-df margin-left">{{item.users[0].userInfo.nickName}} · 发起人</view>
</view>
<view class="action" style="width:180rpx"><button class="cu-btn round bg-green shadow" >查看项目</button></view>
</view>
</view>
\ No newline at end of file
<view class="cu-bar solid-bottom padding ">
<view class="cu-bar solid-bottom padding " style="position: fixed;top:0rpx;">
<view class="action ">
<text class=" 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 class="margin " style=" margin-top:50rpx; background:#1C1F27;">
<view class="cu-tabbar-height"></view>
<view class="margin bg-gray" style=" margin-top:50rpx; background:#1C1F27;">
<view class="padding-xs flex align-center ">
<view class="flex-sub text-center padding-top">
<view class=" text-xl padding-bottom-xs padding-top-xs">
......@@ -44,7 +44,7 @@
</view>
</view>
<!-- <view class='padding'>
<view class='padding'>
<view class="text-left padding-left padding-right text-xs " style="color: #84868E;">组织及成员</view>
<view class="cu-list margin-lr margin-top-sm">
<view class="cu-item padding-lr padding-top solid" style='background: #0C0C14;min-height: 80rpx;'>
......@@ -76,11 +76,12 @@
<view style='background: #0C0C14;padding-bottom: 40rpx;'></view>
</view>
</view> -->
</view>
<view class="cu-tabbar-height"></view>
</view>
<view class="si">
<!-- <view class="si">
<view class="_action foot">
<view class="wrap" >
......@@ -96,4 +97,16 @@
<text class="text-bold text">分享</text>
</view>
</view>
</view>
\ No newline at end of file
</view> -->
<view class="cu-bar bg-gray tabbar border shop margin " style="position: fixed;width:695rpx;bottom:0rpx;">
<view class="action text-white">
</view>
<view class="bg-gray text-green text-lg text-bold submit">我想参与</view>
<view class="action text-green">
<view class="icon-share"></view>
</view>
</view>
\ No newline at end of file
......@@ -3,7 +3,7 @@
"cloudfunctionRoot": "cloudfunctions/",
"setting": {
"urlCheck": false,
"es6": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
......@@ -37,7 +37,8 @@
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"useStaticServer": true
"useStaticServer": true,
"ignoreUploadUnusedFiles": true
},
"appid": "wx247b3955d3a38a2d",
"projectname": "quickstart-wx-cloud",
......
{
"setting": {
"compileHotReLoad": true
"compileHotReLoad": true,
"autoAudits": false
},
"projectname": "voting",
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
......@@ -27,5 +28,6 @@
}
]
}
}
},
"libVersion": "2.6.6"
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册