Commit 35fe08bc by biao

1111

parent dfd5e29c
<?php
// 获取会员购买内容
require_once ("../user_include.inc");
ErrorLogger::doOutput("Compass...ajax_get_certificates.php....Start.", 0);
//获取参数
$unionId = ParamUtil::getRequestString("unionId");
//判断用户是否存在
$param = array();
$param['unionid'] = $unionId;
$param['delete_flg'] = false;
$userList = UserMst::getList($param,'id','desc', 0, 1);
if(empty($userList)) {
$result["message"] = "用户不存在!";
responseNG($result);
}
$result = array();
//检索数据库
$param = array();
$param['delete_flg'] = false;
$certificateList = CertificateMst::getList($param,'display_order','desc');
//接口返回数据
$result["certificateList"] = $certificateList;
ErrorLogger::doOutput("Compass...ajax_get_certificates.php....End.", 0);
//返回结果
responseOK($result);
function responseNG($result) {
$result = array("status"=>"NG", "result"=>$result);
print json_encode($result);
exit;
}
function responseOK($result) {
$result = array("status"=>"OK", "result"=>$result);
print json_encode($result);
exit;
}
?>
\ No newline at end of file
{
"pages": [
"pages/my/my",
"pages/index/index",
"pages/familyEvent/familyEvent",
"pages/socialEvent/socialEvent",
"pages/checkJoinCircle/checkJoinCircle",
"pages/myNewsDetail/myNewsDetail",
"pages/my/my",
"pages/memberChange/memberChange",
"pages/socialEventDetail/socialEventDetail",
"pages/ageChange/ageChange",
......@@ -16,7 +18,6 @@
"pages/circleDetails/circleDetails",
"pages/classDetails/classDetails",
"pages/jump/jump",
"pages/familyEvent/familyEvent",
"pages/history/history",
"pages/activeManagement/activeManagement",
"pages/socialUserRegister/socialUserRegister",
......@@ -40,7 +41,6 @@
"pages/myCertificate/myCertificate",
"pages/getCertificate/getCertificate",
"pages/myNews/myNews",
"pages/socialEvent/socialEvent",
"pages/joinFamilyEvent/joinFamilyEvent",
"pages/joinSocialEvent/joinSocialEvent",
"pages/inviteCircleMember/inviteCircleMember",
......@@ -95,7 +95,7 @@
},
{
"pagePath": "pages/my/my",
"text": "首页",
"text": "我的",
"iconPath": "img/mine.png",
"selectedIconPath": "img/mineactive.png"
}
......
src/wx/img/caozuo.png

6.11 KB | W: | H:

src/wx/img/caozuo.png

1.04 KB | W: | H:

src/wx/img/caozuo.png
src/wx/img/caozuo.png
src/wx/img/caozuo.png
src/wx/img/caozuo.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/huodong.png

9.95 KB | W: | H:

src/wx/img/huodong.png

2.53 KB | W: | H:

src/wx/img/huodong.png
src/wx/img/huodong.png
src/wx/img/huodong.png
src/wx/img/huodong.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/quanzi.png

18 KB | W: | H:

src/wx/img/quanzi.png

3.23 KB | W: | H:

src/wx/img/quanzi.png
src/wx/img/quanzi.png
src/wx/img/quanzi.png
src/wx/img/quanzi.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/xiaoxi.png

4.12 KB | W: | H:

src/wx/img/xiaoxi.png

2.42 KB | W: | H:

src/wx/img/xiaoxi.png
src/wx/img/xiaoxi.png
src/wx/img/xiaoxi.png
src/wx/img/xiaoxi.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/zhengshu.png

5.89 KB | W: | H:

src/wx/img/zhengshu.png

2.5 KB | W: | H:

src/wx/img/zhengshu.png
src/wx/img/zhengshu.png
src/wx/img/zhengshu.png
src/wx/img/zhengshu.png
  • 2-up
  • Swipe
  • Onion skin
<!--pages/mine/mine.wxml-->
<view class='mine'>
<view class='headerMine'>
<view class='topMine'>
<view>
<image src='{{headerImg==""?"../../img/touxiang.png":headerImg}}'></image>{{name}}
</view>
<image src='../../img/left.png'></image>
</view>
</view>
<view class='mineList'>
<view class='con_mineList' bindtap='quanzi'>
<image src='../../img/quanzi.png'></image>
<view>
我的圈子<image src='../../img/left.png'></image>
</view>
<text></text>
</view>
<view class='con_mineList' bindtap='myCertificate'>
<image src='../../img/zhengshu.png'></image>
<view>
我的证书<image src='../../img/left.png'></image>
</view>
<text></text>
</view>
<view class='con_mineList' bindtap='activeManagement'>
<image src='../../img/huodong.png'></image>
<view>
活动管理<image src='../../img/left.png'></image>
</view>
<text></text>
</view>
<view class='con_mineList' bindtap='xiaoxi'>
<image src='../../img/xiaoxi.png'></image>
<view>
消息通知<image src='../../img/left.png'></image>
</view>
<text></text>
</view>
<view class='con_mineList' bindtap='manual'>
<image src='../../img/caozuo.png'></image>
<view style='border-bottom:none;'>
操作手册<image src='../../img/left.png'></image>
</view>
<text></text>
</view>
</view>
</view>
/* pages/mine/mine.wxss */
.topMine{
page{
width: 100%;
height: 100%;
background: #EFF3F6;
}
.headerMine{
width: 100%;
height: 100px;
background-image: linear-gradient(top, #3d8bf0,#70bff9);
background-image: -ms-linear-gradient(top, #3d8bf0,#70bff9);
background-image: -webkit-linear-gradient(top, #3d8bf0,#70bff9);
background-image: -moz-linear-gradient(top, #3d8bf0,#70bff9);
position: relative;
}
.topMine{
position: absolute;
bottom: -50px;
left: 0;
right: 0;
margin: auto;
width: 90%;
height: 100px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 4px solid #ccc;
background: #fff;
border-radius: 10px;
}
.topMine>view{
display: flex;
......@@ -25,13 +45,26 @@
margin-right: 15px;
}
.mineList{
width:100%;
margin-top: 30px;
width:90%;
margin: 80px auto 0;
background: #fff;
border-radius: 15px;
box-sizing: border-box;
padding: 10px 0;
}
.con_mineList{
width: 100%;
height: 50px;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.con_mineList>text{
display: block;
width: 90%;
height: 1px;
background: #f6f6f6;
margin: 0 auto;
}
.con_mineList>image{
width: 25px;
......@@ -46,7 +79,6 @@
justify-content: space-between;
align-items: center;
font-size: 14px;
border-bottom: 1px solid #ccc;
}
.con_mineList>view>image{
width: 10px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment