guo 2 years ago
parent
commit
53f0c9952f
2 changed files with 22 additions and 17 deletions
  1. 1 0
      pages.json
  2. 21 17
      pages/addjk/activity.vue

+ 1 - 0
pages.json

@@ -111,6 +111,7 @@
 			}
 		}
 		
+		
 	],
 	"globalStyle": {
 		"navigationBarTextStyle": "black",

+ 21 - 17
pages/addjk/activity.vue

@@ -43,27 +43,31 @@
 
 				<view class="btns">
 					<view class="btnBox">
-						<view v-if="iOSInfo.indexOf('Q022')!=-1 || iOSInfo.indexOf('Q023')!=-1 || iOSInfo.indexOf('Q024')!=-1||!iOSInfo" class="btn" style="width: 120rpx;" @click="changeMore(item)">更多</view>
+						<view v-if="iOSInfo.indexOf('Q022')!=-1 || iOSInfo.indexOf('Q023')!=-1 || iOSInfo.indexOf('Q024')!=-1||!iOSInfo" class="moreBox">
+							<view class="btn" style="width: 120rpx;" @click="changeMore(item)">更多</view>
+							
+							<view class="moreBtn" v-if="item.showMoreBtn==true">
+								<view v-if="iOSInfo.indexOf('Q022')!=-1||!iOSInfo" class="more" @click="goEdit(item.ID)">
+									<image src="../../static/img/icon_bianji.png" mode="" class="btnImg"></image>
+									<view class="btn2">编辑</view>
+								</view>
+								<view v-if="(iOSInfo.indexOf('Q023')!=-1||!iOSInfo) && item.state=='未启用'" class="more" @click="open(item)">
+									<image src="../../static/img/icon_tingyong.png" mode="" class="btnImg"></image>
+									<view class="btn2">启用</view>
+								</view>
+								<view v-if="(iOSInfo.indexOf('Q024')!=-1||!iOSInfo) && item.state=='进行中'" class="more" @click="stop(item)" v-else>
+									<image src="../../static/img/icon_tingyong.png" mode="" class="btnImg"></image>
+									<view class="btn2">停用</view>
+								</view>
+								
+							</view>
+							
+						</view>
 						<view v-if="iOSInfo.indexOf('Q025')!=-1||!iOSInfo" class="btn" @click="goSign(item)">报名详情</view>
 						<view v-if="iOSInfo.indexOf('Q028')!=-1||!iOSInfo" class="btn" @click="goStatis(item)">数据统计</view>
 						<view class="btn" style="width: 120rpx;" @click="goshare(item)" >分享</view>
 					</view>
-					<view class="moreBtn" v-if="item.showMoreBtn==true">
-						<view v-if="iOSInfo.indexOf('Q022')!=-1||!iOSInfo" class="more" @click="goEdit(item.ID)">
-							<image src="../../static/img/icon_bianji.png" mode="" class="btnImg"></image>
-							<view class="btn2">编辑</view>
-						</view>
-						<view v-if="(iOSInfo.indexOf('Q023')!=-1||!iOSInfo) && item.state=='未启用'" class="more" @click="open(item)">
-							<image src="../../static/img/icon_tingyong.png" mode="" class="btnImg"></image>
-							<view class="btn2">启用</view>
-						</view>
-						<view v-if="iOSInfo.indexOf('Q024')!=-1||!iOSInfo" class="more" @click="stop(item)" v-else>
-							<image src="../../static/img/icon_tingyong.png" mode="" class="btnImg"></image>
-							<view class="btn2">停用</view>
-						</view>
-						
-					</view>
-
+					
 				</view>
 
 			</view>