diff --git a/pages/adminMy/index.vue b/pages/adminMy/index.vue
index 3bf233c..9376465 100644
--- a/pages/adminMy/index.vue
+++ b/pages/adminMy/index.vue
@@ -13,21 +13,44 @@
JuLia James
-
-
-
-
- {{ item.title }}
-
+
+
+
+ {{ item.title }}
+
-
- {{ item.content }}
-
-
+
+ {{ item.content }}
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
@@ -79,6 +102,8 @@ export default {
path: "",
content: "区域111",
},
+ ],
+ cellList2: [
{
title: "版本信息",
icon: "/static/adminImg/item4.png",
@@ -171,34 +196,33 @@ export default {
}
},
- toPage(path,item) {
- if(item.title === '注销'){
- let u = navigator.userAgent;
- let isAndroid =
- u.indexOf("Android") > -1 || u.indexOf("Adr") > -1; //android
- // let isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios
- try {
- if (isAndroid && AndroidJs) {
- console.log("%c%s", "color:red", "安卓--调用返回方法");
- const reqRow = {
- name: "logout",
- data: "",
- };
- AndroidJs.func(JSON.stringify(reqRow)); // 给安卓传参
- } else {
- console.log("%c%s", "color:red", "苹果--调用返回方法");
- const reqRow = {
- name: "back-iphone",
- data: "",
- };
- window.webkit.messageHandlers.func.postMessage(
- JSON.stringify(reqRow)
- ); // 给ios 传参
- }
- } catch (e) {
- console.log(e, "e-----判断安卓苹果类型出错");
- }
- return
+ toPage(path, item) {
+ if (item.title === "注销") {
+ let u = navigator.userAgent;
+ let isAndroid = u.indexOf("Android") > -1 || u.indexOf("Adr") > -1; //android
+ // let isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios
+ try {
+ if (isAndroid && AndroidJs) {
+ console.log("%c%s", "color:red", "安卓--调用返回方法");
+ const reqRow = {
+ name: "logout",
+ data: "",
+ };
+ AndroidJs.func(JSON.stringify(reqRow)); // 给安卓传参
+ } else {
+ console.log("%c%s", "color:red", "苹果--调用返回方法");
+ const reqRow = {
+ name: "back-iphone",
+ data: "",
+ };
+ window.webkit.messageHandlers.func.postMessage(
+ JSON.stringify(reqRow)
+ ); // 给ios 传参
+ }
+ } catch (e) {
+ console.log(e, "e-----判断安卓苹果类型出错");
+ }
+ return;
}
if (!path) return;
useRouter(path, {}, "navigateTo");
@@ -212,6 +236,7 @@ export default {
height: calc(100vh - 100rpx);
// background: #f6f8fc;
.content-title {
+ background: #fff;
text-align: center;
padding-top: 40rpx;
font-size: 30rpx;
@@ -223,8 +248,9 @@ export default {
align-items: center;
flex-direction: column;
min-height: 200rpx;
- padding: 70rpx 40rpx 0;
+ padding: 70rpx 40rpx 32rpx;
// background: linear-gradient(to bottom, #e5ebfd, #f6f8fc);
+ background-color: #fff;
.avatar-box {
width: 140rpx;
@@ -242,26 +268,57 @@ export default {
font-weight: bold;
}
+ .empty-box {
+ height: 20rpx;
+ background-color: #f6f8fc;
+ }
+
.cell-list-box {
+ // margin-top: 20rpx;
+ padding: 0 32rpx;
+ background-color: #fff;
+
+ .cell-list-item {
+ border-bottom: 1px solid #f4f4f4;
+ padding: 0 10rpx;
+ height: 100rpx;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ &-left {
+ display: flex;
+
+ text {
+ margin-left: 24rpx;
+ align-self: center;
+ }
+ }
+ &-right {
+ color: #999;
+ }
+ }
+ }
+
+ .cell-list-box2 {
margin-top: 20rpx;
padding: 0 32rpx;
+ background-color: #fff;
- .cell-list-group {
- .cell-list-item {
- border-bottom: 1px solid #e9eaee;
- padding: 0 10rpx;
- height: 100rpx;
+ .cell-list-item {
+ border-bottom: 1px solid #f4f4f4;
+ padding: 0 10rpx;
+ height: 100rpx;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ &-left {
display: flex;
- justify-content: space-between;
- align-items: center;
- &-left {
- display: flex;
-
- text {
- margin-left: 24rpx;
- align-self: center;
- }
+ text {
+ margin-left: 24rpx;
+ align-self: center;
}
}
}