Merge branch 'main' of https://git.yuzhankeji.cn/TmOct5/BlockChainH5
@@ -39,13 +39,6 @@ const vipCont = (id, data) =>{
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 会员开通协议
|
|
||||||
const userAgree = () =>{
|
|
||||||
return request({
|
|
||||||
url : 'articles/agreement/openvip'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
// 上传打款凭证
|
// 上传打款凭证
|
||||||
const vipVoucher = (data) =>{
|
const vipVoucher = (data) =>{
|
||||||
return request({
|
return request({
|
||||||
@@ -55,11 +48,18 @@ const vipVoucher = (data) =>{
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 用户协议
|
||||||
|
const userAgree = (apiUrl) => {
|
||||||
|
return request({
|
||||||
|
url: apiUrl
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export {
|
export {
|
||||||
identities,
|
identities,
|
||||||
vipOrder,
|
vipOrder,
|
||||||
vipWechatPay,
|
vipWechatPay,
|
||||||
vipCont,
|
vipCont,
|
||||||
userAgree,
|
vipVoucher,
|
||||||
vipVoucher
|
userAgree
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,12 @@
|
|||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
"versionCode" : "100",
|
"versionCode" : "100",
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
|
"h5": {
|
||||||
|
"title": "链商星球",
|
||||||
|
"router": {
|
||||||
|
"mode": "history"
|
||||||
|
}
|
||||||
|
},
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"usingComponents" : true,
|
"usingComponents" : true,
|
||||||
|
|||||||
136
pages.json
@@ -8,189 +8,210 @@
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/found/index",
|
"path": "pages/found/index",
|
||||||
"name": "Found",
|
"name": "Found",
|
||||||
|
"aliasPath": "/found",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "发现更多"
|
"navigationBarTitleText": "发现更多"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/user/index",
|
"path": "pages/user/index",
|
||||||
"name": "User",
|
"name": "User",
|
||||||
|
"aliasPath": "/user",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "节点中心"
|
"navigationBarTitleText": "节点中心"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/user/code",
|
"path": "pages/user/code",
|
||||||
"name": "userCode",
|
"name": "userCode",
|
||||||
|
"aliasPath": "/user/code",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "邀请好友"
|
"navigationBarTitleText": "邀请好友"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/user/help",
|
"path": "pages/user/help",
|
||||||
"name": "userHelp",
|
"name": "userHelp",
|
||||||
|
"aliasPath": "/user/help",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "帮助中心"
|
"navigationBarTitleText": "帮助中心"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/user/partner",
|
"path": "pages/user/partner",
|
||||||
"name": "userPartner",
|
"name": "userPartner",
|
||||||
|
"aliasPath": "/user/partner",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的伙伴"
|
"navigationBarTitleText": "我的伙伴"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/user/clause",
|
"path": "pages/user/clause",
|
||||||
"name": "userClause",
|
"name": "userClause",
|
||||||
|
"aliasPath": "/user/clause",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "服务条款"
|
"navigationBarTitleText": "服务条款"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/user/followOfficial",
|
"path": "pages/user/followOfficial",
|
||||||
"name": "Official",
|
"name": "Official",
|
||||||
|
"aliasPath": "/user/followOfficial",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "关注公众号"
|
"navigationBarTitleText": "关注公众号"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/vip/vip",
|
"path": "pages/vip/vip",
|
||||||
"name": "vipIndex",
|
"name": "vipIndex",
|
||||||
|
"aliasPath": "/vip",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "开通节点"
|
"navigationBarTitleText": "开通节点"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/vip/agree",
|
"path": "pages/vip/agree",
|
||||||
"name": "vipAgree",
|
"name": "vipAgree",
|
||||||
|
"aliasPath": "/vip/agree",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "服务条款"
|
"navigationBarTitleText": "用户协议"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/vip/examine",
|
"path": "pages/vip/examine",
|
||||||
"name": "Examine",
|
"name": "Examine",
|
||||||
|
"aliasPath": "/vip/examine",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "提交成功"
|
"navigationBarTitleText": "提交成功"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/setting/setting",
|
"path": "pages/setting/setting",
|
||||||
"name": "setting",
|
"name": "setting",
|
||||||
|
"aliasPath": "/setting",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "设置中心"
|
"navigationBarTitleText": "设置中心"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/goods/management",
|
"path": "pages/goods/management",
|
||||||
"name": "goodsManagement",
|
"name": "goodsManagement",
|
||||||
|
"aliasPath": "/goods/management",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "商品权证管理"
|
"navigationBarTitleText": "商品权证管理"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/goods/addClassify",
|
"path": "pages/goods/addClassify",
|
||||||
"name": "goodsaddClassify",
|
"name": "goodsaddClassify",
|
||||||
|
"aliasPath": "/goods/add-classify",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "发布商品类目"
|
"navigationBarTitleText": "发布商品类目"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/goods/add",
|
"path": "pages/goods/add",
|
||||||
"name": "goodsAdd",
|
"name": "goodsAdd",
|
||||||
|
"aliasPath": "/goods/add",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "商品权证创建"
|
"navigationBarTitleText": "商品权证创建"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/goods/goodsAuth",
|
"path": "pages/goods/goodsAuth",
|
||||||
"name": "goodsAddAuth",
|
"name": "goodsAddAuth",
|
||||||
|
"aliasPath": "/goods/goods-auth",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "商品权证认证"
|
"navigationBarTitleText": "商品权证认证"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/coupons/management",
|
"path": "pages/coupons/management",
|
||||||
"name": "couponsManagement",
|
"name": "couponsManagement",
|
||||||
|
"aliasPath": "/coupons/management",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "创建优惠券"
|
"navigationBarTitleText": "创建优惠券"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/coupons/add",
|
"path": "pages/coupons/add",
|
||||||
"name": "couponsAdd",
|
"name": "couponsAdd",
|
||||||
|
"aliasPath": "/coupons/add",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "创建优惠券"
|
"navigationBarTitleText": "创建优惠券"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/coupons/magDetails",
|
"path": "pages/coupons/magDetails",
|
||||||
"name": "couponsDetails",
|
"name": "couponsDetails",
|
||||||
|
"aliasPath": "/coupons/mag-details",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "优惠券详情"
|
"navigationBarTitleText": "优惠券详情"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/coupons/selectGoods",
|
"path": "pages/coupons/selectGoods",
|
||||||
"name": "couponsSelectGoods",
|
"name": "couponsSelectGoods",
|
||||||
|
"aliasPath": "/coupons/select-goods",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "关联产品"
|
"navigationBarTitleText": "关联产品"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/login/login",
|
"path": "pages/login/login",
|
||||||
"name": "Login",
|
"name": "Login",
|
||||||
|
"aliasPath": "/login",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "登录"
|
"navigationBarTitleText": "登录"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/login/guide",
|
"path": "pages/login/guide",
|
||||||
"name": "loginGuide",
|
"name": "loginGuide",
|
||||||
|
"aliasPath": "/login/guide",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "引导页"
|
"navigationBarTitleText": "引导页"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/login/agreement",
|
"path": "pages/login/agreement",
|
||||||
"name": "agreement",
|
"name": "agreement",
|
||||||
|
"aliasPath": "/login/agreement",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "用户隐藏协议"
|
"navigationBarTitleText": "用户隐藏协议"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/certification/personal",
|
"path": "pages/certification/personal",
|
||||||
"name": "Personal",
|
"name": "Personal",
|
||||||
|
"aliasPath": "/personal",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "个人认证"
|
"navigationBarTitleText": "个人认证"
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
"path": "pages/setting/setting",
|
|
||||||
"name": "setting",
|
|
||||||
"auth": true,
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "设置中心"
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/setting/aboutUs",
|
"path": "pages/setting/aboutUs",
|
||||||
"name": "aboutUs",
|
"name": "aboutUs",
|
||||||
|
"aliasPath": "/setting/about-us",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "关于我们"
|
"navigationBarTitleText": "关于我们"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/company/approve",
|
"path": "pages/company/approve",
|
||||||
"name": "companyApprove",
|
"name": "companyApprove",
|
||||||
|
"aliasPath": "/company/approve",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "企业认证"
|
"navigationBarTitleText": "企业认证"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/news/index",
|
"path": "pages/news/index",
|
||||||
"name": "news",
|
"name": "news",
|
||||||
|
"aliasPath": "/news/index",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "消息中心"
|
"navigationBarTitleText": "消息中心"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/news/detail",
|
"path": "pages/news/detail",
|
||||||
"name": "newsDetail",
|
"name": "newsDetail",
|
||||||
|
"aliasPath": "/news/detail",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "消息列表"
|
"navigationBarTitleText": "消息列表"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/wallet/property",
|
"path": "pages/wallet/property",
|
||||||
"name": "walletProperty",
|
"name": "walletProperty",
|
||||||
|
"aliasPath": "/wallet/property",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "能量钱包",
|
"navigationBarTitleText": "能量钱包",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
@@ -198,7 +219,8 @@
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/wallet/extract",
|
"path": "pages/wallet/extract",
|
||||||
"name": "Extract",
|
"name": "Extract",
|
||||||
|
"aliasPath": "/wallet/extract",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "提现能量",
|
"navigationBarTitleText": "提现能量",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
@@ -207,69 +229,78 @@
|
|||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/verification/index",
|
"path": "pages/verification/index",
|
||||||
"name": "verificationIndex",
|
"name": "verificationIndex",
|
||||||
|
"aliasPath": "/verification/index",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "扫码核销"
|
"navigationBarTitleText": "扫码核销"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/verification/history",
|
"path": "pages/verification/history",
|
||||||
"name": "verificationHistory",
|
"name": "verificationHistory",
|
||||||
|
"aliasPath": "/verification/history",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "核销记录"
|
"navigationBarTitleText": "核销记录"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/shop/lists",
|
"path": "pages/shop/lists",
|
||||||
"name": "shopLists",
|
"name": "shopLists",
|
||||||
|
"aliasPath": "/shop/lists",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "部门/门店"
|
"navigationBarTitleText": "部门/门店"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/shop/create",
|
"path": "pages/shop/create",
|
||||||
"name": "shopCreate",
|
"name": "shopCreate",
|
||||||
|
"aliasPath": "/shop/create",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "创建部门/门店"
|
"navigationBarTitleText": "创建部门/门店"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/employees/list",
|
"path": "pages/employees/list",
|
||||||
"name": "employeesList",
|
"name": "employeesList",
|
||||||
|
"aliasPath": "/employees/list",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "员工管理"
|
"navigationBarTitleText": "员工管理"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/employees/add",
|
"path": "pages/employees/add",
|
||||||
"name": "employeesAdd",
|
"name": "employeesAdd",
|
||||||
|
"aliasPath": "/employees/add",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "添加员工"
|
"navigationBarTitleText": "添加员工"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/instrument/Spread",
|
"path": "pages/instrument/Spread",
|
||||||
"name": "instrumentSpread",
|
"name": "instrumentSpread",
|
||||||
|
"aliasPath": "/instrument/spread",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "营销推广码"
|
"navigationBarTitleText": "营销推广码"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"path": "pages/instrument/basics",
|
"path": "pages/instrument/basics",
|
||||||
"name": "instrumentBasics",
|
"name": "instrumentBasics",
|
||||||
|
"aliasPath": "/instrument/basics",
|
||||||
"auth": true,
|
"auth": true,
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "基础信息"
|
"navigationBarTitleText": "基础信息"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/wallet/fragment",
|
"path": "pages/wallet/fragment",
|
||||||
|
"name": "Fragment",
|
||||||
|
"aliasPath": "/wallet/fragment",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "能量碎片记录",
|
"navigationBarTitleText": "能量碎片记录",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#774ffd",
|
"navigationBarBackgroundColor": "#774ffd",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
},
|
}
|
||||||
"name": "Fragment"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/wallet/addBank",
|
"path": "pages/wallet/addBank",
|
||||||
@@ -279,7 +310,8 @@
|
|||||||
"navigationBarBackgroundColor": "#774ffd",
|
"navigationBarBackgroundColor": "#774ffd",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
},
|
},
|
||||||
"name": "addBank"
|
"name": "addBank",
|
||||||
|
"aliasPath": "/wallet/add-bank"
|
||||||
},{
|
},{
|
||||||
"path": "pages/wallet/bankList",
|
"path": "pages/wallet/bankList",
|
||||||
"style": {
|
"style": {
|
||||||
@@ -288,7 +320,8 @@
|
|||||||
"navigationBarBackgroundColor": "#774ffd",
|
"navigationBarBackgroundColor": "#774ffd",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
},
|
},
|
||||||
"name": "bankList"
|
"name": "bankList",
|
||||||
|
"aliasPath": "/wallet/bank/list"
|
||||||
},{
|
},{
|
||||||
"path": "pages/wallet/withdrawList",
|
"path": "pages/wallet/withdrawList",
|
||||||
"style": {
|
"style": {
|
||||||
@@ -297,7 +330,8 @@
|
|||||||
"navigationBarBackgroundColor": "#774ffd",
|
"navigationBarBackgroundColor": "#774ffd",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
},
|
},
|
||||||
"name": "withdrawList"
|
"name": "withdrawList",
|
||||||
|
"aliasPath": "/wallet/withdraw/list"
|
||||||
}],
|
}],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
|
|||||||
@@ -26,8 +26,11 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 用户登录注册协议 -->
|
<!-- 用户登录注册协议 -->
|
||||||
<view class="agreement">未注册的手机号验证后将自动创建账号,登录即表示同意接收<navigator url="/pages/login/agreement?name=secret">用户隐私协议</navigator>和<navigator url="/pages/login/agreement?name=service">用户服务协议
|
<view class="agreement">
|
||||||
</navigator>
|
未注册的手机号验证后将自动创建账号,登录即表示同意接收
|
||||||
|
<view @click="$Router.push({name: 'agreement', params: {name : 'secret'}})">用户隐私协议</view>
|
||||||
|
和
|
||||||
|
<view @click="$Router.push({name: 'agreement', params: {name : 'service'}})">用户服务协议</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -253,8 +256,7 @@
|
|||||||
padding-top: $padding * 2;
|
padding-top: $padding * 2;
|
||||||
font-size: $title-size-sm;
|
font-size: $title-size-sm;
|
||||||
color: $text-gray;
|
color: $text-gray;
|
||||||
|
view {
|
||||||
navigator {
|
|
||||||
color: $text-price;
|
color: $text-price;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0 10rpx;
|
padding: 0 10rpx;
|
||||||
|
|||||||
@@ -278,9 +278,7 @@
|
|||||||
},
|
},
|
||||||
loginOut() {
|
loginOut() {
|
||||||
this.$store.commit('setToken', '')
|
this.$store.commit('setToken', '')
|
||||||
uni.reLaunch({
|
this.$Router.push({name: 'Login'})
|
||||||
url: '/pages/login/login'
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
// 上传头像
|
// 上传头像
|
||||||
updImgs(type) {
|
updImgs(type) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view class="background">
|
||||||
<view class="codeContent">
|
<view class="codeContent">
|
||||||
<!-- 邀请码图 -->
|
<!-- 邀请码图 -->
|
||||||
<view class="codeBack">
|
<view class="codeBack">
|
||||||
@@ -98,13 +98,14 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
|
||||||
page {
|
|
||||||
background-image: linear-gradient(to top, #7c52fc, #976dff);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
||||||
|
// 背景色
|
||||||
|
.background{
|
||||||
|
min-height: 100vh;
|
||||||
|
background: linear-gradient(to top, #7c52fc, #976dff);
|
||||||
|
}
|
||||||
|
|
||||||
// 背景
|
// 背景
|
||||||
.codeImg {
|
.codeImg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -967,7 +967,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 196px;
|
top: 200px;
|
||||||
// padding-top: var(--status-bar-height);
|
// padding-top: var(--status-bar-height);
|
||||||
background-color: #F8F8F8;
|
background-color: #F8F8F8;
|
||||||
transition: .5s;
|
transition: .5s;
|
||||||
|
|||||||
@@ -15,7 +15,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
userAgree().then(res => {
|
let newUrl = ''
|
||||||
|
if(this.$Route.query.type == 'vipAgree') newUrl = 'articles/agreement/openvip'
|
||||||
|
if(this.$Route.query.type == 'loginPrivacy') newUrl = 'articles/agreement/secret'
|
||||||
|
if(this.$Route.query.type == 'loginService') newUrl = 'articles/agreement/service'
|
||||||
|
userAgree(newUrl).then(res => {
|
||||||
this.content = res.content
|
this.content = res.content
|
||||||
}).catch(err =>{
|
}).catch(err =>{
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
@@ -62,10 +62,15 @@
|
|||||||
<view class="privilege-text">
|
<view class="privilege-text">
|
||||||
<view class="privilege-name">
|
<view class="privilege-name">
|
||||||
升级条件
|
升级条件
|
||||||
</view>
|
</view>
|
||||||
<view class="privilege-label" :class="{'active' : item.finish == true}" v-for="(item, index) in identitie[tabsIndex].get_condition" :key="index">
|
<block v-if="openCondition.energy_shard">
|
||||||
&{{item.message}}
|
<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>
|
<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>
|
</view>
|
||||||
<view class="privilege-list">
|
<view class="privilege-list">
|
||||||
@@ -82,7 +87,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 用户协议 -->
|
<!-- 用户协议 -->
|
||||||
<view class="agree">
|
<view class="agree">
|
||||||
<view class="agree-tips" @click="$Router.push({name: 'vipAgree', params: {type : 'vipAgree'}})">
|
<view class="agree-tips" @click="$Router.push({name: 'vipAgree', params: {type : 'vipAgree'}})">
|
||||||
请仔细阅读并确认服务协议
|
请仔细阅读并确认服务协议
|
||||||
</view>
|
</view>
|
||||||
@@ -127,7 +132,8 @@
|
|||||||
canForm : false, // 凭证弹出
|
canForm : false, // 凭证弹出
|
||||||
canFromImg : {
|
canFromImg : {
|
||||||
showpath: '',
|
showpath: '',
|
||||||
path : ''
|
path : ''
|
||||||
|
},
|
||||||
openCondition: {}
|
openCondition: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -138,11 +144,23 @@
|
|||||||
methods: {
|
methods: {
|
||||||
// 当前用户信息
|
// 当前用户信息
|
||||||
idenInfo(){
|
idenInfo(){
|
||||||
identities().then(res => {
|
identities().then(res => {
|
||||||
this.loding = false
|
res.identities.map(item => {
|
||||||
this.identitie = res.identities
|
item.obj_condition = new Object
|
||||||
this.rights = res.identities[this.tabsIndex].rights
|
for(let val of item.get_condition){
|
||||||
this.total = res.identities[this.tabsIndex].price
|
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
|
this.loding = false
|
||||||
}).catch(err =>{
|
}).catch(err =>{
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -153,7 +171,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
// 切换开通身份
|
// 切换开通身份
|
||||||
swiperChange(e) {
|
swiperChange(e) {
|
||||||
this.tabsIndex = e.detail.current
|
this.tabsIndex = e.detail.current
|
||||||
// 获取当前用户信息
|
// 获取当前用户信息
|
||||||
this.idenInfo();
|
this.idenInfo();
|
||||||
@@ -169,9 +187,7 @@
|
|||||||
icon : 'none'
|
icon : 'none'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if(can.on_line) {
|
|
||||||
if(can.on_line) {
|
if(can.on_line) {
|
||||||
if(can.buy) {
|
if(can.buy) {
|
||||||
// 开通vip提交
|
// 开通vip提交
|
||||||
@@ -183,7 +199,6 @@
|
|||||||
icon : 'none'
|
icon : 'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
} else {
|
} else {
|
||||||
if(can.buy) {
|
if(can.buy) {
|
||||||
// 上传凭证
|
// 上传凭证
|
||||||
@@ -195,7 +210,6 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return
|
|
||||||
return
|
return
|
||||||
},
|
},
|
||||||
// 开通vip提交
|
// 开通vip提交
|
||||||
|
|||||||
@@ -171,9 +171,7 @@
|
|||||||
},
|
},
|
||||||
// 选择银行卡
|
// 选择银行卡
|
||||||
bankLists() {
|
bankLists() {
|
||||||
uni.navigateTo({
|
this.$Router.push({name: 'bankList'})
|
||||||
url: '/pages/wallet/bankList'
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
// 提现记录
|
// 提现记录
|
||||||
withdrawDetail() {
|
withdrawDetail() {
|
||||||
|
|||||||
0
unpackage/dist/build/.automator/h5/.automator.json
vendored
Normal file
2
unpackage/dist/build/h5/index.html
vendored
Normal 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>
|
||||||
BIN
unpackage/dist/build/h5/static/background/chain-back-00.png
vendored
Normal file
|
After Width: | Height: | Size: 202 KiB |
BIN
unpackage/dist/build/h5/static/background/chain-back-02.png
vendored
Normal file
|
After Width: | Height: | Size: 465 KiB |
BIN
unpackage/dist/build/h5/static/background/idcard-positive.png
vendored
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
unpackage/dist/build/h5/static/background/idcard-reverse.png
vendored
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
unpackage/dist/build/h5/static/fonts/uni.75745d34.ttf
vendored
Normal file
BIN
unpackage/dist/build/h5/static/icons/add-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
unpackage/dist/build/h5/static/icons/approve-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
unpackage/dist/build/h5/static/icons/audit-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
unpackage/dist/build/h5/static/icons/checked-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
unpackage/dist/build/h5/static/icons/crystal-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
unpackage/dist/build/h5/static/icons/equity_arrow_icon.png
vendored
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
unpackage/dist/build/h5/static/icons/equity_arrow_right.png
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
unpackage/dist/build/h5/static/icons/equity_arrow_up.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/h5/static/icons/equity_coupons_01.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/h5/static/icons/equity_coupons_02.png
vendored
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
unpackage/dist/build/h5/static/icons/equity_coupons_03.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/h5/static/icons/equity_nav.png
vendored
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
unpackage/dist/build/h5/static/icons/fire.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
unpackage/dist/build/h5/static/icons/gemstone-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
unpackage/dist/build/h5/static/icons/gemstone-ore-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
unpackage/dist/build/h5/static/icons/goods_buy.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/h5/static/icons/goods_close.png
vendored
Normal file
|
After Width: | Height: | Size: 558 B |
BIN
unpackage/dist/build/h5/static/icons/goods_row.png
vendored
Normal file
|
After Width: | Height: | Size: 686 B |
BIN
unpackage/dist/build/h5/static/icons/goods_spot.png
vendored
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
unpackage/dist/build/h5/static/icons/listnull-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
unpackage/dist/build/h5/static/icons/login-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
unpackage/dist/build/h5/static/icons/logs-null.png
vendored
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
unpackage/dist/build/h5/static/icons/order-null.png
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
unpackage/dist/build/h5/static/icons/payWay_icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
unpackage/dist/build/h5/static/icons/payWay_icon_01.png
vendored
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
unpackage/dist/build/h5/static/icons/property_poster.png
vendored
Normal file
|
After Width: | Height: | Size: 585 B |
BIN
unpackage/dist/build/h5/static/icons/search-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_codeBack.png
vendored
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_contBack.png
vendored
Normal file
|
After Width: | Height: | Size: 64 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_down.png
vendored
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_downBack.png
vendored
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_icon_icon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_icon_pen.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_icon_row.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_icon_vip.png
vendored
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
unpackage/dist/build/h5/static/icons/store_logistic.png
vendored
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
unpackage/dist/build/h5/static/icons/ticket-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
unpackage/dist/build/h5/static/icons/unchecked-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 944 B |
BIN
unpackage/dist/build/h5/static/icons/user_icon_00.png
vendored
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
unpackage/dist/build/h5/static/icons/wechat.png
vendored
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
unpackage/dist/build/h5/static/img/approve-icon.11876fd1.png
vendored
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
unpackage/dist/build/h5/static/img/chain-back-00.8e82e1c1.png
vendored
Normal file
|
After Width: | Height: | Size: 202 KiB |
BIN
unpackage/dist/build/h5/static/img/crystal-icon.9cbfd02a.png
vendored
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
unpackage/dist/build/h5/static/img/gemstone-icon.b8cd1612.png
vendored
Normal file
|
After Width: | Height: | Size: 8.2 KiB |
BIN
unpackage/dist/build/h5/static/img/gemstone-ore-icon.1bea6c28.png
vendored
Normal file
|
After Width: | Height: | Size: 7.3 KiB |
BIN
unpackage/dist/build/h5/static/img/idcard-positive.77715c80.png
vendored
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
unpackage/dist/build/h5/static/img/idcard-reverse.c67f6306.png
vendored
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
unpackage/dist/build/h5/static/img/listnull-icon.9c399fd5.png
vendored
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
unpackage/dist/build/h5/static/img/sign_tips.67ef8f79.png
vendored
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
unpackage/dist/build/h5/static/img/vipExamine.67410edb.png
vendored
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
unpackage/dist/build/h5/static/img/wechat.27a44584.png
vendored
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
unpackage/dist/build/h5/static/imgs/account-bg.png
vendored
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
unpackage/dist/build/h5/static/imgs/bankLogo.png
vendored
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
unpackage/dist/build/h5/static/imgs/cart_empty.png
vendored
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
unpackage/dist/build/h5/static/imgs/company-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
unpackage/dist/build/h5/static/imgs/crystal-sign.png
vendored
Normal file
|
After Width: | Height: | Size: 491 B |
BIN
unpackage/dist/build/h5/static/imgs/link-wechat.png
vendored
Normal file
|
After Width: | Height: | Size: 956 B |
BIN
unpackage/dist/build/h5/static/imgs/mine-about.png
vendored
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
unpackage/dist/build/h5/static/imgs/mine-self-name.png
vendored
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
unpackage/dist/build/h5/static/imgs/news_1.png
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
unpackage/dist/build/h5/static/imgs/news_2.png
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
unpackage/dist/build/h5/static/imgs/news_2_1.png
vendored
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
unpackage/dist/build/h5/static/imgs/news_3.png
vendored
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
unpackage/dist/build/h5/static/imgs/news_3_1.png
vendored
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
unpackage/dist/build/h5/static/imgs/no-avatar.png
vendored
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
unpackage/dist/build/h5/static/imgs/record-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
unpackage/dist/build/h5/static/imgs/reset-info.png
vendored
Normal file
|
After Width: | Height: | Size: 866 B |
BIN
unpackage/dist/build/h5/static/imgs/self-icon.png
vendored
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
unpackage/dist/build/h5/static/imgs/top_bg.png
vendored
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
unpackage/dist/build/h5/static/imgs/top_logo.png
vendored
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
unpackage/dist/build/h5/static/imgs/user-avatar.png
vendored
Normal file
|
After Width: | Height: | Size: 930 B |
BIN
unpackage/dist/build/h5/static/imgs/user-crystalMark-grey.png
vendored
Normal file
|
After Width: | Height: | Size: 1.6 KiB |