样式优化
This commit is contained in:
@@ -111,7 +111,7 @@ onShow(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<view class="container" :style="{ background: noBg ? '#fff' : 'none' }">
|
<view class="container" :style="{ background: noBg ? '#fff' : 'none' }">
|
||||||
<view class="avatar" :style="{ borderColor: noBg ? '#E3E3E3' : '#fff' }">
|
<view class="avatar" :style="{ borderColor: noBg ? '#E3E3E3' : '#fff3' }">
|
||||||
<text :style="{ color: noBg ? '#666' : '#fff' }">头像:</text>
|
<text :style="{ color: noBg ? '#666' : '#fff' }">头像:</text>
|
||||||
<button
|
<button
|
||||||
open-type="chooseAvatar"
|
open-type="chooseAvatar"
|
||||||
@@ -124,12 +124,12 @@ onShow(() => {
|
|||||||
<image src="../static/enter.png" mode="widthFix" />
|
<image src="../static/enter.png" mode="widthFix" />
|
||||||
</button>
|
</button>
|
||||||
</view>
|
</view>
|
||||||
<view class="nickname" :style="{ borderColor: noBg ? '#E3E3E3' : '#fff' }">
|
<view class="nickname" :style="{ borderColor: noBg ? '#E3E3E3' : '#fff3' }">
|
||||||
<text :style="{ color: noBg ? '#666' : '#fff' }">昵称:</text>
|
<text :style="{ color: noBg ? '#666' : '#fff' }">昵称:</text>
|
||||||
<input
|
<input
|
||||||
type="nickname"
|
type="nickname"
|
||||||
placeholder="请输入昵称"
|
placeholder="请输入昵称"
|
||||||
:placeholder-style="{ color: noBg ? '#666' : '#fff9' }"
|
:placeholder-style="`color: ${noBg ? '#666' : '#fff9'} `"
|
||||||
@change="onNicknameChange"
|
@change="onNicknameChange"
|
||||||
@blur="onNicknameBlur"
|
@blur="onNicknameBlur"
|
||||||
:style="{ color: noBg ? '#333' : '#fff' }"
|
:style="{ color: noBg ? '#333' : '#fff' }"
|
||||||
|
|||||||
@@ -312,6 +312,7 @@ onShow(async () => {
|
|||||||
}
|
}
|
||||||
.stars > image {
|
.stars > image {
|
||||||
width: 4vw;
|
width: 4vw;
|
||||||
|
height: 4vw;
|
||||||
margin: 0 1px;
|
margin: 0 1px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user