diff --git a/src/pages/closeStyle/closeStyle.vue b/src/pages/closeStyle/closeStyle.vue
index 21aa6b8..c3df374 100644
--- a/src/pages/closeStyle/closeStyle.vue
+++ b/src/pages/closeStyle/closeStyle.vue
@@ -4,25 +4,6 @@
>
-
-
-
+
@@ -24,7 +24,7 @@
>
-
+
风格名称
生成时间
@@ -80,6 +80,21 @@ import { voiceTotalApi } from "../../api/login.js";
//#region 头像
const avatarUrl = ref(null);
+function chooseAvatar(params) {
+ uni.chooseImage({
+ count: 1, // 最多可以选择的图片张数,这里设置为1,只选择一张图片
+ success: (res) => {
+ const tempFilePaths = res.tempFilePaths;
+ avatarUrl.value = tempFilePaths[0];
+ // TODO: 在这里处理图片上传逻辑,你可以调用上传接口将图片上传到服务器
+ // 示例代码:
+ // uploadImageToServer(tempFilePaths[0]);
+ },
+ fail: (err) => {
+ console.error("选择图片失败", err);
+ },
+ });
+}
function goBuyCoin() {
uni.navigateTo({
url: "buyCoin",
@@ -206,7 +221,7 @@ function clickTabHandle(e) {
background-color: #e9e9e9;
}
.OrderListItem {
- margin-top: 15rpx;
+ // margin-top: 15rpx;
padding: 0 15rpx;
width: 100%;
display: flex;
@@ -215,6 +230,7 @@ function clickTabHandle(e) {
border-bottom: 5rpx solid #fff;
border-radius: 15rpx;
justify-content: space-between;
+ background-color: #fff;
}
.otherBgc {
background-color: #f6f7f9;
diff --git a/src/style/my.scss b/src/style/my.scss
index ee6af07..2c72618 100644
--- a/src/style/my.scss
+++ b/src/style/my.scss
@@ -4,6 +4,12 @@
align-items: center;
justify-content: center;
padding: 20rpx;
+ background-color: #fff;
+ // min-height: 100vh;
+}
+
+body {
+ background-color: #fff !important;
}
view {