功能新增

添加个人页面信息
添加二维码图片
添加好友分享按钮
This commit is contained in:
Abin committed 2026-01-13 17:54:41 +08:00
1 parent 0460178749
commit c363e18fc2
12 files changed
+238 -45

No files matched your search

+30 -8
View File
@@ -1,4 +1,19 @@
<!--pages/wode/wode.wxml-->
<van-popup show="{{ showCode }}" bind:close="onCodeClose">
<view class="code-container">
<text class="tip-text">长按图片识别</text>
<van-image
show-menu-by-longpress="true"
use-loading-slot
use-error-slot
bind:click="OnClickCodeImage"
width="600rpx"
height="816rpx"
src="{{CodeURL}}"
/>
<van-loading slot="loading" type="spinner" size="20" vertical />
</view>
</van-popup>
<van-dialog
use-slot
show="{{ show }}"
@@ -42,25 +57,32 @@
</view>
</view> -->
<button class="functions2" bind:tap="showdialog">
<button wx:if="{{IsLogin}}" class="functions2" bind:tap="showdialog">
<text class="zuobianwenzi">课程码</text>
<text class="jiantou"> > </text>
</button>
<button wx:if="{{IsLogin}}" class="functions2" bind:tap="ChangeUserInfo">
<text class="zuobianwenzi">修改资料</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" open-type="share">
<text class="zuobianwenzi">好友分享</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" open-type="contact" bindcontact="handleContact">
<text class="zuobianwenzi">联系客服</text>
<text class="zuobianwenzi">在线沟通</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" bind:tap="showdialog3">
<text class="zuobianwenzi">点击复制微信:YelayMaths</text>
<button class="functions2" bind:tap="showCode">
<text class="zuobianwenzi">YelayMaths</text>
<text class="jiantou"> > </text>
</button>
<button class="functions2" bind:tap="showdialog4">
<text class="zuobianwenzi">分享给朋友</text>
<text class="jiantou"> > </text>
</button>
<!-- 功能暂不开放 -->
<!-- <button class="functions2" bind:tap="function2_01">