初次提交
This commit is contained in:
960
pages/my/index.js
Normal file
960
pages/my/index.js
Normal file
@@ -0,0 +1,960 @@
|
||||
var WxParse = null;
|
||||
var app = getApp()
|
||||
var that = null
|
||||
var that0 = null
|
||||
var sopenFrame = null
|
||||
Page({
|
||||
data: {
|
||||
avatarUrl: "",
|
||||
NCName: "您还没有登录,请先登录!",
|
||||
UserName: "",
|
||||
uLevel: "普通会员",
|
||||
serverHidden: true,
|
||||
authorizeHidden: true,
|
||||
authorizetitle: "确认授权",
|
||||
myagentHidden: true,
|
||||
servermsg: "",
|
||||
IFagent: 0,
|
||||
uLevel1: "",
|
||||
sjuLevel: 0,
|
||||
sjuLevel0: 0,
|
||||
dluLevel: 0,
|
||||
tgyuLevel: 0,
|
||||
IFYGM: 0,
|
||||
xjjye: "0.00",
|
||||
btjye: "0.00",
|
||||
tgmeye: 0,
|
||||
jhmye: 0,
|
||||
xjye: "0.00",
|
||||
mfye: "0.00",
|
||||
gxzye: "0.00",
|
||||
zzedye: "0.00",
|
||||
ggzye: "0.00",
|
||||
yjhsjnum: 0,
|
||||
ordercount: 0,
|
||||
ordercount0: 0,
|
||||
ordercount1: 0,
|
||||
ordercount2: 0,
|
||||
logout: "安全退出",
|
||||
yqm: "",
|
||||
ifshowzzjf: 1,
|
||||
voucherNum:0.00, //兑换券数量
|
||||
isSignToday:false //今天是否已签到
|
||||
},
|
||||
onShow: function () {
|
||||
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
|
||||
that0 = this;
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var sel = 3;
|
||||
var ifsel = 0;
|
||||
if (userId && userInfodata) {
|
||||
var userInfo = JSON.parse(userInfodata)
|
||||
ifsel = userInfo.bdshEnable;
|
||||
that0.GetSignInfo();
|
||||
}
|
||||
|
||||
if (ifsel == 1) {
|
||||
sel = 3;
|
||||
that0.getTabBar().setData({
|
||||
"list": [{
|
||||
"pagePath": "/pages/index/index",
|
||||
"text": "首页",
|
||||
"iconPath": "/images/footer-icon-01.png",
|
||||
"selectedIconPath": "/images/footer-icon-01-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/news/index",
|
||||
"iconPath": "/images/footer-icon-05.png",
|
||||
"selectedIconPath": "/images/footer-icon-05-active.png",
|
||||
"text": "资讯"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/my/index",
|
||||
"text": "我的",
|
||||
"iconPath": "/images/footer-icon-04.png",
|
||||
"selectedIconPath": "/images/footer-icon-04-active.png"
|
||||
}
|
||||
]
|
||||
})
|
||||
} else {
|
||||
that0.getTabBar().setData({
|
||||
"list": [{
|
||||
"pagePath": "/pages/index/index",
|
||||
"text": "首页",
|
||||
"iconPath": "/images/footer-icon-01.png",
|
||||
"selectedIconPath": "/images/footer-icon-01-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/news/index",
|
||||
"iconPath": "/images/footer-icon-05.png",
|
||||
"selectedIconPath": "/images/footer-icon-05-active.png",
|
||||
"text": "资讯"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/business/index",
|
||||
"iconPath": "/images/footer-icon-02.png",
|
||||
"selectedIconPath": "/images/footer-icon-02-active.png",
|
||||
"text": "门店"
|
||||
},
|
||||
{
|
||||
"pagePath": "/pages/my/index",
|
||||
"text": "我的",
|
||||
"iconPath": "/images/footer-icon-04.png",
|
||||
"selectedIconPath": "/images/footer-icon-04-active.png"
|
||||
}
|
||||
]
|
||||
})
|
||||
}
|
||||
that0.getTabBar().setData({
|
||||
selected: sel
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
onLoad: function () {
|
||||
WxParse = require('../../wxParse/wxParse.js');
|
||||
that = this
|
||||
wx.setBackgroundColor({
|
||||
backgroundColor: "#00B050",
|
||||
})
|
||||
that.rdata(0)
|
||||
|
||||
sopenFrame = setInterval(function () {
|
||||
if (app.globalData.IFRefreshmy == 1) {
|
||||
app.globalData.IFRefreshmy = 0
|
||||
that.rdata(0)
|
||||
}
|
||||
}, 1000);
|
||||
},
|
||||
onPullDownRefresh: function () {
|
||||
//在当前页面显示导航条加载动画
|
||||
wx.showNavigationBarLoading();
|
||||
//显示 loading 提示框。需主动调用 wx.hideLoading 才能关闭提示框
|
||||
wx.showLoading({
|
||||
title: '刷新中...',
|
||||
})
|
||||
app.globalData.IFRefreshindex = 1
|
||||
that.rdata(1)
|
||||
},
|
||||
rdata: function (t) {
|
||||
var servermsg = wx.getStorageSync("servermsg")
|
||||
if (servermsg) {
|
||||
WxParse.wxParse('servermsg', 'html', servermsg, that)
|
||||
}
|
||||
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
|
||||
if (userId && LoginId && userInfodata) {
|
||||
var userInfo = JSON.parse(userInfodata)
|
||||
var UserPic = (userInfo.UserPic == "" ? "../../images/logo.png" : userInfo.UserPic)
|
||||
var NCName = userInfo.RealName;
|
||||
var userlist = [{
|
||||
icon: '../../images/iconfont-user.png',
|
||||
url: '../myusers/index',
|
||||
text: '我的会员'
|
||||
}, {
|
||||
icon: '../../images/iconfont-user.png',
|
||||
url: '../myskusers/index',
|
||||
text: '我的锁客'
|
||||
}, {
|
||||
icon: '../../images/iconfont-tgm.png',
|
||||
url: '../mytgm/index',
|
||||
text: '我的邀请码'
|
||||
}, {
|
||||
icon: '../../images/iconfont-favorite.png',
|
||||
url: '../myfavorite/index',
|
||||
text: '我的收藏'
|
||||
}, {
|
||||
icon: '../../images/iconfont-kefu.png',
|
||||
url: '../mykf/index',
|
||||
text: '联系客服'
|
||||
}, {
|
||||
icon: '../../images/iconfont-set.png',
|
||||
url: '../myto/index',
|
||||
text: '个人设置'
|
||||
}];
|
||||
if (userInfo.id > 68 && userInfo.bdshEnable == 0) {
|
||||
userlist = [
|
||||
{
|
||||
icon: '../../images/iconfont-online.png',
|
||||
url: (userInfo.sjuLevel0 == 2 ? '../mybusiness0/index' : (userInfo.sjuLevel0 == 1 ? '' : '../appbusiness0/index')),
|
||||
text: (userInfo.sjuLevel0 == 2 ? '事业部管理' : (userInfo.sjuLevel0 == 1 ? '申请线上供应链正在审核中...' : '申请门店'))
|
||||
},
|
||||
{
|
||||
icon: '../../images/iconfont-user.png',
|
||||
url: '../myusers/index',
|
||||
text: '我的会员'
|
||||
}, {
|
||||
icon: '../../images/iconfont-user.png',
|
||||
url: '../myskusers/index',
|
||||
text: '我的锁客'
|
||||
}, {
|
||||
icon: '../../images/iconfont-tgm.png',
|
||||
url: '../mytgm/index',
|
||||
text: '我的邀请码'
|
||||
}, {
|
||||
icon: '../../images/iconfont-favorite.png',
|
||||
url: '../myfavorite/index',
|
||||
text: '我的收藏'
|
||||
}, {
|
||||
icon: '../../images/iconfont-kefu.png',
|
||||
url: '../mykf/index',
|
||||
text: '联系客服'
|
||||
}, {
|
||||
icon: '../../images/iconfont-set.png',
|
||||
url: '../myto/index',
|
||||
text: '个人设置'
|
||||
}
|
||||
];
|
||||
}
|
||||
if ((userInfo.ifyjhsj > 0 || userInfo.sjuLevel > 0) && userInfo.id > 68 && userInfo.bdshEnable == 0) {
|
||||
userlist = [{
|
||||
icon: '../../images/iconfont-offline.png',
|
||||
url: (userInfo.sjuLevel == 2 ? '../mybusiness/index' : (userInfo.sjuLevel == 1 ? '正在审核中,请等待审核再来' : '../appbusiness/index')),
|
||||
text: (userInfo.sjuLevel == 2 ? '联盟商家管理' : (userInfo.sjuLevel == 1 ? '申请线下商家正在审核中...' : '申请线下商家(联盟商家)'))
|
||||
},
|
||||
/*
|
||||
{
|
||||
icon: '../../images/iconfont-online.png',
|
||||
url:(userInfo.sjuLevel0==2?'../mybusiness0/index':(userInfo.sjuLevel0==1?'正在审核中,请等待审核再来':'../appbusiness0/index')),
|
||||
text: (userInfo.sjuLevel0==2?'事业部管理':(userInfo.sjuLevel0==1?'申请线上供应链正在审核中...':'申请线上供应链(事业部)'))
|
||||
},
|
||||
*/
|
||||
{
|
||||
icon: '../../images/iconfont-user.png',
|
||||
url: '../myusers/index',
|
||||
text: '我的会员'
|
||||
}, {
|
||||
icon: '../../images/iconfont-user.png',
|
||||
url: '../myskusers/index',
|
||||
text: '我的锁客'
|
||||
}, {
|
||||
icon: '../../images/iconfont-tgm.png',
|
||||
url: '../mytgm/index',
|
||||
text: '我的邀请码'
|
||||
}, {
|
||||
icon: '../../images/iconfont-favorite.png',
|
||||
url: '../myfavorite/index',
|
||||
text: '我的收藏'
|
||||
}, {
|
||||
icon: '../../images/iconfont-kefu.png',
|
||||
url: '../mykf/index',
|
||||
text: '联系客服'
|
||||
}, {
|
||||
icon: '../../images/iconfont-set.png',
|
||||
url: '../myto/index',
|
||||
text: '个人设置'
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
that.setData({
|
||||
userListInfo: userlist
|
||||
})
|
||||
|
||||
that.setData({
|
||||
avatarUrl: (UserPic != "" ? UserPic : ""),
|
||||
NCName: NCName,
|
||||
UserName: userInfo.UserName,
|
||||
uLevel: userInfo.uLevel,
|
||||
uLevel1: userInfo.uLevel1,
|
||||
sjuLevel: userInfo.sjuLevel,
|
||||
sjuLevel0: userInfo.sjuLevel0,
|
||||
dluLevel: userInfo.dluLevel,
|
||||
tgyuLevel: userInfo.tgyuLevel,
|
||||
IFYGM: userInfo.IFYGM,
|
||||
xjjye: userInfo.xjjye,
|
||||
btjye: userInfo.btjye,
|
||||
tgmeye: userInfo.tgmeye,
|
||||
jhmye: userInfo.jhmye,
|
||||
xjye: userInfo.xjye,
|
||||
mfye: userInfo.mfye,
|
||||
gxzye: userInfo.gxzye,
|
||||
zzedye: userInfo.zzedye,
|
||||
ggzye: userInfo.ggzye,
|
||||
yjhsjnum: userInfo.yjhsjnum,
|
||||
ifshowzzjf: userInfo.ifshowzzjf,
|
||||
loadingHidden: true
|
||||
})
|
||||
|
||||
} else {
|
||||
|
||||
that.setData({
|
||||
userListInfo: [{
|
||||
icon: '../../images/iconfont-user.png',
|
||||
url: '../myusers/index',
|
||||
text: '我的会员'
|
||||
}, {
|
||||
icon: '../../images/iconfont-tgm.png',
|
||||
url: '../mytgm/index',
|
||||
text: '我的邀请码'
|
||||
}, {
|
||||
icon: '../../images/iconfont-favorite.png',
|
||||
url: '../myfavorite/index',
|
||||
text: '我的收藏'
|
||||
}, {
|
||||
icon: '../../images/iconfont-kefu.png',
|
||||
text: '联系客服'
|
||||
}, {
|
||||
icon: '../../images/iconfont-set.png',
|
||||
url: '../myto/index',
|
||||
text: '个人设置'
|
||||
}],
|
||||
|
||||
avatarUrl: "",
|
||||
NCName: "您还没有登录,请先登录!",
|
||||
uLevel: "普通会员",
|
||||
IFYGM: 0,
|
||||
sjuLevel: 0,
|
||||
sjuLevel0: 0,
|
||||
dluLevel: 0,
|
||||
tgyuLevel: 0,
|
||||
xjjye: "0.00",
|
||||
tgmeye: 0,
|
||||
jhmye: 0,
|
||||
xjye: "0.00",
|
||||
mfye: "0.00",
|
||||
gxzye: "0.00",
|
||||
zzedye: "0.00",
|
||||
ggzye: "0.00",
|
||||
ordercount: 0,
|
||||
ordercount0: 0,
|
||||
ordercount1: 0,
|
||||
ordercount2: 0,
|
||||
loadingHidden: true
|
||||
})
|
||||
|
||||
}
|
||||
if (t == 1) {
|
||||
//隐藏loading 提示框
|
||||
wx.hideLoading();
|
||||
//隐藏导航条加载动画
|
||||
wx.hideNavigationBarLoading();
|
||||
//停止下拉刷新
|
||||
wx.stopPullDownRefresh();
|
||||
}
|
||||
},
|
||||
gotourl: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
if (userId && LoginId && userInfodata) {
|
||||
var index = e.currentTarget.dataset.id
|
||||
if (index != 30) {
|
||||
var userInfo = JSON.parse(userInfodata)
|
||||
var url = that.data.userListInfo[index].url;
|
||||
var b = true;
|
||||
if (url == "正在审核中,请等待审核再来") {
|
||||
wx.showToast({
|
||||
title: url,
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
b = false;
|
||||
}
|
||||
if (b) {
|
||||
wx.navigateTo({
|
||||
url: url
|
||||
})
|
||||
}
|
||||
} else {
|
||||
that.setData({
|
||||
serverHidden: false
|
||||
})
|
||||
}
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
gouserinfo: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
if (userId && LoginId && userInfodata) {
|
||||
wx.navigateTo({
|
||||
url: "../myto/index"
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
onhuazhuan: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
if (userId && LoginId && userInfodata) {
|
||||
wx.navigateTo({
|
||||
url: "../zhuanhuan/index"
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
onduihuan: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
if (userId && LoginId && userInfodata) {
|
||||
wx.navigateTo({
|
||||
url: "../duihuan/index"
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
onkttgy: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var t = e.currentTarget.dataset.id
|
||||
if (userId && LoginId && userInfodata) {
|
||||
wx.navigateTo({
|
||||
url: "../kttgy/index?t=" + t
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
onauthorize: function () {
|
||||
|
||||
wx.authorize({
|
||||
scope: 'scope.userInfo',
|
||||
success() {
|
||||
that.getUserInfoto(1)
|
||||
}
|
||||
})
|
||||
that.setData({
|
||||
authorizeHidden: true
|
||||
})
|
||||
},
|
||||
closeauth: function (e) {
|
||||
|
||||
that.setData({
|
||||
authorizeHidden: true
|
||||
})
|
||||
},
|
||||
closemyagent: function (e) {
|
||||
|
||||
that.setData({
|
||||
myagentHidden: true
|
||||
})
|
||||
},
|
||||
getUserInfoto: function (t) {
|
||||
wx.getUserInfo({
|
||||
success: function (res1) {
|
||||
|
||||
|
||||
var userInfo = res1.userInfo
|
||||
var nickName = userInfo.nickName
|
||||
var avatarUrl = userInfo.avatarUrl
|
||||
var gender = userInfo.gender //性别 0:未知、1:男、2:女
|
||||
var province = userInfo.province
|
||||
var city = userInfo.city
|
||||
var country = userInfo.country
|
||||
that.setData({
|
||||
authorizetitle: "授权中..."
|
||||
})
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/xapiajax.ashx",
|
||||
data: {
|
||||
action: "updateWxUserInfo",
|
||||
userId: (!userId ? "" : userId),
|
||||
LoginId: (!LoginId ? "" : LoginId),
|
||||
ncname: nickName,
|
||||
avatar: avatarUrl,
|
||||
gender: gender,
|
||||
province: province,
|
||||
city: city,
|
||||
country: country
|
||||
},
|
||||
method: "POST",
|
||||
dataType: "json",
|
||||
header: {
|
||||
"content-type": "application/x-www-form-urlencoded" // 默认值
|
||||
},
|
||||
success(res2) {
|
||||
wx.setStorageSync('userInfo', JSON.stringify(res2.data.userInfo))
|
||||
app.globalData.IFRefreshmy = 1
|
||||
if (t == 1) {
|
||||
wx.showToast({
|
||||
title: "授权成功",
|
||||
icon: "success",
|
||||
duration: 3000
|
||||
})
|
||||
|
||||
}
|
||||
that.setData({
|
||||
authorizeHidden: true,
|
||||
authorizetitle: "确认授权",
|
||||
avatar: res2.data.avatar
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
closeserver: function (e) {
|
||||
that.setData({
|
||||
serverHidden: true
|
||||
})
|
||||
},
|
||||
inserver: function (e) {
|
||||
|
||||
},
|
||||
inauth: function (e) {
|
||||
|
||||
},
|
||||
onnews: function (e) {
|
||||
var t = e.currentTarget.dataset.id
|
||||
if (t == 2) {
|
||||
wx.navigateTo({
|
||||
url: "../news/index"
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../news/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
onWithdrawal: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
var t = e.currentTarget.dataset.id
|
||||
wx.navigateTo({
|
||||
url: "../withdrawal/index?t=" + t
|
||||
})
|
||||
}
|
||||
},
|
||||
onincome: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
wx.navigateTo({
|
||||
url: "../myincome/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
oncz: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
wx.navigateTo({
|
||||
url: "../chongzhi/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
onzz: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var t = e.currentTarget.dataset.id
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
wx.navigateTo({
|
||||
url: "../zhuanzhang/index?t=" + t
|
||||
})
|
||||
}
|
||||
},
|
||||
onzh: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
wx.navigateTo({
|
||||
url: "../zhuanhuan/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
onbalance: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
var t = e.currentTarget.dataset.id
|
||||
if (t == 9) {
|
||||
wx.navigateTo({
|
||||
url: "../zzjf/index"
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../mybalance/index?t=" + t
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
onSignInList:function(e)
|
||||
{
|
||||
console.log("跳转到兑换券记录列表");
|
||||
wx.navigateTo({
|
||||
url: "../checkin_log/index"
|
||||
})
|
||||
},
|
||||
onbonus: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
var t = e.currentTarget.dataset.id
|
||||
|
||||
wx.navigateTo({
|
||||
url: "../mybonus/index?t=" + t
|
||||
})
|
||||
}
|
||||
},
|
||||
onpt: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
var t = e.currentTarget.dataset.id
|
||||
|
||||
wx.navigateTo({
|
||||
url: "../mypt/index?t=" + t
|
||||
})
|
||||
}
|
||||
},
|
||||
onorder: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
var ifdl = true;
|
||||
if (!userId || !LoginId) {
|
||||
ifdl = false;
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
} else {
|
||||
var userInfo = JSON.parse(userInfodata);
|
||||
if (userInfo.Phone == "") {
|
||||
ifdl = false;
|
||||
wx.showToast({
|
||||
title: "您还没有绑定手机号",
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateTo({
|
||||
url: "../myphone/index"
|
||||
})
|
||||
}
|
||||
}
|
||||
if (ifdl) {
|
||||
var nav = e.currentTarget.dataset.id
|
||||
var t = e.currentTarget.dataset.index
|
||||
wx.navigateTo({
|
||||
url: "../myorder/index?t=" + t + "&nav=" + nav
|
||||
})
|
||||
}
|
||||
},
|
||||
logout: function (e) {
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
if (userId && LoginId) {
|
||||
wx.showModal({
|
||||
title: '安全提示',
|
||||
content: '您确认要退出系统吗?',
|
||||
success(res0) {
|
||||
if (res0.confirm) {
|
||||
that.setData({
|
||||
logout: "请稍候..."
|
||||
})
|
||||
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/xapiajax.ashx",
|
||||
data: {
|
||||
action: "logout",
|
||||
userId: (!userId ? "" : userId),
|
||||
LoginId: (!LoginId ? "" : LoginId)
|
||||
},
|
||||
method: "POST",
|
||||
dataType: "json",
|
||||
header: {
|
||||
"content-type": "application/x-www-form-urlencoded" // 默认值
|
||||
},
|
||||
success(res) {
|
||||
|
||||
wx.removeStorageSync('userId')
|
||||
wx.removeStorageSync('LoginId')
|
||||
wx.removeStorageSync('userInfo')
|
||||
app.globalData.IFLogin = 0
|
||||
app.globalData.IFRefreshmy = 1
|
||||
app.globalData.IFRefreshindex = 1
|
||||
|
||||
sopenFrame = setInterval(function () {
|
||||
clearInterval(sopenFrame);
|
||||
that.setData({
|
||||
logout: "安全退出"
|
||||
})
|
||||
wx.navigateBack({})
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}, 1000)
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: "../login/index"
|
||||
})
|
||||
}
|
||||
},
|
||||
copy: function (e) {
|
||||
var font = e.currentTarget.dataset.font
|
||||
wx.setClipboardData({
|
||||
data: font,
|
||||
success: function (res) {
|
||||
wx.showToast({
|
||||
title: "复制成功"
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
onSignIn : function(e){
|
||||
console.log("开始签到");
|
||||
var that = this
|
||||
var userId = wx.getStorageSync("userId")
|
||||
if (userId) {
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/api/api.ashx?action=user_sign_in",
|
||||
data: { userId: (!userId ? "" : userId) },
|
||||
method: "POST",
|
||||
dataType: "json",
|
||||
header: {"content-type": "application/x-www-form-urlencoded"},
|
||||
success(res) {
|
||||
if(res.data.status==1)
|
||||
{
|
||||
that.setData({
|
||||
isSignToday: true,
|
||||
voucherNum: res.data.point
|
||||
})
|
||||
console.log("签到成功");
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: "success",
|
||||
duration: 3000
|
||||
})
|
||||
}else{
|
||||
console.log("签到失败");
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: "success",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
GetSignInfo: function (e) {
|
||||
var that = this
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
if (userId && userInfodata) {
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/api/api.ashx?action=user_sign_info",
|
||||
data: { userId: (!userId ? "" : userId) },
|
||||
method: "POST",
|
||||
dataType: "json",
|
||||
header: {"content-type": "application/x-www-form-urlencoded"},
|
||||
success(res) {
|
||||
if(res.data.status==1)
|
||||
{
|
||||
that.setData({
|
||||
isSignToday: true,
|
||||
voucherNum: res.data.point
|
||||
})
|
||||
}else{
|
||||
that.setData({
|
||||
isSignToday: false,
|
||||
voucherNum: res.data.point
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
catchyqm: function (e) {}
|
||||
})
|
||||
4
pages/my/index.json
Normal file
4
pages/my/index.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "我的"
|
||||
}
|
||||
242
pages/my/index.wxml
Normal file
242
pages/my/index.wxml
Normal file
@@ -0,0 +1,242 @@
|
||||
<import src="../../wxParse/wxParse.wxml" />
|
||||
<view class="container">
|
||||
<view class='userinfo {{IFagent==1?"agent":""}}'>
|
||||
<view class="userinfo-avatar" bindtap="gouserinfo">
|
||||
<image src='{{avatarUrl==""?"../../images/logo.png":avatarUrl}}'></image>
|
||||
</view>
|
||||
<view class="userinfo-box" bindtap="gouserinfo">
|
||||
<text class="userinfo-nickname">{{NCName}}{{NCName!="您还没有登录,请先登录!"?"("+uLevel + ")":""}}</text>
|
||||
<view class="userinfo-uLevel" wx:if='{{NCName!="您还没有登录,请先登录!"}}'>
|
||||
<text>账号:{{UserName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="userinfo-icon" bindtap="gouserinfo">
|
||||
<image src="../../images/icon-arrowdown0.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="balance-box0" style="z-index: 1; margin-top:-2.8em;">
|
||||
<view class="balance-box0-to">
|
||||
<view class="balance-title">我的资产</view>
|
||||
<view class="balance-item" style="padding-bottom: 0.8em;">
|
||||
<view class="item-left">
|
||||
<view class="item-left-item">
|
||||
<view>
|
||||
<view class="item-image image-color0" bindtap="onbalance" data-id="1">
|
||||
<image src="../../images/jifen_ico0.png"></image>
|
||||
</view>
|
||||
<view class="item-font" bindtap="onbalance" data-id="1">
|
||||
<view class="title">余额</view>
|
||||
<view class="money" style="margin-left: 0.5em;">{{xjjye}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<view class="item-image image-color0" bindtap="onSignInList" data-id="27">
|
||||
<image src="../../images/jifen_ico1.png"></image>
|
||||
</view>
|
||||
<view class="item-font" bindtap="onSignInList">
|
||||
<view class="title">兑换券</view>
|
||||
<view class="money" style="margin-left: 0.2em;">{{voucherNum}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<button wx:if='{{NCName!="您还没有登录,请先登录!"}}' class="signin-btn" bindtap="onSignIn">{{isSignToday ? "已签到":"立即签到"}}</button>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="item-right" wx:if="{{ifshowzzjf==1}}">
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="balance-item" style="padding-top: 0.4em;padding-bottom: 0.8em;" wx:if="{{tgyuLevel==0}}">
|
||||
<view class="item-left" bindtap="onbalance" data-id="21">
|
||||
<view class="item-left-item">
|
||||
<view class="item-image image-color3"><image src="../../images/jifen_ico0.png"></image></view>
|
||||
<view class="item-font">
|
||||
<view class="title">激活码</view>
|
||||
<view class="money">{{jhmye}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-right">
|
||||
<view class="button" bindtap="onkttgy">
|
||||
激活商家
|
||||
</view>
|
||||
</view>
|
||||
</view>-->
|
||||
<!--<view class="balance-item" style="padding-top: 0.4em;">
|
||||
<view class="item-left" bindtap="onbalance" data-id="4">
|
||||
<view class="item-left-item">
|
||||
<view class="item-image image-color1"><image src="../../images/jifen_ico0.png"></image></view>
|
||||
<view class="item-font">
|
||||
<view class="title">佣金</view>
|
||||
<view class="money">{{xjye}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-right" bindtap="onbalance" data-id="18">
|
||||
<view class="item-image image-color1"><image src="../../images/jifen_ico0.png"></image></view>
|
||||
<view class="item-font">
|
||||
<view class="title">广告值</view>
|
||||
<view class="money">{{ggzye}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>-->
|
||||
</view>
|
||||
</view>
|
||||
<div class="clear"></div>
|
||||
<view class="balance-box0" style="z-index: 1; margin-top:0.8em;" wx:if="{{dluLevel>2}}">
|
||||
|
||||
<view class="balance-box0-to">
|
||||
<view class="balance-title">代理管理({{uLevel1}})</view>
|
||||
<view class="balance-item" style="padding-bottom: 0.8em;">
|
||||
<view class="item-left">
|
||||
<view class="item-left-item">
|
||||
<view class="item-image image-color0" bindtap="onbalance" data-id="2">
|
||||
<image src="../../images/jifen_ico0.png"></image>
|
||||
</view>
|
||||
<view class="item-font" bindtap="onbalance" data-id="22">
|
||||
<view class="title">推广名额</view>
|
||||
<view class="money">{{tgmeye}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-right">
|
||||
|
||||
<view class="button" bindtap="onkttgy" data-id="0">
|
||||
开通城市合伙人
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<div class="clear"></div>
|
||||
<view class="balance-box0" style="z-index: 1; margin-top:0.8em;" wx:if="{{tgyuLevel>1}}">
|
||||
|
||||
<view class="balance-box0-to">
|
||||
<view class="balance-title">城市合伙人</view>
|
||||
<view class="balance-item" style="padding-bottom: 0.8em;">
|
||||
<view class="item-left">
|
||||
<view class="item-left-item">
|
||||
<view class="item-image image-color0" bindtap="onbalance" data-id="2">
|
||||
<image src="../../images/jifen_ico0.png"></image>
|
||||
</view>
|
||||
<view class="item-font" bindtap="onkttgy" data-id="1">
|
||||
<view class="title">已激活商家</view>
|
||||
<view class="money">{{yjhsjnum}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-right">
|
||||
|
||||
<view class="button" bindtap="onkttgy" data-id="1">
|
||||
激活商家
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<div class="clear"></div>
|
||||
<view class="balance-box0">
|
||||
<view class="pintuan-box">
|
||||
<view class="pintuan-title"><text>订单管理</text>
|
||||
<view class="more" bindtap="onorder" data-id="0" data-index="0">全部</view>
|
||||
</view>
|
||||
<view class="pintuan-box-to">
|
||||
<view class="pintuan-item" bindtap="onorder" data-id="1" data-index="0">
|
||||
<view class="item-image">
|
||||
<image src="../../images/order_ico6.png" />
|
||||
</view>
|
||||
<view class="item-title">待付款</view>
|
||||
</view>
|
||||
<view class="pintuan-item" bindtap="onorder" data-id="2" data-index="0">
|
||||
<view class="item-image">
|
||||
<image src="../../images/order_ico0.png" />
|
||||
</view>
|
||||
<view class="item-title">待发货</view>
|
||||
</view>
|
||||
<view class="pintuan-item" bindtap="onorder" data-id="3" data-index="0">
|
||||
<view class="item-image">
|
||||
<image src="../../images/order_ico1.png" />
|
||||
</view>
|
||||
<view class="item-title">待收货</view>
|
||||
</view>
|
||||
<view class="pintuan-item" bindtap="onorder" data-id="4" data-index="0">
|
||||
<view class="item-image">
|
||||
<image src="../../images/order_ico2.png" />
|
||||
</view>
|
||||
<view class="item-title">已完成</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<div class="clear"></div>
|
||||
<view class="balance-title" wx:if="{{IFagent==0}}">其它</view>
|
||||
<div class="clear"></div>
|
||||
<view class="info_list">
|
||||
<block wx:for="{{userListInfo}}" wx:for-index="index">
|
||||
<view class="weui_cell" bindtap="gotourl" data-id="{{index}}">
|
||||
<view class="weui_cell_hd">
|
||||
<image src="{{item.icon}}"></image>
|
||||
</view>
|
||||
<view class="weui_cell_bd">
|
||||
<view class="weui_cell_bd_p"> {{item.text}} </view>
|
||||
</view>
|
||||
<view wx:if="{{item.isunread}}" class='badge{{item.unreadNum<10?" badge0":""}}'>{{item.unreadNum}}</view>
|
||||
<view class="with_arrow"></view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<div class="clear"></div>
|
||||
<view class="logoutbutton">
|
||||
<button bindtap="logout">{{logout}}</button>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="Hidden_box" hidden="{{serverHidden}}" bindtap="closeserver">
|
||||
<view class="Hidden_box_to" catchtap="inserver">
|
||||
<view class="close" bindtap="closeserver">
|
||||
<image src="../../images/close.png" />
|
||||
</view>
|
||||
<view class="body">
|
||||
<template is="wxParse" data="{{wxParseData:servermsg.nodes}}" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="Hidden_box" hidden="{{authorizeHidden}}" bindtap="closeauth">
|
||||
<view class="Hidden_box_to" catchtap="inauth">
|
||||
<view class="title">微信授权</view>
|
||||
<view class="close" bindtap="closeauth">
|
||||
<image src="../../images/close.png" />
|
||||
</view>
|
||||
<view class="body">
|
||||
<view>为了给您提供更好的服务,需要获取您的微信头像和昵称</view>
|
||||
<button id="getUserInfo" open-type="getUserInfo" bindgetuserinfo="onauthorize">{{authorizetitle}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="Hidden_box" hidden="{{myagentHidden}}" bindtap="closemyagent">
|
||||
<view class="Hidden_box_to gotoagent" catchtap="inauth">
|
||||
<view class="title">温馨提醒</view>
|
||||
<view class="close" bindtap="closemyagent">
|
||||
<image src="../../images/close.png" />
|
||||
</view>
|
||||
<view class="body">
|
||||
<view>您还不是代理,是否现在去申请成为代理?</view>
|
||||
<button class="closebtn" bindtap="closemyagent">否</button>
|
||||
<button bindtap="ongotoagent">是</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<loading hidden="{{loadingHidden}}">
|
||||
加载中...
|
||||
</loading>
|
||||
577
pages/my/index.wxss
Normal file
577
pages/my/index.wxss
Normal file
@@ -0,0 +1,577 @@
|
||||
/**index.wxss**/
|
||||
page{
|
||||
background: #ccc;
|
||||
}
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
}
|
||||
.clear{ height:0;clear:both;}
|
||||
.userinfo {
|
||||
position: relative;
|
||||
float: left;
|
||||
display: flex;
|
||||
height:11em;
|
||||
flex-direction: row;
|
||||
padding: 70rpx 0;
|
||||
align-items: center;
|
||||
background: linear-gradient(to bottom,#00B050,#019042);
|
||||
}
|
||||
.userinfo.agent{
|
||||
background: linear-gradient(to bottom,#eb15d4,#850a78);
|
||||
}
|
||||
.userinfo-avatar {
|
||||
float: left;
|
||||
width: 4em;
|
||||
height: 4em;
|
||||
margin: 1em;
|
||||
margin-top: 0em;
|
||||
padding:0.1em;
|
||||
border-radius: 50%;
|
||||
background-color: #f1f1f1;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.userinfo-avatar image{
|
||||
width:100%;
|
||||
height:100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.userinfo-box{
|
||||
margin-top: -0.8em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 500rpx;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #fff;
|
||||
}
|
||||
.userinfo-nickname {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.userinfo-uLevel {
|
||||
margin-top: 1em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
min-width:12em;
|
||||
padding: 0.4em 0.4em;
|
||||
line-height:1.2em;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
background-color: #474758;
|
||||
border-radius: 1em;
|
||||
box-sizing: border-box;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #fff;
|
||||
}
|
||||
.signin-btn {
|
||||
font-size: 13px;
|
||||
padding: 0.2em 0.6em;
|
||||
height: auto;
|
||||
line-height: 1.2;
|
||||
margin-left: 0.4em;
|
||||
background: linear-gradient(to right, #00B050, #00B050);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 0.5em;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.signin-btn::after {
|
||||
border: none;
|
||||
}
|
||||
.userinfo-uLevel image{
|
||||
width:1.2em;
|
||||
height:1.2em;
|
||||
vertical-align: middle;
|
||||
margin-right:0.2em;
|
||||
}
|
||||
.userinfo-yqm {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
.userinfo-yqm view{
|
||||
margin-left:0.3em;
|
||||
padding:0;
|
||||
width:3em;
|
||||
height:1.5em;
|
||||
line-height: 1.5em;
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
border-radius:0.5em;
|
||||
border:1px solid #f1f1f1;
|
||||
color:#FBF804;
|
||||
}
|
||||
.userinfo-icon{
|
||||
position: absolute;
|
||||
top:8.1em;
|
||||
right:1em;
|
||||
width:1.2em;
|
||||
height:auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.userinfo-icon image{
|
||||
width:100%;
|
||||
height:1.2em;
|
||||
}
|
||||
|
||||
.userinfo-button{
|
||||
position: absolute;
|
||||
top:8.3em;
|
||||
right:1em;
|
||||
height:auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.agent-balance-box{
|
||||
display: block;
|
||||
float:left;
|
||||
margin: 0;
|
||||
margin-top: 0em;
|
||||
padding:1em 0.8em;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
color: #000;
|
||||
background-color: #fff;
|
||||
}
|
||||
.agent-balance-box .balance{
|
||||
float: left;
|
||||
margin: 0;
|
||||
display: block;
|
||||
width:auto;
|
||||
height:2em;
|
||||
line-height: 2em;
|
||||
font-size: 1em;
|
||||
font-weight: 600;
|
||||
}
|
||||
.agent-balance-box .balance.balance0{
|
||||
margin-left:0.5em;
|
||||
}
|
||||
.agent-balance-box .balance text{
|
||||
font-size: 0.75em;
|
||||
font-weight:normal;
|
||||
}
|
||||
.agent-balance-box .button{
|
||||
float: right;
|
||||
margin: 0;
|
||||
margin-top:0em;
|
||||
display: block;
|
||||
width:5em;
|
||||
height:2em;
|
||||
text-align: center;
|
||||
line-height: 2em;
|
||||
background:linear-gradient(to right,#00B050,#00B050);
|
||||
color:#fff;
|
||||
border-radius:0.5em;
|
||||
}
|
||||
.qhshow-box{
|
||||
position: absolute;
|
||||
bottom:0.5em;
|
||||
right:0;
|
||||
width:8em;
|
||||
height:2.2em;
|
||||
}
|
||||
.qhshow-box button{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height:2.2em;
|
||||
text-align: center;
|
||||
background:linear-gradient(to bottom,#eb15d4,#850a78);
|
||||
color: #fff;
|
||||
font-size: 1em;
|
||||
border-radius:0.5em 0 0 0.5em;
|
||||
}
|
||||
.qhshow-box.agent button{
|
||||
background:linear-gradient(to right,#00B050,#00B050);
|
||||
}
|
||||
.balance-box{
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
margin-top: -4em;
|
||||
padding:0 0.8em;
|
||||
z-index:10;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
}
|
||||
.balance-box .balance-box-to{
|
||||
display:flex;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
height:3em;
|
||||
border-radius:0.5em 0.5em 0 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.balance-box .balance-item{
|
||||
display:flex;
|
||||
width: 50%;
|
||||
padding: 1em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.balance-box .balance-item .item-font{
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
flex-flow: 1;
|
||||
padding-left: 0.5em;
|
||||
box-sizing: border-box;
|
||||
color:#848484;
|
||||
align-items: center;
|
||||
}
|
||||
.balance-box .balance-item .item-font .money{
|
||||
color: #ff0000;
|
||||
}
|
||||
.balance-box .balance-item .button{
|
||||
display:flex;
|
||||
width:100%;
|
||||
height:2em;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 2em;
|
||||
background:linear-gradient(to right,#00B050,#00B050);
|
||||
color: #fff;
|
||||
border-radius:0.5em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.balance-title{width:100%; height: 2.5em; line-height: 2.5em; padding:0 1em;box-sizing: border-box;}
|
||||
.balance-box0{
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
padding: 0 0.8em;
|
||||
padding-top: 0;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.balance-box0 .balance-box0-to{
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
width: 100%;
|
||||
border-radius:0.5em;
|
||||
background-color: #fff;
|
||||
}
|
||||
.balance-box0 .balance-title{
|
||||
font-weight: 800;
|
||||
font-size: 1em;
|
||||
}
|
||||
.balance-box0 .balance-item{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.balance-box0 .balance-item .item-left{
|
||||
display: flex;
|
||||
flex-direction:column;
|
||||
width:58%;
|
||||
padding: 0.8em;
|
||||
padding-bottom: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.balance-box0 .balance-item .item-left .item-left-item{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
width:100%;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
align-items: center;
|
||||
}
|
||||
.balance-box0 .balance-item .item-left .item-left-item > view{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
align-items: center;
|
||||
}
|
||||
.balance-box0 .balance-item .item-left .item-left-item .button{
|
||||
display:flex;
|
||||
margin-left: 0.4em;
|
||||
margin-top: 0.4em;
|
||||
width:4em;
|
||||
height:1.6em;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 1.6em;
|
||||
background:linear-gradient(to right,#00B050,#00B050);
|
||||
color: #fff;
|
||||
border-radius:0.5em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.dhmsg{
|
||||
display:flex;
|
||||
width: 100%;
|
||||
padding:0.8em;
|
||||
padding-top: 0;
|
||||
box-sizing: border-box;
|
||||
color:#848484;
|
||||
}
|
||||
.balance-box0 .balance-item .item-right{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
width:42%;
|
||||
padding: 0.8em;
|
||||
padding-bottom: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.balance-box0 .balance-item .item-right .button{
|
||||
display:flex;
|
||||
margin-top: 0;
|
||||
width:100%;
|
||||
height:2.5em;
|
||||
padding: 0.4em 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
line-height: 1.2em;
|
||||
background:linear-gradient(to right,#00B050,#00B050);
|
||||
color: #fff;
|
||||
border-radius:0.5em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.balance-box0 .balance-item .item-image{
|
||||
display: flex;
|
||||
width:2em;
|
||||
height: 2em;
|
||||
padding: 0.5em;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
box-sizing: border-box;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.image-color0{
|
||||
background-color: #00B050;
|
||||
}
|
||||
.image-color1{
|
||||
background-color: #0dc1ae;
|
||||
}
|
||||
.image-color2{
|
||||
background-color: #9a0b95;
|
||||
}
|
||||
.image-color3{
|
||||
background-color: #eab104;
|
||||
}
|
||||
.image-color4{
|
||||
background-color: #0dc1ae;
|
||||
}
|
||||
.image-color5{
|
||||
background-color: #3313ac;
|
||||
}
|
||||
.balance-box0 .balance-item .item-image image{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
.balance-box0 .balance-item .item-font{
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
padding-left: 0.5em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.balance-box0 .balance-item .item-left .item-font{
|
||||
width:6em;
|
||||
}
|
||||
.balance-box0 .balance-item .item-font .money{
|
||||
color: #00B050;
|
||||
}
|
||||
.pintuan-box{
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
margin-top: 0.8em;
|
||||
padding:0.8em;
|
||||
z-index:10;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius:0.5em;
|
||||
background-color: #fff;
|
||||
}
|
||||
.pintuan-title{
|
||||
display:flex;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
}
|
||||
.pintuan-title text{
|
||||
flex-grow: 1;
|
||||
font-weight: 800;
|
||||
}
|
||||
.pintuan-title .more{
|
||||
width:auto;
|
||||
}
|
||||
.pintuan-box .pintuan-box-to{
|
||||
display:flex;
|
||||
flex-direction: row;
|
||||
margin-top: 0.8em;
|
||||
width: 100%;
|
||||
border-top:1px solid #f1f1f1;
|
||||
}
|
||||
.pintuan-box .pintuan-item{
|
||||
display:flex;
|
||||
flex-direction: column;
|
||||
margin-top: 0.8em;
|
||||
flex: 1;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.pintuan-box .pintuan-item .item-font{
|
||||
font-size: 1.2em;
|
||||
font-weight: 600;
|
||||
color:#ff4d00;
|
||||
}
|
||||
.pintuan-box .pintuan-item .item-title{
|
||||
|
||||
|
||||
}
|
||||
.pintuan-box .pintuan-item .item-image{
|
||||
|
||||
|
||||
}
|
||||
.pintuan-box .pintuan-item .item-image image{
|
||||
width:1.2em;
|
||||
height:1.2em;
|
||||
}
|
||||
.mydata_box{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height:3em;
|
||||
background-color: #f52c32;
|
||||
}
|
||||
.mydata_box view{
|
||||
margin-top:0.5em;
|
||||
width: 50%;
|
||||
height: 2em;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mydata_box view.umoney1{
|
||||
border-left:1px solid #f1f1f1;
|
||||
}
|
||||
.mydata_box view image{
|
||||
width: 1.5em;
|
||||
height: 1.5em;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
.mydata_box0{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height:8em;
|
||||
background-color: #fff;
|
||||
}
|
||||
.mydata_box0 view{
|
||||
margin-top:0.5em;
|
||||
width: 33.33333333333%;
|
||||
height: 6em;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #000;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.mydata_box0 view.umoney1{
|
||||
border-left:1px solid #f1f1f1;
|
||||
}
|
||||
.mydata_box0 view image{
|
||||
width: 4em;
|
||||
height: 4em;
|
||||
}
|
||||
.mydata_box0 view view{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.info_list{padding: 0 0.8em;}
|
||||
.weui_cell{
|
||||
position: relative;
|
||||
margin-bottom:0.5em;
|
||||
display: flex;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
border-radius: 0.5em;
|
||||
background-color: #fff;
|
||||
align-items: center;
|
||||
}
|
||||
.weui_cell_hd{
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.weui_cell_hd image{
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
vertical-align: -2px;
|
||||
}
|
||||
.weui_cell_bd{
|
||||
display: inline-block;
|
||||
}
|
||||
.weui_cell_bd_p{
|
||||
color: #939393;
|
||||
}
|
||||
.badge{
|
||||
position: absolute;
|
||||
top: 1.9em;
|
||||
right: 3.5em;
|
||||
width: auto;
|
||||
padding:0.3em;
|
||||
padding-right:0.4em;
|
||||
background: #ff0000;
|
||||
color: #fff;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
font-size: 0.7em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.badge0{
|
||||
padding:0.1em 0.4em;
|
||||
}
|
||||
.with_arrow{
|
||||
position: absolute;
|
||||
top: 18px;
|
||||
right: 15px;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background-image: url('data:image/png;base64,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');
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.logoutbutton{width: 100%; margin-bottom: 6em; padding:0.8em; box-sizing: border-box;}
|
||||
.logoutbutton button{width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right,#00B050,#00B050); color:#fff; border-radius:0.5em;}
|
||||
.Hidden_box{ position: fixed;display: flex;align-items: center; justify-content: center; top:0; left:0; width:100%;height:100vh; background:rgba(0, 0, 0, 0.5);z-index: 100;}
|
||||
.Hidden_box_to{position: relative; padding: 8px; width:90%;height:auto; background-color: #fff; box-sizing: border-box; border-radius:0.5em;}
|
||||
.Hidden_box_to.addcart_box{ position: absolute; bottom:0; width:100%;border-radius:0.5em 0.5em 0 0;}
|
||||
.Hidden_box_to .close{position: absolute; right:0.5em; top:0.5em; width:1.5em; height:1.5em; padding:0.15em; background-color:#fff;border:1px solid #f1f1f1;border-radius:50%;box-sizing:border-box;}
|
||||
.Hidden_box_to .close image{width:100%;height:100%;}
|
||||
.Hidden_box_to .title{width:100%;height:2.5em;}
|
||||
.Hidden_box_to .body{line-height:1em;}
|
||||
.Hidden_box_to .body button::after{border:0;}
|
||||
.Hidden_box_to .body button{margin-top:0.5em;background:linear-gradient(to right,#00B050,#00B050);color:#fff; border-radius:0.5em;}
|
||||
.Hidden_box_to.gotoagent .body{padding:1em 0; line-height: 1.2em;}
|
||||
.Hidden_box_to.gotoagent .body button{float: left;margin-top:1.5em; width:49%;height:2em; line-height:2em;}
|
||||
.Hidden_box_to.gotoagent .body button.closebtn{margin-right: 2%; background:#eee; color:#aaa;}
|
||||
Reference in New Issue
Block a user