Commit 61011e77 authored by 刘文虎's avatar 刘文虎

修复文本框文字错位

parent 1f72cc2e
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<!-- <view class="package-item-icon"><u-icon :name="item.icon"></u-icon></view> --> <!-- <view class="package-item-icon"><u-icon :name="item.icon"></u-icon></view> -->
<view class="package-item-title">{{ item.title }}</view> <view class="package-item-title">{{ item.title }}</view>
<view class="package-item-right"> <view class="package-item-right">
<!-- <text class="dot" v-if="item.title==='更新日志'"></text> -->
<text class="package-item-right-text" v-if="item.title==='更新日志'">{{version}}</text> <text class="package-item-right-text" v-if="item.title==='更新日志'">{{version}}</text>
<u-icon name="arrow-right" class="package-item-right-icon"></u-icon> <u-icon name="arrow-right" class="package-item-right-icon"></u-icon>
</view> </view>
...@@ -25,6 +26,7 @@ import PopInput from '@/components/pop-input-view'; ...@@ -25,6 +26,7 @@ import PopInput from '@/components/pop-input-view';
import { packageOptions } from '@/utils/options/mine/index.js'; import { packageOptions } from '@/utils/options/mine/index.js';
import { version } from '@/utils/config.js'; import { version } from '@/utils/config.js';
import {getToken} from "@/utils/common.js" import {getToken} from "@/utils/common.js"
import { getList } from '@/api/mine/update-log.js';
export default { export default {
components:{ components:{
PopInput PopInput
...@@ -106,6 +108,20 @@ export default { ...@@ -106,6 +108,20 @@ export default {
color: #8D8D8D; color: #8D8D8D;
&-text{ &-text{
}
.dot{
&::before{
content:' ';
display: block;
position: absolute;
width: 10rpx;
height: 10rpx;
border-radius: 50%;
background-color: #FC524D;
right: 30rpx;
top: 0;
z-index: 1;
}
} }
.package-item-right-icon{ .package-item-right-icon{
margin-left: 16upx; margin-left: 16upx;
......
...@@ -93,10 +93,10 @@ ...@@ -93,10 +93,10 @@
<view class="value-view area-view"> <view class="value-view area-view">
<u-input <u-input
type="textarea" type="textarea"
height="240"
:clearable="false" :clearable="false"
:custom-style="customAreaStyle" :custom-style="customAreaStyle"
:placeholder-style="placeholderStyle" :placeholder-style="placeholderStyle"
:auto-height="false"
v-model="form.remark" v-model="form.remark"
placeholder="举例:修一台格力空调,压缩机800元,工时200元,合计1000元,质保1年。" placeholder="举例:修一台格力空调,压缩机800元,工时200元,合计1000元,质保1年。"
/> />
...@@ -203,7 +203,8 @@ export default { ...@@ -203,7 +203,8 @@ export default {
'background-color': '#F6F7FA', 'background-color': '#F6F7FA',
'text-align': 'left', 'text-align': 'left',
padding: '32rpx 24rpx', padding: '32rpx 24rpx',
'border-radius': '16rpx' 'border-radius': '16rpx',
'min-height':'240rpx'
}; };
}, },
rules() { rules() {
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<view class="head-title">{{detail.title}}</view> <view class="head-title">{{detail.title}}</view>
<view class="head-time">{{detail.createTime}}</view> <view class="head-time">{{detail.createTime}}</view>
</view> </view>
<view class="content">{{detail.content}}</view> <view class="content">
<text>{{detail.content}}</text>
</view>
</view> </view>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment