Browse Source

动态配置智能体

dev_des
1054425342@qq.com 2 months ago
parent
commit
b0e4b1b602
  1. 6
      components/ProductSection.vue
  2. 2
      pages/index/iSoul.vue
  3. 5
      subPackages/orderQy/detail.vue
  4. 402
      subPackages/user/changeNickname.vue
  5. 795
      subPackages/user/profile.vue

6
components/ProductSection.vue

@ -26,7 +26,7 @@
<view class="image-overlay" v-if="!isFeel"></view>
<!-- 智能体标签 -->
<view class="content-box-info" v-if="!isFeel">
<view class="ai-tag">
<view class="ai-tag" v-if="item.agent">
<view
class="ai-label"
:style="{
@ -35,12 +35,12 @@
}"
>智能体</view
>
<text class="ai-name">{{ item.aiName }}</text>
<text class="ai-name">{{ item.agent.name }}</text>
</view>
<!-- 头像 -->
<image
class="avatar"
:src="showImg(item.avatar)"
:src="showImg(item.agent.headImage)"
mode="aspectFill"
></image>
</view>

2
pages/index/iSoul.vue

@ -23,7 +23,7 @@
class="avatar-img"></image>
</view>
<view class="user-info">
<view class="username">{{ userInfo.nickname || "去登录" }}</view>
<view class="username">{{ userInfo.nickname || "去登录" }}<uni-icons type="right" size="16" style="margin-left: 10rpx;" color="#ffffff" /></view>
<view class="user-id" v-if="userInfo.redBookId">ID{{ userInfo.redBookId || "123456" }}</view>
<!-- <view class="location">
<text class="location-icon">📍</text>

5
subPackages/orderQy/detail.vue

@ -177,8 +177,7 @@
<!-- 底部操作 -->
<view class="bottom-actions">
<!-- <button class="action-btn-bottom primary" @click="handleMainAction">
<!-- <button class="action-btn-bottom primary" @click="handleMainAction">
{{ getMainActionText() }}
</button> -->
<!-- 售后按钮 -->
@ -1557,7 +1556,7 @@ export default {
}
.goods-select-name {
text-align: left;
text-align: left;
font-size: 28rpx;
color: #333;
font-weight: 600;

402
subPackages/user/changeNickname.vue

@ -1,89 +1,325 @@
<template>
<view class="bg">
<view class="nickname-box">
<input v-model="nickname" type="text" placeholder="请输入内容" />
</view>
<view class="btn" @click="save">保存</view>
</view>
<view class="change-nickname-container">
<!-- 页面标题 -->
<view class="page-header">
<text class="page-title">修改昵称</text>
</view>
<!-- 昵称输入区域 -->
<view class="input-section">
<view class="input-card">
<view class="input-label">昵称</view>
<view class="input-wrapper">
<input
v-model="nickname"
type="nickname"
placeholder="请输入昵称"
maxlength="20"
class="nickname-input"
/>
<view class="char-count">{{ nickname.length }}/20</view>
</view>
</view>
</view>
<!-- 保存按钮 -->
<view class="save-section">
<button
class="save-btn"
:class="{ 'save-btn-active': nickname.trim() }"
@click="saveNickname"
:disabled="!nickname.trim()"
>
保存
</button>
</view>
</view>
</template>
<script>
export default {
name: "changeNickname",
data: function() {
return {
nickname: ""
}
},
methods: {
save: function() {
if (!this.nickname) {
uni.showToast({
title: '请输入昵称',
icon: 'none'
})
return;
}
this.Post({
nickname: this.nickname
}, '/api/user/profile').then(res => {
console.log(res)
if (res.code == 1 || res.code == 200) {
uni.showModal({
title: '提示',
content: '保存成功!',
success: res => {
if (res.confirm) {
this.goBack()
}
}
})
}
})
}
}
}
export default {
name: "changeNickname",
data() {
return {
nickname: "",
originalNickname: "", //
};
},
onLoad(options) {
// 使
if (options.nickname) {
this.nickname = decodeURIComponent(options.nickname);
this.originalNickname = this.nickname;
}
},
methods: {
//
getWechatNickname() {
// #ifdef MP-WEIXIN
uni.getUserProfile({
desc: "用于完善用户资料",
success: (res) => {
console.log("获取用户信息成功:", res);
if (res.userInfo && res.userInfo.nickName) {
this.nickname = res.userInfo.nickName;
uni.showToast({
title: "已获取微信昵称",
icon: "success",
});
}
},
fail: (err) => {
console.log("获取用户信息失败:", err);
uni.showToast({
title: "获取微信昵称失败",
icon: "none",
});
},
});
// #endif
// #ifndef MP-WEIXIN
uni.showToast({
title: "请在微信小程序中使用此功能",
icon: "none",
});
// #endif
},
//
saveNickname() {
const trimmedNickname = this.nickname.trim();
if (!trimmedNickname) {
uni.showToast({
title: "请输入昵称",
icon: "none",
});
return;
}
if (trimmedNickname.length < 2) {
uni.showToast({
title: "昵称至少2个字符",
icon: "none",
});
return;
}
if (trimmedNickname === this.originalNickname) {
uni.showToast({
title: "昵称未修改",
icon: "none",
});
return;
}
uni.showLoading({
title: "保存中...",
});
this.Post(
{
nickname: trimmedNickname,
},
"/api/user/profile"
)
.then((res) => {
uni.hideLoading();
console.log("保存昵称结果:", res);
if (res.code == 1 || res.code == 200) {
uni.showModal({
title: "提示",
content: "昵称保存成功!",
showCancel: false,
success: (modalRes) => {
if (modalRes.confirm) {
//
const pages = getCurrentPages();
if (pages.length > 1) {
const prevPage = pages[pages.length - 2];
//
if (prevPage.updateNickname) {
prevPage.updateNickname(trimmedNickname);
}
}
uni.navigateBack();
}
},
});
} else {
uni.showToast({
title: res.msg || "保存失败",
icon: "none",
});
}
})
.catch((err) => {
uni.hideLoading();
console.error("保存昵称失败:", err);
uni.showToast({
title: "保存失败,请重试",
icon: "none",
});
});
},
},
};
</script>
<style scoped>
.bg {
min-height: 100vh;
padding-top: 50rpx;
}
.nickname-box {
display: flex;
padding: 10rpx 0 30rpx;
margin: 0 30rpx;
align-items: center;
background: white;
margin-bottom: 100rpx;
font-size: 30rpx;
height: 70rpx;
border-bottom: 1rpx solid #D8D8D8;
}
.nickname-box span {
flex-shrink: 0;
}
.nickname-box input {
flex: 1;
font-size: 30rpx;
display: block;
}
.btn {
color: black;
margin: 0 auto;
line-height: 80rpx;
position: relative;
font-size: 34rpx;
text-align: center;
width: 333rpx;
height: 80rpx;
background: #C3282E;
border-radius: 40rpx;
color: #FFFFFF;
}
</style>
<style lang="scss" scoped>
.change-nickname-container {
min-height: 100vh;
background-color: #f5f5f5;
padding-bottom: env(safe-area-inset-bottom);
}
//
.page-header {
background-color: #fff;
padding: 20rpx 30rpx;
border-bottom: 1rpx solid #f0f0f0;
}
.page-title {
font-size: 32rpx;
font-weight: 600;
color: #333;
}
//
.input-section {
margin-top: 20rpx;
}
.input-card {
background-color: #fff;
padding: 30rpx;
margin: 0 30rpx;
border-radius: 16rpx;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
}
.input-label {
font-size: 28rpx;
color: #333;
font-weight: 600;
margin-bottom: 20rpx;
}
.input-wrapper {
position: relative;
display: flex;
align-items: center;
}
.nickname-input {
flex: 1;
height: 80rpx;
padding: 0 20rpx;
font-size: 30rpx;
color: #333;
background-color: #f8f9fa;
border: 2rpx solid #e9ecef;
border-radius: 12rpx;
transition: all 0.3s ease;
}
.nickname-input:focus {
border-color: #ff4757;
background-color: #fff;
}
.char-count {
position: absolute;
right: 20rpx;
font-size: 24rpx;
color: #999;
background-color: rgba(255, 255, 255, 0.9);
padding: 4rpx 8rpx;
border-radius: 6rpx;
}
//
.quick-actions {
margin-top: 20rpx;
}
.action-card {
background-color: #fff;
margin: 0 30rpx;
padding: 30rpx;
border-radius: 16rpx;
display: flex;
align-items: center;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
cursor: pointer;
transition: all 0.3s ease;
&:active {
background-color: #f8f9fa;
transform: scale(0.98);
}
}
.action-icon {
margin-right: 20rpx;
width: 60rpx;
height: 60rpx;
background-color: rgba(7, 193, 96, 0.1);
border-radius: 12rpx;
display: flex;
align-items: center;
justify-content: center;
}
.action-content {
flex: 1;
}
.action-title {
font-size: 28rpx;
color: #333;
font-weight: 600;
margin-bottom: 4rpx;
display: block;
}
.action-desc {
font-size: 24rpx;
color: #999;
display: block;
}
.action-arrow {
margin-left: 20rpx;
}
//
.save-section {
margin-top: 60rpx;
padding: 0 30rpx;
}
.save-btn {
width: 100%;
height: 88rpx;
background-color: #e9ecef;
color: #999;
border: none;
border-radius: 44rpx;
font-size: 32rpx;
font-weight: 600;
transition: all 0.3s ease;
&.save-btn-active {
background-color: #ff4757;
color: #fff;
}
&:active {
transform: scale(0.98);
}
}
</style>

795
subPackages/user/profile.vue

@ -1,26 +1,37 @@
<template>
<view v-if="info">
<view class="user-other-info">
<div class="info-avatar-top">
<span>头像</span>
<view @click="uploadImg()">
<image :src="showImg(info.avatar)" mode="aspectFill"
style="width: 80rpx;height: 80rpx;border-radius: 50%;"></image>
</view>
</div>
<navigator url="/subPackages/user/changeNickname" tag="view" class="userinfo-item">
<span>昵称</span>
<view>{{nickname}}</view>
</navigator>
<!-- <view class="userinfo-item" @click="showSexSelect = true">
<view v-if="info">
<view class="user-other-info">
<div class="info-avatar-top">
<span>头像</span>
<button
class="avatar-wrapper"
open-type="chooseAvatar"
@chooseavatar="onChooseAvatar"
>
<image
:src="showImg(info.avatar)"
mode="aspectFill"
style="width: 80rpx; height: 80rpx; border-radius: 50%"
></image>
</button>
</div>
<navigator
url="/subPackages/user/changeNickname"
tag="view"
class="userinfo-item"
>
<span>昵称</span>
<view>{{ nickname }}</view>
</navigator>
<!-- <view class="userinfo-item" @click="showSexSelect = true">
<span>性别</span>
<view @click="$refs.popup.open()">{{gender == 1 ? '' : (gender == 2 ? '' : '保密')}}</view>
</view> -->
<view class="userinfo-item">
<span>手机号</span>
<view>{{info.mobile}}</view>
</view>
<!-- <view class="userinfo-item">
<view class="userinfo-item">
<span>手机号</span>
<view>{{ info.mobile }}</view>
</view>
<!-- <view class="userinfo-item">
<span>生日</span>
<picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange">
<view class="uni-input">{{birthday}}</view>
@ -30,378 +41,414 @@
<span>注销账号</span>
<i>注销后账号无法恢复请谨慎操作</i>
</navigator> -->
<!-- <view class="btn-tao" @click="submit">保存</view> -->
</view>
<!-- 性别弹框 -->
<uni-popup ref="popup" type="bottom">
<view class="popup-box">
<view class="popup-item flex-center" v-for="(item,index) in sexes" :key="index" @click="changesex(index)">{{item.text}}</view>
<view class="popup-items flex-center" @click="$refs.popup.close()">取消</view>
</view>
</uni-popup>
</view>
<!-- <view class="btn-tao" @click="submit">保存</view> -->
</view>
<!-- 性别弹框 -->
<uni-popup ref="popup" type="bottom">
<view class="popup-box">
<view
class="popup-item flex-center"
v-for="(item, index) in sexes"
:key="index"
@click="changesex(index)"
>{{ item.text }}</view
>
<view class="popup-items flex-center" @click="$refs.popup.close()"
>取消</view
>
</view>
</uni-popup>
</view>
</template>
<script>
import {pathToBase64} from "@/static/js/mmmm-image-tools/index.js"
export default {
name: "Profile",
data() {
const currentDate = this.getDate({
format: true
})
return {
date: currentDate,
info: null,
showSexSelect: false,
sexes: [{
value: '1',
text: '男'
},
{
value: '2',
text: '女'
},
{
value: '0',
text: '保密'
}
],
today: null,
showCropper: false,
nickname: '',
gender: '',
birthday: '',
email: '',
fileList1: [],
startDate: '1900-1-1',
endDate: '2050-1-1'
}
},
onShow() {
console.log(this.$store.state.user.userInfo,uni.getStorageSync('userInfo'))
this.getList()
},
computed: {
// startDate() {
// return this.getDate('start');
// },
// endDate() {
// return this.getDate('end');
// }
},
methods: {
getFile(e) {
console.log(e)
},
getList() {
let today = new Date();
today = today.getFullYear() + "/" + (today.getMonth() + 1) + "/" + today.getDate();
this.today = today;
this.Post({}, "/api/user/userInfo").then(res => {
if (!res.data.birthday) {
let date = new Date();
res.data.birthday = date.getFullYear() + "/" + (date.getMonth() + 1) + "/" + date
.getDate();
}
this.info = res.data;
this.nickname = this.info.nickname
this.email = this.info.email
this.birthday = this.info.birthday
this.gender = this.info.gender
this.info.token = JSON.parse(uni.getStorageSync('userInfo')).token || this.$store.state.user.userInfo.token
console.log(this.info)
this.$store.commit('changeUserInfo', this.info)
})
},
uploadImg() {
uni.chooseImage({
success: (chooseImageRes) => {
const tempFilePaths = chooseImageRes.tempFilePaths;
// // #ifdef MP-WEIXIN
// uni.getFileSystemManager().readFile({
// filePath: tempFilePaths[0],
// encoding: 'base64',
// success: res => {
// this.Post({
// method: 'POST',
// base64: 'data:image/png;base64,' + res.data
// }, '/api/common/base64').then(res => {
// if (res.data) {
// this.Post({
// avatar: res.data
// }, '/api/user/profile').then(res => {
// uni.showModal({
// title: '',
// content: res.msg,
// showCancel: false,
// success: res => {
// if (res.confirm) {
// this.getList()
// }
// }
// })
// })
// }
// })
// }
// })
// // #endif
pathToBase64(tempFilePaths[0]).then(base64 => {
this.Post({
method: 'POST',
base64: base64
}, '/api/common/base64').then(res => {
if (res.data) {
this.Post({
avatar: res.data
}, '/api/user/profile').then(res => {
uni.showModal({
title: '提示',
content: res.msg,
showCancel: false,
success: res => {
if (res.confirm) {
this.getList()
}
}
})
})
}
})
})
}
});
},
//
bindDateChange: function(e) {
this.birthday = e.detail.value
},
getDate(type) {
const date = new Date();
let year = date.getFullYear();
let month = date.getMonth() + 1;
let day = date.getDate();
if (type === 'start') {
year = year - 60;
} else if (type === 'end') {
year = year + 2;
}
month = month > 9 ? month : '0' + month;
day = day > 9 ? day : '0' + day;
return `${year}/${month}/${day}`;
},
changesex(index) {
this.gender = this.sexes[index].value
this.$refs.popup.close()
},
submit() {
uni.showModal({
title: '提示',
content: '确认修改您的信息?',
success: res => {
if (res.confirm) {
this.Post({
nickname: this.nickname,
gender: this.gender,
birthday: this.birthday
}, '/api/user/profile').then(res => {
console.log(res)
if (res.code == 1) {
uni.showModal({
title: '提示',
content: res.msg,
showCancel: false,
success: res => {
if (res.confirm) {
this.getList()
}
}
})
}
})
}
}
})
},
import { pathToBase64 } from "@/static/js/mmmm-image-tools/index.js";
export default {
name: "Profile",
data() {
const currentDate = this.getDate({
format: true,
});
return {
date: currentDate,
info: null,
showSexSelect: false,
sexes: [
{
value: "1",
text: "男",
},
{
value: "2",
text: "女",
},
{
value: "0",
text: "保密",
},
],
today: null,
showCropper: false,
nickname: "",
gender: "",
birthday: "",
email: "",
fileList1: [],
startDate: "1900-1-1",
endDate: "2050-1-1",
};
},
onShow() {
console.log(
this.$store.state.user.userInfo,
uni.getStorageSync("userInfo")
);
this.getList();
},
computed: {
// startDate() {
// return this.getDate('start');
// },
// endDate() {
// return this.getDate('end');
// }
},
methods: {
getFile(e) {
console.log(e);
},
getList() {
let today = new Date();
today =
today.getFullYear() +
"/" +
(today.getMonth() + 1) +
"/" +
today.getDate();
this.today = today;
this.Post({}, "/api/user/userInfo").then((res) => {
if (!res.data.birthday) {
let date = new Date();
res.data.birthday =
date.getFullYear() +
"/" +
(date.getMonth() + 1) +
"/" +
date.getDate();
}
this.info = res.data;
this.nickname = this.info.nickname;
this.email = this.info.email;
this.birthday = this.info.birthday;
this.gender = this.info.gender;
this.info.token =
JSON.parse(uni.getStorageSync("userInfo")).token ||
this.$store.state.user.userInfo.token;
console.log(this.info);
this.$store.commit("changeUserInfo", this.info);
});
},
onChooseAvatar(e) {
console.log(e.detail, "==");
pathToBase64(e.detail.avatarUrl).then((base64) => {
this.Post(
{
method: "POST",
base64: base64,
},
"/api/common/base64"
).then((res) => {
if (res.data) {
this.Post(
{
avatar: res.data,
},
"/api/user/profile"
).then((res) => {
uni.showModal({
title: "提示",
content: res.msg,
showCancel: false,
success: (res) => {
if (res.confirm) {
this.getList();
}
},
});
});
}
});
});
},
uploadImg() {
uni.chooseImage({
success: (chooseImageRes) => {
const tempFilePaths = chooseImageRes.tempFilePaths;
// // #ifdef MP-WEIXIN
// uni.getFileSystemManager().readFile({
// filePath: tempFilePaths[0],
// encoding: 'base64',
// success: res => {
// this.Post({
// method: 'POST',
// base64: 'data:image/png;base64,' + res.data
// }, '/api/common/base64').then(res => {
// if (res.data) {
// this.Post({
// avatar: res.data
// }, '/api/user/profile').then(res => {
// uni.showModal({
// title: '',
// content: res.msg,
// showCancel: false,
// success: res => {
// if (res.confirm) {
// this.getList()
// }
// }
// })
// })
// }
// })
// }
// })
// // #endif
},
});
},
//
bindDateChange: function (e) {
this.birthday = e.detail.value;
},
getDate(type) {
const date = new Date();
let year = date.getFullYear();
let month = date.getMonth() + 1;
let day = date.getDate();
}
}
if (type === "start") {
year = year - 60;
} else if (type === "end") {
year = year + 2;
}
month = month > 9 ? month : "0" + month;
day = day > 9 ? day : "0" + day;
return `${year}/${month}/${day}`;
},
changesex(index) {
this.gender = this.sexes[index].value;
this.$refs.popup.close();
},
submit() {
uni.showModal({
title: "提示",
content: "确认修改您的信息?",
success: (res) => {
if (res.confirm) {
this.Post(
{
nickname: this.nickname,
gender: this.gender,
birthday: this.birthday,
},
"/api/user/profile"
).then((res) => {
console.log(res);
if (res.code == 1) {
uni.showModal({
title: "提示",
content: res.msg,
showCancel: false,
success: (res) => {
if (res.confirm) {
this.getList();
}
},
});
}
});
}
},
});
},
},
};
</script>
<style scoped lang="scss">
view {
box-sizing: content-box;
}
.info-avatar-top {
display: flex;
justify-content: space-between;
font-size: 30rpx;
border-bottom: 1rpx solid #D8D8D8;
padding: 40rpx 0;
height: 48rpx;
color: #333;
align-items: center;
}
.info-avatar-top view{
display: flex;
align-items: center;
}
.info-avatar-top view:after{
content: "";
width: 20rpx;
height: 20rpx;
margin-left: 6rpx;
background-image: url('https://static.ticket.sz-trip.com/tongli/images/user/rightIcon-gray.png');
background-size: 100% 100%;
}
.info-avatar-top img {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
margin-right: 10rpx;
}
view {
box-sizing: content-box;
}
.info-avatar-top {
display: flex;
justify-content: space-between;
font-size: 30rpx;
border-bottom: 1rpx solid #d8d8d8;
padding: 40rpx 0;
height: 48rpx;
color: #333;
align-items: center;
}
.info-avatar-top view {
display: flex;
align-items: center;
}
.info-avatar-top view:after {
content: "";
width: 20rpx;
height: 20rpx;
margin-left: 6rpx;
background-image: url("https://static.ticket.sz-trip.com/tongli/images/user/rightIcon-gray.png");
background-size: 100% 100%;
}
.info-avatar-top img {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
margin-right: 10rpx;
}
.change-avatar-btn {
color: #fff;
width: 220rpx;
margin: 0 auto;
line-height: 70rpx;
border-radius: 20rpx;
background: #4c93ff;
position: relative;
font-size: 34rpx;
}
.change-avatar-btn input {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0;
}
.user-other-info {
margin: 30rpx;
}
.userinfo-item {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 30rpx;
border-bottom: 1rpx solid #d8d8d8;
padding: 40rpx 30rpx 40rpx 0;
height: 48rpx;
color: #333;
position: relative;
}
.change-avatar-btn {
color: #FFF;
width: 220rpx;
margin: 0 auto;
line-height: 70rpx;
border-radius: 20rpx;
background: #4C93FF;
position: relative;
font-size: 34rpx;
}
.info-avatar-top span {
font-weight: 500;
font-size: 31rpx;
flex-shrink: 0;
}
.change-avatar-btn input {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0;
}
.userinfo-item span {
font-weight: 500;
font-size: 31rpx;
flex-shrink: 0;
color: #000;
}
.user-other-info {
margin: 30rpx;
}
.userinfo-item i {
font-weight: 500;
font-size: 24rpx;
color: #999999;
}
.userinfo-item {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 30rpx;
border-bottom: 1rpx solid #D8D8D8;
padding: 40rpx 30rpx 40rpx 0;
height: 48rpx;
color: #333;
position: relative;
}
.userinfo-item {
& view::after {
content: "";
width: 20rpx;
height: 20rpx;
margin-left: 6rpx;
background-image: url("https://static.ticket.sz-trip.com/tongli/images/user/rightIcon-gray.png");
background-size: 100% 100%;
position: absolute;
right: 0;
margin: auto;
top: 0;
bottom: 0;
}
}
.info-avatar-top span {
font-weight: 500;
font-size: 31rpx;
flex-shrink: 0;
}
.birthday-box {
text-align: right;
}
.userinfo-item span {
font-weight: 500;
font-size: 31rpx;
flex-shrink: 0;
color: #000;
}
.userinfo-item i {
font-weight: 500;
font-size: 24rpx;
color: #999999;
}
.cropper {
width: auto;
height: 100%;
}
.userinfo-item {
& view::after {
content: "";
width: 20rpx;
height: 20rpx;
margin-left: 6rpx;
background-image: url('https://static.ticket.sz-trip.com/tongli/images/user/rightIcon-gray.png');
background-size: 100% 100%;
position: absolute;
right: 0;
margin: auto;
top: 0;
bottom: 0;
}
}
.cropper-content {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1000;
}
.birthday-box {
text-align: right;
}
.dialog-footer .change-avatar-btn {
position: fixed;
text-align: center;
bottom: 80rpx;
left: 50%;
margin-left: -110rpx;
}
.cropper {
width: auto;
height: 100%;
}
.btn-tao {
text-align: center;
font-size: 30rpx;
width: 697rpx;
height: 80rpx;
background: #c3282e;
border-radius: 40rpx;
line-height: 80rpx;
color: #ffffff;
position: fixed;
left: 26rpx;
bottom: 100rpx;
}
.cropper-content {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1000;
}
.popup-box {
border-radius: 20rpx 20rpx 0rpx 0rpx;
background: #fff;
overflow: hidden;
.dialog-footer .change-avatar-btn {
position: fixed;
text-align: center;
bottom: 80rpx;
left: 50%;
margin-left: -110rpx;
}
.popup-item {
width: 697rpx;
height: 99rpx;
font-weight: 500;
font-size: 31rpx;
color: #12293c;
margin: auto;
}
.popup-item:nth-child(2) {
border: none;
border-bottom: 1rpx solid #d8d8d8;
border-top: 1rpx solid #d8d8d8;
}
.btn-tao {
text-align: center;
font-size: 30rpx;
width: 697rpx;
height: 80rpx;
background: #C3282E;
border-radius: 40rpx;
line-height: 80rpx;
color: #FFFFFF;
position: fixed;
left: 26rpx;
bottom: 100rpx;
}
.popup-box {
border-radius: 20rpx 20rpx 0rpx 0rpx;
background: #fff;
overflow: hidden;
.popup-item {
width: 697rpx;
height: 99rpx;
font-weight: 500;
font-size: 31rpx;
color: #12293C;
margin: auto;
}
.popup-item:nth-child(2) {
border: none;
border-bottom: 1rpx solid #D8D8D8;
border-top: 1rpx solid #D8D8D8;
}
.popup-items {
width: 100%;
height: 99rpx;
font-weight: 500;
font-size: 31rpx;
color: #12293C;
border-top: 13rpx solid #F2F2F2;
}
}
.popup-items {
width: 100%;
height: 99rpx;
font-weight: 500;
font-size: 31rpx;
color: #12293c;
border-top: 13rpx solid #f2f2f2;
}
}
.avatar-wrapper {
margin: 0;
}
</style>

Loading…
Cancel
Save