门店
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
<div class="photo">
|
||||
<img :src="item.url" alt="" v-for="(item,index) in images" :key="index" @click="preview(index)">
|
||||
</div>
|
||||
<div class="footer" @click="toAppStore" v-if="showStore">
|
||||
<div class="btn">我要评选</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -27,6 +30,7 @@ export default {
|
||||
pageShow: false,
|
||||
detail: {},
|
||||
images: [],
|
||||
showStore: false
|
||||
}
|
||||
},
|
||||
onLoad({id}) {
|
||||
@@ -52,6 +56,9 @@ export default {
|
||||
|
||||
this.$hideLoading()
|
||||
})
|
||||
},
|
||||
toAppStore() {
|
||||
uni.navigateTo({url: '/pages/AppStore/AppStore'})
|
||||
}
|
||||
},
|
||||
}
|
||||
@@ -106,5 +113,27 @@ export default {
|
||||
margin-top: 32px;
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
padding: 20px 32px 88px 32px;
|
||||
box-sizing: border-box;
|
||||
background: #FFF;
|
||||
z-index: 999;
|
||||
.btn {
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
background: #2D7DFF;
|
||||
border-radius: 40px;
|
||||
font-family: PingFangSC-Medium;
|
||||
font-weight: 500;
|
||||
font-size: 34px;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
line-height: 80px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user