version/0412
zhangtianning 1 year ago
parent b2a312d15f
commit 66e7d163b7
  1. BIN
      .DS_Store
  2. BIN
      pages/.DS_Store
  3. 89
      pages/news3/JoinDistribution.vue
  4. 10
      pages/user/index.vue
  5. BIN
      pages/wallet/.DS_Store
  6. 75
      project.config.json
  7. BIN
      static/.DS_Store
  8. BIN
      static/order/.DS_Store

BIN
.DS_Store vendored

Binary file not shown.

BIN
pages/.DS_Store vendored

Binary file not shown.

@ -1,8 +1,9 @@
<template> <template>
<view> <view>
<view style="width:100%;position: fixed;top:0;z-index:99"> <view class="status-box"></view>
<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:40upx;transform: translateY(-50%);" color="#000" size="24"></u-icon> <u-icon name="arrow-left" @click="goBack()" style="position: absolute;top:50%;left:50rpx;transform: translateY(-50%);" color="#000" size="24"></u-icon>
<text>加入分销</text> <text>加入分销</text>
</view> </view>
@ -11,17 +12,17 @@
<view class="userInfo"> <view class="userInfo">
<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">
<image src="/static/news/avater.png" mode="aspectFill" class="avatar"></image> <image :src="user.avatar_url" 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"> <view class="tixian" @click="$navTo('pages/dealer/withdraw/apply')">
提现 提现
</view> </view>
</view> </view>
@ -32,13 +33,15 @@
<view class="yongjinContent"> <view class="yongjinContent">
<view class="item"> <view class="item">
<text class="num"> <text class="num">
0.00 <!-- {{ setting.words.index.words.money.value }} -->
{{ dealer.money }}
</text> </text>
<text class="text">已提现佣金</text> <text class="text">已提现佣金</text>
</view> </view>
<view class="item"> <view class="item">
<text class="num"> <text class="num">
0 <!-- {{ setting.words.index.words.freeze_money.value }} -->
{{ dealer.freeze_money }}
</text> </text>
<text class="text">未结算佣金</text> <text class="text">未结算佣金</text>
</view> </view>
@ -48,19 +51,19 @@
<image :src="$picUrl+'/static/news3/fx1.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/news3/fx1.png'" mode="widthFix"></image>
<text>分销佣金</text> <text>分销佣金</text>
</view> </view>
<view class="gridItem"> <view class="gridItem" @click="$navTo('pages/dealer/order')">
<image :src="$picUrl+'/static/news3/fx2.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/news3/fx2.png'" mode="widthFix"></image>
<text>分销订单</text> <text>分销订单</text>
</view> </view>
<view class="gridItem"> <view class="gridItem" @click="$navTo('pages/dealer/withdraw/list')">
<image :src="$picUrl+'/static/news3/fx3.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/news3/fx3.png'" mode="widthFix"></image>
<text>提现明细</text> <text>提现明细</text>
</view> </view>
<view class="gridItem"> <view class="gridItem" @click="$navTo('pages/dealer/team')">
<image :src="$picUrl+'/static/news3/fx4.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/news3/fx4.png'" mode="widthFix"></image>
<text>我的团队</text> <text>我的团队</text>
</view> </view>
<view class="gridItem"> <view class="gridItem" @click="$navTo('pages/dealer/poster')">
<image :src="$picUrl+'/static/news3/fx5.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/news3/fx5.png'" mode="widthFix"></image>
<text>推广二维码</text> <text>推广二维码</text>
</view> </view>
@ -70,20 +73,71 @@
</template> </template>
<script> <script>
import AvatarImage from '@/components/avatar-image'
import * as Api from '@/api/dealer'
export default { export default {
data() { data() {
return { return {
//
isLoading: true,
//
user: undefined,
//
isDealer: false,
//
dealer: undefined,
//
refereeName: undefined,
//
setting: {
background: undefined,
words: undefined
}
}; };
}, },
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getCenter()
},
methods:{ methods:{
/** /**
* 售后点击 * 售后点击
*/ */
goBack(){
uni.navigateBack({ // uni-appAPI
delta: 1 // 0
});
},
//
getCenter() {
const app = this
app.isLoading = true
Api.center()
.then(result => {
// api
const data = result.data
app.isDealer = data.isDealer
app.user = data.user
app.dealer = data.dealer
app.refereeName = data.refereeName
app.setting = data.setting
//
app.setPageTitle()
app.isLoading = false
})
},
onApplyAftersales(){ onApplyAftersales(){
uni.navigateTo({ uni.navigateTo({
url: '/pages/AfterSaleType/AfterSaleType', url: '/pages/dealer/poster',
}) })
},
//
setPageTitle() {
uni.setNavigationBarTitle({
title: this.setting.words.index.title.value
})
} }
} }
} }
@ -96,13 +150,16 @@ page{
padding-bottom: 140upx; padding-bottom: 140upx;
padding-top:200upx; padding-top:200upx;
} }
.status-box{
height: var(--status-bar-height);
}
.bgImg{ .bgImg{
width:100%; width:100%;
height:auto; height:auto;
position:absolute; position:absolute;
top:0; top:0;
left:0; left:0;
z-index:1; z-index:-1;
} }
.navBarContent{ .navBarContent{
@ -121,7 +178,7 @@ page{
.userInfo{ .userInfo{
position: relative; position: relative;
z-index:3; z-index:3;
margin:0 30upx; margin:130upx 30upx 0;
image{ image{
width:100%; width:100%;
height:auto; height:auto;

@ -400,12 +400,20 @@
邀请朋友 邀请朋友
</view> </view>
</view> </view>
<view class="serveIcon" @click="goJump('/pages/invite/index')"> <!-- <view class="serveIcon" @click="goJump('/pages/invite/index')">
<image :src="$picUrl+'/static/user/invites.png'" class="icons"></image> <image :src="$picUrl+'/static/user/invites.png'" class="icons"></image>
<view class="serveInfo"> <view class="serveInfo">
<text v-if="userInfo.user_type >=30">邀请分销</text> <text v-if="userInfo.user_type >=30">邀请分销</text>
<text v-else >加入分销</text> <text v-else >加入分销</text>
</view> </view>
</view> -->
<view class="serveIcon" @click="goJump('/pages/news3/JoinDistribution')">
<!-- <view class="serveIcon" @click="goJump('/pages/dealer/index')"> -->
<image :src="$picUrl+'/static/user/invites.png'" class="icons"></image>
<view class="serveInfo">
<!-- <text v-if="userInfo.user_type >=30">邀请分销</text> -->
<text>加入分销</text>
</view>
</view> </view>
<view class="serveIcon" @click="goJump('/pages/news1/help',1)"> <view class="serveIcon" @click="goJump('/pages/news1/help',1)">

Binary file not shown.

@ -1,28 +1,53 @@
{ {
"appid": "wx68d198de972a9e9d", "appid": "wxdf1583a43c9a5725",
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "3.3.3", "libVersion": "3.3.3",
"packOptions": { "packOptions": {
"ignore": [], "ignore": [],
"include": [] "include": []
},
"setting": {
"urlCheck": true,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}, },
"setting": { "useIsolateContext": false,
"coverView": true, "userConfirmedBundleSwitch": false,
"es6": true, "packNpmManually": false,
"postcss": true, "packNpmRelationList": [],
"minified": true, "minifyWXSS": true,
"enhance": true, "disableUseStrict": false,
"showShadowRootInWxmlPanel": true, "minifyWXML": true,
"packNpmRelationList": [], "showES6CompileOption": false,
"babelSetting": { "useCompilerPlugins": false,
"ignore": [], "ignoreUploadUnusedFiles": true
"disablePlugins": [], },
"outputPath": "" "editorSetting": {
} "tabIndent": "auto",
}, "tabSize": 4
"condition": {}, },
"editorSetting": { "projectname": "yanzong_qianduan",
"tabIndent": "auto", "condition": {}
"tabSize": 4
}
} }

BIN
static/.DS_Store vendored

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save