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
3f17e35f77e09087b4342e50dd437d36af3fec09
1 parent
b9fec5ca
商品详情: 调整UI
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
apps/pages/product/product-detail.vue
apps/pages/product/product-detail.vue
View file @
3f17e35
...
...
@@ -12,7 +12,7 @@
</cube-slide-item>
<template slot="dots" slot-scope="props">
<div class="dot-wrap">
<span class="dot" :class="{active: props.current === index}" v-for="(item, index) in props.dots">•</span>
<span class="
cube-
dot" :class="{active: props.current === index}" v-for="(item, index) in props.dots">•</span>
</div>
</template>
</cube-slide>
...
...
@@ -31,14 +31,14 @@
</a>
<div class="info">
<transition-group name="info-list" tag="div" class="info-list">
<div class="info-list-item" transtion="fade" v-if="activity && activity.length !== 0" @click="showActivity" key="
promotion
">
<div class="info-list-item" transtion="fade" v-if="activity && activity.length !== 0" @click="showActivity" key="
促销
">
<div class="info-list-name">促销</div>
<div class="info-list-value info-promote">
<span>{{activity[0].promotionTypeStr}}</span>
<i class="cubeic-arrow"></i>
</div>
</div>
<div class="info-list-item" v-for="
(desc, index) in productDec" :key="index
">
<div class="info-list-item" v-for="
desc in productDec" :key="desc.text
">
<div class="info-list-name">{{desc.text}}</div>
<div class="info-list-value">{{desc.value}}</div>
</div>
...
...
@@ -485,20 +485,17 @@ export default {
padding-bottom: 10px;
}
.dot {
.
cube-
dot {
display: inline-block;
width: 8px;
height: 8px;
width: 6px;
height: 6px;
margin: 0 10px;
background: radial-gradient(8px 8px at 50% 50%, rgba(0, 0, 0, 0.15) 50%, transparent 50%) no-repeat;
background: rgba(0, 0, 0, 0.15);
border-radius: 50%;
&.active {
/*margin: 2px 10px 0;*/
/*width: 12px;*/
/*height: 12px;*/
transform-origin: 50% 50%;
transform: scale(1.5);
background: radial-gradient(8px 8px at 50% 50%, rgba(0, 0, 0, 1) 50%, transparent 50%) no-repeat;
transform: scale(1.3333);
background: rgba(0, 0, 0, 1);
}
}
...
...
Please
register
or
login
to post a comment