You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
831 B
37 lines
831 B
<template>
|
|
<!-- ok -->
|
|
<view class="wanlpage-category-title" :style="[pageData.style]" @tap="$wanlshop.on(pageData.data[0].categoryLink)">
|
|
<view class="text-lg">
|
|
<text class="margin-right-xs" :class="pageData.data[0].categoryIcon"></text>{{pageData.data[0].categoryName}} ···
|
|
</view>
|
|
<view class="text-sm wanl-gray">
|
|
更多<text class="wlIcon-fanhui2 margin-left-xs"></text>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: "WanlPageCategoryTitle",
|
|
props: {
|
|
pageData: {
|
|
type: Object,
|
|
default: function() {
|
|
return {
|
|
name: '类目标题',
|
|
type: 'categoryTitle',
|
|
params: [],
|
|
style: [],
|
|
data: []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
.wanlpage-category-title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
</style>
|
|
|