| xqd
@@ -2,11 +2,13 @@
|
|
|
<view class="sg-container" style="overflow: hidden;">
|
|
|
<view class="flexdstyle">
|
|
|
<view class="sg-top-box sg-index-bg">
|
|
|
- <view class="sg-top-item sg-font-xs" bindtap="navigate" data-url="/pages/create-project/index" wx:if="{{topRole && topRole.rights && topRole.rights.newProject}}">
|
|
|
+ <view class="sg-top-item sg-font-xs" bindtap="navigate" data-url="/pages/create-project/index"
|
|
|
+ wx:if="{{topRole && topRole.rights && topRole.rights.newProject}}">
|
|
|
<van-icon name="edit" class="sg-icon" />
|
|
|
<view class="sg-top-name">新建项目</view>
|
|
|
</view>
|
|
|
- <view class="sg-top-item sg-font-xs" bindtap="navigate" data-url="/pages/create-project-role/index" wx:if="{{topRole && topRole.rights && topRole.rights.memberAdd}}">
|
|
|
+ <view class="sg-top-item sg-font-xs" bindtap="navigate" data-url="/pages/create-project-role/index"
|
|
|
+ wx:if="{{topRole && topRole.rights && topRole.rights.memberAdd}}">
|
|
|
<van-icon name="user-o" class="sg-icon" />
|
|
|
<view class="sg-top-name">成员添加</view>
|
|
|
</view>
|
| xqd
@@ -32,15 +34,18 @@
|
|
|
<view class="sg-box sg-pad" style="margin-top:280rpx">
|
|
|
<view class="sg-header">所有项目</view>
|
|
|
<view class="sg-list">
|
|
|
- <view class="sg-item sg-index-card sg-shadow sg-pad sg-margin-top-sm" wx:for="{{list}}" wx:key="index"
|
|
|
- data-id="{{item.id}}" bindtap="navigate" data-url="/pages/project/index?id={{item.id}}">
|
|
|
- <image class="sg-img" mode="widthFix" src="https://t18.9026.com/mini/test.png"></image>
|
|
|
+ <view class="sg-item sg-index-card sg-shadow sg-pad sg-margin-top-sm" style="border-radius: 16rpx;"
|
|
|
+ wx:for="{{list}}" wx:key="index" data-id="{{item.id}}" bindtap="navigate"
|
|
|
+ data-url="/pages/project/index?id={{item.id}}">
|
|
|
+ <image class="sg-img" style="border-radius: 16rpx;" mode="widthFix" src="https://t18.9026.com/mini/test.png">
|
|
|
+ </image>
|
|
|
<view class="sg-right">
|
|
|
- <view class="sg-top">
|
|
|
+ <view class="">
|
|
|
<view class="sg-name sg-bold">{{ item.name }}</view>
|
|
|
- <view class="sg-date sg-gray-color sg-font-small">{{ item.date }}</view>
|
|
|
+ <view class="sg-date sg-gray-color sg-font-small" style="margin-top:15rpx;font-size:28rpx">
|
|
|
+ 创建时间:{{ item.date }}</view>
|
|
|
</view>
|
|
|
- <view class="sg-bottom sg-font-xs sg-margin-top-sm">
|
|
|
+ <view class="sg-bottom sg-font-xs sg-margin-top-sm" style="font-size:28rpx">
|
|
|
<view class="sg-desc">项目经理:{{ item.manager ? item.manager.name : '无' }}</view>
|
|
|
<view class="sg-desc">电话:{{ item.manager ? item.manager.phone : '无' }}</view>
|
|
|
</view>
|