|
@@ -25,32 +25,16 @@
|
|
|
</div>
|
|
|
<div class="weui-form-preview"
|
|
|
id="buyListGroup">
|
|
|
- <div class="weui-form-preview__label" style="display:flex; flex-direction: row; justify-content: space-between">
|
|
|
- <label style="box-sizing:border-box; border-radius: 5px; height: 5vh; width: 25%; text-align: center;">标题</label>
|
|
|
+ <div class="weui-form-preview__label"
|
|
|
+ style="display:flex; flex-direction: row; justify-content: space-between">
|
|
|
+ <label onclick="a()"
|
|
|
+ style="box-sizing:border-box; border-radius: 5px; height: 5vh; width: 25%; text-align: center;">标题</label>
|
|
|
<label style="box-sizing:border-box; border-radius: 5px; height: 5vh; width: 25%; text-align: center;">已团</label>
|
|
|
<label style="box-sizing:border-box; border-radius: 5px; height: 5vh; width: 25%; text-align: center;">截止时间</label>
|
|
|
<label style="box-sizing:border-box; border-radius: 5px; height: 5vh; width: 25%; text-align: center;">状态</label>
|
|
|
</div>
|
|
|
<div id="buyAll"></div>
|
|
|
</div>
|
|
|
-
|
|
|
- <#--业委会的套餐-->
|
|
|
- <div id="details">
|
|
|
- <div id="myyw">
|
|
|
-
|
|
|
- </div>
|
|
|
- <#--团购详情页面的展示-->
|
|
|
- <div class="weui-btn-area">
|
|
|
- <br>
|
|
|
- <div style="text-align: center;size: 20px">
|
|
|
- 我的团购
|
|
|
- </div>
|
|
|
- <#--居民自己填写的-->
|
|
|
- <div id="client">
|
|
|
- <#include "/home/buyClient.ftl"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
|
|
|
<script>
|
|
@@ -58,43 +42,43 @@
|
|
|
function buyGroup() {
|
|
|
$('#buy_nav1')[0].style.display = '';
|
|
|
$('#buyListGroup')[0].style.display = '';
|
|
|
- $('#details')[0].style.display = '';
|
|
|
+ $('#buy_nav2')[0].style.display = 'none';
|
|
|
+ /* $.ajax({
|
|
|
+ url: '',
|
|
|
+ type: 'get',
|
|
|
+ data: {},
|
|
|
+ success: function (data) {
|
|
|
+ if (data.success) {
|
|
|
+ if (data.data.length > 0) {
|
|
|
+ hasData = true;
|
|
|
+ data.data.forEach(function (v) {
|
|
|
+ buyList(v);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ }
|
|
|
|
|
|
- $.ajax({
|
|
|
- url: '',
|
|
|
- type: 'get',
|
|
|
- data: {},
|
|
|
- success: function (data) {
|
|
|
- if (data.success) {
|
|
|
- if (data.data.length > 0) {
|
|
|
- hasData = true;
|
|
|
- data.data.forEach(function (v) {
|
|
|
- buyList(v);
|
|
|
- });
|
|
|
- }
|
|
|
- else {
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- },
|
|
|
- });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ });*/
|
|
|
}
|
|
|
|
|
|
function buyList(v) {
|
|
|
}
|
|
|
|
|
|
- /*我的团购数量的填写*/
|
|
|
- function myBuy() {
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
|
|
|
//点击我的团购按钮
|
|
|
function buyGroup2() {
|
|
|
$('#buy_nav1')[0].style.display = 'none';
|
|
|
$('#buyListGroup')[0].style.display = 'none';
|
|
|
- $('#details')[0].style.display = 'none';
|
|
|
+ //$('#details')[0].style.display = 'none';
|
|
|
$('#buy_nav2')[0].style.display = '';
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ /*居民求助信息*/
|
|
|
+ function a() {
|
|
|
+ window.location.href = "/home/buytc.html?userId="+$('#userId').val();
|
|
|
+ }
|
|
|
+
|
|
|
</script>
|