提交修改

This commit is contained in:
daihh
2022-11-15 09:04:07 +08:00
parent 9bb12dfefc
commit fd44312d85
2 changed files with 91 additions and 8 deletions

View File

@@ -53,19 +53,19 @@
<view style="color:#fff;cursor: pointer;"></view>
</view>
</view>
<view v-if="!scoreInfo.has" class="player-rate">
<!--以下部分已经移到下面了-->
<!-- <view v-if="!scoreInfo.has" class="player-rate">
<u-rate v-model="scoreInfo.score" active-color="#f7ba2a" text-color="#ff9900" score-template="{value}" void-color="#fff" @change="addScore"></u-rate>
</view>
<view v-if="scoreInfo.has" style="padding-top: 5px;display: flex;">
<view class="player-rate" style="padding-left: 5px;">
<!-- <u-rate active-color="#f7ba2a" readonly v-model="courseInfo.score" :allow-half="true" ></u-rate> -->
<u-rate readonly :count="5" active-color="#f7ba2a" v-model="scoreInfo.score"></u-rate>
</view>
<view class="score-text" style="margin-top:20px">
<text style="color:#ffb30f;">{{ toScore(scoreInfo.score) }}</text>
<text style="font-size: 12px;color: #fff"></text>
</view>
</view>
</view> -->
</view>
</view>
</view>
@@ -889,7 +889,6 @@
this.$refs.comments.loadData(false);
},
openShare(){
this.$refs.messager.show({message:'打开分享',type:'success'});
//console.log(this.$refs.fiexdbar,'this.$refs.fiexdbar');
//因为开始是v-if控制的所以这里获取不到必须显示时才会获取到所以需要单独的弄一个分享组件
this.$refs.comShare.openShare();
@@ -1347,6 +1346,39 @@
padding: 34upx;
background-color: #fff;
}
.player-box{
position: absolute;
// top: 62px;
// left: 184px;
width: 200px;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
height: 147px;
background:#a9abb3;
opacity: 0.8;
border-radius: 33px;
text-align: center;
padding: 20px;
box-sizing: border-box;
image{
width: 40px;
height: 40px;
margin: 0px 10px;
}
.player-praise{
margin-top: 5px;
display: flex;
// justify-items: center;
justify-content: center;
}
.player-rate{
margin-top: 20px;
text-align: center;
display: flex;
justify-content: center;
}
}
.tabrow{
display: flex;
border-bottom:1px solid #999999;