Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangwenxue
5 years ago
Commit
1b8041cbc8a5442b3738a2005dacc73097c9b0df
1 parent
096b4eaf
商品详情: 交易按钮默认不显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
apps/pages/product/components/size-select-sheet.vue
apps/pages/product/components/size-select-sheet.vue
View file @
1b8041c
...
...
@@ -17,10 +17,12 @@
<size-list class="select-content size-list" :list="list" :addSize="canAddSize" :selected="selectedSize"
@select="onSelectSize"
@add="onAdd" />
<div class="footer">
<cube-button v-if="config.type === 'sell'" @click="convertToCash" :class="{active: isMarketable}">变现<span> <i>¥</i>{{cashPrice}}</span></cube-button>
<cube-button @click="select" :class="{active: isTradable }">{{config.title}}</cube-button>
</div>
<transition name="slide-up">
<div class="footer" v-if="isTradable">
<cube-button v-if="config.type === 'sell'" @click="convertToCash" :class="{active: isMarketable}">变现<span> <i>¥</i>{{cashPrice}}</span></cube-button>
<cube-button @click="select" class="active">{{config.title}}</cube-button>
</div>
</transition>
</div>
</div>
</action-sheet>
...
...
@@ -275,6 +277,7 @@ export default {
justify-content: space-between;
@include cube-ufo-btn;
span {
font-size: 28px;
...
...
@@ -284,4 +287,14 @@ export default {
}
}
}
.slide-up-enter,
.slide-up-leave-to {
transform: translateY(60%);
opacity: 0;
}
.slide-up-enter-active,
.slide-up-leave-active {
transition: all 0.3s ease-in;
}
</style>
...
...
Please
register
or
login
to post a comment