作者 王晓刚
1 个管道 的构建 通过 耗费 7 秒

修改问题文档

... ... @@ -46,7 +46,8 @@ class Shop extends Frontend
$userModel = new \app\index\model\User();
$user = $userModel->findData(['id'=>$user_id]);
if(!empty($user)){
if($user['is_svip'] == '1' || ($user['is_vip'] == '1' && in_array($province_id,$user['province_ids']))){
$province_ids = explode(',',$user['province_ids']);
if($user['is_svip'] == '1' || ($user['is_vip'] == '1' && in_array($province_id,$province_ids))){
$encrypt = '1';
}
}
... ...
... ... @@ -666,7 +666,7 @@
var mapObj;
var geoc;
var locationLng = 117.233;
var locationLat = 39.11365;
var locationLat = 36.11365;
$(function () {
// showTableData();
// initMap();
... ... @@ -708,8 +708,8 @@
success:function(res){
if(res.code == 1){
province_id = res.data.province_id;
lng = r.point.lng;
lat = r.point.lat;
locationLng = lng = r.point.lng;
locationLat = lat = r.point.lat;
//初始化产品热卖
initGoodsList();
}else{
... ...
... ... @@ -65,6 +65,9 @@
}
/*验证码登录样式*/
.content .contentMain .loginBox .msgFormBox{
display: none;
}
.content .contentMain .loginBox .formBox form .form-group{
margin: 30px 30px 20px 30px;
position: relative;
... ... @@ -126,7 +129,7 @@
/*密码登录样式*/
.content .contentMain .loginBox .pswFormBox{
display: none;
display: block;
}
.content .contentMain .loginBox .pswFormBox .form-group{
position: relative;
... ...