增添图标

This commit is contained in:
zy
2024-03-26 15:38:24 +08:00
parent 0d92681fff
commit cc1447640e
7 changed files with 493 additions and 469 deletions

View File

@@ -11,6 +11,7 @@
<!--音频播放按钮处-->
<view class="audo-top">
<!-- 顺序播放 -->
<!-- <image v-if="orderPlayBtn" style="width:50rpx;height:50rpx;" src="/static/orderPlaya.png" mode="aspectFill" @click="orderPlay(false)"></image>
<image v-else style="width:50rpx;height:50rpx;" src="/static/orderPlay.png" mode="aspectFill" @click="orderPlay(true)"></image>

View File

@@ -5,6 +5,7 @@
<view class="audo-video" >
<!--音频播放按钮处-->
<view class="audo-top">
<!-- 播放封面 -->
<image @click="changeShow" style="width: 120rpx; height: 120rpx; margin-top: 0;" :class="['fengImg','fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" :src="userInfo.fengImg" mode="aspectFill"></image>
<!-- <image v-else @click="changeShow" style="width: 120rpx; height: 120rpx; margin-top: 0;" :class="['fengImg','fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" src="@/static/icon/fengziIcon.jpg" mode="aspectFill"></image> -->
@@ -35,7 +36,13 @@
mode="aspectFill"> </image> -->
<!-- <image class="nextMusic" style="" src="/static/xys.png" @click="nextMusic" mode="aspectFill"></image> -->
<!-- <u-icon name="arrow-right" color="#61e781" size="28" v-if="!showBig" @click="changeShow"></u-icon> -->
<u-icon name="close" color="#61e781" size="20" style="background-color: #fff;border-radius: 100%;" v-if="!showBig" @click="closePlayer"></u-icon>
<!-- 暂时去掉关闭按钮 -->
<!-- <u-icon name="close" color="#61e781" size="20" style="background-color: #fff;border-radius: 100%;" v-if="!showBig" @click="closePlayer"></u-icon> -->
<!-- 暂时去掉关闭按钮 -->
<!-- 播放目录 -->
<!-- <image src="/static/libIcon.png" style="width:45rpx;height:45rpx;" mode="aspectFill"></image> -->

View File

@@ -44,6 +44,11 @@
iconPath: 'static/tab/icon1_n.png',
selectedIconPath: 'static/tab/icon1_y.png',
text: '首页'
},{
"pagePath": "pages/medicaldes/medicaldes",
"iconPath": "static/icon/five5.png",
"selectedIconPath": "static/icon/five5.png",
"text": "吴门医述"
},
{
"pagePath": "pages/library/library",
@@ -64,12 +69,7 @@
// text: '我的订单'
// },
{
"pagePath": "pages/medicaldes/medicaldes",
"iconPath": "static/icon/five5.png",
"selectedIconPath": "static/icon/five5.png",
"text": "吴门医述"
},
{
pagePath: 'pages/peanut/mine',
iconPath: 'static/tab/icon4_n.png',

View File

@@ -12,8 +12,8 @@
"src" : "图片路径"
}
],
"versionName" : "1.2.41",
"versionCode" : 1241,
"versionName" : "1.2.42",
"versionCode" : 1242,
"app-plus" : {
"compatible" : {
"ignoreVersion" : true

View File

@@ -2,7 +2,8 @@
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [{
"pages": [
{
"path": "pages/peanut/home",
"style": {
"navigationBarTitleText": "首页"
@@ -257,169 +258,167 @@
"style": {
"navigationBarTitleText": "物流详情"
}
}
, {
},
{
"path": "pages/peanut/aboutUs",
"style": {
"navigationBarTitleText": "关于我们",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/listen",
"style": {
"navigationBarTitleText": "悦耳列表",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/home",
"style": {
"navigationBarTitleText": "悦耳听书",
"enablePullDownRefresh": true
}
}, {
},
{
"path": "pages/listen/search",
"style": {
"navigationBarTitleText": "搜索听书",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/bgMusix",
"style": {
"navigationBarTitleText": "背景音乐模式",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/bgMusic",
"style": {
"navigationBarTitleText": "背景音乐启用",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/bgMusic",
"style": {
"navigationBarTitleText": "背景音乐启用",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/musicbg",
"style": {
"navigationBarTitleText": "音乐1",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/peanut/myComments",
"style": {
"navigationBarTitleText": "我的评价",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/setListen",
"style": {
"navigationBarTitleText": "听书设置11",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/bigListen",
"style": {
"navigationBarTitleText": "听书页面",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/listen/listenNotBuy",
"style": {
"navigationBarTitleText": "未购买的详情",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/comments/comments",
"style": {
"navigationBarTitleText": "书评1",
"enablePullDownRefresh": true
}
}, {
},
{
"path": "pages/comments/commentsDetail",
"style": {
"navigationBarTitleText": "书评详情1",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/comments/commentsList",
"style": {
"navigationBarTitleText": "书评",
"enablePullDownRefresh": true
}
}, {
},
{
"path": "pages/bookShop/settlementBook",
"style": {
"navigationBarTitleText": "book购买1",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/library/library",
"style": {
"navigationBarTitleText": "我的图书",
"enablePullDownRefresh": true
}
}, {
},
{
"path": "pages/clock/clock",
"style": {
"navigationBarTitleText": "读书打卡",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/clock/index",
"style": {
"navigationBarTitleText": "读书打卡列表",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/clock/clockList",
"style": {
"navigationBarTitleText": "打卡记录1",
"enablePullDownRefresh": false
}
}, {
},
{
"path": "pages/talkBook/talkBook",
"style": {
"navigationBarTitleText": "讲书",
"enablePullDownRefresh": true
}
}, {
},
{
"path": "pages/talkBook/talkBookML",
"style": {
"navigationBarTitleText": "讲书书籍页面",
"enablePullDownRefresh": true
}
}, {
},
{
"path": "pages/talkBook/talkBookDetail",
"style": {
"navigationBarTitleText": "讲书详情",
"enablePullDownRefresh": false
}
},
{
"path": "pages/yian/yian",
@@ -427,7 +426,6 @@
"navigationBarTitleText": "医案",
"enablePullDownRefresh": true
}
},
{
"path": "pages/yian/yianList",
@@ -435,14 +433,13 @@
"navigationBarTitleText": "医案列表",
"enablePullDownRefresh": true
}
}, {
},
{
"path": "pages/yian/yianDetail",
"style": {
"navigationBarTitleText": "医案详情",
"enablePullDownRefresh": false
}
},
{ // 更新版本
"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
@@ -456,7 +453,6 @@
"popGesture": "none",
"animationType": "fade-in",
"animationDuration": 200
}
}
},
@@ -466,7 +462,6 @@
"navigationBarTitleText": "快递列表",
"enablePullDownRefresh": false
}
},
{
"path": "pages/peanut/chargeDetaill",
@@ -488,13 +483,15 @@
"navigationBarTitleText": "脉穴详情",
"enablePullDownRefresh": false
}
},{
},
{
"path": "pages/acupoint/givenDegree",
"style": {
"navigationBarTitleText": "特定穴位",
"enablePullDownRefresh": false
}
},{
},
{
"path": "pages/timeAcupoint/timeAcupoint",
"style": {
"navigationBarTitleText": "时辰取穴",
@@ -627,7 +624,8 @@
"selectedColor": "#079307",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"list": [
{
"pagePath": "pages/peanut/home",
"iconPath": "static/tab/icon1_n.png",
"selectedIconPath": "static/tab/icon1_y.png",
@@ -639,6 +637,12 @@
// "selectedIconPath": "static/tab/icon2_y.png",
// "text": "购物车"
// },
{
"pagePath": "pages/medicaldes/medicaldes",
"iconPath": "static/icon/five5.png",
"selectedIconPath": "static/icon/five5.png",
"text": "吴门医述"
},
{
"pagePath": "pages/library/library",
"iconPath": "static/tab/icon3_n.png",
@@ -657,12 +661,6 @@
// "selectedIconPath": "static/tab/icon2_y.png",
// "text": "我的订单"
// },
{
"pagePath": "pages/medicaldes/medicaldes",
"iconPath": "static/icon/five5.png",
"selectedIconPath": "static/icon/five5.png",
"text": "吴门医述"
},
{
"pagePath": "pages/peanut/mine",
"iconPath": "static/tab/icon4_n.png",
@@ -673,10 +671,12 @@
},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数在页面的onLoad函数里面得到
}]
"list": [
{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数在页面的onLoad函数里面得到
}
]
}
}

View File

@@ -1,25 +1,41 @@
<template>
<view style="padding: 0 40rpx;font-size: 28upx;">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<view style="height: 50rpx;"></view>
<view class="per_mes">
<image :src="userMes.avatar" v-if="userMes.avatar!=null" class="per_mes_img"></image>
<image src="../../static/icon/home_icon_1.png" v-if="userMes.avatar==null" class="per_mes_img"></image>
<view>
<text class="name" v-if="userMes.nickname!=null">{{userMes.nickname}}</text>
<text class="name" v-if="userMes.nickname==null">未设置</text>
<!-- <image v-if="userMes.vip==1" src="../../static/icon/mine_v.png" alt="" class="per_user_img"></image> -->
<text style="margin-left: 20rpx;font-size: 22rpx;color: #888;" v-if="userMes.tel">({{userMes.tel}})</text>
<text style="margin-left: 20rpx;font-size: 22rpx;color: #888;" v-else>({{userMes.email}})</text>
<view style="padding: 0 40rpx; font-size: 28upx">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<view style="height: 50rpx"></view>
<view class="per_mes">
<image
:src="userMes.avatar"
v-if="userMes.avatar != null"
class="per_mes_img"
></image>
<image
src="../../static/icon/home_icon_1.png"
v-if="userMes.avatar == null"
class="per_mes_img"
></image>
<view>
<text class="name" v-if="userMes.nickname != null">{{
userMes.nickname
}}</text>
<text class="name" v-if="userMes.nickname == null">未设置</text>
<!-- <image v-if="userMes.vip==1" src="../../static/icon/mine_v.png" alt="" class="per_user_img"></image> -->
<text
style="margin-left: 20rpx; font-size: 22rpx; color: #888"
v-if="userMes.tel"
>({{ userMes.tel }})</text
>
<text style="margin-left: 20rpx; font-size: 22rpx; color: #888" v-else
>({{ userMes.email }})</text
>
<!-- <text class="tong">累计读书5本
<!-- <text class="tong">累计读书5本
<span style="margin: 0 20upx;">|</span> 今日读50分钟
</text> -->
</view>
<br clear="both">
</view>
<!-- <view class="now_vip" v-if="userMes.vip==0">
</view>
<br clear="both" />
</view>
<!-- <view class="now_vip" v-if="userMes.vip==0">
<text>
<image src="../../static/icon/mine_p.png" style="height: 44rpx;"></image>
开通会员畅享海量内容
@@ -27,7 +43,7 @@
<b class="kt_btn" @click="onPageJump('./opeVip')">开通VIP</b>
</view> -->
<!-- <view class="now_vip" v-if="userMes.vip==1">
<!-- <view class="now_vip" v-if="userMes.vip==1">
<text>
<image src="../../static/icon/mine_v.png"></image>
尊贵的VIP会员
@@ -36,416 +52,416 @@
<b class="kt_btn" @click="onPageJump('./opeVip')">立即续费</b>
</view> -->
<view class="chong_zhi">
<view class="zhanghu" @click="onPageJump('../user/persCount')">
我的账户
<text style="float: right;line-height: 85rpx;"> > </text>
</view>
<view class="chong_list">
<view v-if="iosHide">
<b>{{userMes.peanutCoin}}</b>
天医币
</view>
<view v-if="iosHide">
<b>{{userMes.conponsCount}}</b>
优惠券
</view>
<!-- <b class="chong_btn" @click="onPageJump('../sdkDemo/pay')"> </b> -->
<b class="chong_btn" v-if="iosHide" @click="onPageJump('./reCharge')"> </b>
</view>
</view>
<view class="chong_zhi">
<view class="zhanghu" @click="onPageJump('../user/persCount')">
我的账户
<text style="float: right; line-height: 85rpx"> > </text>
</view>
<view class="chong_list">
<view v-if="iosHide">
<b>{{ userMes.peanutCoin }}</b>
天医币
</view>
<view v-if="iosHide">
<b>{{ userMes.conponsCount }}</b>
优惠券
</view>
<!-- <b class="chong_btn" @click="onPageJump('../sdkDemo/pay')"> </b> -->
<b class="chong_btn" v-if="iosHide" @click="onPageJump('./reCharge')"
> </b
>
</view>
</view>
<view class="xiugai">
<view class="nav_list" @click="switchTab('../bookShop/orderList')">
<text>我的订单</text>
</view>
<!-- <view class="nav_list" @click="onPageJump('../clock/clockList')">
<view class="xiugai">
<view class="nav_list" @click="switchTab('../bookShop/orderList')">
<text>我的订单</text>
</view>
<!-- <view class="nav_list" @click="onPageJump('../clock/clockList')">
<text>我的打卡</text>
</view> -->
<!-- <view class="nav_list" @click="onPageJump('../listen/home')" v-if="iosHide">
<!-- <view class="nav_list" @click="onPageJump('../listen/home')" v-if="iosHide">
<text>我的听书</text>
</view> -->
<view class="nav_list" @click="onPageJump('../listen/setListen')" v-if="iosHide">
<!-- 暂时去掉 -->
<!-- <view class="nav_list" @click="onPageJump('../listen/setListen')" v-if="iosHide">
<text>听书设置</text>
</view>
<view class="nav_list" @click="onPageJump('../peanut/myComments')">
</view> -->
<!-- <view class="nav_list" @click="onPageJump('../peanut/myComments')">
<text>我的评价</text>
</view>
<view class="nav_list" @click="onPageJump('../peanut/shopping')">
<text>购物车</text>
</view>
<!-- <view v-if="showEbook" class="nav_list" @click="onPageJump('../eBook/bookBuy')">
</view> -->
<!-- 暂时去掉 -->
<view class="nav_list" @click="onPageJump('../peanut/shopping')">
<text>购物车</text>
</view>
<!-- <view v-if="showEbook" class="nav_list" @click="onPageJump('../eBook/bookBuy')">
<text>电子书购买记录</text>
</view> -->
<!-- <view v-if="showEbook" class="nav_list" @click="onPageJump('../eBook/bookRecord')">
<!-- <view v-if="showEbook" class="nav_list" @click="onPageJump('../eBook/bookRecord')">
<text>阅读记录</text>
</view> -->
<view class="nav_list" @click="onPageJump('../user/persData')">
<text>修改个人资料</text>
</view>
<view class="nav_list" @click="onPageJump('../user/address')">
<text>地址管理</text>
</view>
<!-- <view class="nav_list" @click="onGoing()">
<text>帮助与反馈11111</text>
</view> -->
<!-- <view class="nav_list" @click="newOnShare" v-if="isAndorid"> -->
<view class="nav_list" @click="newOnShare">
<text>分享App</text>
</view>
<view class="nav_list" @click="onPageJump('../peanut/aboutUs')">
<text>关于我们</text>
</view>
<view class="nav_list" @click="signShow=true">
<text>退出登录</text>
</view>
<view class="nav_list" @click="logout">
<text>注销帐号</text>
</view>
</view>
<view class="nav_list" @click="onPageJump('../user/persData')">
<text>修改个人资料</text>
</view>
<view class="nav_list" @click="onPageJump('../user/address')">
<text>地址管理</text>
</view>
<u-modal :show="signShow" :content="signContent" :showCancelButton="true" @cancel="signShow=false"
@confirm="signOut">
</u-modal>
<!-- 分享弹窗 -->
<uni-popup ref="share" type="share" safeArea backgroundColor="#fff">
<uni-popup-share @select="haveSelected"></uni-popup-share>
</uni-popup>
<music-play :playData="playData"></music-play>
<z-navigation></z-navigation>
</view>
<!-- <view class="nav_list" @click="onGoing()">
<text>帮助与反馈11111</text>
</view> -->
<!-- <view class="nav_list" @click="newOnShare" v-if="isAndorid"> -->
<view class="nav_list" @click="newOnShare">
<text>分享App</text>
</view>
<view class="nav_list" @click="onPageJump('../peanut/aboutUs')">
<text>关于我们</text>
</view>
<view class="nav_list" @click="signShow = true">
<text>退出登录</text>
</view>
<view class="nav_list" @click="logout">
<text>注销帐号</text>
</view>
</view>
<u-modal
:show="signShow"
:content="signContent"
:showCancelButton="true"
@cancel="signShow = false"
@confirm="signOut"
>
</u-modal>
<!-- 分享弹窗 -->
<uni-popup ref="share" type="share" safeArea backgroundColor="#fff">
<uni-popup-share @select="haveSelected"></uni-popup-share>
</uni-popup>
<music-play :playData="playData"></music-play>
<z-navigation></z-navigation>
</view>
</template>
<script>
import musicPlay from '@/components/music.vue'
import $http from '@/config/requestConfig.js';
// import appShare, { closeShare } from '@/uni_modules/zhouWei-APPshare/js_sdk/appShare';
import {
mapState,mapMutations
} from 'vuex';
export default {
data() {
return {
showEbook:false, // 显示电子书相关
userMes: {},
signShow: false,
signContent: '是否要退出登录?',
playData:{},
isAndorid:true,
platform : null, // 设备系统
};
},
//第一次加载
onLoad(e) {
// 隐藏原生的tabbar
uni.hideTabBar();
// #ifdef APP-PLUS
this.getOS()
this.platform = uni.getSystemInfoSync().platform
// console.log('操纵系统',this.platform)
// #endif
},
computed: {
...mapState(['userInfo'])
},
//页面显示
onShow() {
// 隐藏原生的tabbar
uni.hideTabBar();
this.getData();
},
components: {
musicPlay
},
//方法
methods: {
...mapMutations(['setUserInfo']),
// 获得操作系统
getOS(){
let oprateOs = ''
oprateOs = uni.getSystemInfoSync().platform
// console.log(oprateOs)
if(oprateOs == 'android'){
this.isAndorid = true
}else{
this.isAndorid = false
}
},
haveSelected(data){
console.log(data,' 选择的是')
if(data.index == 0){
// 分享到好友
uni.share({
provider: "weixin",
scene: "WXSceneSession",
type: 0,
href: this.$apkUrl,
title: "疯子读书",
summary: "我正在使用疯子读书提升自己,赶紧跟我一起来体验吧!",
imageUrl: "static/fengziIcon.jpg",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
fail: function (err) {
console.log("fail:" + JSON.stringify(err));
}
});
}else if(data.index == 1){
// 分享到朋友圈
uni.share({
provider: "weixin",
scene: "WXSceneTimeline",
type: 0,
href: this.$apkUrl,
title: "疯子读书",
summary: "我正在使用疯子读书提升自己,赶紧跟我一起来体验吧!",
imageUrl: "static/fengziIcon.jpg",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
fail: function (err) {
console.log("fail:" + JSON.stringify(err));
}
});
}
},
switchTab(url){
uni.switchTab({
url: url
});
},
getData() {
// 获取个人信息
if (this.userInfo.id != undefined) {
this.$http
.post('book/user/info/' + this.userInfo.id)
.then(res => {
this.userMes = res.user
if (this.userMes.vip == 1) {
this.userMes.vipValidtime = this.userMes.vipValidtime.substring(0, this.userMes
.vipValidtime
.indexOf(' '))
}
});
}
import musicPlay from "@/components/music.vue";
import $http from "@/config/requestConfig.js";
// import appShare, { closeShare } from '@/uni_modules/zhouWei-APPshare/js_sdk/appShare';
import { mapState, mapMutations } from "vuex";
export default {
data() {
return {
showEbook: false, // 显示电子书相关
userMes: {},
signShow: false,
signContent: "是否要退出登录?",
playData: {},
isAndorid: true,
platform: null, // 设备系统
};
},
//第一次加载
onLoad(e) {
// 隐藏原生的tabbar
uni.hideTabBar();
// #ifdef APP-PLUS
this.getOS();
this.platform = uni.getSystemInfoSync().platform;
// console.log('操纵系统',this.platform)
// #endif
},
computed: {
...mapState(["userInfo"]),
},
//页面显示
onShow() {
// 隐藏原生的tabbar
uni.hideTabBar();
this.getData();
},
components: {
musicPlay,
},
//方法
methods: {
...mapMutations(["setUserInfo"]),
// 获得操作系统
getOS() {
let oprateOs = "";
oprateOs = uni.getSystemInfoSync().platform;
// console.log(oprateOs)
if (oprateOs == "android") {
this.isAndorid = true;
} else {
this.isAndorid = false;
}
},
haveSelected(data) {
console.log(data, " 选择的是");
if (data.index == 0) {
// 分享到好友
uni.share({
provider: "weixin",
scene: "WXSceneSession",
type: 0,
href: this.$apkUrl,
title: "疯子读书",
summary: "我正在使用疯子读书提升自己,赶紧跟我一起来体验吧!",
imageUrl: "static/fengziIcon.jpg",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
fail: function (err) {
console.log("fail:" + JSON.stringify(err));
},
});
} else if (data.index == 1) {
// 分享到朋友圈
uni.share({
provider: "weixin",
scene: "WXSceneTimeline",
type: 0,
href: this.$apkUrl,
title: "疯子读书",
summary: "我正在使用疯子读书提升自己,赶紧跟我一起来体验吧!",
imageUrl: "static/fengziIcon.jpg",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
fail: function (err) {
console.log("fail:" + JSON.stringify(err));
},
});
}
},
switchTab(url) {
uni.switchTab({
url: url,
});
},
getData() {
// 获取个人信息
if (this.userInfo.id != undefined) {
this.$http.post("book/user/info/" + this.userInfo.id).then((res) => {
this.userMes = res.user;
if (this.userMes.vip == 1) {
this.userMes.vipValidtime = this.userMes.vipValidtime.substring(
0,
this.userMes.vipValidtime.indexOf(" ")
);
}
});
}
},
},
// 新写分享
newOnShare(){
this.$refs.share.open()
},
// 注销账户
logout(){
let that = this
uni.showModal({
title: '提示',
content: '确定要注销当前账户吗?',
success: function (res) {
if (res.confirm) {
uni.showModal({
title: '提示',
showCancel:false,
content: `注销申请已提交成功,请联系客服进行后续操作022-24142321`,
success: function (res1) {
if (res1.confirm) {
that.signOut()
}
}
});
} else if (res.cancel) {
// 取消操作
}
}
});
},
// 跳转
onGoing() {
uni.showToast({
icon: 'none',
title: '开发中,敬请期待...'
})
},
onPageJump(url) {
console.log(url,'url')
uni.navigateTo({
url: url
});
},
// 新写分享
newOnShare() {
this.$refs.share.open();
},
// 注销账户
logout() {
let that = this;
uni.showModal({
title: "提示",
content: "确定要注销当前账户吗?",
success: function (res) {
if (res.confirm) {
uni.showModal({
title: "提示",
showCancel: false,
content: `注销申请已提交成功,请联系客服进行后续操作022-24142321`,
success: function (res1) {
if (res1.confirm) {
that.signOut();
}
},
});
} else if (res.cancel) {
// 取消操作
}
},
});
},
// 跳转
onGoing() {
uni.showToast({
icon: "none",
title: "开发中,敬请期待...",
});
},
onPageJump(url) {
console.log(url, "url");
uni.navigateTo({
url: url,
});
},
// 退出登录
signOut() {
this.signShow = false
this.setUserInfo({'token': null})
uni.reLaunch({
url: '../user/login'
});
},
},
};
// 退出登录
signOut() {
this.signShow = false;
this.setUserInfo({ token: null });
uni.reLaunch({
url: "../user/login",
});
},
},
};
</script>
<style lang="scss" scoped>
@import '@/style/mixin.scss';
@import "@/style/mixin.scss";
.per_mes {
margin: 50rpx 0 50rpx 0;
align-items: center;
.per_mes {
margin: 50rpx 0 50rpx 0;
align-items: center;
.per_mes_img {
width: 120upx;
height: 120upx;
background-color: #fff;
border-radius: 120upx;
margin: 0 30upx 0 0;
float: left;
}
.per_mes_img {
width: 120upx;
height: 120upx;
background-color: #fff;
border-radius: 120upx;
margin: 0 30upx 0 0;
float: left;
}
view {
float: left;
margin-top: 20rpx;
view {
float: left;
margin-top: 20rpx;
.name {
display: inline-block;
font-weight: bold;
font-size: 38upx;
margin-bottom: 10rpx;
}
.name {
display: inline-block;
font-weight: bold;
font-size: 38upx;
margin-bottom: 10rpx;
}
.tong {
color: #999;
font-size: 25upx;
}
.tong {
color: #999;
font-size: 25upx;
}
.per_user_img {
display: inline-block;
width: 40upx;
height: 40upx;
margin-left: 10rpx;
vertical-align: super;
}
}
.per_user_img {
display: inline-block;
width: 40upx;
height: 40upx;
margin-left: 10rpx;
vertical-align: super;
}
}
}
.now_vip {
background-color: #fff;
// border-radius: 20upx;
margin: 0 0 30upx 0;
padding: 0 30upx;
height: 120upx;
background-image: linear-gradient(90deg, #feeed6 0%, #f5ce99 100%);
}
image {
width: 46rpx;
height: 50rpx;
display: inline-block;
vertical-align: text-bottom;
margin: 0 10rpx 0 0;
}
.now_vip {
background-color: #fff;
// border-radius: 20upx;
margin: 0 0 30upx 0;
padding: 0 30upx;
height: 120upx;
background-image: linear-gradient(90deg, #feeed6 0%, #f5ce99 100%);
text {
font-size: 30upx;
line-height: 120upx;
color: #977749;
font-weight: bold;
}
image {
width: 46rpx;
height: 50rpx;
display: inline-block;
vertical-align: text-bottom;
margin: 0 10rpx 0 0;
}
.kt_btn {
font-size: 26upx;
display: block;
float: right;
border-radius: 50rpx;
color: #fffbf6;
padding: 12rpx 26rpx;
margin: 33rpx 0 0 0;
background-image: linear-gradient(90deg, #dfa964 0%, #7f5218 100%);
}
}
text {
font-size: 30upx;
line-height: 120upx;
color: #977749;
font-weight: bold;
}
.chong_zhi {
background-color: #fff;
margin: 0 0 30upx 0;
padding: 0 30upx;
height: 240upx;
.kt_btn {
font-size: 26upx;
display: block;
float: right;
border-radius: 50rpx;
color: #fffbf6;
padding: 12rpx 26rpx;
margin: 33rpx 0 0 0;
background-image: linear-gradient(90deg, #dfa964 0%, #7f5218 100%);
}
}
.zhanghu {
font-size: 32upx;
line-height: 100upx;
font-weight: bold;
}
.chong_zhi {
background-color: #fff;
margin: 0 0 30upx 0;
padding: 0 30upx;
height: 240upx;
.chong_list {
view {
width: 25%;
text-align: center;
display: inline-block;
color: #a3a1a1;
.zhanghu {
font-size: 32upx;
line-height: 100upx;
font-weight: bold;
}
b {
font-size: 45rpx;
display: block;
margin: 0 0 10rpx 0;
color: #76757b;
}
}
.chong_list {
view {
width: 25%;
text-align: center;
display: inline-block;
color: #a3a1a1;
.chong_btn {
font-size: 26upx;
display: block;
float: right;
border-radius: 50rpx;
color: #fffbf6;
padding: 12rpx 42rpx;
margin: 20rpx 0 0 0;
background: #815219;
}
}
}
b {
font-size: 45rpx;
display: block;
margin: 0 0 10rpx 0;
color: #76757b;
}
}
.xiugai {
.nav_list {
background-color: #fff;
padding: 30upx 0 30upx 20upx;
display: flex;
align-items: center;
position: relative;
font-weight: bold;
border-bottom: 1px solid #e5e5e5;
.chong_btn {
font-size: 26upx;
display: block;
float: right;
border-radius: 50rpx;
color: #fffbf6;
padding: 12rpx 42rpx;
margin: 20rpx 0 0 0;
background: #815219;
}
}
}
&:active {
background-color: #f5f5f5;
}
.xiugai {
text {
color: #333;
margin-left: 10rpx;
}
.nav_list {
background-color: #fff;
padding: 30upx 0 30upx 20upx;
display: flex;
align-items: center;
position: relative;
font-weight: bold;
border-bottom: 1px solid #e5e5e5;
&::after {
content: "";
position: absolute;
right: 20upx;
top: 50%;
transform: translateY(-50%);
width: 40upx;
height: 40upx;
background-image: url("../../static/icon/icon_right.png");
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
}
&:active {
background-color: #f5f5f5;
}
text {
color: #333;
margin-left: 10rpx;
}
&::after {
content: '';
position: absolute;
right: 20upx;
top: 50%;
transform: translateY(-50%);
width: 40upx;
height: 40upx;
background-image: url('../../static/icon/icon_right.png');
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
}
.nav_list:nth-last-child(1) {
border-bottom: 0;
}
}
.nav_list:nth-last-child(1) {
border-bottom: 0;
}
}
</style>

BIN
static/icon/five5_n.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB