|
|
|
@ -9,14 +9,14 @@
|
|
|
|
<view class="activityBox-row flex-row justify-between">
|
|
|
|
<view class="activityBox-row flex-row justify-between">
|
|
|
|
<text class="activityBox-title">{{list.name}}</text>
|
|
|
|
<text class="activityBox-title">{{list.name}}</text>
|
|
|
|
<view class="tag tag_green activityBox_btn">
|
|
|
|
<view class="tag tag_green activityBox_btn">
|
|
|
|
<text>{{list.type_name}}</text>
|
|
|
|
<text>{{numberlist.name}}</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="activityBox-row">
|
|
|
|
<view class="activityBox-row">
|
|
|
|
<text class="icon-shijian iconfont"></text>
|
|
|
|
<text class="icon-shijian iconfont"></text>
|
|
|
|
<text>活动时间:{{timeFormat(list.start_time,"yyyy年MM月DD日")}}
|
|
|
|
<text>活动时间:{{timeFormat(numberlist.start_time,"yyyy年MM月DD日")}}
|
|
|
|
{{getHm(list.start_time)}}-{{getHm(list.end_time)}}</text>
|
|
|
|
{{getHm(numberlist.start_time)}}-{{getHm(numberlist.end_time)}}</text>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- <view class="activityBox-row">
|
|
|
|
<!-- <view class="activityBox-row">
|
|
|
|
@ -31,7 +31,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<view class="activityBox-row">
|
|
|
|
<view class="activityBox-row">
|
|
|
|
<text class="icon-renshu iconfont"></text>
|
|
|
|
<text class="icon-renshu iconfont"></text>
|
|
|
|
<text>人数限制:{{list.total==0?'不限':list.total}}</text>
|
|
|
|
<text>人数限制:{{numberlist.total==0?'不限':numberlist.total}}</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="activityBox-row flex-row align-center" @click="tothere">
|
|
|
|
<view class="activityBox-row flex-row align-center" @click="tothere">
|
|
|
|
<text class="icon-ditu-dibiao iconfont"></text>
|
|
|
|
<text class="icon-ditu-dibiao iconfont"></text>
|
|
|
|
@ -252,7 +252,8 @@
|
|
|
|
isEdit: false,
|
|
|
|
isEdit: false,
|
|
|
|
isEditIndex: 0,
|
|
|
|
isEditIndex: 0,
|
|
|
|
showInfo: false,
|
|
|
|
showInfo: false,
|
|
|
|
list: {},
|
|
|
|
list: {},
|
|
|
|
|
|
|
|
numberlist:{},
|
|
|
|
common_user: [],
|
|
|
|
common_user: [],
|
|
|
|
form: {
|
|
|
|
form: {
|
|
|
|
unit: "",
|
|
|
|
unit: "",
|
|
|
|
@ -338,7 +339,14 @@
|
|
|
|
wx.getStorage({
|
|
|
|
wx.getStorage({
|
|
|
|
key: 'activityinfo',
|
|
|
|
key: 'activityinfo',
|
|
|
|
success(res) {
|
|
|
|
success(res) {
|
|
|
|
that.list = res.data;
|
|
|
|
that.list = res.data;
|
|
|
|
|
|
|
|
console.log(that.list)
|
|
|
|
|
|
|
|
for(var m of that.list.numbers){
|
|
|
|
|
|
|
|
if(that.form.activity_number_id==m.id){
|
|
|
|
|
|
|
|
that.numberlist = m
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log(that.numberlist)
|
|
|
|
if (that.form.type == 2) {
|
|
|
|
if (that.form.type == 2) {
|
|
|
|
that.form.total = 1
|
|
|
|
that.form.total = 1
|
|
|
|
} else if (that.form.type == 1) {
|
|
|
|
} else if (that.form.type == 1) {
|
|
|
|
|