知识问答样式处理

main
limingtao 11 months ago
parent 427bc8c917
commit 37b2548440
  1. 15
      pages/knowledge/index.vue

@ -18,14 +18,14 @@
<view class="titleTwo"> <view class="titleTwo">
作为你的智能伙伴我可以为你提供交通领域知识的答疑解惑 作为你的智能伙伴我可以为你提供交通领域知识的答疑解惑
</view> </view>
<view class=""> 你这样试着问我: </view> <view class="text"> 你这样试着问我: </view>
<view class="tipQuestions"> <view class="tipQuestions">
<view class="" v-for="(item, index) in tipQuestions" :key="index"> <view class="" v-for="(item, index) in tipQuestions" :key="index">
<view class="tipItem" @click="handleBtn(item.text)"> <view class="tipItem" @click="handleBtn(item.text)">
<view class="title"> <view class="title">
{{ item.title }} {{ item.title }}
</view> </view>
<view class=""> <view class="text">
{{ item.text }} {{ item.text }}
</view> </view>
</view> </view>
@ -688,21 +688,28 @@ export default {
.titleOne { .titleOne {
font-weight: 700; font-weight: 700;
font-size: 30rpx; font-size: 32rpx;
} }
.titleTwo { .titleTwo {
margin: 15rpx 0; margin: 15rpx 0;
font-size: 28rpx;
} }
.tipItem { .tipItem {
background-color: #e1f8f8; background-color: #e1f8f8;
margin: 15rpx; margin: 15rpx;
padding: 15rpx; padding: 15rpx;
.title { .title {
font-size: 30rpx; font-size: 32rpx;
font-weight: 700; font-weight: 700;
}
.text{
font-size: 28rpx;
}
} }
} }
.text{
font-size: 32rpx;
} }
} }

Loading…
Cancel
Save