@@ -7,7 +7,7 @@
<scroll-view scroll-y="true" class="scroll-view">
<view class="list-scroll-view">
<view class="list" wx:for="{{list}}" wx:key="item">
- <view class="name textOver">{{item.match_name}}</view>
+ <view class="name">{{item.match_name}}</view>
<view class="other">
<view class="other_1">
<text>是否支付报名费:</text>
@@ -1,20 +1,24 @@
-// pages/usermyteam/add.js
+const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
-
+ frameStyle: { useTop: true, name: '话题', leftArrow: false, useBar: true },
+ },
+ // 跳转菜单
+ tabPath(e) {
+ let { route } = e.detail.detail;
+ if (route) wx.redirectTo({ url: `/${route}` })
},
* 生命周期函数--监听页面加载
onLoad: function (options) {
+ const that = this;
* 生命周期函数--监听页面初次渲染完成
@@ -1,3 +1,6 @@
{
- "usingComponents": {}
+ "component": true,
+ "usingComponents": {
+ "mobile-main": "/commpents/mobile-frame/index"
+ }
}
@@ -0,0 +1,4 @@
+.main {
+ height: 80.8vh;
+ background-color: #ff0000;
+}
@@ -1,2 +1,5 @@
-<!--pages/usermyteam/add.wxml-->
-<text>pages/usermyteam/add.wxml</text>
+<mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
+ <view slot="info" class="container main">
+ 话题
+ </view>
+</mobile-main>
@@ -1 +1,4 @@
-/* pages/usermyteam/add.wxss */
-// pages/usermyteam/index.js
-<!--pages/usermyteam/index.wxml-->
-<text>pages/usermyteam/index.wxml</text>
-/* pages/usermyteam/index.wxss */