|
@@ -462,18 +462,13 @@
|
|
|
text: '确定',
|
|
|
btnClass: 'btn-primary-0',
|
|
|
action: function() {
|
|
|
- $.ajax({
|
|
|
- type: "post",
|
|
|
- url: "/front/wxMyorder/wxDeleteOrder",
|
|
|
- data: {"id":id,"pageNum":pageIndex,"type":typ},
|
|
|
- dataType: 'json',
|
|
|
- success: function(data){
|
|
|
+ $.post("/subscribepay/order/deleteOrder", {"id":id,"pageNum":pageIndex,"type":typ},function(data){
|
|
|
if(data && data["success"]){
|
|
|
var self = $(obj).parent().parent();
|
|
|
var parent = self.parent();
|
|
|
deleteIndex=self.index();
|
|
|
//删除索引存入缓存
|
|
|
- sessionStorage.setItem("deleteIndex",deleteIndex);
|
|
|
+ //sessionStorage.setItem("deleteIndex",deleteIndex);
|
|
|
dataCache.splice(deleteIndex,1)
|
|
|
if(data.res!=null){
|
|
|
dataCache.push(data.res[0])
|
|
@@ -489,13 +484,9 @@
|
|
|
text: '确定',
|
|
|
btnClass: 'btn-primary-2',
|
|
|
action: function() {
|
|
|
- if(parent.children("div").length<10){
|
|
|
- $(".dropload-refresh").text("没有更多了");
|
|
|
- }
|
|
|
if(parent.children("div").length==0){
|
|
|
nodataHtml=""
|
|
|
nodataHtml+='<div style="text-align:center;">';
|
|
|
- //nodataHtml+='<div style="display:flex;justify-content:center;align-items: center;">';
|
|
|
nodataHtml+='<img src="/wx_dataExport/images/fish.png" style="width: 2.8rem;height: 2.8rem;margin-top: 45%;">'
|
|
|
nodataHtml+='<div style="color: #888;font-size: .32rem;text-align:center;">暂无数据</div></div>'
|
|
|
$(".card_lists").append(nodataHtml);
|
|
@@ -527,8 +518,6 @@
|
|
|
publishTime=timestampToTime(publishtime_);
|
|
|
publishTime=publishTime+"前全部";
|
|
|
}
|
|
|
- }else{
|
|
|
- //publishTime= publishTime.replace(/\./g,"/")
|
|
|
}
|
|
|
}
|
|
|
//1标准字段包 2高级字段包
|
|
@@ -558,7 +547,6 @@
|
|
|
iconHtml=""
|
|
|
iconHtml+='<div class="card-footer">'
|
|
|
+'<a onclick="onceMore(this)" class="btn cancle">再次购买</a>'
|
|
|
- //+'<a href="/front/wxMyOrder/wxToOrderDetail/'+orderCode+'" class="btn cancle">查看详情</a>'
|
|
|
+'</div>'
|
|
|
}
|
|
|
//订单总数
|
|
@@ -583,9 +571,6 @@
|
|
|
var keysLen = keysArr.length;for(var j=0;j<keysLen;j++){
|
|
|
keysHtml += "<span>" + keysArr[j] + " </span>";
|
|
|
}
|
|
|
-// if(keysArr.length>2){
|
|
|
-// keysHtml += "<span>...</span>";
|
|
|
-// }
|
|
|
}else{
|
|
|
keysHtml=""
|
|
|
}
|
|
@@ -596,8 +581,6 @@
|
|
|
+orderHtml
|
|
|
+'</div>'
|
|
|
+'<div class="card-content">'
|
|
|
- //+'<a href="javascript:;" class="media">'
|
|
|
- //+'<a href="/front/wxMyOrder/wxToOrderDetail/'+orderCode+'" eid='+orderCode+' class="media">'
|
|
|
+'<a eid='+orderCode+' class="media">'
|
|
|
+'<div class="media-img">'
|
|
|
+'<img src="/dataExport/image/historical_data.png">'
|
|
@@ -617,11 +600,12 @@
|
|
|
+'</div>'
|
|
|
|
|
|
}
|
|
|
- //$(".card_lists").append(listhtml);
|
|
|
//删除完成后补的订单仍可点击
|
|
|
appendList($(listhtml))
|
|
|
}
|
|
|
-
|
|
|
+ if(parent.children("div").length<10){
|
|
|
+ $(".dropload-refresh").text("没有更多了");
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -629,11 +613,7 @@
|
|
|
}else{
|
|
|
alertS("删除失败,请联系管理员!");
|
|
|
}
|
|
|
- },
|
|
|
- error: function(xhr, type){
|
|
|
- console.log("delete err");
|
|
|
- }
|
|
|
- });
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
cancel: {
|
|
@@ -654,12 +634,7 @@
|
|
|
text: '确定',
|
|
|
btnClass: 'btn-primary-0',
|
|
|
action: function() {
|
|
|
- $.ajax({
|
|
|
- type: "post",
|
|
|
- url: "/front/wxMyorder/wxDeleteOrder",
|
|
|
- data: {"id":id,"pageNum":pageIndex,"type":typ,"cancel":"cancel"},
|
|
|
- dataType: 'json',
|
|
|
- success: function(data){
|
|
|
+ $.post("/subscribepay/order/deleteOrder", {"id":id,"pageNum":pageIndex,"type":typ,"cancel":"cancel"},function(data){
|
|
|
if(data && data["success"]){
|
|
|
$.alert({
|
|
|
title:"提示信息",
|
|
@@ -685,11 +660,7 @@
|
|
|
}else{
|
|
|
alertS("删除失败,请联系管理员!");
|
|
|
}
|
|
|
- },
|
|
|
- error: function(xhr, type){
|
|
|
- console.log("delete err");
|
|
|
- }
|
|
|
- });
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
cancel: {
|
|
@@ -712,6 +683,7 @@
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
clickFlag=true;
|
|
|
$(function() {
|
|
|
sessionStorage.removeItem("applysuccess");
|
|
@@ -839,27 +811,16 @@
|
|
|
}else{
|
|
|
queryOrder();
|
|
|
}
|
|
|
-
|
|
|
// }
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- /*------------------------------------------------------------------*/
|
|
|
+ })
|
|
|
+
|
|
|
//查询订单ajax
|
|
|
//typ 0全部 1未支付 2已支付
|
|
|
function queryOrder(typ,objD){
|
|
|
// sessionStorage.removeItem("payMsg")
|
|
|
// sessionStorage.removeItem("deleteIndex")
|
|
|
var result = true;
|
|
|
- $.ajax({
|
|
|
- type:"post",
|
|
|
- url:"/front/wxMyOrder/myOrder",
|
|
|
- data:{
|
|
|
- "type":typ
|
|
|
- },
|
|
|
- async:false,
|
|
|
- dataType: 'json',
|
|
|
- success:function(data){
|
|
|
+ $.post("/subscribepay/order/myOrder",{"type":typ},function(data){
|
|
|
$(".loading_").hide();
|
|
|
var list=data.res;
|
|
|
dataCache =data.res;
|
|
@@ -871,72 +832,188 @@
|
|
|
result = false;
|
|
|
nodataHtml=""
|
|
|
nodataHtml+='<div style="text-align:center;">';
|
|
|
- //nodataHtml+='<div style="display:flex;justify-content:center;align-items: center;">';
|
|
|
nodataHtml+='<img src="/wx_dataExport/images/fish.png" style="width: 2.8rem;height: 2.8rem;margin-top: 45%;">'
|
|
|
nodataHtml+='<div style="color: #888;font-size: .32rem;text-align:center;">暂无数据</div></div>'
|
|
|
- //appendList(nodataHtml);
|
|
|
$(".card_lists").append(nodataHtml);
|
|
|
-// if(!result){
|
|
|
-// return
|
|
|
-// }
|
|
|
}
|
|
|
- },
|
|
|
- error: function(xhr, type){
|
|
|
- console.log("query err");
|
|
|
- }
|
|
|
- });
|
|
|
+ })
|
|
|
//return 的是 暂无数据的情况noDataHtml
|
|
|
if(!result){
|
|
|
$(".dropload-down").hide()
|
|
|
return
|
|
|
}
|
|
|
- if(hasNextPage){
|
|
|
- //setTimeout(function(){
|
|
|
- wxflag = $(' .main').dropload({
|
|
|
- scrollArea : $(".main"),
|
|
|
- loadDownFn : function(me){
|
|
|
- $.ajax({
|
|
|
- type: 'post',
|
|
|
- url: '/front/wxMyOrder/myOrder/myOrderPaging',
|
|
|
- data: {"pageNum": pageIndex,"type":typ},
|
|
|
- dataType: 'json',
|
|
|
- success: function(data){
|
|
|
- //没有数据
|
|
|
- if(data.res==null||data.res.length==0){
|
|
|
- noMoreData(me);
|
|
|
- }else{
|
|
|
- dataCache=dataCache.concat(data.res);
|
|
|
- pageIndex++;
|
|
|
- structureHtml(data.res);
|
|
|
- if(data.hasNextPage){
|
|
|
- // 每次数据插入,必须重置
|
|
|
- me.resetload();
|
|
|
- }else{
|
|
|
+ setTimeout(function(){
|
|
|
+ if(hasNextPage){
|
|
|
+ wxflag = $(' .main').dropload({
|
|
|
+ scrollArea : $(".main"),
|
|
|
+ loadDownFn : function(me){
|
|
|
+ $.post('/subscribepay/order/myOrderPaging', {"pageNum": pageIndex,"type":typ},function(data){
|
|
|
+ //没有数据
|
|
|
+ if(data.res==null||data.res.length==0){
|
|
|
noMoreData(me);
|
|
|
+ }else{
|
|
|
+ dataCache=dataCache.concat(data.res);
|
|
|
+ pageIndex++;
|
|
|
+ structureHtml(data.res);
|
|
|
+ if(data.hasNextPage){
|
|
|
+ // 每次数据插入,必须重置
|
|
|
+ me.resetload();
|
|
|
+ }else{
|
|
|
+ noMoreData(me);
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- },
|
|
|
- error: function(xhr, type){
|
|
|
- noMoreData(me);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ wxflag = $('.main').dropload({
|
|
|
+ scrollArea : window,
|
|
|
+ loadDownFn : function(me){
|
|
|
+ if(wxflag == null){
|
|
|
+ wxflag = me;
|
|
|
}
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- // },200);
|
|
|
- }else{
|
|
|
- wxflag = $('.main').dropload({
|
|
|
- scrollArea : window,
|
|
|
- loadDownFn : function(me){
|
|
|
- if(wxflag == null){
|
|
|
- wxflag = me;
|
|
|
- }
|
|
|
- noMoreData(me);
|
|
|
- }
|
|
|
- });
|
|
|
- noMoreData(wxflag);
|
|
|
- }
|
|
|
+ noMoreData(me);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ noMoreData(wxflag);
|
|
|
+ }
|
|
|
+ },300)
|
|
|
}
|
|
|
|
|
|
+ function structureHtml(object){
|
|
|
+ var listhtml='';
|
|
|
+ var psss = 0;
|
|
|
+ for(var index in object){
|
|
|
+ var obj=object[index];
|
|
|
+ count++;
|
|
|
+ var id = obj.id;
|
|
|
+ //订单编号
|
|
|
+ var orderCode = obj.order_code;
|
|
|
+ //创建时间
|
|
|
+ var createTime=obj.create_time;
|
|
|
+ createTime =createTime.replace(/-/g,".")
|
|
|
+ //选择时间
|
|
|
+ var publishTime = obj.filter_publishtime;
|
|
|
+ if(!publishTime){
|
|
|
+ publishTime = "全部";
|
|
|
+ }else{
|
|
|
+ if(publishTime.length==11){
|
|
|
+ if(publishTime.slice(0,1)!="_"){
|
|
|
+ var publishtime_=publishTime.slice(0,10);
|
|
|
+ publishTime=timestampToTime(publishtime_);
|
|
|
+ publishTime=publishTime+"-";
|
|
|
+ }else{
|
|
|
+ var publishtime_=publishTime.slice(1,11);
|
|
|
+ publishTime=timestampToTime(publishtime_);
|
|
|
+ publishTime=publishTime+"前全部";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //1标准字段包 2高级字段包
|
|
|
+ var spec = obj.data_spec;
|
|
|
+ if(spec==1){
|
|
|
+ spec ="标准字段包";
|
|
|
+ }else if(spec ==2){
|
|
|
+ spec="高级字段包";
|
|
|
+ }
|
|
|
+ //订单总数
|
|
|
+ var data_count=obj.data_count;
|
|
|
+ //订单金额
|
|
|
+ var orderMoney = obj.order_money;
|
|
|
+ //金额格式化 小数点前 1,000
|
|
|
+ orderMoney=orderMoney+"";
|
|
|
+ orderMoney_1=toThousands(orderMoney.split(".")[0]);
|
|
|
+ orderMoney_2=orderMoney.split(".")[1];
|
|
|
+ if(orderMoney_2){
|
|
|
+ orderMoney=orderMoney_1+"."+orderMoney_2;
|
|
|
+ }else{
|
|
|
+ orderMoney=orderMoney_1;
|
|
|
+ }
|
|
|
+ //
|
|
|
+ var token = obj.token;
|
|
|
+ //订单状态 0待支付 1已完成 -1删除
|
|
|
+ var orderStatus = obj.order_status;
|
|
|
+ if(sessionStorage&&sessionStorage.getItem("paySuccess_"+obj.order_code)!=null){
|
|
|
+ orderStatus = sessionStorage.getItem("paySuccess_"+obj.order_code);
|
|
|
+ if (orderTabActive==1&&orderStatus==1){
|
|
|
+ gopayIndex = index;
|
|
|
+ psss=obj.order_code;
|
|
|
+ continue;
|
|
|
+ }else{
|
|
|
+ sessionStorage.removeItem("paySuccess_"+obj.order_code);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(orderStatus==0){
|
|
|
+ orderStatus="待付款"
|
|
|
+ orderHtml=""
|
|
|
+ orderHtml+='<span class="status notpay">'+orderStatus+'</span>'
|
|
|
+ orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id +",this)\"></a>";
|
|
|
+ iconHtml=""
|
|
|
+ iconHtml+='<div class="card-footer">'
|
|
|
+ +'<a class="btn cancle" onclick="cancelOrder('+id+',this)">取消订单</a>'
|
|
|
+ +'<a href="javascript:void(0)" onclick="goPay(this)" class="btn pay" filterid="'+obj.filter_id+'" token="'+token+'" id="'+id+'">去支付</a>'
|
|
|
+ +'</div>'
|
|
|
+ }else if(orderStatus==1){
|
|
|
+ orderStatus="已完成";
|
|
|
+ orderHtml=""
|
|
|
+ orderHtml+='<span class="status">'+orderStatus+'</span>'
|
|
|
+ orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id +",this)\"></a>";
|
|
|
+ iconHtml=""
|
|
|
+ iconHtml+='<div class="card-footer">'
|
|
|
+ +'<a onclick="onceMore(this)" class="btn cancle">再次购买</a>'
|
|
|
+ +'</div>'
|
|
|
+ }else if(orderStatus==-2){
|
|
|
+ orderStatus="已取消";
|
|
|
+ orderHtml="";
|
|
|
+ orderHtml+='<span class="status">'+orderStatus+'</span>'
|
|
|
+ orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id +",this)\"></a>";
|
|
|
+ iconHtml="";
|
|
|
+ iconHtml+='<div class="card-footer">'
|
|
|
+ +'<a onclick="onceMore(this)" class="btn cancle">再次购买</a>'
|
|
|
+ +'</div>'
|
|
|
+ }
|
|
|
+ //关键词
|
|
|
+ if(obj.filter_keys && obj.filter_keys.split(",").length>0){
|
|
|
+ var keysHtml="";
|
|
|
+ var keysArr = obj.filter_keys.split(",");
|
|
|
+ var keysLen = keysArr.length;
|
|
|
+ for(var j=0;j<keysLen;j++){
|
|
|
+ keysHtml += "<span>" + keysArr[j] + " </span>";
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ keysHtml=""
|
|
|
+ }
|
|
|
+
|
|
|
+ listhtml+='<div class="card">'
|
|
|
+ +'<div class="card-header">'
|
|
|
+ +'<span class="time" style="color:#888888">'+createTime+'</span>'
|
|
|
+ +orderHtml
|
|
|
+ +'</div>'
|
|
|
+ +'<div class="card-content">'
|
|
|
+ +'<a eid='+orderCode+' class="media">'
|
|
|
+ +'<div class="media-img">'
|
|
|
+ +'<img src="/dataExport/image/historical_data.png">'
|
|
|
+ +'</div>'
|
|
|
+ +'<div class="media-info">'
|
|
|
+ +'<p class="item-ifo ellipsis">关键词:'+ keysHtml+'</p>'
|
|
|
+ +'<p class="item-ifo ellipsis">数据量:'+ data_count +'条</p>'
|
|
|
+ +'<p class="item-ifo ellipsis">数据规格:'+spec+'</p>'
|
|
|
+ +'<p class="item-ifo ellipsis">筛选日期:'+publishTime+'</p>'
|
|
|
+ +'</div>'
|
|
|
+ +'</a>'
|
|
|
+ +'<div class="price">'
|
|
|
+ +'<strong class="current">¥'+orderMoney+'</strong>'
|
|
|
+ +'</div>'
|
|
|
+ +'</div>'
|
|
|
+ +iconHtml
|
|
|
+ +'</div>'
|
|
|
+ }
|
|
|
+ appendList($(listhtml));
|
|
|
+// if(sessionStorage&&sessionStorage.getItem("paySuccess_"+psss)!=null&&orderTabActive==1){
|
|
|
+// sessionStorage.removeItem("paySuccess_"+psss);
|
|
|
+// getOneMore(gopayIndex);
|
|
|
+// }
|
|
|
+ }
|
|
|
|
|
|
function noMoreData(me){
|
|
|
if(me == null){
|
|
@@ -951,155 +1028,6 @@
|
|
|
// 即使加载出错,也得重置
|
|
|
me.resetload();
|
|
|
}
|
|
|
-
|
|
|
- function structureHtml(object){
|
|
|
- var listhtml='';
|
|
|
- var psss = 0;
|
|
|
- for(var index in object){
|
|
|
- var obj=object[index];
|
|
|
- count++;
|
|
|
- var id = obj.id;
|
|
|
- //订单编号
|
|
|
- var orderCode = obj.order_code;
|
|
|
- //创建时间
|
|
|
- var createTime=obj.create_time;
|
|
|
- createTime =createTime.replace(/-/g,".")
|
|
|
- //选择时间
|
|
|
- var publishTime = obj.filter_publishtime;
|
|
|
- if(!publishTime){
|
|
|
- publishTime = "全部";
|
|
|
- }else{
|
|
|
- if(publishTime.length==11){
|
|
|
- if(publishTime.slice(0,1)!="_"){
|
|
|
- var publishtime_=publishTime.slice(0,10);
|
|
|
- publishTime=timestampToTime(publishtime_);
|
|
|
- publishTime=publishTime+"-";
|
|
|
- }else{
|
|
|
- var publishtime_=publishTime.slice(1,11);
|
|
|
- publishTime=timestampToTime(publishtime_);
|
|
|
- publishTime=publishTime+"前全部";
|
|
|
- }
|
|
|
- }else{
|
|
|
- //publishTime= publishTime.replace(/\./g,"/")
|
|
|
- }
|
|
|
- }
|
|
|
- //1标准字段包 2高级字段包
|
|
|
- var spec = obj.data_spec;
|
|
|
- if(spec==1){
|
|
|
- spec ="标准字段包";
|
|
|
- }else if(spec ==2){
|
|
|
- spec="高级字段包";
|
|
|
- }
|
|
|
- //订单总数
|
|
|
- var data_count=obj.data_count;
|
|
|
- //订单金额
|
|
|
- var orderMoney = obj.order_money;
|
|
|
- //金额格式化 小数点前 1,000
|
|
|
- orderMoney=orderMoney+"";
|
|
|
- orderMoney_1=toThousands(orderMoney.split(".")[0]);
|
|
|
- orderMoney_2=orderMoney.split(".")[1];
|
|
|
- if(orderMoney_2){
|
|
|
- orderMoney=orderMoney_1+"."+orderMoney_2;
|
|
|
- }else{
|
|
|
- orderMoney=orderMoney_1;
|
|
|
- }
|
|
|
- //
|
|
|
- var token = obj.token;
|
|
|
- //订单状态 0待支付 1已完成 -1删除
|
|
|
- //+'<span class="status notpay">'+orderStatus+'</span>'
|
|
|
- var orderStatus = obj.order_status;
|
|
|
- if(sessionStorage&&sessionStorage.getItem("paySuccess_"+obj.order_code)!=null){
|
|
|
- orderStatus = sessionStorage.getItem("paySuccess_"+obj.order_code);
|
|
|
- if (orderTabActive==1&&orderStatus==1){
|
|
|
- gopayIndex = index;
|
|
|
- psss=obj.order_code;
|
|
|
- continue;
|
|
|
- }else{
|
|
|
- sessionStorage.removeItem("paySuccess_"+obj.order_code);
|
|
|
- }
|
|
|
- }
|
|
|
- if(orderStatus==0){
|
|
|
- orderStatus="待付款"
|
|
|
- orderHtml=""
|
|
|
- orderHtml+='<span class="status notpay">'+orderStatus+'</span>'
|
|
|
- orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id +",this)\"></a>";
|
|
|
- iconHtml=""
|
|
|
- iconHtml+='<div class="card-footer">'
|
|
|
- +'<a class="btn cancle" onclick="cancelOrder('+id+',this)">取消订单</a>'
|
|
|
- +'<a href="javascript:void(0)" onclick="goPay(this)" class="btn pay" filterid="'+obj.filter_id+'" token="'+token+'" id="'+id+'">去支付</a>'
|
|
|
- +'</div>'
|
|
|
- }else if(orderStatus==1){
|
|
|
- orderStatus="已完成";
|
|
|
- orderHtml=""
|
|
|
- orderHtml+='<span class="status">'+orderStatus+'</span>'
|
|
|
- orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id +",this)\"></a>";
|
|
|
- iconHtml=""
|
|
|
- iconHtml+='<div class="card-footer">'
|
|
|
- +'<a onclick="onceMore(this)" class="btn cancle">再次购买</a>'
|
|
|
- +'</div>'
|
|
|
- }else if(orderStatus==-2){
|
|
|
- orderStatus="已取消";
|
|
|
- orderHtml="";
|
|
|
- orderHtml+='<span class="status">'+orderStatus+'</span>'
|
|
|
- orderHtml+="<a class=\"shanchu iconfont icon-shanchu\" title=\"删除订单\" onclick=\"deleteOrder(" + id +",this)\"></a>";
|
|
|
- iconHtml="";
|
|
|
- iconHtml+='<div class="card-footer">'
|
|
|
- +'<a onclick="onceMore(this)" class="btn cancle">再次购买</a>'
|
|
|
- +'</div>'
|
|
|
- }
|
|
|
- //关键词
|
|
|
- if(obj.filter_keys && obj.filter_keys.split(",").length>0){
|
|
|
- var keysHtml="";
|
|
|
- var keysArr = obj.filter_keys.split(",");
|
|
|
- var keysLen = keysArr.length;
|
|
|
- for(var j=0;j<keysLen;j++){
|
|
|
- keysHtml += "<span>" + keysArr[j] + " </span>";
|
|
|
- }
|
|
|
-// if(keysArr.length>4){
|
|
|
-// keysHtml += "<span>...</span>";
|
|
|
-// }
|
|
|
- }else{
|
|
|
- keysHtml=""
|
|
|
- }
|
|
|
-
|
|
|
- listhtml+='<div class="card">'
|
|
|
- +'<div class="card-header">'
|
|
|
- +'<span class="time" style="color:#888888">'+createTime+'</span>'
|
|
|
- // +'<span class="status notpay" style="color:#888888">'+orderStatus+'</span>'
|
|
|
- +orderHtml
|
|
|
- +'</div>'
|
|
|
- +'<div class="card-content">'
|
|
|
- //+'<a href="javascript:;" class="media">'
|
|
|
- //+'<a href="/front/wxMyOrder/wxToOrderDetail/'+orderCode+'" eid='+orderCode+' class="media">'
|
|
|
- +'<a eid='+orderCode+' class="media">'
|
|
|
- +'<div class="media-img">'
|
|
|
- +'<img src="/dataExport/image/historical_data.png">'
|
|
|
- +'</div>'
|
|
|
- +'<div class="media-info">'
|
|
|
- +'<p class="item-ifo ellipsis">关键词:'+ keysHtml+'</p>'
|
|
|
- +'<p class="item-ifo ellipsis">数据量:'+ data_count +'条</p>'
|
|
|
- +'<p class="item-ifo ellipsis">数据规格:'+spec+'</p>'
|
|
|
- +'<p class="item-ifo ellipsis">筛选日期:'+publishTime+'</p>'
|
|
|
- +'</div>'
|
|
|
- +'</a>'
|
|
|
- +'<div class="price">'
|
|
|
- //+'<span class="initial">原价:¥'+orderMoney+'</span>'
|
|
|
- +'<strong class="current">¥'+orderMoney+'</strong>'
|
|
|
- +'</div>'
|
|
|
- +'</div>'
|
|
|
- +iconHtml
|
|
|
- +'</div>'
|
|
|
-
|
|
|
- }
|
|
|
- //appendList($("<div>"+listhtml+"</div>"));
|
|
|
- appendList($(listhtml));
|
|
|
- if(sessionStorage&&sessionStorage.getItem("paySuccess_"+psss)!=null&&orderTabActive==1){
|
|
|
- sessionStorage.removeItem("paySuccess_"+psss);
|
|
|
- getOneMore(gopayIndex);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- })
|
|
|
</script>
|
|
|
{{include "/common/baiducc.html"}}
|
|
|
</body>
|