修改跳转路径

This commit is contained in:
zhangmanman
2021-09-28 11:31:52 +08:00
180 changed files with 241 additions and 102 deletions

View File

@@ -5,6 +5,12 @@
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
"h5": {
"title": "链商星球",
"router": {
"mode": "history"
}
},
/* 5+App */
"app-plus" : {
"usingComponents" : true,

View File

@@ -9,6 +9,7 @@
}, {
"path": "pages/found/index",
"name": "Found",
"aliasPath": "/found",
"auth": true,
"style": {
"navigationBarTitleText": "发现更多"
@@ -16,6 +17,7 @@
}, {
"path": "pages/user/index",
"name": "User",
"aliasPath": "/user",
"auth": true,
"style": {
"navigationBarTitleText": "节点中心"
@@ -23,6 +25,7 @@
}, {
"path": "pages/user/code",
"name": "userCode",
"aliasPath": "/user/code",
"auth": true,
"style": {
"navigationBarTitleText": "邀请好友"
@@ -30,6 +33,7 @@
}, {
"path": "pages/user/help",
"name": "userHelp",
"aliasPath": "/user/help",
"auth": true,
"style": {
"navigationBarTitleText": "帮助中心"
@@ -37,6 +41,7 @@
}, {
"path": "pages/user/partner",
"name": "userPartner",
"aliasPath": "/user/partner",
"auth": true,
"style": {
"navigationBarTitleText": "我的伙伴"
@@ -44,6 +49,7 @@
}, {
"path": "pages/user/clause",
"name": "userClause",
"aliasPath": "/user/clause",
"auth": true,
"style": {
"navigationBarTitleText": "服务条款"
@@ -51,6 +57,7 @@
}, {
"path": "pages/user/followOfficial",
"name": "Official",
"aliasPath": "/user/followOfficial",
"auth": true,
"style": {
"navigationBarTitleText": "关注公众号"
@@ -58,24 +65,28 @@
}, {
"path": "pages/vip/vip",
"name": "vipIndex",
"aliasPath": "/vip",
"style": {
"navigationBarTitleText": "开通节点"
}
}, {
"path": "pages/vip/agree",
"name": "vipAgree",
"aliasPath": "/vip/agree",
"style": {
"navigationBarTitleText": "用户协议"
}
}, {
"path": "pages/vip/examine",
"name": "Examine",
"aliasPath": "/vip/examine",
"style": {
"navigationBarTitleText": "提交成功"
}
}, {
"path": "pages/setting/setting",
"name": "setting",
"aliasPath": "/setting",
"auth": true,
"style": {
"navigationBarTitleText": "设置中心"
@@ -83,86 +94,92 @@
}, {
"path": "pages/goods/management",
"name": "goodsManagement",
"aliasPath": "/goods/management",
"style": {
"navigationBarTitleText": "商品权证管理"
}
}, {
"path": "pages/goods/addClassify",
"name": "goodsaddClassify",
"aliasPath": "/goods/add-classify",
"style": {
"navigationBarTitleText": "发布商品类目"
}
}, {
"path": "pages/goods/add",
"name": "goodsAdd",
"aliasPath": "/goods/add",
"style": {
"navigationBarTitleText": "商品权证创建"
}
}, {
"path": "pages/goods/goodsAuth",
"name": "goodsAddAuth",
"aliasPath": "/goods/goods-auth",
"style": {
"navigationBarTitleText": "商品权证认证"
}
}, {
"path": "pages/coupons/management",
"name": "couponsManagement",
"aliasPath": "/coupons/management",
"style": {
"navigationBarTitleText": "创建优惠券"
}
}, {
"path": "pages/coupons/add",
"name": "couponsAdd",
"aliasPath": "/coupons/add",
"style": {
"navigationBarTitleText": "创建优惠券"
}
}, {
"path": "pages/coupons/magDetails",
"name": "couponsDetails",
"aliasPath": "/coupons/mag-details",
"style": {
"navigationBarTitleText": "优惠券详情"
}
}, {
"path": "pages/coupons/selectGoods",
"name": "couponsSelectGoods",
"aliasPath": "/coupons/select-goods",
"style": {
"navigationBarTitleText": "关联产品"
}
}, {
"path": "pages/login/login",
"name": "Login",
"aliasPath": "/login",
"style": {
"navigationBarTitleText": "登录"
}
}, {
"path": "pages/login/guide",
"name": "loginGuide",
"aliasPath": "/login/guide",
"style": {
"navigationBarTitleText": "引导页"
}
}, {
"path": "pages/login/agreement",
"name": "agreement",
"aliasPath": "/login/agreement",
"style": {
"navigationBarTitleText": "用户隐藏协议"
}
}, {
"path": "pages/certification/personal",
"name": "Personal",
"aliasPath": "/personal",
"auth": true,
"style": {
"navigationBarTitleText": "个人认证"
}
}, {
"path": "pages/setting/setting",
"name": "setting",
"auth": true,
"style": {
"navigationBarTitleText": "设置中心"
}
}, {
"path": "pages/setting/aboutUs",
"name": "aboutUs",
"aliasPath": "/setting/about-us",
"auth": true,
"style": {
"navigationBarTitleText": "关于我们"
@@ -170,6 +187,7 @@
}, {
"path": "pages/company/approve",
"name": "companyApprove",
"aliasPath": "/company/approve",
"auth": true,
"style": {
"navigationBarTitleText": "企业认证"
@@ -177,6 +195,7 @@
}, {
"path": "pages/news/index",
"name": "news",
"aliasPath": "/news/index",
"auth": true,
"style": {
"navigationBarTitleText": "消息中心"
@@ -184,6 +203,7 @@
}, {
"path": "pages/news/detail",
"name": "newsDetail",
"aliasPath": "/news/detail",
"auth": true,
"style": {
"navigationBarTitleText": "消息列表"
@@ -191,6 +211,7 @@
}, {
"path": "pages/wallet/property",
"name": "walletProperty",
"aliasPath": "/wallet/property",
"style": {
"navigationBarTitleText": "能量钱包",
"enablePullDownRefresh": false,
@@ -199,6 +220,7 @@
}, {
"path": "pages/wallet/extract",
"name": "Extract",
"aliasPath": "/wallet/extract",
"style": {
"navigationBarTitleText": "提现能量",
"enablePullDownRefresh": false,
@@ -208,6 +230,7 @@
},{
"path": "pages/verification/index",
"name": "verificationIndex",
"aliasPath": "/verification/index",
"auth": true,
"style": {
"navigationBarTitleText": "扫码核销"
@@ -215,6 +238,7 @@
},{
"path": "pages/verification/history",
"name": "verificationHistory",
"aliasPath": "/verification/history",
"auth": true,
"style": {
"navigationBarTitleText": "核销记录"
@@ -222,6 +246,7 @@
},{
"path": "pages/shop/lists",
"name": "shopLists",
"aliasPath": "/shop/lists",
"auth": true,
"style": {
"navigationBarTitleText": "部门/门店"
@@ -229,6 +254,7 @@
},{
"path": "pages/shop/create",
"name": "shopCreate",
"aliasPath": "/shop/create",
"auth": true,
"style": {
"navigationBarTitleText": "创建部门/门店"
@@ -236,6 +262,7 @@
},{
"path": "pages/employees/list",
"name": "employeesList",
"aliasPath": "/employees/list",
"auth": true,
"style": {
"navigationBarTitleText": "员工管理"
@@ -243,6 +270,7 @@
},{
"path": "pages/employees/add",
"name": "employeesAdd",
"aliasPath": "/employees/add",
"auth": true,
"style": {
"navigationBarTitleText": "添加员工"
@@ -250,6 +278,7 @@
},{
"path": "pages/instrument/Spread",
"name": "instrumentSpread",
"aliasPath": "/instrument/spread",
"auth": true,
"style": {
"navigationBarTitleText": "营销推广码"
@@ -257,19 +286,21 @@
},{
"path": "pages/instrument/basics",
"name": "instrumentBasics",
"aliasPath": "/instrument/basics",
"auth": true,
"style": {
"navigationBarTitleText": "基础信息"
}
}, {
"path": "pages/wallet/fragment",
"name": "Fragment",
"aliasPath": "/wallet/fragment",
"style": {
"navigationBarTitleText": "能量碎片记录",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#774ffd",
"navigationBarTextStyle": "white"
},
"name": "Fragment"
}
},
{
"path": "pages/wallet/addBank",
@@ -279,7 +310,8 @@
"navigationBarBackgroundColor": "#774ffd",
"navigationBarTextStyle": "white"
},
"name": "addBank"
"name": "addBank",
"aliasPath": "/wallet/add-bank"
},{
"path": "pages/wallet/bankList",
"style": {
@@ -288,7 +320,8 @@
"navigationBarBackgroundColor": "#774ffd",
"navigationBarTextStyle": "white"
},
"name": "bankList"
"name": "bankList",
"aliasPath": "/wallet/bank/list"
},{
"path": "pages/wallet/withdrawList",
"style": {
@@ -297,7 +330,8 @@
"navigationBarBackgroundColor": "#774ffd",
"navigationBarTextStyle": "white"
},
"name": "withdrawList"
"name": "withdrawList",
"aliasPath": "/wallet/withdraw/list"
}],
"globalStyle": {
"navigationStyle": "custom",

View File

@@ -1,8 +1,6 @@
<template>
<view>
<view class="clauseCont">
<rich-text :nodes="clauseData"></rich-text>
</view>
<view class="clauseCont" v-if="loaded">
<u-parse :html="clauseData"></u-parse>
</view>
</template>
@@ -13,7 +11,8 @@
export default {
data() {
return {
clauseData: [] //服务条款
clauseData: '' ,//服务条款,
loaded:false
};
},
onLoad(e) {
@@ -35,6 +34,7 @@
secretService(name).then(res => {
this.clauseData = res.content.replace(/\<img/gi,
'<img style="max-width:100%; height:auto; vertical-align: top;"')
this.loaded = true
}).catch(err => {
uni.showToast({
icon: 'none',
@@ -52,7 +52,7 @@
}
.clauseCont {
padding: $padding + 10 $padding * 2;
padding: $padding ;
width: 100%;
box-sizing: border-box;
}

View File

@@ -24,8 +24,8 @@
},
methods: {
login(){
uni.navigateTo({
url:'/pages/login/login'
this.$Router.push({
name:'Login'
})
}
}

View File

@@ -26,7 +26,12 @@
</view>
</view>
<!-- 用户登录注册协议 -->
<view class="agreement">未注册的手机号验证后将自动创建账号登录即表示同意接收<view @click="$Router.push({name: 'vipAgree', params: {type : 'loginPrivacy'}})">用户隐私协议</view><view @click="$Router.push({name: 'vipAgree', params: {type : 'loginService'}})">用户服务协议</view></view>
<view class="agreement">
未注册的手机号验证后将自动创建账号登录即表示同意接收
<view @click="$Router.push({name: 'agreement', params: {name : 'secret'}})">用户隐私协议</view>
<view @click="$Router.push({name: 'agreement', params: {name : 'service'}})">用户服务协议</view>
</view>
</view>
</template>

View File

@@ -139,8 +139,8 @@
})
} else {
// 跳转到个人认证信息页面
uni.navigateTo({
url: '/pages/certification/personal'
this.$Router.push({
name:'Personal'
})
}
},
@@ -149,13 +149,16 @@
console.log(code, '是否企业认证')
if (code === -1) {
// 跳转到企业认证页面
uni.navigateTo({
url: '/pages/company/approve'
this.$Router.push({
name:'companyApprove'
})
} else if (code === 2) {
// 跳转到企业认证页面
uni.navigateTo({
url: '/pages/company/approve?form_type=put'
this.$Router.push({
name:'companyApprove',
params:{
form_type:'put'
}
})
} else if (code === 0) {
this.$refs.uToast.show({
@@ -278,9 +281,7 @@
},
loginOut() {
this.$store.commit('setToken', '')
uni.reLaunch({
url: '/pages/login/login'
})
this.$Router.push({name: 'Login'})
},
// 上传头像
updImgs(type) {

View File

@@ -1,5 +1,5 @@
<template>
<view>
<view class="background">
<view class="codeContent">
<!-- 邀请码图 -->
<view class="codeBack">
@@ -98,13 +98,14 @@
}
</script>
<style>
page {
background-image: linear-gradient(to top, #7c52fc, #976dff);
}
</style>
<style lang="scss">
// 背景色
.background{
min-height: 100vh;
background: linear-gradient(to top, #7c52fc, #976dff);
}
// 背景
.codeImg {
width: 100%;

View File

@@ -149,8 +149,8 @@
},
// 核销记录
goHistory() {
uni.navigateTo({
url:'/pages/verification/history'
this.$Router.push({
name:'verificationHistory'
})
}
}

View File

@@ -63,9 +63,14 @@
<view class="privilege-name">
升级条件
</view>
<view class="privilege-label" :class="{'active' : item.finish == true}" v-for="(item, index) in identitie[tabsIndex].get_condition" :key="index">
&{{item.message}}
</view>
<block v-if="openCondition.energy_shard">
<view class="privilege-label" :class="{'active' : openCondition.energy_shard.finish}">{{openCondition.energy_shard.message}}<uni-icons v-if="openCondition.energy_shard.finish" type="checkmarkempty" size="17" color="#f6b338"></uni-icons></view>
<view class="privilege-label" :class="{'active' : openCondition.price.finish}" v-if="!openCondition.energy_shard.finish">{{openCondition.price.message}}</view>
<view class="privilege-label" v-else>{{openCondition.service_charge.message}}</view>
</block>
<block v-else>
<view class="privilege-label" :class="{'active' : openCondition.price.finish}">{{openCondition.price.message}}</view>
</block>
</view>
</view>
<view class="privilege-list">
@@ -128,6 +133,7 @@
canFromImg : {
showpath: '',
path : ''
},
openCondition: {}
}
},
@@ -138,11 +144,23 @@
methods: {
// 当前用户信息
idenInfo(){
identities().then(res => {
identities().then(res => {
res.identities.map(item => {
item.obj_condition = new Object
for(let val of item.get_condition){
item.obj_condition[val.name] = {
message: val.message,
finish: val.finish
}
}
return item
})
this.identitie = res.identities
this.openCondition = res.identities[this.tabsIndex].obj_condition
this.rights = res.identities[this.tabsIndex].rights
this.total = res.identities[this.tabsIndex].price
this.canBtn = res.identities[this.tabsIndex].can
this.loding = false
}).catch(err =>{
uni.showToast({
@@ -169,9 +187,7 @@
icon : 'none'
})
return
}
}
if(can.on_line) {
if(can.on_line) {
if(can.buy) {
// 开通vip提交
@@ -183,7 +199,6 @@
icon : 'none'
})
}
} else {
} else {
if(can.buy) {
// 上传凭证
@@ -195,7 +210,6 @@
})
}
}
return
return
},
// 开通vip提交

View File

@@ -79,8 +79,11 @@
},
// 跳转到编辑银行卡的页面
editBank(id) {
uni.navigateTo({
url: '/pages/wallet/addBank?id=' + id
this.$Router.push({
name: 'addBank',
params:{
id:id
}
})
},
// 删除银行

View File

@@ -138,13 +138,13 @@
success: (res) => {
if (res.confirm) {
uni.showLoading({
title:'提交中'
title: '提交中'
})
withdrawsIndex(data).then(res => {
uni.showToast({
title: res,
icon: 'none',
duration:3000
duration: 3000
})
this.withdraw_input = ''
this.total = ''
@@ -165,20 +165,20 @@
},
// 添加银行卡
addBanks() {
uni.navigateTo({
url: '/pages/wallet/addBank'
this.$Router.push({
name: 'addBank'
})
},
// 选择银行卡
bankLists() {
uni.navigateTo({
url: '/pages/wallet/bankList'
this.$Router.push({
name: 'bankList'
})
},
// 提现记录
withdrawDetail() {
uni.navigateTo({
url: '/pages/wallet/withdrawList'
this.$Router.push({
name: 'withdrawList'
})
}
}

View File

2
unpackage/dist/build/h5/index.html vendored Normal file
View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>BlockChainH5</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.f4fc78fe.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.fa7b169e.js></script><script src=/static/js/index.90de528e.js></script></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More