Browse Source

修复活动地址未提交、修复活动管理地址未显示、屏蔽钱包查看更多按钮、

master
imax 3 years ago
parent
commit
bf26e78b18
  1. 2
      pages/center/center.wxml
  2. 2
      pages/club/clubDetail/clubDetail.js
  3. 3
      pages/club/manage/manage.js
  4. 6
      pages/club/manage/manage.wxml
  5. 7
      pages/release/addactive/addactive.js
  6. 2
      pages/release/addactive/addactive.wxml
  7. 2
      pages/release/manageac/manageac.wxml
  8. 4
      utils/common.js

2
pages/center/center.wxml

@ -33,7 +33,7 @@
<view class="wallet"> <view class="wallet">
<view class="title"> <view class="title">
我的钱包 我的钱包
<view bindtap="tocash">查看全部<image src="../../images/back.png"></image></view> <!-- <view bindtap="tocash">查看全部<image src="../../images/back.png"></image><view> -->
</view> </view>
<view class="money"> <view class="money">
<view class="moneyone"> <view class="moneyone">

2
pages/club/clubDetail/clubDetail.js

@ -36,7 +36,7 @@ jlbchengyuan(){
}) })
}, },
tomanage:function(e){ tomanage:function(e){
let valData = JSON.stringify(this.data.company) let valData = JSON.stringify(this.data.company);//console.log('company-data:', this.data.company);
wx.navigateTo({ wx.navigateTo({
url: '../manage/manage?val='+valData+'' url: '../manage/manage?val='+valData+''
}) })

3
pages/club/manage/manage.js

@ -11,7 +11,8 @@ Page({
{id:'0',name:'允许任何人加入'},{id:'1',name:'需验证加入'} {id:'0',name:'允许任何人加入'},{id:'1',name:'需验证加入'}
], ],
accts:[ accts:[
{id:'1',name:'会长账户'},{id:'2',name:'管理员账户'} {id:'1',name:'会长账户'},
// {id:'2',name:'管理员账户'}
], ],
acctindex:0, acctindex:0,
joinWay:'0', joinWay:'0',

6
pages/club/manage/manage.wxml

@ -3,7 +3,7 @@
<form catchsubmit="formSubmit" catchreset="formReset"> <form catchsubmit="formSubmit" catchreset="formReset">
<view class="formlist"> <view class="formlist">
<text>俱乐部名称</text> <text>俱乐部名称</text>
<input type="text" placeholder="请输入俱乐部名称" value="{{company.clubName}}" /> <input disabled type="text" placeholder="请输入俱乐部名称" value="{{company.clubName}}" />
</view> </view>
<!--<view class="formlist"> <!--<view class="formlist">
<text>俱乐部ID</text> <text>俱乐部ID</text>
@ -59,10 +59,10 @@
<text>俱乐部成员({{company.totalMembers}})</text> <text>俱乐部成员({{company.totalMembers}})</text>
<image src="../../../images/back.png" class="back"></image> <image src="../../../images/back.png" class="back"></image>
</view> </view>
<view class="formlist" bindtap="topopname" wx:if="{{jurisdiction==1}}"> <!-- <view class="formlist" bindtap="topopname" wx:if="{{jurisdiction==1}}">
<text>个性化称号</text> <text>个性化称号</text>
<image src="../../../images/back.png" class="back"></image> <image src="../../../images/back.png" class="back"></image>
</view> </view> -->
<view class="formlist" bindtap="removesb" wx:if="{{jurisdiction<=3}}"> <view class="formlist" bindtap="removesb" wx:if="{{jurisdiction<=3}}">
<text>移除成员</text> <text>移除成员</text>
<image src="../../../images/back.png" class="back"></image> <image src="../../../images/back.png" class="back"></image>

7
pages/release/addactive/addactive.js

@ -239,6 +239,11 @@ Page({
activityName: e.detail.value, activityName: e.detail.value,
}) })
}, },
addressInput: function(e){
this.setData({
address: e.detail.value,
})
},
appleChange: function (e) { appleChange: function (e) {
this.setData({ this.setData({
isAppletNotify: e.detail.value, isAppletNotify: e.detail.value,
@ -640,6 +645,8 @@ uploadfront: function (e) {
costListString:JSON.stringify(costLists), costListString:JSON.stringify(costLists),
questionListString:'[]' questionListString:'[]'
}; };
console.log('send active data:', postData);
return;
var header = { var header = {
token: wx.getStorageSync('token'), token: wx.getStorageSync('token'),
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"

2
pages/release/addactive/addactive.wxml

@ -88,7 +88,7 @@
<view class="list"> <view class="list">
<view class="title">活动地址</view> <view class="title">活动地址</view>
<view class="addressbox"> <view class="addressbox">
<input type="text" placeholder="输入活动地址" value="{{address}}"/> <input type="text" placeholder="输入活动地址" value="{{address}}" bindinput="addressInput"/>
<view class="ding" bindtap="tochooseAddress">选择定位<image src="../../../images/dingwei.png"></image></view> <view class="ding" bindtap="tochooseAddress">选择定位<image src="../../../images/dingwei.png"></image></view>
</view> </view>
</view> </view>

2
pages/release/manageac/manageac.wxml

@ -14,7 +14,7 @@
<view class="other-right"> <view class="other-right">
<view class="other-name">{{item.activityName}}</view> <view class="other-name">{{item.activityName}}</view>
<view class="other-time">{{item.startTime}}-{{item.endTime}}</view> <view class="other-time">{{item.startTime}}-{{item.endTime}}</view>
<view class="other-people">{{item.activityAddr}}</view> <view class="other-people">{{item.activityAddr || '-'}}</view>
</view> </view>
</view> </view>
<view class="numlist"> <view class="numlist">

4
utils/common.js

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

Loading…
Cancel
Save