diff --git a/README.md b/README.md
index 0df53ed..89dea20 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,39 @@
-# uav-uniapp-240725
+# mobile-shop-uniapp
+#### 介绍
+{**以下是 Gitee 平台说明,您可以替换此简介**
+Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
+无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
+
+#### 软件架构
+软件架构说明
+
+
+#### 安装教程
+
+1. xxxx
+2. xxxx
+3. xxxx
+
+#### 使用说明
+
+1. xxxx
+2. xxxx
+3. xxxx
+
+#### 参与贡献
+
+1. Fork 本仓库
+2. 新建 Feat_xxx 分支
+3. 提交代码
+4. 新建 Pull Request
+
+
+#### 特技
+
+1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
+2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
+3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
+4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
+5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
+6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
diff --git a/components/center/center.vue b/components/center/center.vue
index 7a028ab..c999286 100644
--- a/components/center/center.vue
+++ b/components/center/center.vue
@@ -157,6 +157,16 @@
{{ $t('page.center.customer_serivce') }}
+
+
+
+
+
+
+ {{ $t('page.center.loginRecord') }}
+
+
+
@@ -345,6 +355,14 @@
})
},
+ //跳转登录记录列表
+ toLoginRecord(){
+ this.$play()
+ uni.navigateTo({
+ url: '/pages/loginRecord/loginRecord'
+ })
+ },
+
//跳转中奖记录
toWinningRecord(){
this.$play()
diff --git a/locale/en.js b/locale/en.js
index 3865a80..7192ce4 100644
--- a/locale/en.js
+++ b/locale/en.js
@@ -126,7 +126,14 @@ export default {
"save": "Save",
"fanList": "Fan List",
"cannotModified": "Cannot be modified",
- "winningRecord": "Winning Record"
+ "winningRecord": "Winning Record",
+ "loginRecord" : "Entry record"
+ },
+ "loginRecord" : {
+ "title" : "Entry record",
+ "Norecord" : "No record",
+ "login_time" : "login time",
+ "login_address" : "login address",
},
"purse": {
"recharge": "Recharge",
diff --git a/locale/es.js b/locale/es.js
index 7d68fed..fdbec44 100644
--- a/locale/es.js
+++ b/locale/es.js
@@ -126,7 +126,14 @@ export default {
"save": "guardar",
"fanList": "Lista de fans",
"cannotModified": "No puede ser modificado",
- "winningRecord": "Registro de ganancias"
+ "winningRecord": "Registro de ganancias",
+ "loginRecord" : "Registro de entrada"
+ },
+ "loginRecord" : {
+ "title" : "Registro de entrada",
+ "Norecord" : "No hay registro",
+ "login_time" : "Tiempo de inicio de sesión",
+ "login_address" : "Dirección de inicio de sesión",
},
"purse": {
"recharge": "recarga",
diff --git a/pages.json b/pages.json
index 2a36eac..2def3a3 100644
--- a/pages.json
+++ b/pages.json
@@ -113,6 +113,13 @@
{
"navigationBarTitleText" : ""
}
+ },
+ {
+ "path" : "pages/loginRecord/loginRecord",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
}
],
"globalStyle": {
diff --git a/pages/loginRecord/loginRecord.vue b/pages/loginRecord/loginRecord.vue
new file mode 100644
index 0000000..ec4260d
--- /dev/null
+++ b/pages/loginRecord/loginRecord.vue
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+ {{ $t('page.loginRecord.login_time') }}
+
+
+ {{ $t('page.loginRecord.login_address') }}
+
+
+
+
+ {{ item.createTime }}
+
+
+ {{ item.loginIp }}
+
+
+
+
+
+
+ {{ $t('page.loginRecord.Norecord') }}
+
+
+
+
+
+
+
diff --git a/pages/winningRecord/winningRecord.vue b/pages/winningRecord/winningRecord.vue
index 8e61b69..a0b4988 100644
--- a/pages/winningRecord/winningRecord.vue
+++ b/pages/winningRecord/winningRecord.vue
@@ -64,8 +64,8 @@
//获取中奖详情
getTurntableDetail(id, key) {
- const item = this.winningRecordList.find(item => item.id === id);
- return item ? item[key] : {}; // 如果没有找到,可以返回一个默认值
+ const item = this.winningRecordList.find(item => item.id === id);
+ return item ? item[key] : {}; // 如果没有找到,可以返回一个默认值
}
}
}
diff --git a/static/center/login.png b/static/center/login.png
new file mode 100644
index 0000000..321dd15
Binary files /dev/null and b/static/center/login.png differ
diff --git a/utils/shop.js b/utils/shop.js
index 94c8b34..c2076aa 100644
--- a/utils/shop.js
+++ b/utils/shop.js
@@ -58,5 +58,7 @@ export default {
//获取提示签到说明
getTips : { url : '/index/getTips' , method : 'GET' , auth : true },
//获取banner列表
- getAppBanner : { url : '/shop/getAppBanner' , method : 'GET' , auth : true }
+ getAppBanner : { url : '/shop/getAppBanner' , method : 'GET' , auth : true },
+ //获取banner列表
+ getIpLogPage : { url : '/info/getIpLogPage' , method : 'GET' , auth : true },
}
\ No newline at end of file