Browse Source

update

master
1913812@qq.com 3 years ago
parent
commit
2cee46f41c
  1. 4
      pages/center/center.wxml
  2. 4
      pages/club/createClub/createClub.wxml
  3. 4
      pages/index/activeDetail/activeDetail.wxml
  4. 3
      pages/index/index.js
  5. 6
      pages/index/index.wxss
  6. 2
      pages/index/join/join.js
  7. 2
      pages/index/join/join.wxss
  8. 20
      pages/index/myjoin/myjoin.js
  9. 2
      pages/index/myjoin/myjoin.wxml
  10. 4
      pages/index/order/order.wxml
  11. 4
      pages/release/release.wxml
  12. 16
      project.config.json
  13. 4
      utils/common.js

4
pages/center/center.wxml

@ -58,7 +58,7 @@
</view>
</view>
</view>
<view class="wallet">
<!-- <view class="wallet">
<view class="title">
我的现金券
<view bindtap="tocoupon">查看全部<image src="../../images/back.png"></image></view>
@ -79,7 +79,7 @@
<view class="name">已过期</view>
</view>
</view>
</view>
</view> -->
<view class="bottom">
<view class="center" bindtap="toAdvice">
<view class="center-left" >

4
pages/club/createClub/createClub.wxml

@ -47,7 +47,7 @@
<text>俱乐部联系方式</text>
<input type="text" placeholder="请输入电话号码" bindinput="telInput"/>
</view>
<view class="chooseauth">
<!-- <view class="chooseauth">
<view class="authleft"><image src="../../../images/left.png"></image>身份认证</view>
<view class="authright">
<radio-group name="radio" bindchange="radioChange">
@ -82,7 +82,7 @@
<image src="../../../images/oneb.png" bindtap='uploadcom' wx:if="{{showUploadcom}}"></image>
</view>
</view>
</view> -->
</form>
<view class="rule">
<view><text>*</text> 创建者需保证上传信息的真实性,如发现虚假信息,将会封号处理</view>

4
pages/index/activeDetail/activeDetail.wxml

@ -82,7 +82,7 @@
<view wx:else>{{item}}</view>
</view>
</view>
<view class="message">
<!-- <view class="message">
<view class="message-top">
<view class="top-left">
<image src="../../../images/left.png"></image>留言
@ -105,7 +105,7 @@
</view>
</block>
</view>
</view>
</view> -->
<view class="other">
<view class="other-top">
<image src="../../../images/left.png"></image>

3
pages/index/index.js

@ -134,11 +134,12 @@ Page({
"Content-Type": "application/x-www-form-urlencoded"
};
var postData = {
pageSize: 3,
pageSize: 10,
pageNum: 1
}
re.request(Api.getRankActive(), postData, header).then((res) => {
let datas = res.data.rows;
console.log(datas.length,1111111111)
for(let i=0;i<datas.length;i++){
if(datas[i].activityLogo){
datas[i].activityLogo = imgUrl + datas[i].activityLogo

6
pages/index/index.wxss

@ -85,4 +85,8 @@
.wonderful .wonder-view .wonder-list .list-view .joined{height:56rpx;line-height: 56rpx;color:#ccc;background: #fdf6ec;border: 2rpx solid #ccc;
border-radius: 148rpx; box-shadow: 0px 8rpx 8rpx 0px rgba(0,0,0,0.05);width:90%;margin:20rpx auto;text-align: center; font-size:28rpx;}
.wonderful .youlike-view{display: flex;justify-content: space-between;flex-wrap: wrap;margin:20rpx auto;width:90%}
.wonderful .youlike-view{display: flex;justify-content: space-between;flex-wrap: wrap;margin:20rpx auto;width:90%}
.index-three{
height:800rpx;
overflow-y: scroll;
}

2
pages/index/join/join.js

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

2
pages/index/join/join.wxss

@ -1,6 +1,6 @@
.nav{z-index: 4; position: fixed; top:0;left:0;width:100%;height:100rpx;line-height:100rpx;background:#fff;border-bottom:4rpx solid #F5F5F5}
.nav .navtop{width:50%;margin:0 auto;display:flex;box-sizing: border-box;}
.navtop> view{text-align:center;width:50%;}
.navtop> view{text-align:center;width:100%;}
.navtop> view text{height:70rpx; display:inline-block;line-height: 70rpx;color:#979797;font-size: 32rpx;}
.navtop .cur text{ border-bottom:4rpx solid #FE4C00; color:#494949;font-size: 34rpx;}
.content{width:94%;padding:0 3%;margin-top:100rpx;background:#fff;}

20
pages/index/myjoin/myjoin.js

@ -11,7 +11,7 @@ function Detail(nickname, realname, phone, idcard, gender) {
function Info() {
this.details = [];
this.details = [{}];
}
@ -38,7 +38,7 @@ Page({
index: 1,
activityId: '',
clubId: '',
isHava: true,
isHava: false,
info: {},
checked: true
},
@ -66,6 +66,22 @@ Page({
info: new Info(),
});
},
deteleItem : function(e){
var that = this;
let info = this.data.info;
//detele Detail()
console.log(new Detail());
wx:if(info.details.length>1){
info.details.pop(new Detail());
this.setData({
info: info,
});
if(info.details.length==1){
}
}
console.log(info.details)
},
addItem: function (e) {
var that = this;
let info = this.data.info;

2
pages/index/myjoin/myjoin.wxml

@ -66,7 +66,7 @@
</view>
</block>
<view class="delete" hidden="{{isHava}}">
<view>删除</view>
<view bindtap="deteleItem">删除</view>
</view>
<view class="add">
<view bindtap="addItem">添加报名人</view>

4
pages/index/order/order.wxml

@ -45,7 +45,7 @@
</view>
</view>
</label>
<label class="radio-box">
<!-- <label class="radio-box">
<view class="radiocircle">
<view class="name">
<image src="../../../images/trash.png"></image>线下支付
@ -55,7 +55,7 @@
<radio value="2" />
</view>
</view>
</label>
</label> -->
<label class="radio-box">
<view class="radiocircle">
<view class="name">

4
pages/release/release.wxml

@ -9,7 +9,7 @@
<image src="../../images/activetwo.png"></image>
<view>管理活动</view>
</view>
<view class="fivelist" bindtap="tosign">
<!-- <view class="fivelist" bindtap="tosign">
<image src="../../images/activethree.png"></image>
<view>活动签到</view>
</view>
@ -20,7 +20,7 @@
<view class="fivelist" bindtap="toExtend">
<image src="../../images/activefive.png"></image>
<view>推广</view>
</view>
</view> -->
</view>
</view>
</view>

16
project.config.json

@ -32,17 +32,17 @@
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": false,
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true,
"useStaticServer": true
"minifyWXML": true,
"useStaticServer": true,
"ignoreUploadUnusedFiles": true
},
"compileType": "miniprogram",
"libVersion": "2.15.0",
@ -50,6 +50,10 @@
"projectname": "bml_travel",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"condition": {
"plugin": {
"list": []
@ -99,9 +103,5 @@
}
]
}
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}

4
utils/common.js

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

Loading…
Cancel
Save