2023-12-16 13:29:47 +00:00
|
|
|
|
<!-- 用户信息 -->
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<template>
|
|
|
|
|
<s-layout title="用户信息" class="set-userinfo-wrap">
|
|
|
|
|
<uni-forms
|
|
|
|
|
:model="state.model"
|
|
|
|
|
:rules="state.rules"
|
|
|
|
|
labelPosition="left"
|
|
|
|
|
border
|
|
|
|
|
class="form-box"
|
|
|
|
|
>
|
2023-12-16 14:22:39 +00:00
|
|
|
|
<!-- 头像 -->
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<view class="ss-flex ss-row-center ss-col-center ss-p-t-60 ss-p-b-0 bg-white">
|
|
|
|
|
<view class="header-box-content">
|
|
|
|
|
<su-image
|
|
|
|
|
class="content-img"
|
|
|
|
|
isPreview
|
|
|
|
|
:current="0"
|
2023-12-17 09:06:11 +00:00
|
|
|
|
:src="state.model?.avatar"
|
2022-11-22 07:45:36 +00:00
|
|
|
|
:height="160"
|
|
|
|
|
:width="160"
|
|
|
|
|
:radius="80"
|
|
|
|
|
mode="scaleToFill"
|
2023-12-16 13:29:47 +00:00
|
|
|
|
/>
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<view class="avatar-action">
|
|
|
|
|
<!-- #ifdef MP -->
|
|
|
|
|
<button
|
|
|
|
|
class="ss-reset-button avatar-action-btn"
|
|
|
|
|
open-type="chooseAvatar"
|
2024-08-04 09:11:12 +00:00
|
|
|
|
@chooseavatar="onChooseAvatar"
|
|
|
|
|
>
|
2023-12-16 14:22:39 +00:00
|
|
|
|
修改
|
|
|
|
|
</button>
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<!-- #endif -->
|
|
|
|
|
<!-- #ifndef MP -->
|
|
|
|
|
<button class="ss-reset-button avatar-action-btn" @tap="onChangeAvatar">修改</button>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="bg-white ss-p-x-30">
|
2023-12-16 14:52:32 +00:00
|
|
|
|
<!-- 昵称 + 性别 -->
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<uni-forms-item name="nickname" label="昵称">
|
|
|
|
|
<uni-easyinput
|
|
|
|
|
v-model="state.model.nickname"
|
|
|
|
|
type="nickname"
|
|
|
|
|
placeholder="设置昵称"
|
|
|
|
|
:inputBorder="false"
|
|
|
|
|
:placeholderStyle="placeholderStyle"
|
|
|
|
|
/>
|
|
|
|
|
</uni-forms-item>
|
2023-12-16 14:52:32 +00:00
|
|
|
|
<uni-forms-item name="sex" label="性别">
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<view class="ss-flex ss-col-center ss-h-100">
|
|
|
|
|
<radio-group @change="onChangeGender" class="ss-flex ss-col-center">
|
2023-12-16 14:52:32 +00:00
|
|
|
|
<label class="radio" v-for="item in sexRadioMap" :key="item.value">
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<view class="ss-flex ss-col-center ss-m-r-32">
|
|
|
|
|
<radio
|
|
|
|
|
:value="item.value"
|
|
|
|
|
color="var(--ui-BG-Main)"
|
|
|
|
|
style="transform: scale(0.8)"
|
2023-12-17 09:06:11 +00:00
|
|
|
|
:checked="parseInt(item.value) === state.model?.sex"
|
2022-11-22 07:45:36 +00:00
|
|
|
|
/>
|
|
|
|
|
<view class="gender-name">{{ item.name }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</label>
|
|
|
|
|
</radio-group>
|
|
|
|
|
</view>
|
2023-12-16 14:52:32 +00:00
|
|
|
|
</uni-forms-item>
|
2022-11-22 07:45:36 +00:00
|
|
|
|
|
|
|
|
|
<uni-forms-item name="mobile" label="手机号" @tap="onChangeMobile">
|
|
|
|
|
<uni-easyinput
|
|
|
|
|
v-model="userInfo.mobile"
|
|
|
|
|
placeholder="请绑定手机号"
|
|
|
|
|
:inputBorder="false"
|
|
|
|
|
disabled
|
|
|
|
|
:styles="{ disableColor: '#fff' }"
|
|
|
|
|
:placeholderStyle="placeholderStyle"
|
|
|
|
|
:clearable="false"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:right>
|
|
|
|
|
<view class="ss-flex ss-col-center">
|
|
|
|
|
<su-radio v-if="userInfo.verification?.mobile" :modelValue="true" />
|
|
|
|
|
<button v-else class="ss-reset-button ss-flex ss-col-center ss-row-center">
|
|
|
|
|
<text class="_icon-forward" style="color: #bbbbbb; font-size: 26rpx"></text>
|
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
</uni-easyinput>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
|
|
|
|
|
<uni-forms-item name="password" label="登录密码" @tap="onSetPassword">
|
|
|
|
|
<uni-easyinput
|
|
|
|
|
v-model="userInfo.password"
|
2023-12-17 09:06:11 +00:00
|
|
|
|
placeholder="点击修改登录密码"
|
2022-11-22 07:45:36 +00:00
|
|
|
|
:inputBorder="false"
|
|
|
|
|
:styles="{ disableColor: '#fff' }"
|
|
|
|
|
disabled
|
|
|
|
|
placeholderStyle="color:#BBBBBB;font-size:28rpx;line-height:normal"
|
|
|
|
|
:clearable="false"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:right>
|
|
|
|
|
<view class="ss-flex ss-col-center">
|
|
|
|
|
<su-radio
|
|
|
|
|
class="ss-flex"
|
|
|
|
|
v-if="userInfo.verification?.password"
|
|
|
|
|
:modelValue="true"
|
|
|
|
|
/>
|
|
|
|
|
<button v-else class="ss-reset-button ss-flex ss-col-center ss-row-center">
|
2023-12-17 09:06:11 +00:00
|
|
|
|
<text class="_icon-forward" style="color: #bbbbbb; font-size: 26rpx" />
|
2022-11-22 07:45:36 +00:00
|
|
|
|
</button>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
</uni-easyinput>
|
|
|
|
|
</uni-forms-item>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="bg-white ss-m-t-14">
|
|
|
|
|
<uni-list>
|
|
|
|
|
<uni-list-item
|
|
|
|
|
clickable
|
|
|
|
|
@tap="sheep.$router.go('/pages/user/address/list')"
|
|
|
|
|
title="地址管理"
|
|
|
|
|
showArrow
|
|
|
|
|
:border="false"
|
|
|
|
|
class="list-border"
|
2023-12-16 13:00:23 +00:00
|
|
|
|
/>
|
2022-11-22 07:45:36 +00:00
|
|
|
|
</uni-list>
|
|
|
|
|
</view>
|
|
|
|
|
</uni-forms>
|
|
|
|
|
|
2023-12-23 14:04:11 +00:00
|
|
|
|
<!-- 当前社交平台的绑定关系,只处理 wechat 微信场景 -->
|
2022-11-22 07:45:36 +00:00
|
|
|
|
<view v-if="sheep.$platform.name !== 'H5'">
|
|
|
|
|
<view class="title-box ss-p-l-30">第三方账号绑定</view>
|
|
|
|
|
<view class="account-list ss-flex ss-row-between">
|
|
|
|
|
<view v-if="'WechatOfficialAccount' === sheep.$platform.name" class="ss-flex ss-col-center">
|
|
|
|
|
<image
|
|
|
|
|
class="list-img"
|
|
|
|
|
:src="sheep.$url.static('/static/img/shop/platform/WechatOfficialAccount.png')"
|
|
|
|
|
/>
|
|
|
|
|
<text class="list-name">微信公众号</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="'WechatMiniProgram' === sheep.$platform.name" class="ss-flex ss-col-center">
|
|
|
|
|
<image
|
|
|
|
|
class="list-img"
|
|
|
|
|
:src="sheep.$url.static('/static/img/shop/platform/WechatMiniProgram.png')"
|
|
|
|
|
/>
|
|
|
|
|
<text class="list-name">微信小程序</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="'App' === sheep.$platform.name" class="ss-flex ss-col-center">
|
|
|
|
|
<image
|
|
|
|
|
class="list-img"
|
|
|
|
|
:src="sheep.$url.static('/static/img/shop/platform/wechat.png')"
|
|
|
|
|
/>
|
|
|
|
|
<text class="list-name">微信开放平台</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="ss-flex ss-col-center">
|
2023-12-23 14:04:11 +00:00
|
|
|
|
<view class="info ss-flex ss-col-center" v-if="state.thirdInfo">
|
2024-08-04 09:11:12 +00:00
|
|
|
|
<image class="avatar ss-m-r-20" :src="sheep.$url.cdn(state.thirdInfo.avatar)" />
|
2023-12-23 14:04:11 +00:00
|
|
|
|
<text class="name">{{ state.thirdInfo.nickname }}</text>
|
2022-11-22 07:45:36 +00:00
|
|
|
|
</view>
|
|
|
|
|
<view class="bind-box ss-m-l-20">
|
|
|
|
|
<button
|
2023-12-23 14:04:11 +00:00
|
|
|
|
v-if="state.thirdInfo.openid"
|
2022-11-22 07:45:36 +00:00
|
|
|
|
class="ss-reset-button relieve-btn"
|
|
|
|
|
@tap="unBindThirdOauth"
|
|
|
|
|
>
|
|
|
|
|
解绑
|
|
|
|
|
</button>
|
|
|
|
|
<button v-else class="ss-reset-button bind-btn" @tap="bindThirdOauth">绑定</button>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<su-fixed bottom placeholder bg="none">
|
|
|
|
|
<view class="footer-box ss-p-20">
|
|
|
|
|
<button class="ss-rest-button logout-btn ui-Shadow-Main" @tap="onSubmit">保存</button>
|
|
|
|
|
</view>
|
|
|
|
|
</su-fixed>
|
|
|
|
|
</s-layout>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
2023-12-23 11:45:44 +00:00
|
|
|
|
import { computed, reactive, onBeforeMount } from 'vue';
|
2022-11-22 07:45:36 +00:00
|
|
|
|
import sheep from '@/sheep';
|
2024-08-04 09:11:12 +00:00
|
|
|
|
import { clone } from 'lodash-es';
|
2022-11-22 07:45:36 +00:00
|
|
|
|
import { showAuthModal } from '@/sheep/hooks/useModal';
|
2023-12-16 14:52:32 +00:00
|
|
|
|
import FileApi from '@/sheep/api/infra/file';
|
2023-12-23 11:45:44 +00:00
|
|
|
|
import UserApi from '@/sheep/api/member/user';
|
2022-11-22 07:45:36 +00:00
|
|
|
|
|
|
|
|
|
const state = reactive({
|
2023-12-16 13:29:47 +00:00
|
|
|
|
model: {}, // 个人信息
|
2022-11-22 07:45:36 +00:00
|
|
|
|
rules: {},
|
2023-12-23 14:04:11 +00:00
|
|
|
|
thirdInfo: {}, // 社交用户的信息
|
2022-11-22 07:45:36 +00:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const placeholderStyle = 'color:#BBBBBB;font-size:28rpx;line-height:normal';
|
|
|
|
|
|
2024-08-04 09:11:12 +00:00
|
|
|
|
const sexRadioMap = [
|
|
|
|
|
{
|
2022-11-22 07:45:36 +00:00
|
|
|
|
name: '男',
|
|
|
|
|
value: '1',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: '女',
|
|
|
|
|
value: '2',
|
2024-08-04 09:11:12 +00:00
|
|
|
|
},
|
2022-11-22 07:45:36 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
const userInfo = computed(() => sheep.$store('user').userInfo);
|
|
|
|
|
|
2023-12-23 14:04:11 +00:00
|
|
|
|
// 选择性别
|
2022-11-22 07:45:36 +00:00
|
|
|
|
function onChangeGender(e) {
|
2023-12-16 14:52:32 +00:00
|
|
|
|
state.model.sex = e.detail.value;
|
2022-11-22 07:45:36 +00:00
|
|
|
|
}
|
2023-12-16 13:29:47 +00:00
|
|
|
|
|
2023-12-23 14:04:11 +00:00
|
|
|
|
// 修改手机号
|
2022-11-22 07:45:36 +00:00
|
|
|
|
const onChangeMobile = () => {
|
|
|
|
|
showAuthModal('changeMobile');
|
|
|
|
|
};
|
|
|
|
|
|
2023-12-23 14:04:11 +00:00
|
|
|
|
// 选择微信的头像,进行上传
|
2022-11-22 07:45:36 +00:00
|
|
|
|
function onChooseAvatar(e) {
|
|
|
|
|
const tempUrl = e.detail.avatarUrl || '';
|
|
|
|
|
uploadAvatar(tempUrl);
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-16 14:52:32 +00:00
|
|
|
|
// 手动选择头像,进行上传
|
2022-11-22 07:45:36 +00:00
|
|
|
|
function onChangeAvatar() {
|
|
|
|
|
uni.chooseImage({
|
|
|
|
|
success: async (chooseImageRes) => {
|
|
|
|
|
const tempUrl = chooseImageRes.tempFilePaths[0];
|
2023-12-16 14:52:32 +00:00
|
|
|
|
await uploadAvatar(tempUrl);
|
2022-11-22 07:45:36 +00:00
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-16 14:52:32 +00:00
|
|
|
|
// 上传头像文件
|
2022-11-22 07:45:36 +00:00
|
|
|
|
async function uploadAvatar(tempUrl) {
|
2023-12-16 14:52:32 +00:00
|
|
|
|
if (!tempUrl) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let { data } = await FileApi.uploadFile(tempUrl);
|
|
|
|
|
state.model.avatar = data;
|
2022-11-22 07:45:36 +00:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-25 15:42:06 +00:00
|
|
|
|
// 修改密码
|
2022-11-22 07:45:36 +00:00
|
|
|
|
function onSetPassword() {
|
2023-12-17 09:06:11 +00:00
|
|
|
|
showAuthModal('changePassword');
|
2022-11-22 07:45:36 +00:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-25 15:42:06 +00:00
|
|
|
|
// 绑定第三方账号
|
2022-11-22 07:45:36 +00:00
|
|
|
|
async function bindThirdOauth() {
|
|
|
|
|
let result = await sheep.$platform.useProvider('wechat').bind();
|
|
|
|
|
if (result) {
|
2023-12-25 15:42:06 +00:00
|
|
|
|
await getUserInfo();
|
2022-11-22 07:45:36 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-23 14:04:11 +00:00
|
|
|
|
// 解绑第三方账号
|
2022-11-22 07:45:36 +00:00
|
|
|
|
function unBindThirdOauth() {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '解绑提醒',
|
|
|
|
|
content: '解绑后您将无法通过微信登录此账号',
|
|
|
|
|
cancelText: '再想想',
|
|
|
|
|
confirmText: '确定',
|
|
|
|
|
success: async function (res) {
|
2023-12-23 14:04:11 +00:00
|
|
|
|
if (!res.confirm) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
const result = await sheep.$platform.useProvider('wechat').unbind(state.thirdInfo.openid);
|
|
|
|
|
if (result) {
|
|
|
|
|
await getUserInfo();
|
2022-11-22 07:45:36 +00:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-16 14:52:32 +00:00
|
|
|
|
// 保存信息
|
2022-11-22 07:45:36 +00:00
|
|
|
|
async function onSubmit() {
|
2024-08-04 09:11:12 +00:00
|
|
|
|
const { code } = await UserApi.updateUser({
|
2022-11-22 07:45:36 +00:00
|
|
|
|
avatar: state.model.avatar,
|
|
|
|
|
nickname: state.model.nickname,
|
2023-12-16 14:52:32 +00:00
|
|
|
|
sex: state.model.sex,
|
2022-11-22 07:45:36 +00:00
|
|
|
|
});
|
2023-11-06 09:50:55 +00:00
|
|
|
|
if (code === 0) {
|
2023-12-16 14:52:32 +00:00
|
|
|
|
await getUserInfo();
|
2022-11-22 07:45:36 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-16 14:52:32 +00:00
|
|
|
|
// 获得用户信息
|
2022-11-22 07:45:36 +00:00
|
|
|
|
const getUserInfo = async () => {
|
2023-12-16 14:52:32 +00:00
|
|
|
|
// 个人信息
|
2022-11-22 07:45:36 +00:00
|
|
|
|
const userInfo = await sheep.$store('user').getInfo();
|
|
|
|
|
state.model = clone(userInfo);
|
|
|
|
|
|
2023-12-23 14:04:11 +00:00
|
|
|
|
// 获得社交用户的信息
|
2022-11-22 07:45:36 +00:00
|
|
|
|
if (sheep.$platform.name !== 'H5') {
|
2023-12-23 14:04:11 +00:00
|
|
|
|
const result = await sheep.$platform.useProvider('wechat').getInfo();
|
|
|
|
|
state.thirdInfo = result || {};
|
2022-11-22 07:45:36 +00:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2023-12-16 14:52:32 +00:00
|
|
|
|
onBeforeMount(() => {
|
2022-11-22 07:45:36 +00:00
|
|
|
|
getUserInfo();
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
:deep() {
|
|
|
|
|
.uni-file-picker {
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uni-file-picker__container {
|
|
|
|
|
margin: -14rpx -12rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-picker__progress {
|
|
|
|
|
height: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uni-list-item__content-title {
|
|
|
|
|
font-size: 28rpx !important;
|
|
|
|
|
color: #333333 !important;
|
|
|
|
|
line-height: normal !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uni-icons {
|
|
|
|
|
font-size: 40rpx !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-disabled {
|
|
|
|
|
color: #333333;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:deep(.disabled) {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.gender-name {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: normal;
|
|
|
|
|
color: #333333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title-box {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #666666;
|
|
|
|
|
line-height: 100rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logout-btn {
|
|
|
|
|
width: 710rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
background: linear-gradient(90deg, var(--ui-BG-Main), var(--ui-BG-Main-gradient));
|
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: $white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.radio-dark {
|
|
|
|
|
filter: grayscale(100%);
|
|
|
|
|
filter: gray;
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content-img {
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
.header-box-content {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 160rpx;
|
|
|
|
|
height: 160rpx;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
.avatar-action {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
bottom: 0;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 160rpx;
|
|
|
|
|
height: 46rpx;
|
|
|
|
|
background: rgba(#000000, 0.3);
|
|
|
|
|
|
|
|
|
|
.avatar-action-btn {
|
|
|
|
|
width: 160rpx;
|
|
|
|
|
height: 46rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 绑定项
|
|
|
|
|
.account-list {
|
|
|
|
|
background-color: $white;
|
|
|
|
|
height: 100rpx;
|
|
|
|
|
padding: 0 20rpx;
|
|
|
|
|
|
|
|
|
|
.list-img {
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
margin-right: 10rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.list-name {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #333333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.info {
|
|
|
|
|
.avatar {
|
|
|
|
|
width: 38rpx;
|
|
|
|
|
height: 38rpx;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.name {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: $dark-9;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bind-box {
|
|
|
|
|
width: 100rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
line-height: normal;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
|
|
|
|
.bind-btn {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 25rpx;
|
|
|
|
|
background: #f4f4f4;
|
|
|
|
|
color: #999999;
|
|
|
|
|
}
|
|
|
|
|
.relieve-btn {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 25rpx;
|
|
|
|
|
background: var(--ui-BG-Main-opacity-1);
|
|
|
|
|
color: var(--ui-BG-Main);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.list-border {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #333333;
|
|
|
|
|
border-bottom: 2rpx solid #eeeeee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
</style>
|