-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
54 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,24 +2,14 @@ | |
<view class="user_top"></view> | ||
<view class="user_box"> | ||
<!--头像--> | ||
<view class="user_head"><image mode="widthFix" src="../../images/fake_user.png"></image></view> | ||
<view class="user_head"><open-data type="userAvatarUrl"></open-data></view> | ||
<!--用户名--> | ||
<view class="user_op_box"> | ||
<view class="user_nick" ><text>{{loginStatus ? "您已登录":"hello,你还未登录!"}}</text><switch bindtap="navigateToLogin" style="color: #6f89c5!important" color="#6f89c5" checked="{{loginStatus}}" bindchange="login"></switch></view> | ||
<view class="user_nick" ><open-data type="userNickName"></open-data><text>{{loginStatus ? "您已登录":"未登录!"}}</text><switch bindtap="navigateToLogin" style="color: #6f89c5!important" color="#6f89c5" checked="{{loginStatus === 'yes'}}" bindchange="login"></switch></view> | ||
</view> | ||
</view> | ||
<!--登录临时放到这里,按照你可以按照原有逻辑,使用switch来控制登录页面跳转--> | ||
|
||
|
||
|
||
<!--<view class="padding text-center">--> | ||
<!--<view class="padding-xl radius shadow-warp bg-white margin-top">--> | ||
<!--<button class="cu-btn bg-blue lg" style="width: 90%;" bindtap="navigateToLogin">登录</button>--> | ||
<!--<view class="padding"></view>--> | ||
<!--<button class="cu-btn bg-red lg" style="width: 90%;" bindtap="quit">退出登录</button>--> | ||
<!--</view>--> | ||
<!--</view>--> | ||
|
||
<!--我的页面功能--> | ||
<view class="cu-list menu card-menu margin-top-xl margin-bottom-xl shadow-lg radius"> | ||
<view hidden="{{!loginStatus}}" class="user_nick email_service"><text>{{emailStatus ? "已开启人文邮件服务":"已关闭人文邮件服务"}}</text><switch color="#6f89c5" checked="{{emailStatus}}" bindchange="emailsSwitch"></switch></view> | ||
|
@@ -52,15 +42,6 @@ | |
<button class="join_us" style="width: 90%;" open-type="openGroupProfile" group-id="805769614">加入果壳儿交流群</button> | ||
</view> | ||
</view> | ||
<!--<view class="padding text-center">--> | ||
<!--<view class="padding-xl radius shadow-warp bg-white margin-top">--> | ||
<!--<button class="cu-btn bg-blue lg" style="width: 90%;" bindtap="navigateToAdvice">提建议</button>--> | ||
<!--<view class="padding"></view>--> | ||
<!--<button class="cu-btn bg-blue lg" style="width: 90%;" open-type="openGroupProfile" group-id="805769614">加入果壳儿交流群</button>--> | ||
<!--</view>--> | ||
<!--</view>--> | ||
|
||
|
||
<!----> | ||
<view class="footer"><text>果壳小组[email protected]</text></view> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ | |
"list": [] | ||
}, | ||
"miniprogram": { | ||
"current": 3, | ||
"current": 1, | ||
"list": [ | ||
{ | ||
"id": 0, | ||
|