1073 lines
49 KiB
HTML
1073 lines
49 KiB
HTML
|
|
<!doctype html>
|
|||
|
|
<html>
|
|||
|
|
|
|||
|
|
<head>
|
|||
|
|
<meta charset="utf-8">
|
|||
|
|
<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width" />
|
|||
|
|
<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
|
|||
|
|
<title>我的</title>
|
|||
|
|
<link rel="stylesheet" type="text/css" href="/css/api.css" />
|
|||
|
|
<link rel="stylesheet" type="text/css" href="/css/content.css" />
|
|||
|
|
<script type="text/javascript" src="/scripts/jquery-2.0.2.min.js"></script>
|
|||
|
|
<script type="text/javascript" src="/scripts/jquery.cookie.min.js"></script>
|
|||
|
|
<!--<script type="text/javascript" src="/scripts/iscroll.js"></script>-->
|
|||
|
|
<script type="text/javascript" src="/script/main.js?t=0"></script>
|
|||
|
|
<script type="text/javascript" src="/layer/layer.js"></script>
|
|||
|
|
<script type="text/javascript" src="/Scripts/long.js"></script>
|
|||
|
|
<script type="text/javascript" src="/script/moment.js"></script>
|
|||
|
|
<script type="text/javascript" src="/script/api.js"></script>
|
|||
|
|
<style type="text/css">
|
|||
|
|
html, body {overflow: hidden;}
|
|||
|
|
#wrapper {flex: 1;overflow-y: auto;-webkit-overflow-scrolling: touch;}
|
|||
|
|
.pullDown {position: absolute;top: -1.25rem;left: 0;width: 100%;z-index: 100;text-align: center;display: none;}
|
|||
|
|
.pullUp {position: absolute;bottom: -1.25rem;left: 0;width: 100%;z-index: 100;text-align: center;display: none;}
|
|||
|
|
.pullDown.loading, .pullUp.loading, .pullDown.refresh, .pullUp.refresh {display: block;}
|
|||
|
|
.mytb_box {position: absolute;bottom: 1.8em;left: 5.8em;}
|
|||
|
|
.mytb_box div {float: left;width: 2.2em;}
|
|||
|
|
.mytb_box div img {float: left;margin: 0.4em;width: 1.4em;height: 1.4em;margin-bottom: 0;}
|
|||
|
|
.mytb_box div span {float: left;display: block;width: 100%;font-size: 0.85em;text-align: center;color: #fff;}
|
|||
|
|
.myincome-box {padding-bottom: 0;}
|
|||
|
|
.myincome-box .myincome-item-to .myincome-item {width: 33.3333333333333333%;}
|
|||
|
|
.myincome-box.myorders-box .myincome-box-to .myincome-item div {font-size: 1.2em;text-align: left;}
|
|||
|
|
.jhdyb_box {padding: 0em;}
|
|||
|
|
.jhdyb_box .cztext input {height: 2.8em;line-height: 2.8em;font-size: 1em;}
|
|||
|
|
.jhdyb_box .cztext .scan {margin: 0;padding: 0;}
|
|||
|
|
.jhdyb_box .cztext .scan img {width: 2.8em;height: 2.8em;}
|
|||
|
|
.jhdyb_box .mybtn {line-height: 2.2em;}
|
|||
|
|
.star_box {display: inline-block;width: 1.4em;height: 1.4em;background: url("/images/star.gif") no-repeat 0 0;background-size: 100% 100%;}
|
|||
|
|
</style>
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
var userId = null;
|
|||
|
|
var LoginId = null;
|
|||
|
|
var CartId = null;
|
|||
|
|
var ifapp = 0, ifvideo = 0, sjuLevel = 0, sjuLevel0 = 0, ckuLevel = 0, thuLevel=0, ifyjhsj = 0, ifkappzjfws = 0, ifzjfws=0;
|
|||
|
|
var opentimes = null;
|
|||
|
|
var opentimes0 = null;
|
|||
|
|
var sInterval0 = null;
|
|||
|
|
var yaoqingma = "";
|
|||
|
|
var myScroll = null;
|
|||
|
|
var pullDown = 1; // 下拉刷新避免多次执行
|
|||
|
|
var pullUp = 1; // 上拉加载避免多次执行
|
|||
|
|
var downHeight = 0;
|
|||
|
|
var upHeight = 0;
|
|||
|
|
var isload = true;//设置是否终止滚动加载
|
|||
|
|
var curScrollHeight = 0;//当前滚动位置
|
|||
|
|
var curCount = 1;//计数器,防止滚动时重复执行加载下一页
|
|||
|
|
var lyAd = null;
|
|||
|
|
var isLoading = false;
|
|||
|
|
var isLoadRewardVideo = false;
|
|||
|
|
$(document).ready(function () {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
LoginId = getlocalStorage("LoginId");
|
|||
|
|
CartId = getlocalStorage("CartId");
|
|||
|
|
var aifapp = getlocalStorage("ifapp");
|
|||
|
|
if (aifapp != null) {
|
|||
|
|
ifapp = aifapp;
|
|||
|
|
}
|
|||
|
|
var aifvideo = getlocalStorage("ifvideo");
|
|||
|
|
if (aifvideo != null) {
|
|||
|
|
ifvideo = aifvideo;
|
|||
|
|
}
|
|||
|
|
if (ifapp == 1 && ifvideo == 0) {
|
|||
|
|
$("#index_1_box").removeClass("uhide");
|
|||
|
|
$("#showa45").removeClass("uhide");
|
|||
|
|
} else {
|
|||
|
|
$("#index_1_box").addClass("uhide");
|
|||
|
|
$("#showa45").addClass("uhide");
|
|||
|
|
}
|
|||
|
|
rdata(1);
|
|||
|
|
if (sInterval0 != null) {
|
|||
|
|
clearInterval(sInterval0);
|
|||
|
|
}
|
|||
|
|
sInterval0 = setInterval("rdata(0)", 8000);
|
|||
|
|
opentimes = setInterval(function () {
|
|||
|
|
var myrefresh = getlocalStorage("myrefresh");
|
|||
|
|
if (myrefresh != null) {
|
|||
|
|
rdata(0);
|
|||
|
|
clearlocalStorage("myrefresh");
|
|||
|
|
}
|
|||
|
|
}, 1000);
|
|||
|
|
if (ifapp == 1) {
|
|||
|
|
opentimes0 = setInterval(function () {
|
|||
|
|
var myrefresh = $api.getStorage("taskrefresh");
|
|||
|
|
if (myrefresh != null) {
|
|||
|
|
rdata(0);
|
|||
|
|
$api.rmStorage("taskrefresh");
|
|||
|
|
}
|
|||
|
|
}, 1000);
|
|||
|
|
}
|
|||
|
|
//获取当天签到状态
|
|||
|
|
getSignInfo();
|
|||
|
|
//立即签到按钮
|
|||
|
|
$('#btnSignIn').on('click', function(e){
|
|||
|
|
if ($("#btnSignIn").text() === "立即签到") {
|
|||
|
|
$("#btnSignIn").text("请稍候...");
|
|||
|
|
var userId = getlocalStorage("userId");
|
|||
|
|
var LoginId = getlocalStorage("LoginId");
|
|||
|
|
var postData = {
|
|||
|
|
userId: userId,
|
|||
|
|
LoginId: LoginId
|
|||
|
|
};
|
|||
|
|
$.ajax({
|
|||
|
|
type: 'POST',
|
|||
|
|
url: "/api/api.ashx?action=user_sign_in",
|
|||
|
|
data: postData,
|
|||
|
|
dataType: "json",
|
|||
|
|
error: function (xhr) {
|
|||
|
|
tishi3("发生错误:" + JSON.stringify(xhr));
|
|||
|
|
},
|
|||
|
|
success: function (data) {
|
|||
|
|
if (data) {
|
|||
|
|
if (data.status == 1) {
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
rdata(1);
|
|||
|
|
$("#btnSignIn").text("已签到");
|
|||
|
|
}
|
|||
|
|
else
|
|||
|
|
{
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
$("#btnSignIn").text("立即签到");
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
tishi3('网络异常,请稍后重试');
|
|||
|
|
$("#btnSignIn").text("立即签到");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
})
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
|
|||
|
|
function onScroll0() {
|
|||
|
|
$("#wrapper").scroll(function () {
|
|||
|
|
|
|||
|
|
/*var gdheight = $("#wrapper").scrollTop(); //滚动的距离
|
|||
|
|
if (gdheight > 140) {
|
|||
|
|
$("#aui-header").css({ "background": "linear-gradient(to bottom,#01464D,#01464D)", "display": "block" });
|
|||
|
|
} else {
|
|||
|
|
$("#aui-header").css({ "background": "none", "display": "none" });
|
|||
|
|
}*/
|
|||
|
|
|
|||
|
|
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function rdata(ag) {
|
|||
|
|
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
LoginId = getlocalStorage("LoginId");
|
|||
|
|
if (ag == 1) {
|
|||
|
|
$(".ajaxLoader").removeClass("uhide");
|
|||
|
|
}
|
|||
|
|
$("#color_box0").css("display", "none");
|
|||
|
|
$.ajax({
|
|||
|
|
type: 'GET',
|
|||
|
|
url: "/apiajax.ashx",
|
|||
|
|
data: "&action=getmydata&ifweb=1&userId=" + (userId != null ? userId : "") + "&LoginId=" + (LoginId != null ? LoginId : ""),
|
|||
|
|
dataType: "JSON",
|
|||
|
|
error: function (xhr, type) {
|
|||
|
|
//tishi3("发生错误:" + JSON.stringify(xhr));
|
|||
|
|
},
|
|||
|
|
success: function (data) {
|
|||
|
|
if (data) {
|
|||
|
|
if (data.status == 1) {
|
|||
|
|
setlocalStorage("FHEnable", data.FHEnable);
|
|||
|
|
setlocalStorage("FHEnable1", data.FHEnable1);
|
|||
|
|
setlocalStorage("FHEnable4", data.FHEnable4);
|
|||
|
|
setlocalStorage("msgCount", data.msgCount);
|
|||
|
|
$("#topmina").css("top", "6.2em");
|
|||
|
|
$("#dlJB").css("display", "none");
|
|||
|
|
if (data.iflogin == 2) {
|
|||
|
|
clearlocalStorage("userId");
|
|||
|
|
clearlocalStorage("LoginId");
|
|||
|
|
$("#JiFenCount0").html("0");
|
|||
|
|
$("#JiFenCount1").html("0");
|
|||
|
|
$("#JiFenCount2").html("0");
|
|||
|
|
$("#JiFenCount3").html("0");
|
|||
|
|
$("#JiFenCount4").html("0");
|
|||
|
|
$("#ygkcount").html("0");
|
|||
|
|
$("#ygkcount0").html("0");
|
|||
|
|
$("#wfk_box").html("0");
|
|||
|
|
$("#dfh_box").html("0");
|
|||
|
|
$("#dsh_box").html("0");
|
|||
|
|
$("#ywc_box").html("0");
|
|||
|
|
$("#loginafter").addClass("uhide");
|
|||
|
|
$("#loginbefore").removeClass("uhide");
|
|||
|
|
$("#btnSignIn").removeClass("uhide");
|
|||
|
|
$(".mytb_box").addClass("uhide");
|
|||
|
|
$("#xborders_box").addClass("uhide");
|
|||
|
|
$("#qiandao").html("签到");
|
|||
|
|
$("#btnSignIn").text("立即签到");
|
|||
|
|
}
|
|||
|
|
else if (data.iflogin == 1) {
|
|||
|
|
|
|||
|
|
setlocalStorage("userinfo", JSON.stringify(data.userInfo));
|
|||
|
|
var userdata = data.userInfo;
|
|||
|
|
if (userdata.bdshEnable == "1") {
|
|||
|
|
$("#footer-business").addClass("uhide");
|
|||
|
|
$("#showa1").addClass("uhide");
|
|||
|
|
}
|
|||
|
|
if (userdata.UserPic != "") {
|
|||
|
|
$("#myavatar").attr("src", userdata.UserPic);
|
|||
|
|
}
|
|||
|
|
if (data.IFqiandao > 0) {
|
|||
|
|
$("#qiandao").html("已签到");
|
|||
|
|
}
|
|||
|
|
yaoqingma = userdata.yaoqingma;
|
|||
|
|
sjuLevel = userdata.sjuLevel;
|
|||
|
|
|
|||
|
|
if (sjuLevel == 2) {
|
|||
|
|
$("#appbus_title").html("门店管理");
|
|||
|
|
|
|||
|
|
} else if (sjuLevel == 1) {
|
|||
|
|
$("#appbus_title").html("申请门店正在审核中...");
|
|||
|
|
|
|||
|
|
} else {
|
|||
|
|
$("#appbus_title").html("申请门店");
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
/*if (ifkappzjfws == 2) {
|
|||
|
|
$("#appbus_title0").html("线上供应链管理");
|
|||
|
|
} else if (sjuLevel0 == 1) {
|
|||
|
|
$("#appbus_title0").html("申请线上供应链正在审核中...");
|
|||
|
|
} else {
|
|||
|
|
$("#appbus_title0").html("申请线上供应链");
|
|||
|
|
}
|
|||
|
|
if (ifzjfws == 2) {
|
|||
|
|
$("#appzjfws_title").html("镇街服务商已审核");
|
|||
|
|
} else if (ifzjfws == 1) {
|
|||
|
|
$("#appzjfws_title").html("申请镇街服务商正在审核中...");
|
|||
|
|
} else {
|
|||
|
|
$("#appzjfws_title").html("申请镇街服务商");
|
|||
|
|
}*/
|
|||
|
|
$("#myName").html(userdata.RealName);
|
|||
|
|
$("#myID").html(userdata.UserName);
|
|||
|
|
$("#myJB").html(userdata.uLevel);
|
|||
|
|
/* if (userdata.uLevel1 != "") {
|
|||
|
|
$("#topmina").css("top", "8.2em");
|
|||
|
|
$("#dlJB").css("display", "block");
|
|||
|
|
$("#dlJB").html(userdata.uLevel1);
|
|||
|
|
}*/
|
|||
|
|
//$("#JiFenCount0").html(userdata.xjjye);
|
|||
|
|
$("#JiFenCount1").html(userdata.xjjye);
|
|||
|
|
$("#PointCount").html(userdata.point);
|
|||
|
|
$("#JiFenCount2").html(userdata.ggjye);
|
|||
|
|
$("#JiFenCount3").html(userdata.dhjye);
|
|||
|
|
$("#JiFenCount4").html(userdata.btjye);
|
|||
|
|
|
|||
|
|
$("#wfk_box").html(userdata.ordercount);
|
|||
|
|
$("#dfh_box").html(userdata.ordercount0);
|
|||
|
|
$("#dsh_box").html(userdata.ordercount1);
|
|||
|
|
$("#ywc_box").html(userdata.ordercount2);
|
|||
|
|
|
|||
|
|
$("#ywcrw_box").html('看流量获得广告券');
|
|||
|
|
|
|||
|
|
/*if (userdata.wgkcount0 == 0) {
|
|||
|
|
$("#ywcrw0_box").html("已完成");
|
|||
|
|
$("#ywcrw0_box").addClass("hovered");
|
|||
|
|
} else {
|
|||
|
|
$("#ywcrw0_box").html('赚取贡献值<br>(还可以看<span id="ygkcount0">0</span>个)');
|
|||
|
|
$("#ywcrw0_box").removeClass("hovered");
|
|||
|
|
$("#ygkcount0").html(userdata.wgkcount0);
|
|||
|
|
}*/
|
|||
|
|
if (userdata.ifywc == 1) {
|
|||
|
|
$("#color_box0").css("display", "flex");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
if (data.CloseEnable != null) {
|
|||
|
|
if (data.CloseEnable == "1") {
|
|||
|
|
clearlocalStorage("userId");
|
|||
|
|
clearlocalStorage("LoginId");
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
$("#loginafter").removeClass("uhide");
|
|||
|
|
$("#loginbefore").addClass("uhide");
|
|||
|
|
//$("#btnSignIn").addClass("uhide");
|
|||
|
|
|
|||
|
|
} else {
|
|||
|
|
|
|||
|
|
$("#PointCount").html("0");
|
|||
|
|
$("#JiFenCount0").html("0");
|
|||
|
|
$("#JiFenCount1").html("0");
|
|||
|
|
$("#JiFenCount2").html("0");
|
|||
|
|
$("#JiFenCount3").html("0");
|
|||
|
|
$("#JiFenCount4").html("0");
|
|||
|
|
|
|||
|
|
$("#ygkcount").html("0");
|
|||
|
|
$("#ygkcount0").html("0");
|
|||
|
|
$("#wfk_box").html("0");
|
|||
|
|
$("#dfh_box").html("0");
|
|||
|
|
$("#dsh_box").html("0");
|
|||
|
|
$("#ywc_box").html("0");
|
|||
|
|
$("#loginafter").addClass("uhide");
|
|||
|
|
$("#loginbefore").removeClass("uhide");
|
|||
|
|
$("#xborders_box").addClass("uhide");
|
|||
|
|
$("#qiandao").html("签到");
|
|||
|
|
$("#btnSignIn").addClass("uhide");
|
|||
|
|
$("#btnSignIn").text("立即签到");
|
|||
|
|
}
|
|||
|
|
$(".ajaxLoader").addClass("uhide");
|
|||
|
|
} else {
|
|||
|
|
$("#PointCount").html("0");
|
|||
|
|
$("#JiFenCount0").html("0");
|
|||
|
|
$("#JiFenCount1").html("0");
|
|||
|
|
$("#JiFenCount2").html("0");
|
|||
|
|
$("#JiFenCount3").html("0");
|
|||
|
|
$("#JiFenCount4").html("0");
|
|||
|
|
|
|||
|
|
$("#ygkcount").html("0");
|
|||
|
|
$("#ygkcount0").html("0");
|
|||
|
|
$("#wfk_box").html("0");
|
|||
|
|
$("#dfh_box").html("0");
|
|||
|
|
$("#dsh_box").html("0");
|
|||
|
|
$("#ywc_box").html("0");
|
|||
|
|
$("#qiandao").html("签到");
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
$(".ajaxLoader").addClass("uhide");
|
|||
|
|
if (data.msg == "您未登录") {
|
|||
|
|
clearlocalStorage("userId");
|
|||
|
|
clearlocalStorage("LoginId");
|
|||
|
|
$("#loginafter").addClass("uhide");
|
|||
|
|
$("#loginbefore").removeClass("uhide");
|
|||
|
|
$("#xborders_box").addClass("uhide");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
onScroll0();
|
|||
|
|
} else {
|
|||
|
|
tishi3("网络错误!");
|
|||
|
|
$("#PointCount").html("0");
|
|||
|
|
$("#JiFenCount0").html("0");
|
|||
|
|
$("#JiFenCount1").html("0");
|
|||
|
|
$("#JiFenCount2").html("0");
|
|||
|
|
$("#JiFenCount3").html("0");
|
|||
|
|
$("#JiFenCount4").html("0");
|
|||
|
|
|
|||
|
|
$("#ygkcount").html("0");
|
|||
|
|
$("#ygkcount0").html("0");
|
|||
|
|
$("#wfk_box").html("0");
|
|||
|
|
$("#dfh_box").html("0");
|
|||
|
|
$("#dsh_box").html("0");
|
|||
|
|
$("#ywc_box").html("0");
|
|||
|
|
$("#qiandao").html("签到");
|
|||
|
|
$("#xborders_box").addClass("uhide");
|
|||
|
|
$(".ajaxLoader").addClass("uhide");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function getmydata() {
|
|||
|
|
var userinfo = getlocalStorage("userinfo");
|
|||
|
|
var userdata = JSON.parse(userinfo);
|
|||
|
|
if (userdata.UserPic != "") {
|
|||
|
|
$("#myavatar").attr("src", userdata.UserPic);
|
|||
|
|
}
|
|||
|
|
yaoqingma = userdata.yaoqingma;
|
|||
|
|
$("#myName").html(userdata.RealName);
|
|||
|
|
$("#myID").html(userdata.UserName);
|
|||
|
|
$("#myJB").html(userdata.uLevel);
|
|||
|
|
$("#PointCount").html(userdata.point);
|
|||
|
|
$("#JiFenCount0").html(userdata.xjjye);
|
|||
|
|
$("#JiFenCount1").html(userdata.xjye);
|
|||
|
|
$("#JiFenCount2").html(userdata.ggjye);
|
|||
|
|
$("#JiFenCount3").html(userdata.dhjye);
|
|||
|
|
$("#JiFenCount4").html(userdata.btjye);
|
|||
|
|
$("#ygkcount").html(userdata.wgkcount);
|
|||
|
|
$("#ygkcount0").html(userdata.wgkcount0);
|
|||
|
|
if (userdata.ifywc == 1) {
|
|||
|
|
$("#color_box0").css("display", "flex");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function orders() {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("myorders.html");
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onzh() {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("zhuanhuan.html");
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function myshoucang() {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("myfavorite.html");
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function oncz(t) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("chongzhi.html?t=" + t);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onzz(t) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("zhuanzhang.html?t=" + t);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onlog(t) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("mylog.html?t=" + t);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function ondetail(id) {
|
|||
|
|
onlink("news_details.html?id=" + id);
|
|||
|
|
}
|
|||
|
|
function onmy2wm() {
|
|||
|
|
onloginlink("my2wm.html?yaoqingma=" + yaoqingma);
|
|||
|
|
}
|
|||
|
|
function onorder(t) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("myorders.html?t0=" + t);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onorder0(t) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("myorders0.html?t0=" + t);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onorder2(t) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("mydhorders.html?t0=" + t);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onorder1(t) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("myzlorders.html?t=" + t);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function stopPropagation(e) {
|
|||
|
|
if (e.stopPropagation)
|
|||
|
|
e.stopPropagation();
|
|||
|
|
else
|
|||
|
|
e.cancelBubble = true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
function closecolor(t) {
|
|||
|
|
$("#color_box" + t).css("display", "none");
|
|||
|
|
}
|
|||
|
|
//拉取激励视频流量
|
|||
|
|
function loadRewardVideo(t) {
|
|||
|
|
if (userId != null && LoginId != null) {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
LoginId = getlocalStorage("LoginId");
|
|||
|
|
var userinfo = getlocalStorage("userinfo");
|
|||
|
|
var userdata = JSON.parse(userinfo);
|
|||
|
|
|
|||
|
|
var b = true;
|
|||
|
|
|
|||
|
|
if (b) {
|
|||
|
|
|
|||
|
|
try {
|
|||
|
|
|
|||
|
|
$api.setStorage("showggtype", (t + 1));
|
|||
|
|
onlink("task_video.html");
|
|||
|
|
|
|||
|
|
} catch (err) {
|
|||
|
|
tishi3(err);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
//展示激励视频流量(需要再拉取成功后执行)
|
|||
|
|
function showRewardVideo() {
|
|||
|
|
lyAd = api.require('lyAd');
|
|||
|
|
lyAd.showRewardVideo("", function (ret0, err0) {
|
|||
|
|
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
function lingqujiangli() {
|
|||
|
|
if ($("#btntj").val() == "确认领取") {
|
|||
|
|
$("#btntj").attr("disabled");
|
|||
|
|
$("#btntj").val("请稍候...");
|
|||
|
|
var datas = {
|
|||
|
|
action: "lingqujiangli0",
|
|||
|
|
userId: userId,
|
|||
|
|
LoginId: LoginId
|
|||
|
|
};
|
|||
|
|
$.ajax({
|
|||
|
|
type: 'POST',
|
|||
|
|
url: "/apiajax.ashx?ifweb=1",
|
|||
|
|
data: datas,
|
|||
|
|
dataType: "json",
|
|||
|
|
error: function (xhr) {
|
|||
|
|
tishi3("发生错误:" + JSON.stringify(xhr));
|
|||
|
|
},
|
|||
|
|
success: function (data) {
|
|||
|
|
|
|||
|
|
|
|||
|
|
if (data) {
|
|||
|
|
$("#btntj").removeAttr("disabled");
|
|||
|
|
$("#btntj").val("确认领取");
|
|||
|
|
if (data.status == 1) {
|
|||
|
|
setlocalStorage("userinfo", JSON.stringify(data.userInfo));
|
|||
|
|
closecolor(0);
|
|||
|
|
getmydata();
|
|||
|
|
tishi3("领取成功!");
|
|||
|
|
|
|||
|
|
} else {
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
tishi3('网络异常,请稍后重试');
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onksd() {
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
LoginId = getlocalStorage("LoginId");
|
|||
|
|
if (userId != null) {
|
|||
|
|
onlink("http://www.ksd2023.com/?userId=" + userId + "&LoginId=" + LoginId);
|
|||
|
|
} else {
|
|||
|
|
onlink("/");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function appbus() {
|
|||
|
|
|
|||
|
|
if (sjuLevel == 0) {
|
|||
|
|
|
|||
|
|
onloginlink('applicant.html');
|
|||
|
|
|
|||
|
|
} else if (sjuLevel == 1) {
|
|||
|
|
|
|||
|
|
} else {
|
|||
|
|
onloginlink('mybusiness.html');
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function appbus0() {
|
|||
|
|
if (sjuLevel0 == 0) {
|
|||
|
|
onloginlink('applicant0.html');
|
|||
|
|
} else if (sjuLevel0 == 1) {
|
|||
|
|
|
|||
|
|
} else {
|
|||
|
|
onloginlink('mybusiness0.html');
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function appzjfws() {
|
|||
|
|
if (ifzjfws == 1) {
|
|||
|
|
tishi3('正在审核中!');
|
|||
|
|
}else if (ifzjfws == 2) {
|
|||
|
|
tishi3('已审核通过!');
|
|||
|
|
} else {
|
|||
|
|
if (ifkappzjfws == 0) {
|
|||
|
|
tishi3('请先购买镇街服务商专区商品!');
|
|||
|
|
} else {
|
|||
|
|
onloginlink('appzjfws.html');
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function onscan() {
|
|||
|
|
if (ifapp == 1) {
|
|||
|
|
var ifb = true;
|
|||
|
|
try {
|
|||
|
|
var permission = ['camera'];
|
|||
|
|
var resultList = api.hasPermission({
|
|||
|
|
list: permission
|
|||
|
|
});
|
|||
|
|
var granted = resultList[0].granted;
|
|||
|
|
if (!granted) {
|
|||
|
|
|
|||
|
|
api.confirm({
|
|||
|
|
title: '开启权限提示',
|
|||
|
|
msg: "应用需要您的授权才能访问相机,是否要授权?",
|
|||
|
|
buttons: ['是', '否']
|
|||
|
|
}, function (ret, err) {
|
|||
|
|
var index = ret.buttonIndex;
|
|||
|
|
if (index == 1) {
|
|||
|
|
api.requestPermission({
|
|||
|
|
list: permission,
|
|||
|
|
}, function (res) {
|
|||
|
|
if (res.list[0].granted) {
|
|||
|
|
tishi3("授权成功!");
|
|||
|
|
} else {
|
|||
|
|
ifb = false;
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
} else {
|
|||
|
|
ifb = false;
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
} catch (err) {
|
|||
|
|
|
|||
|
|
ifb = true;
|
|||
|
|
}
|
|||
|
|
if (ifb) {
|
|||
|
|
var FNScanner = api.require('FNScanner');
|
|||
|
|
FNScanner.openScanner({
|
|||
|
|
autorotation: true
|
|||
|
|
}, function (ret, err) {
|
|||
|
|
if (ret) {
|
|||
|
|
if (ret.eventType == "success") {
|
|||
|
|
|
|||
|
|
|
|||
|
|
$("#txtorderhxm").val(ret.content);
|
|||
|
|
|
|||
|
|
} else if (ret.eventType == "show") {
|
|||
|
|
|
|||
|
|
} else if (ret.eventType == "cameraError") {
|
|||
|
|
tishi3("访问摄像头失败");
|
|||
|
|
} else if (ret.eventType == "albumError") {
|
|||
|
|
tishi3("访问相册失败");
|
|||
|
|
} else if (ret.eventType == "fail") {
|
|||
|
|
tishi3("扫码失败");
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
tishi3("扫码失败2");
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
tishi3("下载APP安装才能扫码");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function stopPropagation(e) {
|
|||
|
|
if (e.stopPropagation)
|
|||
|
|
e.stopPropagation();
|
|||
|
|
else
|
|||
|
|
e.cancelBubble = true;
|
|||
|
|
}
|
|||
|
|
function hideshowthjto(type) {
|
|||
|
|
$("#showthjto" + type).addClass("uhide");
|
|||
|
|
}
|
|||
|
|
function showsel(type) {
|
|||
|
|
$("#showthjto" + type).removeClass("uhide");
|
|||
|
|
}
|
|||
|
|
function onshowhx() {
|
|||
|
|
var orderhxm = fTrim($("#txtorderhxm").val());
|
|||
|
|
if (orderhxm != "") {
|
|||
|
|
showsel(0);
|
|||
|
|
} else {
|
|||
|
|
tishi3("核销码不能为空");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function qyhxorder() {
|
|||
|
|
var orderhxm = fTrim($("#txtorderhxm").val());
|
|||
|
|
if (orderhxm != "") {
|
|||
|
|
if ($(".ajaxLoader.uhide").length > 0) {
|
|||
|
|
$(".ajaxLoader").removeClass("uhide");
|
|||
|
|
|
|||
|
|
$.ajax({
|
|||
|
|
type: 'POST',
|
|||
|
|
url: "/apiajax.ashx?ifweb=1",
|
|||
|
|
data: { "action": "hxorder", "userId": userId, "LoginId": LoginId, "orderhxm": orderhxm },
|
|||
|
|
dataType: "json",
|
|||
|
|
error: function (xhr) {
|
|||
|
|
tishi3("发生错误:" + JSON.stringify(xhr));
|
|||
|
|
},
|
|||
|
|
success: function (data) {
|
|||
|
|
$(".ajaxLoader").addClass("uhide");
|
|||
|
|
if (data.status == 1) {
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
$("#txtorderhxm").val("");
|
|||
|
|
hideshowthjto(0);
|
|||
|
|
} else {
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
}
|
|||
|
|
layer.close(index_);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
tishi3("核销码不能为空");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
function onqiandao() {
|
|||
|
|
if ($("#qiandao").html() == "签到") {
|
|||
|
|
$("#qiandao").html("请稍候...");
|
|||
|
|
userId = getlocalStorage("userId");
|
|||
|
|
LoginId = getlocalStorage("LoginId");
|
|||
|
|
var datas = {
|
|||
|
|
action: "qiandao",
|
|||
|
|
userId: userId,
|
|||
|
|
LoginId: LoginId
|
|||
|
|
};
|
|||
|
|
$.ajax({
|
|||
|
|
type: 'POST',
|
|||
|
|
url: "/apiajax.ashx?ifweb=1",
|
|||
|
|
data: datas,
|
|||
|
|
dataType: "json",
|
|||
|
|
error: function (xhr) {
|
|||
|
|
tishi3("发生错误:" + JSON.stringify(xhr));
|
|||
|
|
},
|
|||
|
|
success: function (data) {
|
|||
|
|
|
|||
|
|
|
|||
|
|
if (data) {
|
|||
|
|
if (data.status == 1) {
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
rdata(1);
|
|||
|
|
} if (data.status == 0) {
|
|||
|
|
tishi3(data.msg);
|
|||
|
|
$("#qiandao").html("签到");
|
|||
|
|
}
|
|||
|
|
} else {
|
|||
|
|
tishi3('网络异常,请稍后重试');
|
|||
|
|
$("#qiandao").html("签到");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function onSignIn(type){
|
|||
|
|
onloginlink('set.html');
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
function getSignInfo()
|
|||
|
|
{
|
|||
|
|
$("#btnSignIn").text("查询中...");
|
|||
|
|
var userId = getlocalStorage("userId");
|
|||
|
|
var LoginId = getlocalStorage("LoginId");
|
|||
|
|
var postData = {
|
|||
|
|
userId: userId,
|
|||
|
|
LoginId: LoginId
|
|||
|
|
};
|
|||
|
|
$.ajax({
|
|||
|
|
type: 'POST',
|
|||
|
|
url: "/api/api.ashx?action=user_sign_info",
|
|||
|
|
data: postData,
|
|||
|
|
dataType: "json",
|
|||
|
|
error: function (xhr) {
|
|||
|
|
tishi3("发生错误:" + JSON.stringify(xhr));
|
|||
|
|
},
|
|||
|
|
success: function (data) {
|
|||
|
|
if (data.status === 1)
|
|||
|
|
{
|
|||
|
|
$("#btnSignIn").text("已签到");
|
|||
|
|
}else{
|
|||
|
|
$("#btnSignIn").text("立即签到");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
</script>
|
|||
|
|
</head>
|
|||
|
|
|
|||
|
|
<body class="wrap">
|
|||
|
|
<header id="aui-header">
|
|||
|
|
<div class="ub">
|
|||
|
|
<div class="nav-btn" id="nav-left" style=" margin:0; padding:0; padding-top:0.2em; min-width:3em" onclick="closeWin()">
|
|||
|
|
|
|||
|
|
<img src="../image/faifei.png" style="margin-left:0; margin-top:0em; height:1.2em;width:1.2em;" />
|
|||
|
|
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
<h1 class="ub-f1">
|
|||
|
|
我的
|
|||
|
|
</h1>
|
|||
|
|
<div class="nav-btn blue" id="nav-right" style=" margin:0; padding:0; min-width:3em; ">
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</header>
|
|||
|
|
|
|||
|
|
<section class="ub-f1" id="wrapper">
|
|||
|
|
|
|||
|
|
<div class="ub ub-ver" id="my-header" style="width:100%;height:12em;background: url(../image/headbg.png) no-repeat 0 0; background-size:100% 100%;">
|
|||
|
|
<div id="divProfile" onclick="onSignIn('divProfile');" style="width:100%;height:auto;background: url('../image/faifei2.png') no-repeat 94% 2em;background-size: 1em 1em; position: relative;">
|
|||
|
|
<div onclick="onloginlink('set.html');" style="width:4em;height:4em;border-radius: 2.5em;background-color: #FFFFFF;margin:0em 1.5em; margin-top:1.5em; float: left;">
|
|||
|
|
<img src="../image/profile.png" id="myavatar" style="width:4em;height: 4em;border-radius: 2.5em;border: 1px solid #727272;">
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="ub ub-ver uhide" id="loginafter" style="color: #FFFFFF;float: left;font-size: 1em;margin-top: 1.3em;margin-left:-1em ">
|
|||
|
|
<div class="myname_box">
|
|||
|
|
姓名:<span id="myName"></span><br>ID号:<span id="myID"></span><br>等级:<span id="myJB"></span>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="ub" id="loginbefore" style="color: #FFFFFF;float: left;font-size: 1em;margin-top: 3em;margin-left:-1em">您还没有登录,请先登录!</div>
|
|||
|
|
|
|||
|
|
<button onclick="event.stopPropagation();" id="btnSignIn" data-type="2" style="position: absolute; bottom: 0.2em; right: 1em; font-size: 11px;padding: 0.2em 1em; height: auto;line-height: 1.2; background: linear-gradient(to right, #FFD700, #FFA500);color: #333;border: none;border-radius: 0.5em;font-weight: 600;cursor: pointer; z-index: 10;">立即签到</button>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div id="dlJB" style="display:none; margin-top:0.8em;margin-left:0.8em;margin-right:0.8em;height:2em; line-height:2em;width:auto; padding:0 0.8em; color:#fff; background-color:rgba(0,0,0,0.3);border-radius:0.4em;"></div>
|
|||
|
|
<div class="mytb_box uhide">
|
|||
|
|
<div id="tbcount0_box" class="uhide"><img src="../image/jyztb.png" /><span id="tbcount0">0</span></div>
|
|||
|
|
<div id="tbcount1_box" class="uhide"><img src="../image/jstb.png" /><span id="tbcount1">0</span></div>
|
|||
|
|
<div id="tbcount2_box" class="uhide"><img src="../image/jktb.png" /><span id="tbcount2">0</span></div>
|
|||
|
|
<div id="tbcount3_box" class="uhide"><img src="../image/sxftb.png" /><span id="tbcount3">0</span></div>
|
|||
|
|
<div id="tbcount_box" class="uhide"><img src="../image/viptb.png" /><span id="tbcount">0</span></div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div id="topmina" style="position:absolute; top:6.2em;margin:0 auto;width:100%;">
|
|||
|
|
<div class="myincome-box" style=" margin:0 auto;">
|
|||
|
|
<div class="myincome-box-to myincome-box-to0">
|
|||
|
|
|
|||
|
|
<h3>
|
|||
|
|
我的资产
|
|||
|
|
<!--<span onclick="onlog(5)">活力值(<span id="JiFenCount4">0</span>)</span>-->
|
|||
|
|
</h3>
|
|||
|
|
<!--<div style="display:flex;flex-direction:row; width:100%;padding-top:0.8em;padding-bottom:0.8em;box-sizing:border-box;border-bottom: 1px solid #f1f1f1;">
|
|||
|
|
|
|||
|
|
<div style="display:flex;flex-direction:column; width:50%;text-align:center;" onclick="onlog(2)">
|
|||
|
|
<div style="margin-top:0.4em;width:100%;color:#333;box-sizing:border-box;">广告劵</div>
|
|||
|
|
<div style="margin-top:0.4em;width:100%; font-size:1.2em; color:#000;box-sizing:border-box;" id="JiFenCount2">0</div>
|
|||
|
|
</div>
|
|||
|
|
<div style="flex-grow:1;">
|
|||
|
|
<div class="mybtn" id="ywcrw_box" style="width: 100%; padding:0.6em 0;line-height: 3.4em; border-radius: .4em; text-align: center; font-size: 0.75em; " onclick="loadRewardVideo(1)">看流量获得广告券</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>-->
|
|||
|
|
|
|||
|
|
<div class="myincome-item-to" id="myincome-item-to">
|
|||
|
|
|
|||
|
|
<!--<div class="myincome-item" onclick="onlog(3)">
|
|||
|
|
<div id="JiFenCount3">0</div>
|
|||
|
|
<div class="title">兑换劵</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
<div class="myincome-item" onclick="onlog(4)">
|
|||
|
|
<div id="JiFenCount4">0</div>
|
|||
|
|
<div class="title">补贴劵</div>
|
|||
|
|
|
|||
|
|
</div>-->
|
|||
|
|
<div class="myincome-item" onclick="onlog(1)">
|
|||
|
|
<div id="JiFenCount1">0</div>
|
|||
|
|
<div class="title">余额</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="myincome-item" onclick="onloginlink('mySignInLog.html?t=29');">
|
|||
|
|
<div id="PointCount">0</div>
|
|||
|
|
<div class="title">兑换券</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<!--<div class="myincome-box">
|
|||
|
|
<div class="myincome-box-to myincome-box-to0">
|
|||
|
|
<h3>收益明细
|
|||
|
|
</h3>
|
|||
|
|
|
|||
|
|
<div class="myincome-item-to" id="myincome-item-to">
|
|||
|
|
|
|||
|
|
<div class="myincome-item" onclick="onloginlink('myincome.html');">
|
|||
|
|
<div id="myincome-zsymoney">0</div>
|
|||
|
|
<div class="title">总收益</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="myincome-item" onclick="onloginlink('myincome.html?t=1');">
|
|||
|
|
<div id="myincome-jrsymoney">0</div>
|
|||
|
|
<div class="title">今日收益</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
<div class="myincome-item" onclick="onloginlink('myincome.html?t=2');">
|
|||
|
|
<div id="myincome-zrsymoney">0</div>
|
|||
|
|
<div class="title">昨日收益</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>-->
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<div style="padding:0 0.8em;">
|
|||
|
|
|
|||
|
|
<div class="pintuan-box">
|
|||
|
|
<div class="pintuan-title"><span>商品发货订单</span><div class="more" onclick="onorder(0)">全部</div></div>
|
|||
|
|
<div class="pintuan-box-to">
|
|||
|
|
<div class="pintuan-item" onclick="onorder(1)">
|
|||
|
|
<div class="item-image"><img src="/image/order_ico0.png" /></div>
|
|||
|
|
<div class="item-num" id="wfk_box">0</div>
|
|||
|
|
<div class="item-title">未付款</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="pintuan-item" onclick="onorder(2)">
|
|||
|
|
<div class="item-image"><img src="/image/order_ico1.png" /></div>
|
|||
|
|
<div class="item-num" id="dfh_box">0</div>
|
|||
|
|
<div class="item-title">待发货</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="pintuan-item" onclick="onorder(3)">
|
|||
|
|
<div class="item-image"><img src="/image/order_ico2.png" /></div>
|
|||
|
|
<div class="item-num" id="dsh_box">0</div>
|
|||
|
|
<div class="item-title">待收货</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="pintuan-item" onclick="onorder(4)">
|
|||
|
|
<div class="item-image"><img src="/image/order_ico3.png" /></div>
|
|||
|
|
<div class="item-num" id="ywc_box">0</div>
|
|||
|
|
<div class="item-title">已完成</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<div class="myincome-box uhide" id="xborders_box" style=" margin:0 auto;">
|
|||
|
|
<div class="myincome-box-to myincome-box-to0">
|
|||
|
|
<h3>
|
|||
|
|
核销订单
|
|||
|
|
<span onclick="onorder(-1)">核销订单列表</span>
|
|||
|
|
</h3>
|
|||
|
|
<div class="myincome-item-tobox">
|
|||
|
|
|
|||
|
|
|
|||
|
|
<div class="jhdyb_box">
|
|||
|
|
<div class="cztext" style="width:100%"><input id="txtorderhxm" type="text" placeholder="请输入核销码" style="width:100%" /><div class="scan" onclick="onscan()"><img src="../image/scan0.png"></div></div>
|
|||
|
|
<div id="jhbutton" class="mybtn" onclick="onshowhx();">核销</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<div class="Info_List" style=" margin-bottom:2em;">
|
|||
|
|
<h3 style=" height:2.5em; line-height:2.5em; padding-left:0.8em;color:#000;">其它</h3>
|
|||
|
|
<ul>
|
|||
|
|
|
|||
|
|
<li id="showa1" onclick="appbus()"><em class="myico18"></em><label id="appbus_title">申请门店</label><span></span></li>
|
|||
|
|
<!--<li id="showa2" class="uhide" onclick="appbus0()"><em class="myico18"></em><label id="appbus_title0">申请线上门店</label><span></span></li>-->
|
|||
|
|
<!--<li id="showa22" onclick="appzjfws()"><em class="myico18"></em><label id="appzjfws_title">申请镇街服务商</label><span></span></li>-->
|
|||
|
|
<li id="showa44" onclick="onloginlink('myusers.html');"><em class="myico15"></em><label>我的好友</label><span></span></li>
|
|||
|
|
<li class="uhide" id="showa45" onclick="onloginlink('myusers0.html');"><em class="myico15"></em><label>我的锁客</label><span></span></li>
|
|||
|
|
<li id="showa4" onclick="onmy2wm()"><em class="myico16"></em><label>我的推广码</label><span></span></li>
|
|||
|
|
<!--<li id="showa5" onclick="orders()"><em class="myico11"></em><label>我的订单</label><span></span></li>-->
|
|||
|
|
|
|||
|
|
|
|||
|
|
<li id="showa6" onclick="myshoucang()"><em class="myico4"></em><label>我的收藏</label><span></span></li>
|
|||
|
|
<!--<li id="showa77" onclick="onloginlink('mykf.html');"><em class="myico20"></em><label>我的客服</label><span></span></li>-->
|
|||
|
|
<li id="showa7" onclick="onloginlink('set.html');"><em class="myico19"></em><label>个人设置</label><span></span></li>
|
|||
|
|
|
|||
|
|
<li class="abtn"><span id="logout" onclick="logout(0)">安全退出</span></li>
|
|||
|
|
</ul>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<div class="more_box"></div>
|
|||
|
|
|
|||
|
|
</section>
|
|||
|
|
<footer style="">
|
|||
|
|
<!--overflow:hidden;box-sizing:border-box;-->
|
|||
|
|
<div class="ub">
|
|||
|
|
<div class="pos_re ub ub-f1 footer-box">
|
|||
|
|
<div id="index_0" class="ub-f1 ub ub-ver" onclick='onloginlink("/mobile/")'>
|
|||
|
|
<div class="ub-img5 icon"></div>
|
|||
|
|
<div class="uinn-a13 tx-c">
|
|||
|
|
首页
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="pos_re ub ub-f1 footer-box">
|
|||
|
|
<div id="index_2" class="ub-f1 ub ub-ver" onclick='onloginlink("news.html")'>
|
|||
|
|
<div class="ub-img5 icon"></div>
|
|||
|
|
<div class="uinn-a13 tx-c">
|
|||
|
|
资讯
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<div class="pos_re ub ub-f1 footer-box uhide" id="index_1_box">
|
|||
|
|
<div id="index_1" class="ub-f1 ub ub-ver " onclick='onloginlink("dvideo.html")'>
|
|||
|
|
<div class="ub-img5 icon"></div>
|
|||
|
|
<div class="uinn-a13 tx-c">
|
|||
|
|
视频
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="pos_re ub ub-f1 footer-box">
|
|||
|
|
<div id="index_3" class="ub-f1 ub ub-ver " onclick='onloginlink("business.html")'>
|
|||
|
|
<div class="ub-img5 icon"></div>
|
|||
|
|
<div class="uinn-a13 tx-c">
|
|||
|
|
门店
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="pos_re ub ub-f1 footer-box">
|
|||
|
|
<div id="index_4" class="ub-f1 ub ub-ver " onclick='onloginlink("my.html")'>
|
|||
|
|
<div class="ub-img5 icon icon_act"></div>
|
|||
|
|
<div class="uinn-a13 uinn-a13-hover tx-c">
|
|||
|
|
我的
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</footer>
|
|||
|
|
<div class="ajaxLoader ub ub-ac uhide" onclick="reload()">
|
|||
|
|
<div class="ub ub-ac ub-ver"><img src="image/load.gif" /><br>正在加载...</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="Hidden_box" id="color_box0" onclick="closecolor(0)">
|
|||
|
|
<div class="Hidden_box_to" onclick="stopPropagation(event)">
|
|||
|
|
<div class="title">领取奖励</div>
|
|||
|
|
<div class="close" onclick="closecolor(0)"><img src="../image/close.png" /></div>
|
|||
|
|
<div class="body">
|
|||
|
|
|
|||
|
|
<div class="select_box_fertilizer">
|
|||
|
|
<img src="/image/jb.png" alt="" style="width:4em;">
|
|||
|
|
<div>恭喜您!完成今日任务,请领取今日奖励</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="clear"></div>
|
|||
|
|
<div class="select_box_btn" style="padding-bottom:0;">
|
|||
|
|
<input id="btntj" type="button" onclick="lingqujiangli();" value="确认领取" class="qybtn" />
|
|||
|
|
<input id="flid" type="hidden" value="" />
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
<div class="showthjto uhide" id="showthjto0" onclick='hideshowthjto(0);'>
|
|||
|
|
<div class="showthjto_box" onclick="stopPropagation(event)">
|
|||
|
|
<h3><span>核销订单</span><span class="close" onclick='hideshowthjto(0);'><img src="../image/close.png" /></span></h3>
|
|||
|
|
<div class="ub ub-ac" style="background-color: #FFFFFF;margin-top: .8em;margin-bottom: .8em;">
|
|||
|
|
您确认要核销订单吗?
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<div class="ub ub-ac ub-pc">
|
|||
|
|
<input type="button" class="mybtn btntj" id="btntj1" value="确认" onclick='qyhxorder(0)' />
|
|||
|
|
<input type="button" class="mybtn hovered btnqx" id="btnqx1" value="取消" onclick='hideshowthjto(0);' />
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</div>
|
|||
|
|
</body>
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
</html>
|