From 8ac82fffc9ba5012b6b8d4e270d745fa0a6fbf94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com>
Date: Thu, 13 Jan 2022 17:36:31 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=95=86=E5=9F=8E?=
=?UTF-8?q?=E8=BD=AC=E8=B7=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/store/goods.vue | 6 ++++++
pages/user/index.vue | 28 ++++++++++++++++++++++++++--
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/pages/store/goods.vue b/pages/store/goods.vue
index c26b9e2..4e9d2f2 100644
--- a/pages/store/goods.vue
+++ b/pages/store/goods.vue
@@ -41,6 +41,7 @@
diff --git a/apis/interfaces/store.js b/apis/interfaces/store.js
index 9ba9cfb..7b7f875 100644
--- a/apis/interfaces/store.js
+++ b/apis/interfaces/store.js
@@ -33,7 +33,6 @@ const meals = (id, categoryId) => {
// 商品列表
const lists = data => {
- console.log(data)
return request({
url: 'mall/goods',
data
diff --git a/pages.json b/pages.json
index fbdc820..19ec562 100644
--- a/pages.json
+++ b/pages.json
@@ -131,7 +131,20 @@
"style": {
"navigationBarTitleText": "商品",
"navigationBarBackgroundColor": "#FFFFFF",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": true,
+ "app-plus": {
+ "titleNView": {
+ "backgroundColor": "#FFFFFF",
+ "titleSize": "16",
+ "buttons": [{
+ "float": "right",
+ "text": "\ue603",
+ "fontSrc": "/static/iconfont.ttf",
+ "color": "#000",
+ "fontSize": "20px"
+ }]
+ }
+ }
}
}, {
"path": "pages/store/meals",
@@ -214,155 +227,162 @@
"enablePullDownRefresh": true
}
}, {
- "path": "pages/notice/index",
+ "path": "pages/notice/index",
"name": "noticeIndex",
"style": {
- "navigationBarTitleText": "消息",
+ "navigationBarTitleText": "消息",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
}
}, {
- "path": "pages/notice/list",
+ "path": "pages/notice/list",
"name": "noticeList",
"style": {
- "navigationBarTitleText": "消息",
+ "navigationBarTitleText": "消息",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
}
}, {
- "path": "pages/notice/details",
+ "path": "pages/notice/details",
"name": "noticeDetails",
"style": {
- "navigationBarTitleText": "消息",
+ "navigationBarTitleText": "消息",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
}
- },{
- "path": "pages/im/index",
- "name": "IM",
- "style": {
- "navigationBarTitleText": "聊聊",
- "navigationBarBackgroundColor": "#FFFFFF",
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "float": "right",
- "text": "\ue605",
- "fontSrc": "/static/iconfont.ttf",
- "color": "#000",
- "fontSize": "20px"
- }, {
- "float": "left",
- "text": "\ue606",
- "fontSrc": "/static/iconfont.ttf",
- "color": "#000",
- "fontSize": "20px"
- }]
- }
- }
- }
- },{
+ }, {
+ "path": "pages/im/index",
+ "name": "IM",
+ "style": {
+ "navigationBarTitleText": "聊聊",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "app-plus": {
+ "titleNView": {
+ "buttons": [{
+ "float": "right",
+ "text": "\ue605",
+ "fontSrc": "/static/iconfont.ttf",
+ "color": "#000",
+ "fontSize": "20px"
+ }, {
+ "float": "left",
+ "text": "\ue606",
+ "fontSrc": "/static/iconfont.ttf",
+ "color": "#000",
+ "fontSize": "20px"
+ }]
+ }
+ }
+ }
+ }, {
"path": "pages/im/chum",
"name": "ImChum",
"style": {
"navigationBarTitleText": "好友",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/wallet/add",
"name": "WalletAdd",
"style": {
- "navigationBarTitleText": "创建钱包",
- "navigationBarBackgroundColor":"#FFFFFF",
+ "navigationBarTitleText": "创建钱包",
+ "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/wallet/create",
"name": "WalletCreate",
"style": {
- "navigationBarTitleText": "设置密码",
- "navigationBarBackgroundColor":"#FFFFFF",
+ "navigationBarTitleText": "设置密码",
+ "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/wallet/mnemonic",
"name": "WalletMnemonic",
"style": {
- "navigationBarTitleText": "导出助记词",
- "navigationBarBackgroundColor":"#FFFFFF",
+ "navigationBarTitleText": "导出助记词",
+ "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/wallet/validation",
"name": "WalletValidation",
"style": {
- "navigationBarTitleText": "验证助记词",
- "navigationBarBackgroundColor":"#FFFFFF",
+ "navigationBarTitleText": "验证助记词",
+ "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/wallet/property",
"name": "WalletProperty",
"style": {
- "navigationBarTitleText": "ZH钱包",
- "navigationBarTextStyle":"white",
- "app-plus": {
- "titleNView": {
- "backgroundImage": "linear-gradient(to right, #34ce98, #22aa98)",
- "type": "transparent",
- "buttons": [{
- "float": "right",
- "text": "\ue607",
- "fontSrc": "/static/iconfont.ttf",
- "color": "#FFF",
- "fontSize": "20px",
- "background": "rgba(0,0,0,0)"
- }],
- "backButton":{
- "background": "rgba(0,0,0,0)"
- }
- }
+ "navigationBarTitleText": "ZH钱包",
+ "navigationBarTextStyle": "white",
+ "app-plus": {
+ "titleNView": {
+ "backgroundImage": "linear-gradient(to right, #34ce98, #22aa98)",
+ "type": "transparent",
+ "buttons": [{
+ "float": "right",
+ "text": "\ue607",
+ "fontSrc": "/static/iconfont.ttf",
+ "color": "#FFF",
+ "fontSize": "20px",
+ "background": "rgba(0,0,0,0)"
+ }],
+ "backButton": {
+ "background": "rgba(0,0,0,0)"
+ }
+ }
}
}
- },{
+ }, {
"path": "pages/service/index",
"name": "serviceIndex",
"style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/service/index",
"name": "serviceIndex",
"style": {
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/service/details",
"name": "serviceDetails",
"style": {
"navigationBarTitleText": ""
- }
- },{
+ }
+ }, {
"path": "pages/wallet/privatekey",
"name": "WalletPrivatekey",
"style": {
- "navigationBarTitleText": "钱包私钥",
- "navigationBarBackgroundColor":"#FFFFFF",
+ "navigationBarTitleText": "钱包私钥",
+ "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false
}
- },{
+ }, {
"path": "pages/wallet/resetPassword",
"name": "ResetPassword",
"style": {
- "navigationBarTitleText": "修改钱包密码",
- "navigationBarBackgroundColor":"#FFFFFF",
+ "navigationBarTitleText": "修改钱包密码",
+ "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false
}
- }],
+ }, {
+ "path": "pages/store/search",
+ "name": "StoreSearch",
+ "style": {
+ "navigationBarTitleText": "搜索",
+ "navigationBarBackgroundColor": "#FFFFFF"
+ }
+ }],
"tabBar": {
"borderStyle": "white",
"selectedColor": "#34CE98",
diff --git a/pages/im/index.vue b/pages/im/index.vue
index e79cd95..3e19f35 100644
--- a/pages/im/index.vue
+++ b/pages/im/index.vue
@@ -1,6 +1,6 @@
-
+
连接 -->
-
-
-
+
+
+
+
+
+
+
+
- 消息
+ {{item.message}}
@@ -45,7 +53,33 @@
export default {
data() {
return {
- messageArr : [],
+ messageArr : [
+ {
+ cover: 'https://cdn.uviewui.com/uview/album/1.jpg',
+ name: '班班五月',
+ message: '咱们进直播间了吗?上课啦~今天教大家【拆解项目背后的逻辑】',
+ time: '昨天'
+ },
+ {
+ cover: 'https://cdn.uviewui.com/uview/album/4.jpg',
+ name: '周磊',
+ message: '[语音]',
+ time: '周一'
+ },
+ {
+ cover: '',
+ text: 'S',
+ name: 'SKY',
+ message: '谢谢',
+ time: '2022/1/5'
+ },
+ {
+ cover: 'https://cdn.uviewui.com/uview/album/5.jpg',
+ name: '俊少',
+ message: '[语音]',
+ time: '2022/1/4'
+ },
+ ],
optionsAction: [
{
text: '删除',
@@ -58,17 +92,26 @@
},
methods:{
openChum(){
- this.$Router.push({name: 'ImChum'})
- console.log("好友列表")
+ uni.showToast({
+ title: '聊聊系统正在开发中,敬请期待',
+ icon : 'none'
+ })
}
},
onNavigationBarButtonTap(e) {
+
switch (e.index){
case 1:
- this.openChum()
+ uni.showToast({
+ title: '聊聊好友系统正在开发中,敬请期待',
+ icon : 'none'
+ })
break;
case 0:
- console.log("扫码添加好友")
+ uni.showToast({
+ title: '聊聊扫一扫系统正在开发中,敬请期待',
+ icon : 'none'
+ })
break;
}
}
diff --git a/pages/index/search.vue b/pages/index/search.vue
index 4dd35b6..7113bab 100644
--- a/pages/index/search.vue
+++ b/pages/index/search.vue
@@ -1,26 +1,28 @@
-
+
-
-
-
-
-
- 取消
-
-
+
+
+
@@ -123,44 +125,34 @@
diff --git a/pages/store/search.vue b/pages/store/search.vue
new file mode 100644
index 0000000..04229be
--- /dev/null
+++ b/pages/store/search.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+