Merge branch 'develop/wap' into beta/wap
Showing
3 changed files
with
5 additions
and
11 deletions
@@ -22,10 +22,10 @@ function getInstance() { | @@ -22,10 +22,10 @@ function getInstance() { | ||
22 | '{{# hasFooter}}' + | 22 | '{{# hasFooter}}' + |
23 | '<div class="dialog-footer">' + | 23 | '<div class="dialog-footer">' + |
24 | '{{# leftBtnText}}' + | 24 | '{{# leftBtnText}}' + |
25 | - '<span class="dialog-left-btn">{{.}}</span>' + | 25 | + '<span class="dialog-left-btn tap-hightlight">{{.}}</span>' + |
26 | '{{/ leftBtnText}}' + | 26 | '{{/ leftBtnText}}' + |
27 | '{{# rightBtnText}}' + | 27 | '{{# rightBtnText}}' + |
28 | - '<span class="dialog-right-btn">{{.}}</span>' + | 28 | + '<span class="dialog-right-btn tap-hightlight">{{.}}</span>' + |
29 | '{{/ rightBtnText}}' + | 29 | '{{/ rightBtnText}}' + |
30 | '</div>' + | 30 | '</div>' + |
31 | '{{/ hasFooter}}' + | 31 | '{{/ hasFooter}}' + |
@@ -35,7 +35,7 @@ class YuanxiaoModel | @@ -35,7 +35,7 @@ class YuanxiaoModel | ||
35 | // 处理个人详情数 | 35 | // 处理个人详情数 |
36 | if (isset($userData['data']) && !empty($userData['data'])) { | 36 | if (isset($userData['data']) && !empty($userData['data'])) { |
37 | $result['birthday'] = $userData['data']['birthday'] ?: '2000-01-01'; | 37 | $result['birthday'] = $userData['data']['birthday'] ?: '2000-01-01'; |
38 | - $result['gender'] = $userData['data']['gender'] == 1 ? '男' : '女'; | 38 | + $result['gender'] = $userData['data']['gender']; |
39 | } | 39 | } |
40 | 40 | ||
41 | return $result; | 41 | return $result; |
@@ -38,13 +38,7 @@ class YuanxiaoController extends HuodongAction | @@ -38,13 +38,7 @@ class YuanxiaoController extends HuodongAction | ||
38 | 'staticFile' => self::STATIC_FILE, | 38 | 'staticFile' => self::STATIC_FILE, |
39 | 'staticJS' => array( | 39 | 'staticJS' => array( |
40 | 'home.js' | 40 | 'home.js' |
41 | - ), | ||
42 | - 'weixinShare' => $this->_isApp ? false : true, // 是否需要微信分享 | ||
43 | - 'shareLink' => 'http://feature.yoho.cn/2016lishifeng/index.html', | ||
44 | - 'shareTitle' => 'YOHO!BUY有货新年寻宝大作战,千元利是等你赢!', | ||
45 | - 'shareDesc' => 'YOHO!BUY有货,全球800+潮流品牌每日上新!', | ||
46 | - 'shareImg' => 'http://img12.static.yhbimg.com/couponImg/2015/12/30/12/02008a9724b898dee56852de9f1a3978bf.jpg', | ||
47 | - 'showPopupFlag' => $showPopupFlag, | 41 | + ) |
48 | )); | 42 | )); |
49 | } | 43 | } |
50 | 44 | ||
@@ -62,7 +56,7 @@ class YuanxiaoController extends HuodongAction | @@ -62,7 +56,7 @@ class YuanxiaoController extends HuodongAction | ||
62 | if (!empty($posts)) { | 56 | if (!empty($posts)) { |
63 | $nickName = $this->post('nick', ''); | 57 | $nickName = $this->post('nick', ''); |
64 | $birthday = $this->post('birthday', ''); | 58 | $birthday = $this->post('birthday', ''); |
65 | - $gender = $this->post('gender', 0); | 59 | + $gender = $this->post('gender', 1); |
66 | 60 | ||
67 | // 调用接口 | 61 | // 调用接口 |
68 | $result = YuanxiaoModel::getChouqianInfo($uid, $nickName, $birthday, $gender); | 62 | $result = YuanxiaoModel::getChouqianInfo($uid, $nickName, $birthday, $gender); |
-
Please register or login to post a comment