mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
提交修改
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user