diff --git a/components/informations/titles/titles.vue b/components/informations/titles/titles.vue
index 00b211c..76a6d0f 100644
--- a/components/informations/titles/titles.vue
+++ b/components/informations/titles/titles.vue
@@ -1,80 +1,116 @@
-
-
-
-
- {{item.text}}
-
-
-
+
+
+
+
+ {{item.text}}
+
+
+
\ No newline at end of file
+ export default {
+ name: "info_title",
+ data() {
+
+ return {
+ list: [{
+ id: 0,
+ url: '../../static/pageD/info(11).png',
+ text: '公告/资讯'
+ },
+ {
+ id: 0,
+ url: '../../static/pageD/info(6).png',
+ text: '活动消息'
+ },
+ {
+ id: 0,
+ url: '../../static/pageD/info(14).png',
+ text: '交易物流'
+
+ },
+ {
+ id: 0,
+ url: '../../static/pageD/info(15).png',
+ text: '关注消息'
+ },
+
+ ],
+ }
+ },
+ methods: {
+ // 点击顶部的标题模块跳转
+ route_skip(index) {
+ console.log(index)
+ switch (index) {
+ case 0:
+ uni.navigateTo({
+ url: '/pageD' + "/notice/notice"
+ });
+ break;
+ case 1:
+ uni.navigateTo({
+ url: '/pageD' + "/activity/activity"
+ });
+ break;
+ case 2:
+ uni.navigateTo({
+ url: '/pageD' + "/logistics/logistics"
+ });
+ break;
+ case 3:
+ uni.navigateTo({
+ url: '/pageD' + "/attention/attention"
+ });
+ break;
+ default:
+ break;
+ }
+ }
+ }
+ }
+
diff --git a/pageA/login/login.vue b/pageA/login/login.vue
index d76c9fe..0944401 100644
--- a/pageA/login/login.vue
+++ b/pageA/login/login.vue
@@ -13,8 +13,14 @@
- {{text}}
+
+
+
+
+ {{tips}}
+
+
@@ -34,7 +40,9 @@
其他方式登录
- {{login}}
+
+ {{login}}
+
@@ -43,7 +51,7 @@
QQ登录
-
+
微信登录
取消
@@ -62,9 +70,12 @@
disabled: false
}],
value: '',
- text : '获取验证码',
+ text: '获取验证码',
login: '登录',
- show: false
+ show: false,
+ tips: '',
+ // refCode: null,
+ seconds: 60,
};
},
methods: {
@@ -76,22 +87,69 @@
checkboxGroupChange(e) {
// console.log(e);
},
- mask_u(){
+ mask_u() {
this.show = !this.show
},
// 获取验证码倒计时
- getCode(){
+ getCode() {
console.log("11")
this.loading()
},
- loading(){
-
+ loading() {
+
+ },
+ codeChange(text) {
+ this.tips = text;
+ },
+ getCode() {
+ if (this.$refs.uCode.canGetCode) {
+ // 模拟向后端请求验证码
+ uni.showLoading({
+ title: '正在获取验证码'
+ })
+ setTimeout(() => {
+ uni.hideLoading();
+ // 这里此提示会被this.start()方法中的提示覆盖
+ this.$u.toast('验证码已发送');
+ // 通知验证码组件内部开始倒计时
+ this.$refs.uCode.start();
+ }, 2000);
+ } else {
+ this.$u.toast('倒计时结束后再发送');
+ }
+ },
+ end() {
+ this.$u.toast('倒计时结束');
+ },
+ start() {
+ this.$u.toast('倒计时开始');
}
}
};