master
jackie19 2 years ago
parent 6f49b365e1
commit a9a1534750

@ -1,8 +1,6 @@
{ {
"miniprogramRoot": "dist/", "miniprogramRoot": "dist/",
"projectname": "flossom_miniapp",
"description": "", "description": "",
"appid": "wx92d11ea506995fa9",
"setting": { "setting": {
"urlCheck": true, "urlCheck": true,
"es6": false, "es6": false,
@ -16,10 +14,28 @@
"coverView": true, "coverView": true,
"showShadowRootInWxmlPanel": false, "showShadowRootInWxmlPanel": false,
"scopeDataCheck": false, "scopeDataCheck": false,
"useCompilerModule": false "useCompilerModule": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"packNpmRelationList": [],
"ignoreUploadUnusedFiles": true
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
"condition": {} "condition": {},
} "srcMiniprogramRoot": "dist/",
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "3.3.3",
"packOptions": {
"ignore": [],
"include": []
},
"appid": "wx92d11ea506995fa9"
}

@ -25,13 +25,11 @@
} }
} }
.at-calendar__header .header__flex-item { .at-calendar__header .header__flex-item {
// font-size: 26rpx;
width: 22rpx; width: 22rpx;
height: 19rpx; //height: 19rpx;
font-size: 24rpx !important; font-size: 24rpx !important;
font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #666666; color: #666;
} }
// 覆盖组件原本样式 // 覆盖组件原本样式
@ -39,7 +37,7 @@
font-size: 24rpx !important; font-size: 24rpx !important;
color: #333; color: #333;
font-weight: 400; font-weight: 400;
margin: 10rpx 0; margin: 8rpx 0;
} }
// 覆盖组件原本样式 // 覆盖组件原本样式

@ -2,7 +2,7 @@ import { Component } from "react";
import Taro from "@tarojs/taro"; import Taro from "@tarojs/taro";
import { Block, View, Image } from "@tarojs/components"; import { Block, View, Image } from "@tarojs/components";
import { back } from "../../utils/traoAPI"; import { back } from "@/utils/traoAPI";
import "./navbar.less"; import "./navbar.less";
@ -87,7 +87,7 @@ export default class Navbar extends Component<any, any> {
className="back-img" className="back-img"
src={require("../../img/left.png")} src={require("../../img/left.png")}
mode="widthFix" mode="widthFix"
></Image> />
</View> </View>
)} )}
{leftSlot} {leftSlot}
@ -109,12 +109,12 @@ export default class Navbar extends Component<any, any> {
/> />
)} )}
</View> </View>
<View className="back"></View> <View className="back"/>
</View> </View>
<View <View
className="nav_top_padding" className="nav_top_padding"
style={{ paddingBottom: navHeightRpx + "rpx" }} style={{ paddingBottom: navHeightRpx + "rpx" }}
></View> />
</Block> </Block>
); );
} }

@ -3,7 +3,7 @@
box-sizing: border-box; box-sizing: border-box;
z-index: 100005; z-index: 100005;
.drawer-popup-title { .drawer-popup-title {
margin-bottom: 60rpx; margin-bottom: 42rpx;
} }
} }

@ -24,7 +24,6 @@ page {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: bold; font-weight: bold;
color: #ffffff;
// left: calc(50% - 135rpx); // left: calc(50% - 135rpx);
// margin-bottom: 40rpx; // margin-bottom: 40rpx;
} }
@ -125,37 +124,18 @@ page {
.text { .text {
font-size: 48rpx; font-size: 48rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 400; font-weight: 500;
color: #000000; color: #000000;
line-height: 60rpx; line-height: 60rpx;
margin-top: 80rpx; margin-top: 76rpx;
} }
.txt { .txt {
font-size: 26rpx; font-size: 26rpx;
font-weight: 400; font-weight: 500;
color: #666; color: #666;
margin-top: 40rpx; margin-top: 40rpx;
} }
.indicator {
display: inline-flex;
width: 360rpx;
height: 2rpx;
background: transparent;
margin-top: 200rpx;
.dot {
display: inline-flex;
flex: 1;
height: 100%;
background: #fff;
transition-duration: 0.5s;
margin-right: 4rpx;
}
.bg-show {
background: #666;
}
}
} }
// .footer { // .footer {
// margin-top: 59rpx; // margin-top: 59rpx;
@ -165,3 +145,25 @@ page {
// // padding-bottom: env(safe-area-inset-bottom); // // padding-bottom: env(safe-area-inset-bottom);
// } // }
} }
.entry-main {
.indicator {
display: inline-flex;
width: 360rpx;
height: 2rpx;
background: transparent;
margin-top: 80rpx;
.dot {
display: inline-flex;
flex: 1;
height: 100%;
background: #fff;
transition-duration: 0.5s;
margin-right: 4rpx;
transition: all 0.6s ease-in-out 0.1s;
}
.bg-show {
background: #666;
}
}
}

@ -1,30 +1,20 @@
import classnames from "classnames"; import classnames from "classnames";
// import { MpSplashDetail, WCUserLogin } from "../../utils/Interface"; import { Component } from "react";
import { Component, PropsWithChildren, useEffect, useState } from "react";
import Taro from "@tarojs/taro"; import Taro from "@tarojs/taro";
// 引入 Swiper, SwiperItem 组件 import {Block, Image, Swiper, SwiperItem, View,} from "@tarojs/components";
import {
Block,
View,
Text,
Image,
Video,
Swiper,
SwiperItem,
} from "@tarojs/components";
/*** redux ***/ /*** redux ***/
import { connect } from "react-redux"; import { connect } from "react-redux";
import { userRefresh } from "../../store/features/userInfo"; import { userRefresh } from "@/store/features/userInfo";
/*** redux end ***/ /*** redux end ***/
import Navbar from "../../components/navbar/navbar"; import Navbar from "@/components/navbar/navbar";
import "taro-ui/dist/style/components/button.scss"; // 按需引入 import "taro-ui/dist/style/components/button.scss"; // 按需引入
import "./entry.less"; import "./entry.less";
import "./Animista.less"; import "./Animista.less";
import "./fade.css"; import "./fade.css";
import { go, msg } from "../../utils/traoAPI";
/*** redux end ***/
class Entry extends Component<any, any> { class Entry extends Component<any, any> {
constructor(props) { constructor(props) {
@ -149,11 +139,11 @@ class Entry extends Component<any, any> {
} }
render() { render() {
let { menu, current, welcomeList, navHeight } = this.state; let { menu, current, welcomeList } = this.state;
return ( return (
<Block> <Block>
<Navbar></Navbar> <Navbar />
<View className="main"> <View className="main entry-main">
{/* <View {/* <View
className="logo" className="logo"
style={"top:" + menu.top + "px; height:" + menu.height + "px"} style={"top:" + menu.top + "px; height:" + menu.height + "px"}
@ -188,7 +178,7 @@ class Entry extends Component<any, any> {
className="cover" className="cover"
src={item.image} src={item.image}
mode="aspectFill" mode="aspectFill"
></Image> />
</View> </View>
<View className="bottom-card"> <View className="bottom-card">
<View> <View>
@ -209,18 +199,7 @@ class Entry extends Component<any, any> {
{item.desc} {item.desc}
</View> </View>
<View className="indicator">
{welcomeList.map((item, index) => {
return (
<View
key={"indicator_" + index}
className={classnames("dot", {
"bg-show": current === index,
})}
></View>
);
})}
</View>
</View> </View>
</View> </View>
</View> </View>
@ -233,6 +212,19 @@ class Entry extends Component<any, any> {
<View className="btn" onClick={this.toHomePage.bind(this)}> <View className="btn" onClick={this.toHomePage.bind(this)}>
</View> </View>
<View className="indicator">
{welcomeList.map((_item, index) => {
return (
<View
key={"indicator_" + index}
className={classnames("dot", {
"bg-show": current === index,
})}
/>
);
})}
</View>
</View> </View>
</View> </View>
</Block> </Block>

@ -994,13 +994,13 @@ page {
.index { .index {
position: relative; position: relative;
padding-top: 50rpx; padding-top: 32rpx;
background-color: #fff; background-color: #fff;
box-shadow: 0rpx 2rpx 25rpx 18rpx rgba(210, 210, 210, 0.1); box-shadow: 0rpx 2rpx 25rpx 18rpx rgba(210, 210, 210, 0.1);
border-radius: 0rpx 0rpx 30rpx 30rpx; border-radius: 0rpx 0rpx 30rpx 30rpx;
.date-title { .date-title {
position: absolute; position: absolute;
top: 40rpx; top: 32rpx;
right: 16rpx; right: 16rpx;
width: 132rpx; width: 132rpx;
display: flex; display: flex;

@ -1,7 +1,7 @@
import classnames from "classnames"; import classnames from "classnames";
import dayjs from "dayjs"; import dayjs from "dayjs";
import Taro from "@tarojs/taro"; import Taro from "@tarojs/taro";
import { Component, PropsWithChildren } from "react"; import { Component } from "react";
import { import {
Block, Block,
View, View,
@ -46,9 +46,8 @@ import {
go, go,
goJump, goJump,
msg, msg,
setStorageSync,
getStorageSync, getStorageSync,
} from "../../utils/traoAPI"; } from "@/utils/traoAPI";
class Index extends Component<any, any> { class Index extends Component<any, any> {
// pageCtx = Taro.getCurrentInstance().page; // pageCtx = Taro.getCurrentInstance().page;
@ -505,19 +504,19 @@ class Index extends Component<any, any> {
className="message-img" className="message-img"
src={require("../../img/index/message.png")} src={require("../../img/index/message.png")}
mode="aspectFill" mode="aspectFill"
></Image> />
{messagecount ? <View className="tip"></View> : ""} {messagecount ? <View className="tip" /> : ""}
</View> </View>
</Block> </Block>
} }
></Navbar> />
<View className="index"> <View className="index">
<View className="date-title" onClick={this.toNursingRecords}> <View className="date-title" onClick={this.toNursingRecords}>
<Text className="text"></Text> <Text className="text"></Text>
<Image <Image
src={require("../../img/index/right.png")} src={require("../../img/index/right.png")}
style="width: 20rpx;height: 20rpx;" style="width: 20rpx;height: 20rpx;"
></Image> />
{/* <View className="at-icon at-icon-chevron-right"></View> */} {/* <View className="at-icon at-icon-chevron-right"></View> */}
</View> </View>
<View className="bg-while"> <View className="bg-while">

@ -1,6 +1,5 @@
page { page {
background: #ffffff; background: #ffffff;
font-family: PingFang SC;
} }
.integral_box1 { .integral_box1 {
height: 320rpx; height: 320rpx;
@ -98,10 +97,10 @@ page {
background: #fff; background: #fff;
// padding: 34rpx; // padding: 34rpx;
.list_block { .list_block {
width: 100%; border-bottom: 1rpx solid #e5e5e5;
border-bottom: 2rpx solid #dddddd; padding: 28rpx 0;
padding: 32rpx 30rpx 30rpx 30rpx;
box-sizing: border-box; box-sizing: border-box;
margin: 0 30rpx;
} }
.left { .left {
.tip1 { .tip1 {
@ -110,7 +109,7 @@ page {
color: #030000; color: #030000;
} }
.tip2 { .tip2 {
margin-top: 34rpx; margin-top: 18rpx;
font-size: 24rpx; font-size: 24rpx;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;

@ -1,6 +1,6 @@
import Taro from "@tarojs/taro"; import Taro from "@tarojs/taro";
import dayjs from "dayjs"; import dayjs from "dayjs";
import { Component, PropsWithChildren, useEffect, useState } from "react"; import { Component } from "react";
import { import {
Block, Block,
View, View,
@ -105,13 +105,13 @@ class IntegralList extends Component<any, any> {
appId: otherSetting.skipAppid, appId: otherSetting.skipAppid,
path: otherSetting.skipPath, path: otherSetting.skipPath,
envVersion: otherSetting.envVersion, envVersion: otherSetting.envVersion,
success(res) { success() {
// 打开成功 // 打开成功
// Taro.reLaunch({ // Taro.reLaunch({
// url: "/pages/index/index", // url: "/pages/index/index",
// }); // });
}, },
fail(res) { fail() {
// Taro.reLaunch({ // Taro.reLaunch({
// url: "/pages/index/index", // url: "/pages/index/index",
// }); // });
@ -311,7 +311,7 @@ class IntegralList extends Component<any, any> {
console.log("滚动到底部事件"); console.log("滚动到底部事件");
// this.props.Lower() // this.props.Lower()
}; };
touchEnd = (e) => { touchEnd = () => {
if (this.state.dargState === 1) { if (this.state.dargState === 1) {
this.down(); this.down();
} else if (this.state.dargState === -1) { } else if (this.state.dargState === -1) {
@ -344,7 +344,7 @@ class IntegralList extends Component<any, any> {
textAlgin="center" textAlgin="center"
close={this.integralPopupClose} close={this.integralPopupClose}
confirm={this.integralPopupClose} confirm={this.integralPopupClose}
></PopupAlert> />
<PopupAlert <PopupAlert
myClassName="officialAccount" myClassName="officialAccount"
isLarge={true} isLarge={true}
@ -363,7 +363,7 @@ class IntegralList extends Component<any, any> {
showMenuByLongpress={true} // 长按识别二维码 showMenuByLongpress={true} // 长按识别二维码
src={require("../../img/qrcode-test.jpg")} src={require("../../img/qrcode-test.jpg")}
mode="aspectFit" mode="aspectFit"
></Image> />
<View style={{ marginTop: "20rpx" }}> <View style={{ marginTop: "20rpx" }}>
</View> </View>
@ -376,9 +376,9 @@ class IntegralList extends Component<any, any> {
textAlgin="center" textAlgin="center"
close={this.officialPopupClose} close={this.officialPopupClose}
confirm={this.officialPopupConfirm} confirm={this.officialPopupConfirm}
></PopupAlert> />
<Navbar titleSlot="我的积分" isBack={true}></Navbar> <Navbar titleSlot="我的积分" isBack={true}/>
<View style="background: #f3f3f3;padding: 33rpx 30rpx 31rpx 30rpx;"> <View style="background: #f3f3f3;padding: 33rpx 30rpx 31rpx 30rpx;">
<View className="integral_box1"> <View className="integral_box1">
@ -405,7 +405,7 @@ class IntegralList extends Component<any, any> {
className="point_bg" className="point_bg"
src={require("../../img/user/point-bg.png")} src={require("../../img/user/point-bg.png")}
mode="aspectFill" mode="aspectFill"
></Image> />
</View> </View>
</View> </View>
@ -455,7 +455,7 @@ class IntegralList extends Component<any, any> {
className="nodata_img" className="nodata_img"
src={require("../../img/user/points.png")} src={require("../../img/user/points.png")}
mode="aspectFill" mode="aspectFill"
></Image> />
<View className="nodata_text"></View> <View className="nodata_text"></View>
</View> </View>
)} )}

@ -5,7 +5,7 @@ page {
background: #fff; background: #fff;
border-radius: 30rpx; border-radius: 30rpx;
margin: 20rpx 30rpx 0; margin: 20rpx 30rpx 0;
padding: 20rpx 35rpx 48rpx 35rpx; padding: 20rpx 35rpx 40rpx 35rpx;
box-sizing: border-box; box-sizing: border-box;
.info1 { .info1 {
.left { .left {
@ -29,7 +29,7 @@ page {
} }
} }
.info2 { .info2 {
margin-top: 40rpx; margin-top: 32rpx;
.content { .content {
line-height: 50rpx; line-height: 50rpx;
font-size: 26rpx; font-size: 26rpx;

@ -41,17 +41,15 @@ page {
.title { .title {
font-size: 48rpx; font-size: 48rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #000000; color: #000000;
padding-top: 61rpx; padding-top: 61rpx;
padding-bottom: 48rpx; padding-bottom: 40rpx;
} }
.content { .content {
width: 450rpx; width: 450rpx;
height: 73rpx; height: 73rpx;
font-family: PingFang SC;
font-size: 26rpx; font-size: 26rpx;
font-weight: 400; font-weight: 400;
color: #666; color: #666;

@ -1,13 +1,12 @@
import classnames from "classnames"; import classnames from "classnames";
import { Component, PropsWithChildren, useEffect, useState } from "react"; import {Component} from "react";
import Taro from "@tarojs/taro"; import Taro from "@tarojs/taro";
// 引入 Swiper, SwiperItem 组件 // 引入 Swiper, SwiperItem 组件
import { Block, View, Text, Image, Button } from "@tarojs/components"; import {Block, Button, Image, Text, View} from "@tarojs/components";
/*** redux ***/ /*** redux ***/
import { connect } from "react-redux"; import { connect } from "react-redux";
import { setMobile } from "../../store/features/userInfo"; import { setMobile } from "@/store/features/userInfo";
/*** redux end ***/ /*** redux end ***/
import "taro-ui/dist/style/components/button.scss"; // 按需引入 import "taro-ui/dist/style/components/button.scss"; // 按需引入
@ -17,8 +16,8 @@ import "./register.less";
import Navbar from "../../components/navbar/navbar"; import Navbar from "../../components/navbar/navbar";
/** 自定义组件 **/ /** 自定义组件 **/
import { GetUserMobile, MpSplashDetail } from "../../utils/Interface"; import { GetUserMobile, MpSplashDetail } from "@/utils/Interface";
import { go, msg } from "../../utils/traoAPI"; import { go, msg } from "@/utils/traoAPI";
class Register extends Component<any, any> { class Register extends Component<any, any> {
constructor(props) { constructor(props) {
@ -46,7 +45,7 @@ class Register extends Component<any, any> {
/** /**
* -- * --
*/ */
async onLoad(options) { async onLoad() {
this.initData(); this.initData();
} }
@ -60,9 +59,6 @@ class Register extends Component<any, any> {
onDisagreeTap = () => { onDisagreeTap = () => {
// 关闭小程序 // 关闭小程序
Taro.exitMiniProgram({ Taro.exitMiniProgram({
success: (res) => {},
fail: (err) => {},
complete: (res) => {},
}); });
}; };
onClosePrivacyContentPopup = () => { onClosePrivacyContentPopup = () => {
@ -177,10 +173,10 @@ class Register extends Component<any, any> {
return ( return (
<Block> <Block>
<View> <View>
<Navbar></Navbar> <Navbar />
<View></View> <View />
<View className="main"> <View className="main">
<Image className="bg" src={bg} mode="aspectFill"></Image> <Image className="bg" src={bg} mode="aspectFill" />
</View> </View>
<View className="footer"> <View className="footer">
<View className="title"></View> <View className="title"></View>
@ -215,13 +211,13 @@ class Register extends Component<any, any> {
onClick={this.onCheck} onClick={this.onCheck}
className="icon" className="icon"
src={require("../../img/welcome/checked.png")} src={require("../../img/welcome/checked.png")}
></Image> />
) : ( ) : (
<Image <Image
onClick={this.onCheck} onClick={this.onCheck}
className="icon" className="icon"
src={require("../../img/welcome/unchecked.png")} src={require("../../img/welcome/unchecked.png")}
></Image> />
)} )}
<View className="tips" onClick={this.onCheck}> <View className="tips" onClick={this.onCheck}>
@ -233,7 +229,7 @@ class Register extends Component<any, any> {
mode="widthFix" mode="widthFix"
src={require("../../img/close.png")} src={require("../../img/close.png")}
onClick={this.onSkip} onClick={this.onSkip}
></Image> />
</View> </View>
</View> </View>
</Block> </Block>

@ -17,7 +17,6 @@ page {
background: #ffffff; background: #ffffff;
border-radius: 50rpx 50rpx 0rpx 0rpx; border-radius: 50rpx 50rpx 0rpx 0rpx;
padding: 0 0 150rpx; padding: 0 0 150rpx;
height: 1188rpx;
} }
.infobox1 { .infobox1 {
@ -55,7 +54,6 @@ page {
.infobox1 .info1 .tipbox .tip1 .name { .infobox1 .info1 .tipbox .tip1 .name {
line-height: 1; line-height: 1;
font-size: 44rpx; font-size: 44rpx;
font-family: PingFang SC;
font-weight: bold; font-weight: bold;
color: #000000; color: #000000;
} }
@ -71,7 +69,6 @@ page {
} }
.infobox1 .info1 .tipbox .tip2 { .infobox1 .info1 .tipbox .tip2 {
font-size: 24rpx; font-size: 24rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
line-height: 1; line-height: 1;
@ -85,7 +82,6 @@ page {
.infobox1 .info3 { .infobox1 .info3 {
margin: 22rpx 30rpx 0; margin: 22rpx 30rpx 0;
font-size: 24rpx; font-size: 24rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
text-align: center; text-align: center;
@ -134,7 +130,6 @@ page {
.infobox1 .info2 .block .tip .tip1 { .infobox1 .info2 .block .tip .tip1 {
font-size: 26rpx; font-size: 26rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #000000; color: #000000;
margin-right: 20rpx; margin-right: 20rpx;
@ -161,11 +156,11 @@ page {
color: #030000; color: #030000;
} }
.title2 { .title2 {
margin-top: 82rpx; margin-top: 74rpx;
} }
.info { .info {
margin-top: 56rpx; margin-top: 50rpx;
flex-wrap: wrap; flex-wrap: wrap;
.block { .block {
width: 25%; width: 25%;
@ -198,7 +193,7 @@ page {
/*margin: auto;*/ /*margin: auto;*/
} }
.tip1 { .tip1 {
margin-top: 36rpx; margin-top: 30rpx;
font-size: 26rpx; font-size: 26rpx;
font-weight: 400; font-weight: 400;
color: #000000; color: #000000;
@ -211,7 +206,6 @@ page {
display: flex; display: flex;
justify-content: center; justify-content: center;
font-size: 36rpx; font-size: 36rpx;
font-family: PingFang SC;
font-weight: bold; font-weight: bold;
color: #030000; color: #030000;
line-height: 60rpx; line-height: 60rpx;
@ -226,14 +220,12 @@ page {
padding: 30rpx 30rpx; padding: 30rpx 30rpx;
width: auto; width: auto;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #030000; color: #030000;
box-sizing: border-box; box-sizing: border-box;
} }
.textarea-placeholder { .textarea-placeholder {
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #cccccc; color: #cccccc;
line-height: 60rpx; line-height: 60rpx;

@ -32,7 +32,7 @@ page {
font-size: 48rpx; font-size: 48rpx;
font-weight: 400; font-weight: 400;
color: #000; color: #000;
margin: 73rpx auto 48rpx; margin: 73rpx auto 34rpx;
} }
.main .txt { .main .txt {
@ -46,12 +46,12 @@ page {
position: relative; position: relative;
// width: max-content; // width: max-content;
// width: 147rpx; // width: 147rpx;
margin: 78rpx auto 50rpx; margin: 70rpx auto 20rpx;
} }
.main .avatar_box .avatar { .main .avatar_box .avatar {
width: 147rpx; width: 140rpx;
height: 147rpx; height: 140rpx;
border-radius: 50%; border-radius: 50%;
margin: 0 auto; margin: 0 auto;
} }
@ -59,7 +59,6 @@ page {
.main .avatar_box .btn_avatar { .main .avatar_box .btn_avatar {
// height: 26rpx; // height: 26rpx;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFang SC;
font-weight: 400; font-weight: 400;
color: #000000; color: #000000;
background: transparent; background: transparent;
@ -154,13 +153,12 @@ button::after {
line-height: 90rpx; line-height: 90rpx;
text-align: center; text-align: center;
margin: 21rpx 49rpx 42rpx 30rpx; margin: 21rpx 49rpx 42rpx 30rpx;
font-family: PingFang SC; font-size: 32rpx;
} }
.text { .text {
display: flex; display: flex;
align-items: center; align-items: center;
font-family: PingFang SC;
font-size: 32rpx; font-size: 32rpx;
font-weight: bold; font-weight: bold;
color: #000; color: #000;

@ -50,7 +50,7 @@ export const UpdateUserUploadFile = (formData) => {
// 更新用户信息且上传头像文件 // 更新用户信息且上传头像文件
return AjaxUploadFile( return AjaxUploadFile(
{ {
url: "hzwx/user/updateUser", url: "/hzwx/user/updateUser",
filePath: formData.file, filePath: formData.file,
}, },
formData formData

Loading…
Cancel
Save