切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
b4d39541861485c1a252ce9856caa1f66865dcb7
1 个父辈
bb65936e
master
...
liuzhen
wangxiaogang
1 个管道 的构建
通过
耗费 0 秒
5
变更
4
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
50 行增加
和
39 行删除
public/themes/simpleboot3/portal/orderpage/go_add_address.html
public/themes/simpleboot3/portal/personalcenter/my_wallet.html
public/themes/simpleboot3/public/assets/js/address(1).js
simplewind/cmf/controller/WeChatBaseController.php
public/themes/simpleboot3/portal/orderpage/go_add_address.html
查看文件 @
b4d3954
...
...
@@ -8,6 +8,11 @@
<title>
学考无忧-收获地址
</title>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/reset.css"
>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/base.css"
>
<style>
.haha
{
}
</style>
</head>
<body
style=
"background-color:white;"
>
...
...
@@ -49,8 +54,8 @@
</volist>-->
<volist
name=
"data"
id=
"vo"
>
<li>
<div
id=
""
style=
"display: flex;justify-content: flex-start;align-items: center;"
>
<div
style=
"width: 0.4rem;height: 0.4rem;margin-right: 0.25rem;"
class=
"select_img"
>
<div
class=
""
style=
"display: flex;justify-content: flex-start;align-items: center;"
>
<div
style=
"width: 0.4rem;height: 0.4rem;margin-right: 0.25rem;"
class=
"select_img"
>
<img
src=
"__TMPL__/public/assets/images/39_0.png"
style=
"width:100%;height: 100%;"
/>
</div>
<div
class=
"contant"
style=
"width: 6rem;"
>
...
...
public/themes/simpleboot3/portal/personalcenter/my_wallet.html
查看文件 @
b4d3954
...
...
@@ -191,6 +191,20 @@
<script
src=
"__TMPL__/public/assets/js/jquery.js"
></script>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script>
<!--
验证弹窗
-->
var
state
;
$
.
post
(
"{:url('Personalcenter/id_first_withdrawal')}"
,{},
function
(
data
){
state
=
data
});
$
(
".log_seven_btn_contant"
).
click
(
function
()
{
console
.
log
(
state
);
if
(
state
!=
false
){
$
(
".tx_maskPhone"
).
css
(
"display"
,
"block"
);
}
else
{
$
(
".tx_mask"
).
css
(
"display"
,
"block"
);
return
false
;
}
});
/**
*手机号验证点击确定时
*/
...
...
@@ -203,8 +217,10 @@
alert
(
'请输入手机号'
);
}
else
{
$
.
post
(
"{:url('Personalcenter/is_money_code')}"
,{
yzm
:
yzm
},
function
(
data
){
if
(
data
){
console
.
log
(
data
)
if
(
data
!=
false
){
$
(
".tx_maskPhone"
).
css
(
"display"
,
"none"
);
$
(
".tx_mask"
).
css
(
"display"
,
"block"
);
}
else
{
alert
(
'验证码错误!'
);
...
...
@@ -249,19 +265,7 @@
}
</script>
<script>
<!--
验证弹窗
-->
var
state
;
$
.
post
(
"{:url('Personalcenter/id_first_withdrawal')}"
,{},
function
(
data
){
state
=
data
});
$
(
".log_seven_btn_contant"
).
click
(
function
()
{
if
(
state
!=
false
){
$
(
".tx_maskPhone"
).
css
(
"display"
,
"block"
);
}
else
{
$
(
".tx_mask"
).
css
(
"display"
,
"block"
);
return
false
;
}
});
// 提现弹窗
$
(
".tx_maskYeah"
).
click
(
function
()
{
...
...
@@ -269,25 +273,25 @@
$
(
".tx_maskPhone"
).
css
(
"display"
,
"none"
);
});
// var data;
// $.post("{:url('Personalcenter/is_money_code')}",{yzm:yzm},function(data){
// data = data
// }),
// 手机验证弹窗
$
(
".tx_maskYes"
).
click
(
function
(){
var
data
$
.
post
(
"{:url('Personalcenter/is_money_code')}"
,{
yzm
:
yzm
},
function
(
data
){
data
=
data
},
var
one
=
$
(
"#phone"
).
val
();
var
two
=
$
(
"#Ver_code"
).
val
();
if
(
one
!=
""
&&
two
!=
""
&&
two
!=
data
){
$
(
".tx_maskPhone"
).
css
(
"display"
,
"none"
);
$
(
".tx_mask"
).
css
(
"display"
,
"block"
)
}
else
{
return
false
;
console
.
log
(
123
)
}
});
// $(".tx_maskYes").click(function(){
// var one = $("#phone").val();
// var two = $("#Ver_code").val();
//
// if(one!=""&&two!=""&&two!=data){
// $(".tx_maskPhone").css("display","none");
// $(".tx_mask").css("display","block")
// }else{
// return false;
// console.log(123)
// }
//
//
// });
function
checkPhone
()
{
var
phone
=
document
.
getElementById
(
'phone'
).
value
;
if
(
!
(
/^1
[
34578
]\d{9}
$/
.
test
(
phone
)))
{
...
...
public/themes/simpleboot3/public/assets/js/address(1).js
查看文件 @
b4d3954
...
...
@@ -64,9 +64,11 @@ document.addEventListener('DOMContentLoaded', function() {
imgs
[
i
].
addEventListener
(
'touchstart'
,
function
(){
if
(
$
(
this
).
attr
(
'src'
)
==
host
+
'images/39_0.png'
){
$
(
this
).
attr
(
'src'
,
host
+
'images/73.png'
).
parents
(
'li'
).
siblings
().
find
(
'.select_img img'
).
attr
(
'src'
,
host
+
'images/39_0.png'
);
$
(
'.haha'
).
removeClass
(
"haha"
);
$
(
this
).
parents
(
".select_img"
).
addClass
(
"haha"
);
}
else
{
$
(
this
).
attr
(
'src'
,
host
+
'images/39_0.png'
)
$
(
this
).
attr
(
'src'
,
host
+
'images/39_0.png'
);
}
})
}
...
...
simplewind/cmf/controller/WeChatBaseController.php
查看文件 @
b4d3954
...
...
@@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController
*/
public
function
checkWeChatUserLogin
()
{
// $user = Db::name('user')->where('id',5)->find();
// cmf_update_current_user($user);
/*$user = Db::name('user')->where('id',2)->find();
cmf_update_current_user($user);*/
$userId
=
cmf_get_current_user_id
();
if
(
empty
(
$userId
))
{
$config
=
[
...
...
请
注册
或
登录
后发表评论