From 89de2bbaf2e81ab3fa7a8c2aad3b76bc81033d3d Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 23 七月 2024 18:44:27 +0800
Subject: [PATCH] update 订单功能(花店端)
---
pages/user/supplier-user.vue | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 54 insertions(+), 6 deletions(-)
diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index f9775a3..3d59935 100644
--- a/pages/user/supplier-user.vue
+++ b/pages/user/supplier-user.vue
@@ -16,7 +16,7 @@
<!-- v-if="currentInfo&&(currentInfo.id)" -->
<view class="flex user-info">
<!-- 头像 -->
- <image class="user-icon" v-if="!currentInfo.picture" src="../../static/imgs/home/home-shop-top-icon.png"
+ <image class="user-icon" v-if="!currentInfo.picture" src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png'
mode="aspectFit"></image>
<image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image>
@@ -133,11 +133,18 @@
</view>
<!-- #endif -->
<view class="user-utils m-20">
- <view class="user-util m-t-12 flex" @click="goto('/pages/user/user-info/user-info',true)">
+ <view class="user-util m-t-12 flex" @click="goto('/pages/user/user-info/user-info',true)">
<view class="title">个人信息</view>
- <view class="right-icon">
- <uni-icons type="right"></uni-icons>
+ <view class="right-icon">
+ <uni-icons type="right"></uni-icons>
</view>
+ </view>
+ <view class="user-util m-t-12 flex" v-if="selftype==='partner'"
+ @click="goto('/sub_pages/partner/partner-info/partner-info',true)">
+ <view class="title">合伙人信息</view>
+ <view class="right-icon">
+ <uni-icons type="right"></uni-icons>
+ </view>
</view>
<view class="user-util m-t-12 flex" v-if="selftype==='supplier'"
@click="goto('/sub_pages/supplier/supplier-info/supplier-info',true)">
@@ -177,7 +184,48 @@
<!-- #ifdef PUB_CUSTOMER -->
<view style="padding-bottom:200rpx">
</view>
- <common-footer flg="3"></common-footer>
+ <common-footer flg="3"></common-footer>
+
+ <uni-popup ref="popup_info" type="bottom">
+ <view class="popup-form">
+
+ <view class="infocontainar">
+ <cu-custom bgColor="none" :isBack="false">
+ <block slot="content"><span style="color: #333;font-weight: 400;">获取用户头像、昵称</span></block>
+ </cu-custom>
+
+
+ <view class="avatarUrl">
+ <button type="balanced" open-type="chooseAvatar" @chooseavatar="onChooseavatar">
+ <image :src="regAvatarUrl" class="refreshIcon"></image>
+ </button>
+ </view>
+ <view class="userName">
+ <text style="padding-bottom: 20rpx;">修改昵称:</text>
+ <input :clearable="false" type="nickname" class="weui-input" :value="regUserName" @blur="onBindblur"
+ placeholder="请输入昵称" @input="onBindinput" />
+ </view>
+
+ <view style="width: 100%;height: 1px; background: #EEE;">
+
+ </view>
+ <view style="width: 700rpx; height: 20px; font-size: 13px; margin: auto; margin-top: 40rpx;">
+ · 申请获取以下权限
+ </view>
+ <view
+ style="width: 700rpx; height: 20px; font-size: 13px; margin: auto; color: #cbcbcb; margin-top: 25rpx;">
+ · 获得你的信息(昵称、头像等)
+ </view>
+
+ <view class="btn">
+ <view @click="onWxCheckSubmit" class="button-green">保存</view>
+ </view>
+
+ </view>
+ </view>
+ </uni-popup>
+
+
<!-- #endif -->
<!-- #ifndef PUB_CUSTOMER -->
<view class="button-login-out topic-gray" @click="clearlogout">
@@ -203,7 +251,7 @@
tcode: '',
inviterName: '',
// StatusBar:0,
- tel: '1386785374'
+ tel: '15974805814'
};
},
--
Gitblit v1.9.3