diff --git a/src/pages.json b/src/pages.json
index abb88912..e81554e5 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -2,7 +2,8 @@
"easycom": {
"autoscan": true,
"custom": {
- "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
+ "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
+ "^su-(.*)": "@/sheep/ui/su-$1/su-$1.vue"
}
},
"pages": [
diff --git a/src/pages/profile/userinfo.vue b/src/pages/profile/userinfo.vue
index 245d1026..6507c1d5 100644
--- a/src/pages/profile/userinfo.vue
+++ b/src/pages/profile/userinfo.vue
@@ -5,54 +5,202 @@
-
- 保存
+
+ 保存
-
+
- 语音签名
+
+
+
+
+ 语音签名
-
+
-
+
- 添加语音签名,让你更受关注
+ 添加语音签名,让你更受关注
- qqq
+
+ 基本资料
-
-
+
+
+
+
+
+
+
+
+
+
+ 个人简介
+
+
+
+
+
+ 个人相册
+ {{ userinfo.photos.length }}/9
+
+
+
+
+
+
+
+ onConfirm(e, 'birthday')"
+ @cancel="showPicker = false"
+ />
+ onConfirm(e, 'height')"
+ @cancel="showPicker = false"
+ />
+ onConfirm(e, 'weight')"
+ @cancel="showPicker = false"
+ />
+ onConfirm(e, 'occ')"
+ @cancel="showPicker = false"
+ />
+
+
+
-
-
diff --git a/unocss.config.ts b/unocss.config.ts
index 6ac5a110..582b6277 100644
--- a/unocss.config.ts
+++ b/unocss.config.ts
@@ -37,65 +37,49 @@ export default {
},
rules: [
[
- /^main-text-(\d+)$/,
- ([, d]) => ({
- 'font-size': `${d}rpx`,
- 'font-weight': 800,
- color: '#000',
- 'line-height': `1.4em`,
- }),
+ 'bg-color-theme',
+ {
+ 'background-color': '#ffcd32',
+ },
],
[
- /^sub-text-(\d+)$/,
- ([, d]) => ({
- 'font-size': `${d}rpx`,
- 'font-weight': 500,
- color: '#333',
- 'line-height': `1.4em`,
- }),
+ 'bg-color-theme-dark',
+ {
+ 'background-color': 'rgba(255, 205, 49, 0.5)',
+ },
],
[
- /^second-text-(\d+)$/,
- ([, d]) => ({
- 'font-size': `${d}rpx`,
- 'font-weight': 500,
- color: '#999',
- 'line-height': `1.4em`,
- }),
+ 'text-color-theme',
+ {
+ color: '#ffcd32',
+ },
+ ],
+ [
+ 'bg-color',
+ {
+ 'background-color': '#222222',
+ },
+ ],
+ [
+ 'bg-color-dark',
+ {
+ 'background-color': 'rgba(0, 0, 0, 0.3)',
+ },
+ ],
+ [
+ 'bg-color-light',
+ {
+ 'background-color': '#333333',
+ },
],
[
'card',
{
- 'background-color': 'white',
+ 'background-color': 'rgba(0, 0, 0, 0.3)',
'box-shadow': '0rpx 8rpx 26rpx -4rpx rgba(210,210,210,0.5)',
'border-radius': '16rpx',
},
],
- [
- 'shadow-main',
- {
- 'box-shadow': '0rpx 0rpx 4rpx 0rpx rgba(0, 0, 0, 0.1)',
- },
- ],
- [
- /^show-line$/,
- ([, d]) => ({
- overflow: 'hidden',
- 'white-space': 'nowrap',
- 'text-overflow': 'ellipsis',
- }),
- ],
- [
- /^show-line-(\d+)$/,
- ([, d]) => ({
- display: '-webkit-box !important',
- overflow: 'hidden',
- 'text-overflow': 'ellipsis !important',
- 'word-break': 'break-all',
- '-webkit-line-clamp': d,
- '-webkit-box-orient': 'vertical !important',
- }),
- ],
],
transformers: [transformerAttributify(), transformerClass()],