锚链接
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
<template>
|
||||
<view class="container commonPageBox">
|
||||
<view class="container commonPageBox" style="background-color: #fbf9f7">
|
||||
<!-- 公共组件-每个页面必须引入 -->
|
||||
<public-module></public-module>
|
||||
<z-nav-bar
|
||||
:title="options.navTitle"
|
||||
bgColor="#3AB3AE"
|
||||
fontColor="#fff"
|
||||
class="common-nav"
|
||||
bgColor=""
|
||||
fontColor="#333"
|
||||
></z-nav-bar>
|
||||
|
||||
<view
|
||||
@@ -53,26 +54,26 @@
|
||||
|
||||
<view class="curriculum_tag_info_box">
|
||||
<view v-for="(v, i) in slotProps.row.courseCatalogueEntityList">
|
||||
<u-tag
|
||||
<view
|
||||
@click.native.stop="gotoDetail(slotProps.row)"
|
||||
v-if="v.isBuy == 1"
|
||||
style="margin-right: 10rpx"
|
||||
:text="v.title"
|
||||
bgColor="#43A181"
|
||||
borderColor="#43A181"
|
||||
size="mini"
|
||||
type="success"
|
||||
class="curriculum_tag"
|
||||
></u-tag>
|
||||
<u-tag
|
||||
>{{ v.title }}</view
|
||||
>
|
||||
<view
|
||||
@click.native.stop="gotoDetail(slotProps.row)"
|
||||
v-else
|
||||
style="margin-right: 10rpx"
|
||||
:text="v.title"
|
||||
size="mini"
|
||||
color="#969696"
|
||||
borderColor="#969696"
|
||||
plain
|
||||
style="
|
||||
margin-right: 10rpx;
|
||||
background-color: transparent;
|
||||
color: #969696;
|
||||
border-color: #969696;
|
||||
"
|
||||
class="curriculum_tag"
|
||||
></u-tag>
|
||||
>
|
||||
{{ v.title }}</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view
|
||||
@@ -125,7 +126,6 @@
|
||||
</template>
|
||||
</common-list>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -140,7 +140,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
isLoadingHide: false,
|
||||
|
||||
|
||||
playData: {},
|
||||
options: {},
|
||||
searchValue: "",
|
||||
@@ -816,9 +816,16 @@ export default {
|
||||
padding: 20rpx !important;
|
||||
}
|
||||
.curriculum_tag {
|
||||
// width: 140rpx !important;
|
||||
width: auto !important;
|
||||
padding: 0 20rpx;
|
||||
font-size: 24rpx;
|
||||
// height: 40rpx;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
background-color: #43a181;
|
||||
border: 1rpx solid #43a181;
|
||||
border-radius: 4rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.curriculum_tag_info_box {
|
||||
width: 100%;
|
||||
@@ -833,4 +840,7 @@ export default {
|
||||
margin-top: 0rpx;
|
||||
// justify-content: space-between;
|
||||
}
|
||||
/deep/.scroll-view-item:nth-child(2n-1) {
|
||||
background-color: rgba(255, 255, 255, 0.85) !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user