Browse Source

更新

master
linyumoya 4 months ago
parent
commit
43d955947c
3 changed files with 83 additions and 1 deletions
  1. +3
    -0
      pages.json
  2. +1
    -1
      pages/index/center.vue
  3. +79
    -0
      pages_order/mine/recommend.vue

+ 3
- 0
pages.json View File

@ -77,6 +77,9 @@
},
{
"path": "home/journalism"
},
{
"path": "mine/recommend"
}
]
}],


+ 1
- 1
pages/index/center.vue View File

@ -95,7 +95,7 @@
<view class="cell-bottom">
<uv-cell-group>
<uv-cell icon="share" title="我的邀请码" :isLink="true" arrow-direction="right" />
<uv-cell icon="share" title="我的推荐" :isLink="true" arrow-direction="right " />
<uv-cell icon="share" title="我的推荐" :isLink="true" arrow-direction="right " @click="$utils.navigateTo('/pages_order/mine/recommend')" />
<uv-cell icon="share" title="联系客服" :isLink="true" arrow-direction="right " />
<uv-cell icon="share" title="我的地址" :isLink="true" arrow-direction="right " />
</uv-cell-group>


+ 79
- 0
pages_order/mine/recommend.vue View File

@ -0,0 +1,79 @@
<template>
<view class="page">
<navbar title="推广明细" leftClick @leftClick="$utils.navigateBack" />
<view class="top">
<view class="top-text">
<view>100</view>
<view>直推人数()</view>
</view>
</view>
<view class="cell">
<view class="cell-top">推广明细</view>
<view class="cell-box" v-for="(item,index) in 10">
<uv-cell-group>
<uv-cell title="直推:张三" label="2024-11-12 12:56:48" :center="true">
<template #value>
<text style="font-weight: 600; font-size: 28rpx;">黄金会员</text>
</template>
</uv-cell>
</uv-cell-group>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
onLoad(e) {},
methods: {
}
}
</script>
<style lang="scss" scoped>
.page {
background-color: #F3F3F3;
height: 100vh;
.top {
display: flex;
height: 400rpx;
justify-content: center;
align-items: center;
color: #474747;
.top-text {
text-align: center;
view:nth-child(1) {
font-size: 78rpx;
font-weight: 600;
}
view:nth-child(2) {
font-size: 28rpx;
}
}
}
.cell {
margin: 20rpx;
background-color: #FFFFFF;
border-radius: 16rpx;
.cell-top {
padding: 40rpx 34rpx;
color: #474747;
font-size: 34rpx;
font-weight: 600;
}
}
}
</style>

Loading…
Cancel
Save