pref_mail@163.com 3 years ago
parent
commit
272daa7705
  1. BIN
      images/popBac.png
  2. 2
      pages/center/center.wxml
  3. 8
      pages/club/club.wxml
  4. 10
      pages/index/activeDetail/activeDetail.wxml
  5. 26
      pages/index/index.js
  6. 15
      pages/index/index.wxml
  7. 2
      pages/index/join/join.js
  8. 2
      pages/release/release.wxml
  9. 22
      project.config.json
  10. 18
      project.private.config.json
  11. 1
      utils/common.js

BIN
images/popBac.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 KiB

After

Width:  |  Height:  |  Size: 176 KiB

2
pages/center/center.wxml

@ -58,6 +58,7 @@
</view>
</view>
</view>
<!-- 现金券暂时屏蔽
<view class="wallet">
<view class="title">
我的现金券
@ -80,6 +81,7 @@
</view>
</view>
</view>
-->
<view class="bottom">
<view class="center" bindtap="toAdvice">
<view class="center-left" >

8
pages/club/club.wxml

@ -1,5 +1,6 @@
<view class="container">
<view class="nav">
<!-- 屏蔽 俱乐部搜索
<view class="search">
<view class="search-box" bindtap="toSearch">
<view class="search-icon">
@ -10,6 +11,8 @@
</view>
</view>
</view>
-->
<!-- 屏蔽滚动俱乐部
<view class="club">
<view class="club-title">推荐俱乐部</view>
<view class="scrollArea">
@ -44,11 +47,14 @@
</scroll-view>
</view>
</view>
-->
<!-- 屏蔽
<view class="more" bindtap="toclub">
<view class='more-left'></view>
<view class="more-word">更多俱乐部</view>
<view class="more-right"></view>
</view>
</view>
-->
<view class="ciecle">
<view class="titlebig">
<view class="navtop">

10
pages/index/activeDetail/activeDetail.wxml

@ -26,18 +26,18 @@
<image src="../../../images/smile.png"></image>
<view class="two">
<text>已报名<text class="yellow">{{detail.totalRegister?detail.totalRegister:0}}</text>人/不限制名额 </text>
<text class="two-right" bindtap="seeJoin">查看全部报名</text>
<!-- <text class="two-right" bindtap="seeJoin">查看全部报名</text> -->
</view>
</view>
</view>
<view class="user">
<!-- <view class="user">
<block wx:for="{{user}}" wx:key="user">
<view class="user-list">
<image src="{{item.img}}" mode='aspectFill'></image>
<view>{{item.name}}</view>
</view>
</block>
</view>
</view> -->
</view>
<view class="company">
<view class="com-nav" bindtap="tiaozhuan">
@ -82,6 +82,7 @@
<view wx:else>{{item}}</view>
</view>
</view>
<!-- 暂时屏蔽
<view class="message">
<view class="message-top">
<view class="top-left">
@ -106,10 +107,11 @@
</block>
</view>
</view>
-->
<view class="other">
<view class="other-top">
<image src="../../../images/left.png"></image>
俱乐部其他活动
其他活动
</view>
<view class="other-circle" wx:if="{{otheractive.length>0}}">
<block wx:for="{{otheractive}}" wx:key="otheractive">

26
pages/index/index.js

@ -44,7 +44,7 @@ Page({
},
toactiveDetail:function(e){
wx.navigateTo({
url: './activeDetail/activeDetail?id='+e.currentTarget.dataset.id+''
url: './activeDetail/activeDetail?id='+e.currentTarget.dataset.id
})
},
// 事件处理函数
@ -54,15 +54,24 @@ Page({
})
},
onLoad() {
this.getbanner();
},
onShow: function () {
this.hotActive();
this.getLike();
// 加载微信登录
// this.hotActive();
// this.getLike();
this.getRankActive();
this.getRecommendActive();
this.getclubCircle();
this.getClubing();
// this.getRecommendActive();
// this.getclubCircle();
// this.getClubing();
},
getbanner:function(){
var that = this;
@ -97,6 +106,7 @@ Page({
}
datas[i].startTime = datas[i].startTime.slice(5,10)
}
console.log(">>>",datas)
that.setData({
fourImages:datas
})
@ -127,6 +137,7 @@ Page({
})
},
getRankActive:function(){
var that = this;
const imgUrl = wx.getStorageSync('imgUrl')
var header = {
@ -145,6 +156,7 @@ Page({
}
datas[i].startTime = datas[i].startTime.slice(5,10)
}
console.log(">>>",datas)
that.setData({
threeImages:datas
})

15
pages/index/index.wxml

@ -1,6 +1,6 @@
<!--index.wxml-->
<view class="container">
<!-- 暂时屏蔽 搜索 和 Banner
<view class="nav">
<view class="search">
<view class="search-box" bindtap="toSearch">
@ -26,6 +26,8 @@
</view>
</view>
</view>
-->
<!-- 暂时 屏蔽 快捷挑战
<view class="index-five">
<view class="five-list" data-id="" bindtap="toTypeList">
<image src='../../images/index_all.png' mode='aspectFill'></image>
@ -49,10 +51,12 @@
</view>
</block>
<!-- <view class="ac-img">
<view class="ac-img">
<image src="/images/logo.jpg" mode='aspectFill'></image>
</view> -->
</view>
</view>
-->
<!-- 暂时屏蔽 进行的活动
<view class="active">
<view class="active-title">
<view class="name">正在进行的活动</view>
@ -97,6 +101,7 @@
查看更多
</view>
</view>
-->
<view class="popularity">
<image src="/images/popBac.png" class="popimg"></image>
<view class="popview">
@ -105,9 +110,11 @@
<image src="/images/popone.png" ></image>
<view>人气活动</view>
</view>
<!--
<view class="title-right" bindtap="torank">
<image src="/images/add.png"></image>全部榜单
</view>
-->
</view>
<view class="index-three">
<block wx:for="{{threeImages}}" wx:key='three'>
@ -141,6 +148,7 @@
</view>
</view>
</view>
<!-- 暂时 屏蔽
<view class="wonderful">
<view class="wonder-name">
<view class="wonderful-title">
@ -205,4 +213,5 @@
</block>
</view>
</view>
-->
</view>

2
pages/index/join/join.js

@ -4,7 +4,7 @@ Page({
* 页面的初始数据
*/
data: {
navTab: ['个人报名','团队报名'],
navTab: ['个人报名'],
currentTab: 0,
people:12,
person:false,

2
pages/release/release.wxml

@ -9,6 +9,7 @@
<image src="../../images/activetwo.png"></image>
<view>管理活动</view>
</view>
<!-- 其他屏蔽
<view class="fivelist" bindtap="tosign">
<image src="../../images/activethree.png"></image>
<view>活动签到</view>
@ -21,6 +22,7 @@
<image src="../../images/activefive.png"></image>
<view>推广</view>
</view>
-->
</view>
</view>
</view>

22
project.config.json

@ -1,7 +1,8 @@
{
"description": "项目配置文件",
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": {
"ignore": []
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
@ -31,28 +32,23 @@
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": false,
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true
"showES6CompileOption": false
},
"compileType": "miniprogram",
"libVersion": "2.15.0",
"appid": "wxe20096a48806d438",
"projectname": "bml_travel",
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"isGameTourist": false,
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"condition": {
"plugin": {
"list": []

18
project.private.config.json

@ -1,15 +1,8 @@
{
"setting": {},
"setting": {
"compileHotReLoad": true
},
"condition": {
"plugin": {
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": [
{
@ -351,9 +344,12 @@
{
"name": "quan",
"pathName": "pages/release/quan/quan",
"query": "",
"scene": null
}
]
}
}
},
"projectname": "bml_travel1",
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
}

1
utils/common.js

@ -1,5 +1,6 @@
// var HOST_URI = 'http://192.168.0.109:8088';
// var HOST_URI = 'http://192.168.0.104:8088';
// var HOST_URI = 'http://127.0.0.1:8088';
var HOST_URI = 'https://api.tuleduo.cn';

Loading…
Cancel
Save