@@ -4,20 +4,18 @@ Component({
* 组件的属性列表
*/
properties: {
-
+ raceteamList: { type: Array },
},
/**
* 组件的初始数据
data: {
* 组件的方法列表
methods: {
}
})
@@ -0,0 +1,25 @@
+.main {
+ width: 96vw;
+ margin: 2vw;
+
+ .one {
+ .title {
+ display: flex;
+ flex-direction: row;
+ line-height: 40px;
+ border-bottom: 1px solid var(--f1Color);
+ margin: 0 0 2vw 0;
+ .name {
+ width: 60vw;
+ color: var(--f85Color);
+ }
+ .icon {
+ text-align: right;
+ width: 35vw;
+}
@@ -1,2 +1,10 @@
-<!--commpents/pagesMatchs/match/match-5.wxml-->
-<text>commpents/pagesMatchs/match/match-5.wxml</text>
+<view class="main">
+ <view class="one">
+ <view class="title" wx:for="{{raceteamList}}" wx:key="item" bindtap="toCommon" data-item="{{item}}">
+ <view class="name">{{item.name}}</view>
+ <view class="icon">
+ <text class="iconfont icon-jiantou_liebiaozhankai"></text>
+ </view>
+</view>
@@ -1 +1,19 @@
-/* commpents/pagesMatchs/match/match-5.wxss */
+.main .one .title {
+.main .one .title .name {
+.main .one .title .icon {
@@ -74,7 +74,7 @@
<view wx:if="{{tabs.active=='e'}}" class="e">
<scroll-view scroll-y="true" class="scroll-view">
<view class="list-scroll-view">
- <match-5></match-5>
+ <match-5 raceteamList="{{raceteamList}}"></match-5>
</view>
</scroll-view>