| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <template>
- <Theme>
- <view class="question-card__wrap">
- <view class="question-card__head">
- <view class="question-card__head-title">{{ $t("猜你想问") }}</view>
- </view>
- <view class="question-card__body">
- <view class="question-card__item" v-for="(item, index) in 3" :key="index">
- <view class="question-card__item-left">
- <text class="question-card__item-title">{{index + 1}}. 第 {{index + 1}} 个问题?</text>
- </view>
- <view class="question-card__item-right">
- <image src="@/static/chat/arrow_right-icon.png" mode=""></image>
- </view>
- </view>
- </view>
- </view>
- </Theme>
- </template>
- <script>
- </script>
- <style lang="less" scoped>
- .question-card__wrap {
- width: 100%;
- height: auto;
- padding: 16rpx 24rpx;
- border-radius: 20rpx;
- background: #FAFAFA;
- }
- .question-card__head {
- width: 100%;
- height: 44rpx;
-
- .question-card__head-title {
- font-size: 26rpx;
- font-weight: 500;
- color: #000;
- }
- }
- .question-card__body {
- .question-card__item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 10rpx 0;
- }
-
- .question-card__item-left {
- width: calc(100% - 60rpx);
- font-size: 28rpx;
- color: #3D3D3D;
- padding-right: 30rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .question-card__item-title {
- width: 100%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .question-card__item-right {
- display: flex;
- justify-content: flex-end;
- width: 60rpx;
- height: 100%;
-
- image {
- width: 14rpx;
- height: 24rpx;
- }
- }
- }
- </style>
|