diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index e29e48e..457d7c5 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -10,7 +10,8 @@ module.exports = {
getApp: 'writable',
wx: 'writable',
getCurrentPages: 'writable',
- requirePlugin: 'writable'
+ requirePlugin: 'writable',
+ plus: 'writable'
},
// 指定如何解析语法
parser: 'vue-eslint-parser',
diff --git a/api/system.js b/api/system.js
index c350145..a634343 100644
--- a/api/system.js
+++ b/api/system.js
@@ -10,3 +10,12 @@ export function getCountryListRequest(data) {
data
})
}
+
+// 获取app信息
+export function getAppInfoRequest(data) {
+ return request({
+ url: '/app/getAppInfo',
+ method: 'POST',
+ data
+ })
+}
diff --git a/manifest.json b/manifest.json
index a906b3e..c6b79b4 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
{
- "name": "wx-starlock",
+ "name": "星星锁Lite",
"appid": "__UNI__933D519",
"description": "",
"versionName": "1.3.0",
diff --git a/pages/main/mine.vue b/pages/main/mine.vue
index f7626e6..42e9c8e 100644
--- a/pages/main/mine.vue
+++ b/pages/main/mine.vue
@@ -11,6 +11,7 @@
>
+
+
+
+
+
+ 客服
+
+
+
+
公司介绍
@@ -118,6 +132,7 @@
import env from '@/config/env'
import { setStorage, getStorage, removeStorage } from '@/utils/storage'
import { useNotificationStore } from '@/stores/notification'
+ import { getAppInfoRequest } from '@/api/system'
export default {
data() {
@@ -170,6 +185,13 @@
url: '/pages/main/home'
})
},
+ toContact() {
+ getAppInfoRequest().then(res => {
+ if (res.code === 0) {
+ plus.runtime.openURL(res.data.wechat_service_url)
+ }
+ })
+ },
async changePhone(res) {
if (res.detail.errMsg === 'getPhoneNumber:fail user deny') {
return