| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <template>
- <view class="contentV">
- <view class="titlect">
- <label class="titletext">{{$t('pinglun.suoyoupingf')}}(4000+)</label>
- <view class="rightct">
- <image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
- <label class="">4.9</label>
- </view>
- </view>
- <view class="linect">
- <view class="linev">
- <image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
- <label class="textsize">5</label>
- <view class="progress_box">
- <progress :percent="pgList[0]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
- </view>
- </view>
- <view class="linev">
- <image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
- <label class="textsize">4</label>
- <view class="progress_box">
- <progress :percent="pgList[1]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
- </view>
- </view>
- <view class="linev">
- <image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
- <label class="textsize">3</label>
- <view class="progress_box">
- <progress :percent="pgList[2]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
- </view>
- </view>
- <view class="linev">
- <image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
- <label class="textsize">2</label>
- <view class="progress_box">
- <progress :percent="pgList[3]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
- </view>
- </view>
- <view class="linev">
- <image class="xingimage" src="/static/images/xingxing@3x.png" mode="aspectFit"></image>
- <label class="textsize">1</label>
- <view class="progress_box">
- <progress :percent="pgList[4]" activeColor="#005500" stroke-width="7.5" show-info font-size='14' active='true' />
- </view>
- </view>
-
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- pgList: [60, 80, 20,40, 10]
- }
- },
- onShow(){
- this.setProgress()
- },
- methods: {
- setProgress() {
- this.pgList = [60, 80, 20, 40, 100]
- },
- }
- }
- </script>
- <style>
- .contentV{
- width: 100%;
- height: 330rpx;
- }
- .titlect{
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: left;
- }
- .titletext{
- padding-top: 10rpx;
- padding-left: 10rpx;
- font-size: 40rpx;
- color: #000;
- font-weight:bold;
- }
- .rightct{
- margin-left: auto;
- margin-right: 30rpx;
- flex-direction: row;
- align-items: center;
- }
- .xingimage{
- padding-right: 10rpx;
- width: 30rpx;
- height: 30rpx;
- }
- .linect{
- width: 96%;
- justify-content: center;
- padding:10rpx;
- }
- .linev{
- display: flex;
- flex-direction: row;
- align-items: center;
- }
- .progress_box {
- padding-left: 16rpx;
- padding-right: 40rpx;
- width: 100%;
-
- }
- .textsize{
- font-size: 20rpx;
- }
- </style>
|