dever 7 years ago
parent
commit
7b88765de9

+ 1 - 0
tm/lib/Controller/Admin/Activity/SetPage.class.php

@@ -163,6 +163,7 @@ class SetPage extends Controller {
 		// 活动规则提示语  operationt_tips
 		
 		$info = array();
+		$info['yaoqing'] = Request::p('yaoqing', null); //
 		$info['base_num'] = Request::p('base_num', null); //
 		$info['events_tips'] =  Request::p('events_tips', null);
 		$info['events_hd_tips'] = Request::p('events_hd_tips', null); //互动提示语

+ 5 - 0
tm/template_dir/admin/activity/setPage_event.html

@@ -103,6 +103,11 @@
 				<input name="base_num" class="form-control" type="text" style="width:300px;" value="<{$eventData.base_num}>"/>
 			</div>
 
+			<div class="form-group">
+				<label class="control-label rowlabel">邀请好友助力提示文字:</label>
+				<input name="yaoqing" class="form-control" type="text" style="width:300px;" value="<{$eventData.yaoqing}>"/>
+			</div>
+
 			<div class="form-group">
 				<label class="control-label rowlabel">互动提示语:</label>
 				<input name="events_hd_tips" class="form-control" type="text" style="width:300px;" value="<{$eventData.events_hd_tips}>"/>

+ 12 - 0
tm/template_dir/events_infos.html

@@ -359,6 +359,18 @@ $(body).addClass("bg_white");
 
 <{/if}>
 
+<{if $info.type == 4}>
+<section class="layer" id="layerbox">
+    <section class="loginbox">
+        <h3>申请成功!</h3>
+        <p><{$info.yaoqing}></p>
+        <section class="button-wrapper">
+            <a class="button" href="<{$info.thisUrl}>/share"><{$info.share_button_tips}></a>
+        </section>
+    </section>
+</section>
+<{/if}>
+
 <section class="layer" <{if $info.end == 2 && $info.login != 2 && !$userData && $info.type != 4}>style="display:block"<{/if}>>
     <section class="loginbox">
         <h3>活动已结束!</h3>

+ 2 - 1
tm/template_dir/events_try.html

@@ -105,7 +105,8 @@ KISSY.use('node, io', function (S, Node, IO) {
 			, function (data) {
 				if (data.ok) {
 					//showOkMsg();
-					toast('提交成功,请等待管理员审核', false);
+					$('#layerbox').show();
+					//toast('提交成功,请等待管理员审核', false);
 				} else {
 					if(data.msg.url){
 						loadLogin();