优化分销

version/0412
zhangtianning 9 months ago
parent 48d13b0770
commit 04fff33863
  1. 2
      pages/dealer/commission.vue
  2. 26
      pages/news3/JoinDistribution.vue

@ -14,7 +14,7 @@
</view> </view>
<view class="detail__right dis-flex flex-dir-column flex-x-center flex-y-center"> <view class="detail__right dis-flex flex-dir-column flex-x-center flex-y-center">
<view class="detail__status" :class="[ApplyStatusColor[item.apply_status]]"> <view class="detail__status" :class="[ApplyStatusColor[item.apply_status]]">
<text>{{ ApplyStatusText[item.apply_status] }}</text> <text style="">{{ ApplyStatusText[item.apply_status] }}已结算</text>
</view> </view>
<block v-if="item.apply_status == ApplyStatusEnum.REJECT.value"> <block v-if="item.apply_status == ApplyStatusEnum.REJECT.value">
<view class="detail__reason" @click="handleShowRejectReason(item)">驳回原因 <view class="detail__reason" @click="handleShowRejectReason(item)">驳回原因

@ -2,7 +2,7 @@
<view> <view>
<view style="width:100%;position: fixed;top:var(--status-bar-height);z-index:99"> <view style="width:100%;position: fixed;top:var(--status-bar-height);z-index:99">
<view class="navBarContent"> <view class="navBarContent">
<u-icon name="arrow-left" style="position: absolute;top:50%;left:40rpx;transform: translateY(-50%);" color="#000" size="24"></u-icon> <u-icon name="arrow-left" @click="goToPreviousPage" style="position: absolute;top:50%;left:40rpx;transform: translateY(-50%);" color="#000" size="24"></u-icon>
<text>加入分销</text> <text>加入分销</text>
</view> </view>
@ -12,18 +12,23 @@
<image :src="$picUrl+'/static/news3/join.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/news3/join.png'" mode="widthFix"></image>
<view class="userContent"> <view class="userContent">
<view v-if="user"> <view v-if="user">
<image :src="user.avatar_url" mode="aspectFill" class="avatar"></image> <image :src="$picUrl+'/static/default-logo.png'" v-if="!user.avatar_url" class="avatar" ></image>
<image :src="user.avatar_url" v-else mode="aspectFill" class="avatar"></image>
</view> </view>
<!-- <image :src="$picUrl+'/static/default-logo.png'" v-if="!isLogin || !userInfo.avatar_url" class="image_2"
@click="goLogin()"></image>
<image :src="userInfo.avatar_url" v-else class="image_2"></image> -->
<!-- <image src="/static/news/avater.png" mode="aspectFill" class="avatar"></image> --> <!-- <image src="/static/news/avater.png" mode="aspectFill" class="avatar"></image> -->
<view class="user"> <view class="user">
<view class="userTop"> <view class="userTop">
<text class="name">Deioio</text> <text class="name">{{ user.nick_name }}</text>
<view class="flag"> <view class="flag">
分销商 分销商
</view> </view>
</view> </view>
<view class="userBottom"> <view class="userBottom">
<text>加入时间2024.01.21</text> <text>加入时间{{dealer.update_time}}</text>
<view class="tixian" @click="$navTo('pages/dealer/withdraw/apply')"> <view class="tixian" @click="$navTo('pages/dealer/withdraw/apply')">
提现 提现
</view> </view>
@ -73,6 +78,8 @@
</template> </template>
<script> <script>
import AvatarImage from '@/components/avatar-image'
import * as Api from '@/api/dealer'
export default { export default {
data() { data() {
return { return {
@ -93,7 +100,18 @@
} }
}; };
}, },
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getCenter()
},
methods:{ methods:{
goToPreviousPage() {
uni.navigateBack({
delta: 1 // 1
});
},
// //
getCenter() { getCenter() {
const app = this const app = this

Loading…
Cancel
Save