feat:小程序改造

This commit is contained in:
2026-07-23 14:00:03 +08:00
committed by charles
parent 3f335074ea
commit 553543b5b3
39 changed files with 1096 additions and 1231 deletions
+11 -11
View File
@@ -281,7 +281,7 @@
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "default" // 默认样式,会显示返回图标 "navigationStyle": "default"
} }
}, },
{ {
@@ -292,14 +292,14 @@
} }
}, },
{ {
"path": "setting/zhaopian", "path": "zhaopian/zhaopian",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "setting/zhao", "path": "zhao/zhao",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
@@ -355,7 +355,7 @@
} }
}, },
{ {
"path": "setting/express", "path": "express/express",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
@@ -383,49 +383,49 @@
} }
}, },
{ {
"path": "setting/out-agreement", "path": "outAgreement/outAgreement",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "setting/out-code", "path": "outCode/outCode",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "setting/set-name", "path": "setName/setName",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "setting/account-out", "path": "accountOut/accountOut",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "setting/forgot-pass", "path": "forgotPass/forgotPass",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "setting/account-safe", "path": "accountSafe/accountSafe",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
} }
}, },
{ {
"path": "setting/kefu", "path": "kefu/kefu",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
-94
View File
@@ -1,94 +0,0 @@
<template>
<view class="content">
<view class="lottery">
<dengbo-lotteryWheel :prizes="prizes" :size="626" :duration="5000" @run="Click" @done="Done"
ref="luckyWheel" :lightImgs="lightImages" customStyle="borderRadius: 50%;">
<template v-slot:bg>
<image src="https://static.tbmall.xin/static/turntable.png"
style="width: 100%; height: 100%" />
</template>
<template v-slot:pointer>
<up-image src="https://static.tbmall.xin/static/zz.png" width="40" height="40"
mode="widthFix" @click="startWheel"></up-image>
</template>
</dengbo-lotteryWheel>
</view>
</view>
</template>
<script>
export default {
data() {
return {
lightImages: ['https://static.tbmall.xin/static/zz.png', 'https://static.tbmall.xin/static/turntable.png'],
prizes: [{
name: '积分',
image: '/static/turntable/record.png',
pro: '50积分',
},
{
name: '积分',
image: '/static/turntable/record.png',
pro: '100积分',
},
{
name: '优惠券',
image: '/static/turntable/record.png',
pro: '15元优惠券',
},
{
name: '家用电器',
image: '/static/turntable/record.png',
pro: '微波炉',
},
{
name: '谢谢参与',
image: '/static/turntable/record.png',
pro: '15元优惠券',
},
{
name: '办公用品',
image: '/static/turntable/record.png',
pro: '机械键盘',
},
{
name: '生活用品',
image: '/static/turntable/record.png',
pro: '化妆刷',
},
],
}
},
onLoad() {
},
methods: {
startWheel() {
this.$refs.luckyWheel.run(2);
},
Click() {
console.log('用户点击了转盘');
this.$refs.luckyWheel.run(2);
},
Done(prize) {
console.log('抽奖结束,中奖奖品:', prize);
},
}
}
</script>
<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
}
.lottery {
position: relative;
display: inline-block;
width: 626rpx;
height: 626rpx;
margin-top: 100rpx;
}
</style>
File diff suppressed because it is too large Load Diff
@@ -66,9 +66,13 @@
<script> <script>
import { getActivityList, raffleExecute } from '@/api/raffle.js'; import { getActivityList, raffleExecute } from '@/api/raffle.js';
import dengboLotteryWheel from "@/pages/other_package/components/dengbo-lotteryWheel/components/dengbo-lotteryWheel/dengbo-lotteryWheel.vue";
export default { export default {
components: {
dengboLotteryWheel,
},
data() { data() {
return { return {
lightImages: ['https://static.tbmall.xin/static/bg_bs.png', 'https://static.tbmall.xin/static/bg_hs.png'], lightImages: ['https://static.tbmall.xin/static/bg_bs.png', 'https://static.tbmall.xin/static/bg_hs.png'],
@@ -1,166 +1,166 @@
<template> <template>
<view class="content"> <view class="content">
<TopSafe></TopSafe> <TopSafe></TopSafe>
<Header title="注销账号" /> <Header title="注销账号" />
<view class="setting-view"> <view class="setting-view">
<view class="name-box"> <view class="name-box">
<view class="top-view"> <view class="top-view">
<u-icon name="error-circle-fill" color="#e88900" size="54"></u-icon> <u-icon name="error-circle-fill" color="#e88900" size="54"></u-icon>
<text class="text-36 text-zu text-bold mt-12">注销信任桥账号</text> <text class="text-36 text-zu text-bold mt-12">注销信任桥账号</text>
</view> </view>
<view class="mid-view"> <view class="mid-view">
<text class="text-fu text-28">账号注销后不可恢复,请您谨慎操作。注销成功后,您将无法登录或使用原账号,账号内的信息和权益将均无法找回:</text> <text class="text-fu text-28">账号注销后不可恢复,请您谨慎操作。注销成功后,您将无法登录或使用原账号,账号内的信息和权益将均无法找回:</text>
<text class="text-fu text-28 mt-48">1.账号将无法登录 </text> <text class="text-fu text-28 mt-48">1.账号将无法登录 </text>
<text class="text-fu text-28">2.历史订单将无法查询 </text> <text class="text-fu text-28">2.历史订单将无法查询 </text>
<text class="text-fu text-28">3.放弃会员等级权益和会员积分 </text> <text class="text-fu text-28">3.放弃会员等级权益和会员积分 </text>
<text class="text-fu text-28">4.放弃钱包余额、优惠券等资产 </text> <text class="text-fu text-28">4.放弃钱包余额、优惠券等资产 </text>
</view> </view>
<text class="text-fu text-28 mt-32">*详细注销信息可阅读 <text class="text-fu text-28 mt-32">*详细注销信息可阅读
<text class="text-zi" @click="onJump">《信任桥账号注销协议》</text> <text class="text-zi" @click="onJump">《信任桥账号注销协议》</text>
</text> </text>
</view> </view>
</view> </view>
<view class="bottom-btn"> <view class="bottom-btn">
<MyBtn text="已清楚风险,确定注销" @ok="onZhu"></MyBtn> <MyBtn text="已清楚风险,确定注销" @ok="onZhu"></MyBtn>
</view> </view>
<u-modal :show="tipsShow" title="提示" showCancelButton @cancel="onCancel" @confirm="onConfirm" :content='content'></u-modal> <u-modal :show="tipsShow" title="提示" showCancelButton @cancel="onCancel" @confirm="onConfirm" :content='content'></u-modal>
<up-toast ref="uToastRef"></up-toast> <up-toast ref="uToastRef"></up-toast>
</view> </view>
</template> </template>
<script> <script>
import { getUserInfo,updateName,deleteAccount } from '@/api/auth.js'; import { getUserInfo,updateName,deleteAccount } from '@/api/auth.js';
import Header from '@/components/common/header.vue'; import Header from '@/components/common/header.vue';
import { clear } from '@/utils/auth.js'; import { clear } from '@/utils/auth.js';
import TopSafe from '@/components/common/top-safe.nvue' import TopSafe from '@/components/common/top-safe.nvue'
import MyBtn from '@/components/common/my-btn.vue' import MyBtn from '@/components/common/my-btn.vue'
import func from '@/utils/func.js'; import func from '@/utils/func.js';
export default { export default {
components: { Header, TopSafe,MyBtn }, components: { Header, TopSafe,MyBtn },
data() { data() {
return { return {
userInfo: null, userInfo: null,
inputText:'', inputText:'',
tipsShow:false, tipsShow:false,
content:'是否确定注销账号?' content:'是否确定注销账号?'
}; };
}, },
onShow() { onShow() {
}, },
onLoad() { onLoad() {
this.init(); this.init();
// this.userinfo(); // this.userinfo();
}, },
methods: { methods: {
init() { init() {
this.userinfo() this.userinfo()
}, },
onJump(){ onJump(){
uni.navigateTo({ uni.navigateTo({
url:'/pages/rwa_package/setting/out-agreement' url:'/pages/rwa_package/outAgreement/outAgreement'
}) })
}, },
onZhu(){ onZhu(){
this.tipsShow = true; this.tipsShow = true;
}, },
onConfirm(){ onConfirm(){
// uni.navigateTo({ // uni.navigateTo({
// url:'/pages/rwa_package/setting/out-code' // url:'/pages/rwa_package/outCode/outCode'
// }) // })
this.onCancel(); this.onCancel();
deleteAccount().then(res=>{ deleteAccount().then(res=>{
if (res.bizcode == 100) { if (res.bizcode == 100) {
clear() clear()
this.$refs.uToastRef.show({ this.$refs.uToastRef.show({
type: 'success', type: 'success',
message: "注销成功", message: "注销成功",
}); });
setTimeout(()=>{ setTimeout(()=>{
uni.redirectTo({ uni.redirectTo({
url:'/pages/login_package/login/login' url:'/pages/login_package/login/login'
}) })
},2000) },2000)
} }
}) })
}, },
onCancel(){ onCancel(){
this.tipsShow = false; this.tipsShow = false;
}, },
userinfo() { userinfo() {
getUserInfo().then(res => { getUserInfo().then(res => {
if (res.bizcode == 100) { if (res.bizcode == 100) {
this.userInfo = res.data; this.userInfo = res.data;
this.inputText = this.userInfo.nickname; this.inputText = this.userInfo.nickname;
} }
}) })
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.bottom-btn{ .bottom-btn{
width: 100%; width: 100%;
margin-bottom:92rpx; margin-bottom:92rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
} }
.setting-view { .setting-view {
width: 100%; width: 100%;
height: calc(100% - 88rpx - 92rpx - 88rpx - var(--status-bar-height)); height: calc(100% - 88rpx - 92rpx - 88rpx - var(--status-bar-height));
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
overflow-y: auto; overflow-y: auto;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
.name-box{ .name-box{
width:100%; width:100%;
border-radius: 16rpx; border-radius: 16rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #fff; background-color: #fff;
padding: 64rpx 32rpx; padding: 64rpx 32rpx;
box-sizing: border-box; box-sizing: border-box;
margin-top:24rpx; margin-top:24rpx;
.mid-view{ .mid-view{
width:100%; width:100%;
padding: 40rpx 32rpx; padding: 40rpx 32rpx;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border:2rpx solid #eaeaea; border:2rpx solid #eaeaea;
border-radius: 16rpx; border-radius: 16rpx;
margin-top:48rpx; margin-top:48rpx;
} }
.top-view{ .top-view{
width:100%; width:100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.input-view{ .input-view{
border-radius: 20rpx; border-radius: 20rpx;
margin-top:52rpx; margin-top:52rpx;
width:100%; width:100%;
padding: 0 32rpx; padding: 0 32rpx;
min-height:104rpx; min-height:104rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
background-color: #f5f5f5; background-color: #f5f5f5;
box-sizing: border-box; box-sizing: border-box;
} }
} }
} }
</style> </style>
@@ -1,149 +1,149 @@
<template> <template>
<view class="content"> <view class="content">
<TopSafe></TopSafe> <TopSafe></TopSafe>
<Header title="设置" /> <Header title="设置" />
<view class="setting-view"> <view class="setting-view">
<view class="item-list mt-24"> <view class="item-list mt-24">
<view class="flex-r-lr item-box" @click="onHead(index)" <view class="flex-r-lr item-box" @click="onHead(index)"
v-for="(item,index) in headList" :key="index" v-for="(item,index) in headList" :key="index"
:style="{borderWidth:index == headList.length - 1 ? '0' : '2rpx'}" :style="{borderWidth:index == headList.length - 1 ? '0' : '2rpx'}"
> >
<view class="flex-r" > <view class="flex-r" >
<text class="text-zu1 text-32">{{item.text}}</text> <text class="text-zu1 text-32">{{item.text}}</text>
<view class="yi-view" v-if="item.type == 'text1' && item.she"> <view class="yi-view" v-if="item.type == 'text1' && item.she">
<text class="text-zi text-24">{{item.she}}</text> <text class="text-zi text-24">{{item.she}}</text>
</view> </view>
</view> </view>
<view class="flex-r-e" style="align-items: center;"> <view class="flex-r-e" style="align-items: center;">
<text class="text-zu text-32" v-if="item.type == 'text'">{{item.value}}</text> <text class="text-zu text-32" v-if="item.type == 'text'">{{item.value}}</text>
<text class="text-fu text-32" v-if="item.type == 'text1'">{{item.value}}</text> <text class="text-fu text-32" v-if="item.type == 'text1'">{{item.value}}</text>
<u-icon size="16" name="arrow-right" color="#666" style="margin-left:12rpx"></u-icon> <u-icon size="16" name="arrow-right" color="#666" style="margin-left:12rpx"></u-icon>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<up-toast ref="uToastRef"></up-toast> <up-toast ref="uToastRef"></up-toast>
</view> </view>
</template> </template>
<script> <script>
import { getUserInfo } from '@/api/auth.js'; import { getUserInfo } from '@/api/auth.js';
import Header from '@/components/common/header.vue'; import Header from '@/components/common/header.vue';
import TopSafe from '@/components/common/top-safe.nvue' import TopSafe from '@/components/common/top-safe.nvue'
import MyBtn from '@/components/common/my-btn.vue' import MyBtn from '@/components/common/my-btn.vue'
import func from '@/utils/func.js'; import func from '@/utils/func.js';
export default { export default {
components: { Header, TopSafe,MyBtn }, components: { Header, TopSafe,MyBtn },
data() { data() {
return { return {
type: false, type: false,
userInfo: null, userInfo: null,
headList:[ headList:[
{text:'注册手机号',type:'text',value:''}, {text:'注册手机号',type:'text',value:''},
{text:'交易密码设置',type:'text1',she:'',value:'设置密码'}, {text:'交易密码设置',type:'text1',she:'',value:'设置密码'},
{text:'登录密码设置',type:'text1',she:'',value:'设置密码'}, {text:'登录密码设置',type:'text1',she:'',value:'设置密码'},
{text:'注销账号',type:'text',value:''}, {text:'注销账号',type:'text',value:''},
], ],
bottomList:[ bottomList:[
{text:'账号与安全'}, {text:'账号与安全'},
{text:'我的合同'}, {text:'我的合同'},
{text:'用户协议'}, {text:'用户协议'},
{text:'隐私协议'}, {text:'隐私协议'},
{text:'售后保障协议'}, {text:'售后保障协议'},
{text:'关于我们'}, {text:'关于我们'},
] ]
}; };
}, },
onShow() { onShow() {
}, },
onLoad() { onLoad() {
this.init(); this.init();
// this.userinfo(); // this.userinfo();
}, },
methods: { methods: {
init() { init() {
this.userinfo() this.userinfo()
}, },
onHead(index){ onHead(index){
if(index == 1){ if(index == 1){
uni.navigateTo({ uni.navigateTo({
url:`/pages/rwa_package/setting/forgot-pass?type=1` url:`/pages/rwa_package/forgotPass/forgotPass?type=1`
}) })
}else if(index == 2){ }else if(index == 2){
uni.navigateTo({ uni.navigateTo({
url:`/pages/rwa_package/setting/forgot-pass?type=2` url:`/pages/rwa_package/forgotPass/forgotPass?type=2`
}) })
}else if(index == 3){ }else if(index == 3){
uni.navigateTo({ uni.navigateTo({
url:`/pages/rwa_package/setting/account-out` url:`/pages/rwa_package/setting/account-out`
}) })
} }
}, },
userinfo() { userinfo() {
getUserInfo().then(res => { getUserInfo().then(res => {
if (res.bizcode == 100) { if (res.bizcode == 100) {
this.userInfo = res.data; this.userInfo = res.data;
this.headList[0].value = this.userInfo.mobile; this.headList[0].value = this.userInfo.mobile;
this.headList[0].value = this.headList[0].value.replace(this.headList[0].value.substring(3,7),'****') this.headList[0].value = this.headList[0].value.replace(this.headList[0].value.substring(3,7),'****')
if(res.data.tradePassword){ if(res.data.tradePassword){
this.headList[1].she = '已设置'; this.headList[1].she = '已设置';
this.headList[1].value = '修改密码'; this.headList[1].value = '修改密码';
}else{ }else{
this.headList[1].value = '设置密码'; this.headList[1].value = '设置密码';
} }
if(res.data.password){ if(res.data.password){
this.headList[2].she = '已设置'; this.headList[2].she = '已设置';
this.headList[2].value = '修改密码'; this.headList[2].value = '修改密码';
}else{ }else{
this.headList[2].value = '设置密码'; this.headList[2].value = '设置密码';
} }
} }
}) })
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.yi-view{ .yi-view{
width:104rpx; width:104rpx;
height:44rpx; height:44rpx;
display: flex; display: flex;
background: rgba(122,53,246,0.1); background: rgba(122,53,246,0.1);
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border-radius: 8rpx; border-radius: 8rpx;
margin-left:12rpx; margin-left:12rpx;
} }
.setting-view { .setting-view {
width: 100%; width: 100%;
height: calc(100% - 88rpx - var(--status-bar-height)); height: calc(100% - 88rpx - var(--status-bar-height));
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
overflow-y: auto; overflow-y: auto;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
.item-list{ .item-list{
width:100%; width:100%;
border-radius: 16rpx; border-radius: 16rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #fff; background-color: #fff;
.item-box{ .item-box{
min-height:108rpx; min-height:108rpx;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
align-items: center; align-items: center;
border-bottom:solid #EAEAEA; border-bottom:solid #EAEAEA;
.ava-img{ .ava-img{
width:60rpx; width:60rpx;
height:60rpx; height:60rpx;
border-radius: 30rpx; border-radius: 30rpx;
} }
} }
} }
} }
</style> </style>
+26 -9
View File
@@ -16,7 +16,7 @@
</template> </template>
</Header> </Header>
<view class="top-line"></view> <view class="top-line"></view>
<view class="contract-view" v-if="topSelect == 0"> <scroll-view scroll-y="true" class="contract-view" v-if="topSelect == 0">
<view class="top-head"> <view class="top-head">
<text class="text-32 text-gray text-bold">股权分布</text> <text class="text-32 text-gray text-bold">股权分布</text>
<text class="text-28 text-fu">51%的股权回馈消费者(免费赠予)。<text v-if="currentUserData?.isNewUser">股权以积分形式发放</text></text> <text class="text-28 text-fu">51%的股权回馈消费者(免费赠予)。<text v-if="currentUserData?.isNewUser">股权以积分形式发放</text></text>
@@ -29,6 +29,7 @@
:canvas2d="isCanvas2d" :canvas2d="isCanvas2d"
:resshow="delayload" :resshow="delayload"
:opts="oneOps" :opts="oneOps"
:inScrollView="true"
:chartData="oneData"/> :chartData="oneData"/>
</view> </view>
@@ -44,6 +45,7 @@
:canvas2d="isCanvas2d" :canvas2d="isCanvas2d"
:resshow="delayload" :resshow="delayload"
:opts="twoOps" :opts="twoOps"
:inScrollView="true"
:chartData="twoData"/> :chartData="twoData"/>
</view> </view>
<view class="bottom-view" v-if="currentUserData?.isNewUser"> <view class="bottom-view" v-if="currentUserData?.isNewUser">
@@ -74,8 +76,8 @@
</view> </view>
</view> </view>
</view> </view>
</view> </scroll-view>
<view class="contract-view" v-if="topSelect == 1 && curData"> <scroll-view scroll-y="true" class="contract-view" v-if="topSelect == 1 && curData">
<view class="two-top-tab-view"> <view class="two-top-tab-view">
<view v-for="(item,index) in twoTopList" @click="onTwoTop(index)" :key="index" class="two-top-list"> <view v-for="(item,index) in twoTopList" @click="onTwoTop(index)" :key="index" class="two-top-list">
<text class="text-28 " :style="{ <text class="text-28 " :style="{
@@ -108,6 +110,7 @@
:canvas2d="isCanvas2d" :canvas2d="isCanvas2d"
:resshow="delayload" :resshow="delayload"
:opts="threeOps" :opts="threeOps"
:inScrollView="true"
:chartData="threeData"/> :chartData="threeData"/>
</view> </view>
<view class="bottom-view"> <view class="bottom-view">
@@ -162,7 +165,8 @@
/> />
</view> --> </view> -->
<qiun-data-charts <qiun-data-charts
type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid" type="area" :ontouch="true" :canvas2d="isCanvas2d" canvasId="scrolllineid"
:inScrollView="true"
:opts="fourOps" :chartData="fourData"/> :opts="fourOps" :chartData="fourData"/>
</view> </view>
<view class="tab-view-two"> <view class="tab-view-two">
@@ -175,10 +179,11 @@
<text class="text-32 text-gray text-bold">已分配总额:{{fiveTotal}}</text> <text class="text-32 text-gray text-bold">已分配总额:{{fiveTotal}}</text>
</view> </view>
<view class="tu-view-one" style="margin:32rpx 0"> <view class="tu-view-one" style="margin:32rpx 0">
<qiun-data-charts type="area" :ontouch="true" :canvas2d="true" canvasId="scrolllineid1" <qiun-data-charts type="area" :ontouch="true" :canvas2d="isCanvas2d" canvasId="scrolllineid1"
:inScrollView="true"
:opts="fourOps" :chartData="fiveData"/> :opts="fourOps" :chartData="fiveData"/>
</view> </view>
</view> </scroll-view>
<up-toast ref="uToastRef"></up-toast> <up-toast ref="uToastRef"></up-toast>
</view> </view>
</template> </template>
@@ -186,14 +191,15 @@
<script> <script>
import Header from '@/components/common/header.vue'; import Header from '@/components/common/header.vue';
import TopSafe from '@/components/common/top-safe.nvue' import TopSafe from '@/components/common/top-safe.nvue'
import func from '@/utils/func.js';
import qiunDataCharts from '@/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue'
import { getProfitSharingData } from '@/api/finance.js' import { getProfitSharingData } from '@/api/finance.js'
import qiunDataCharts from "@/pages/rwa_package/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue"
import { getUserInfo } from '@/api/auth.js'; import { getUserInfo } from '@/api/auth.js';
export default { export default {
components: { Header,TopSafe,qiunDataCharts }, components: { Header,TopSafe,qiunDataCharts },
data() { data() {
return { return {
isCanvas2d: false,
topSelect:0, topSelect:0,
twoTopList:['优选区','平价区'], twoTopList:['优选区','平价区'],
curTopTwo:0, curTopTwo:0,
@@ -468,7 +474,19 @@ export default {
} }
</script> </script>
<style lang="scss">
page {
height: 100%;
overflow: hidden;
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.content {
height: 100%;
display: flex;
flex-direction: column;
}
.top-view{ .top-view{
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -521,7 +539,6 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
overflow-y: auto;
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
position: relative; position: relative;
@@ -1,136 +1,136 @@
<template> <template>
<view class="content"> <view class="content">
<TopSafe></TopSafe> <TopSafe></TopSafe>
<Header title="信任桥APP账号注销协议" /> <Header title="信任桥APP账号注销协议" />
<view class="setting-view"> <view class="setting-view">
<text class="text-28 text-zu1 mt-24">尊敬的用户:</text> <text class="text-28 text-zu1 mt-24">尊敬的用户:</text>
<text class="text-28 text-zu1 mt-24">感谢您使用信任桥APP。为了保护您的合法权益,请您在申请注销前,仔细阅读并充分理解本协议。</text> <text class="text-28 text-zu1 mt-24">感谢您使用信任桥APP。为了保护您的合法权益,请您在申请注销前,仔细阅读并充分理解本协议。</text>
<text class="text-28 text-zu1 mt-24">一旦您提交注销申请并完成相关流程,即表示您已知悉并同意本协议的全部内容。</text> <text class="text-28 text-zu1 mt-24">一旦您提交注销申请并完成相关流程,即表示您已知悉并同意本协议的全部内容。</text>
<text class="text-36 text-zu mt-24 text-bold">一、账号注销的结果</text> <text class="text-36 text-zu mt-24 text-bold">一、账号注销的结果</text>
<text class="text-28 text-zu1 mt-24">账号一旦注销成功,将无法恢复。届时:</text> <text class="text-28 text-zu1 mt-24">账号一旦注销成功,将无法恢复。届时:</text>
<text class="text-28 text-zu1 mt-24">1、您的账号将无法再登录或使用原有服务。</text> <text class="text-28 text-zu1 mt-24">1、您的账号将无法再登录或使用原有服务。</text>
<text class="text-28 text-zu1 mt-24">2、您的历史订单记录将无法查询。</text> <text class="text-28 text-zu1 mt-24">2、您的历史订单记录将无法查询。</text>
<text class="text-28 text-zu1 mt-24">3、您将放弃所有会员等级权益与会员积分。</text> <text class="text-28 text-zu1 mt-24">3、您将放弃所有会员等级权益与会员积分。</text>
<text class="text-28 text-zu1 mt-24">4、您的账户钱包余额、优惠券及其他虚拟资产将全部清零且无法找回。</text> <text class="text-28 text-zu1 mt-24">4、您的账户钱包余额、优惠券及其他虚拟资产将全部清零且无法找回。</text>
<text class="text-36 text-zu mt-24 text-bold">二、您在申请注销前需确认</text> <text class="text-36 text-zu mt-24 text-bold">二、您在申请注销前需确认</text>
<text class="text-28 text-zu1 mt-24">1、您的账号当前无未完成的订单、未结清的款项或其他争议。</text> <text class="text-28 text-zu1 mt-24">1、您的账号当前无未完成的订单、未结清的款项或其他争议。</text>
<text class="text-28 text-zu1 mt-24">2、您已妥善处理与账号相关的资金、权益及信息。</text> <text class="text-28 text-zu1 mt-24">2、您已妥善处理与账号相关的资金、权益及信息。</text>
<text class="text-28 text-zu1 mt-24">3、您已明确知晓注销操作不可逆转。</text> <text class="text-28 text-zu1 mt-24">3、您已明确知晓注销操作不可逆转。</text>
<text class="text-36 text-zu mt-24 text-bold">三、免责条款</text> <text class="text-36 text-zu mt-24 text-bold">三、免责条款</text>
<text class="text-28 text-zu1 mt-24">因您主动注销账号而导致的任何信息丢失、权益消耗、资产作废,本平台不承担任何形式的补偿或责任。</text> <text class="text-28 text-zu1 mt-24">因您主动注销账号而导致的任何信息丢失、权益消耗、资产作废,本平台不承担任何形式的补偿或责任。</text>
<text class="text-36 text-zu mt-24 text-bold">四、特别提示</text> <text class="text-36 text-zu mt-24 text-bold">四、特别提示</text>
<text class="text-28 text-zu1 mt-24">1、请您在注销前,确认账号内的余额、积分、优惠券等已合理使用。</text> <text class="text-28 text-zu1 mt-24">1、请您在注销前,确认账号内的余额、积分、优惠券等已合理使用。</text>
<text class="text-28 text-zu1 mt-24">2、如您仅因短期不使用,可选择退出登录,而非注销账号。</text> <text class="text-28 text-zu1 mt-24">2、如您仅因短期不使用,可选择退出登录,而非注销账号。</text>
<text class="text-28 text-zu1 mt-24">3、若因违规、欺诈等原因导致平台强制注销账号,将不适用本协议中的补偿或说明。</text> <text class="text-28 text-zu1 mt-24">3、若因违规、欺诈等原因导致平台强制注销账号,将不适用本协议中的补偿或说明。</text>
<text class="text-36 text-zu mt-24 text-bold">五、协议生效</text> <text class="text-36 text-zu mt-24 text-bold">五、协议生效</text>
<text class="text-28 text-zu1 mt-24" style="margin-bottom:48rpx">本协议自您点击确认并完成注销申请之时立即生效。</text> <text class="text-28 text-zu1 mt-24" style="margin-bottom:48rpx">本协议自您点击确认并完成注销申请之时立即生效。</text>
</view> </view>
<up-toast ref="uToastRef"></up-toast> <up-toast ref="uToastRef"></up-toast>
</view> </view>
</template> </template>
<script> <script>
import { getUserInfo,updateName } from '@/api/auth.js'; import { getUserInfo,updateName } from '@/api/auth.js';
import Header from '@/components/common/header.vue'; import Header from '@/components/common/header.vue';
import TopSafe from '@/components/common/top-safe.nvue' import TopSafe from '@/components/common/top-safe.nvue'
import MyBtn from '@/components/common/my-btn.vue' import MyBtn from '@/components/common/my-btn.vue'
import func from '@/utils/func.js'; import func from '@/utils/func.js';
export default { export default {
components: { Header, TopSafe,MyBtn }, components: { Header, TopSafe,MyBtn },
data() { data() {
return { return {
userInfo: null, userInfo: null,
inputText:'', inputText:'',
tipsShow:false, tipsShow:false,
content:'是否确定注销账号?' content:'是否确定注销账号?'
}; };
}, },
onShow() { onShow() {
}, },
onLoad() { onLoad() {
this.init(); this.init();
// this.userinfo(); // this.userinfo();
}, },
methods: { methods: {
init() { init() {
// this.userinfo() // this.userinfo()
}, },
onJump(){ onJump(){
uni.navigateTo({ uni.navigateTo({
url:'/pages/rwa_package/setting/out-agreement' url:'/pages/rwa_package/outAgreement/outAgreement'
}) })
} }
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.bottom-btn{ .bottom-btn{
width: 100%; width: 100%;
margin-bottom:92rpx; margin-bottom:92rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
} }
.setting-view { .setting-view {
width: 100%; width: 100%;
height: calc(100% - 88rpx - var(--status-bar-height)); height: calc(100% - 88rpx - var(--status-bar-height));
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow-y: auto; overflow-y: auto;
padding: 0 32rpx; padding: 0 32rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
.name-box{ .name-box{
width:100%; width:100%;
border-radius: 16rpx; border-radius: 16rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #fff; background-color: #fff;
padding: 64rpx 32rpx; padding: 64rpx 32rpx;
box-sizing: border-box; box-sizing: border-box;
margin-top:24rpx; margin-top:24rpx;
.mid-view{ .mid-view{
width:100%; width:100%;
padding: 40rpx 32rpx; padding: 40rpx 32rpx;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border:2rpx solid #eaeaea; border:2rpx solid #eaeaea;
border-radius: 16rpx; border-radius: 16rpx;
margin-top:48rpx; margin-top:48rpx;
} }
.top-view{ .top-view{
width:100%; width:100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.input-view{ .input-view{
border-radius: 20rpx; border-radius: 20rpx;
margin-top:52rpx; margin-top:52rpx;
width:100%; width:100%;
padding: 0 32rpx; padding: 0 32rpx;
min-height:104rpx; min-height:104rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
background-color: #f5f5f5; background-color: #f5f5f5;
box-sizing: border-box; box-sizing: border-box;
} }
} }
} }
</style> </style>
+3 -3
View File
@@ -93,7 +93,7 @@ export default {
}); });
}else if(index == 1){ }else if(index == 1){
uni.navigateTo({ uni.navigateTo({
url:'/pages/rwa_package/setting/set-name' url:'/pages/rwa_package/setName/setName'
}) })
} }
}, },
@@ -171,13 +171,13 @@ export default {
let url = ''; let url = '';
switch(index){ switch(index){
case 0: case 0:
url = '/pages/rwa_package/setting/account-safe' url = '/pages/rwa_package/accountSafe/accountSafe'
break; break;
case 1: case 1:
url = '/pages/rwa_package/dongjian/index' url = '/pages/rwa_package/dongjian/index'
break; break;
case 2: case 2:
url = '/pages/rwa_package/setting/zhaopian' url = '/pages/rwa_package/zhaopian/zhaopian'
break; break;
case 3: case 3:
url = '/pages/mine_package/mine_user_agreement/mine_user_agreement' url = '/pages/mine_package/mine_user_agreement/mine_user_agreement'
@@ -1,107 +1,106 @@
<template> <template>
<view class="content"> <view class="content">
<TopSafe></TopSafe> <TopSafe></TopSafe>
<Header title="资质证明" /> <Header title="资质证明" />
<view class="setting-view"> <view class="setting-view">
<view class="name-box"> <view class="name-box">
<view class="zhao-list" @click="onJump(index)" :style="{borderWidth:index == zhaoList.length - 1 ? '0' : '2rpx'}" <view class="zhao-list" @click="onJump(index)" :style="{borderWidth:index == zhaoList.length - 1 ? '0' : '2rpx'}"
v-for="(item,index) in zhaoList" :key="index"> v-for="(item,index) in zhaoList" :key="index">
<text class="text-zu1 text-32">{{item}}</text> <text class="text-zu1 text-32">{{item}}</text>
<view class="zhao-right"> <view class="zhao-right">
<text class="text-fu1 text-28" style="margin-right:20rpx;">查看</text> <text class="text-fu1 text-28" style="margin-right:20rpx;">查看</text>
<u-icon name="arrow-right" color="#999" size='14'></u-icon> <u-icon name="arrow-right" color="#999" size='14'></u-icon>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<!-- <view class="bottom-btn"> <!-- <view class="bottom-btn">
<MyBtn text="保存" @ok="onSetName"></MyBtn> <MyBtn text="保存" @ok="onSetName"></MyBtn>
</view> --> </view> -->
<up-toast ref="uToastRef"></up-toast> <up-toast ref="uToastRef"></up-toast>
</view> </view>
</template> </template>
<script> <script>
import { getUserInfo,updateName } from '@/api/auth.js'; import { getUserInfo,updateName } from '@/api/auth.js';
import Header from '@/components/common/header.vue'; import Header from '@/components/common/header.vue';
import TopSafe from '@/components/common/top-safe.nvue' import TopSafe from '@/components/common/top-safe.nvue'
import MyBtn from '@/components/common/my-btn.vue' import MyBtn from '@/components/common/my-btn.vue'
import func from '@/utils/func.js';
export default {
export default { components: { Header, TopSafe,MyBtn },
components: { Header, TopSafe,MyBtn }, data() {
data() { return {
return { userInfo: null,
userInfo: null, inputText:'',
inputText:'', zhaoList:['营业执照','电信增值许可证书']
zhaoList:['营业执照','电信增值许可证书'] };
}; },
}, onShow() {
onShow() { },
}, onLoad() {
onLoad() { this.init();
this.init(); // this.userinfo();
// this.userinfo(); },
}, methods: {
methods: { init() {
init() { },
}, onJump(index){
onJump(index){ uni.navigateTo({
uni.navigateTo({ url:`/pages/rwa_package//zhao/zhaopian?type=${index}`
url:`/pages/rwa_package/setting/zhao?type=${index}` })
}) }
} }
} }
} </script>
</script>
<style lang="scss" scoped>
<style lang="scss" scoped> .bottom-btn{
.bottom-btn{ width: 100%;
width: 100%; margin-bottom:92rpx;
margin-bottom:92rpx; display: flex;
display: flex; flex-direction: column;
flex-direction: column; align-items: center;
align-items: center; padding: 0 32rpx;
padding: 0 32rpx; box-sizing: border-box;
box-sizing: border-box; position: relative;
position: relative;
}
} .setting-view {
.setting-view { width: 100%;
width: 100%; height: calc(100% - 88rpx - 92rpx - 88rpx - var(--status-bar-height));
height: calc(100% - 88rpx - 92rpx - 88rpx - var(--status-bar-height)); display: flex;
display: flex; flex-direction: column;
flex-direction: column; align-items: center;
align-items: center; overflow-y: auto;
overflow-y: auto; padding: 0 32rpx;
padding: 0 32rpx; box-sizing: border-box;
box-sizing: border-box; position: relative;
position: relative; .name-box{
.name-box{ width:100%;
width:100%; border-radius: 16rpx;
border-radius: 16rpx; display: flex;
display: flex; flex-direction: column;
flex-direction: column; background-color: #fff;
background-color: #fff; margin-top:30rpx;
margin-top:30rpx; .zhao-list{
.zhao-list{ width:100%;
width:100%; height:100rpx;
height:100rpx; display: flex;
display: flex; flex-direction: row;
flex-direction: row; padding: 0 24rpx;
padding: 0 24rpx; justify-content: space-between;
justify-content: space-between; align-items: center;
align-items: center; border-bottom: 2rpx solid #EAEAEA;
border-bottom: 2rpx solid #EAEAEA; box-sizing: border-box;
box-sizing: border-box; .zhao-right{
.zhao-right{ display: flex;
display: flex; flex-direction: row;
flex-direction: row; justify-content: flex-end;
justify-content: flex-end; }
} }
} }
}
}
} </style>
</style>