feat(mini): 各页面增加分享入口(好友/朋友圈)及设置页微调
This commit is contained in:
@@ -8,25 +8,24 @@
|
||||
<text>客</text>
|
||||
</view>
|
||||
<view>
|
||||
<text class="text-base font-medium">{{userInfo.nickname || '微信用户'}}</text>
|
||||
<text class="text-sm font-medium">{{userInfo.nickname || '授权用户'}}</text>
|
||||
<text class="text-xs text-muted block">已登录,生辰档案云端同步</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn-ghost text-muted" bindtap="logout">退出</view>
|
||||
</view>
|
||||
<block wx:else>
|
||||
<view class="flex items-center gap-2 mb-2">
|
||||
<view class="flex items-center justify-between" wx:else>
|
||||
<view class="flex items-center gap-2">
|
||||
<view class="avatar avatar-placeholder">
|
||||
<text>客</text>
|
||||
</view>
|
||||
<view>
|
||||
<text class="text-base font-medium">未登录</text>
|
||||
<text class="text-xs text-muted block">绑定的生辰仅保存在本机,登录后才生效</text>
|
||||
<text class="text-sm font-medium">未登录</text>
|
||||
<text class="text-xs text-muted block">登录后生辰档案云端同步,换设备不丢失</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn-primary text-center" bindtap="login">{{logging ? '登录中…' : '微信登录'}}</view>
|
||||
<view class="text-xs text-muted text-center mt-2">登录后可将生辰档案同步到云端,换设备不丢失</view>
|
||||
</block>
|
||||
<view class="btn-primary btn-sm" bindtap="login">{{logging ? '登录中…' : '授权登录'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 我的数据 -->
|
||||
@@ -76,10 +75,9 @@
|
||||
<!-- 关于 -->
|
||||
<view class="card">
|
||||
<view class="section-title">关于</view>
|
||||
<view class="text-sm text-muted">
|
||||
<text>老黄历小程序 v{{version}}</text>
|
||||
<view class="text-xs text-muted">
|
||||
<text>老黄历 v{{version}}</text>
|
||||
<text class="block mt-1" wx:if="{{buildNumber !== '0'}}">构建 #{{buildNumber}} ({{commitSha}})</text>
|
||||
<text class="block mt-1">提供农历、黄历、八字、许愿等功能</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user