diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue
index ad879c9..bbff9ef 100644
--- a/components/base/tabbar.vue
+++ b/components/base/tabbar.vue
@@ -3,13 +3,13 @@
-
@@ -36,33 +36,29 @@
"selectedIconPath": "/static/image/tabbar/home-a.png",
"iconPath": "/static/image/tabbar/home.png",
"pagePath": "/pages/index/index",
- "title": "首页"
+ "title": "首页",
+ key : 'home',
},
{
- "selectedIconPath": "/static/image/tabbar/category-a.png",
- "iconPath": "/static/image/tabbar/category.png",
- "pagePath": "/pages/index/category",
- "title": "分类",
- isNotShop : true,
- },
- {
- "selectedIconPath": "/static/image/tabbar/order-a.png",
- "iconPath": "/static/image/tabbar/order.png",
- "pagePath": "/pages/index/order",
- "title": "订单中心"
+ "selectedIconPath": "/static/image/tabbar/member-a.png",
+ "iconPath": "/static/image/tabbar/member.png",
+ "pagePath": "/pages/index/member",
+ "title": "会员",
+ key : 'member',
},
{
"selectedIconPath": "/static/image/tabbar/cart-a.png",
"iconPath": "/static/image/tabbar/cart.png",
"pagePath": "/pages/index/cart",
"title": "购物车",
- isNotShop : true,
+ key : 'cart',
},
{
"selectedIconPath": "/static/image/tabbar/center-a.png",
"iconPath": "/static/image/tabbar/center.png",
"pagePath": "/pages/index/center",
- "title": "个人中心"
+ "title": "我的",
+ key : 'center',
}
]
};
diff --git a/components/config/PrivacyAgreementPoup.vue b/components/config/PrivacyAgreementPoup.vue
index 6eda2c6..e9f23f2 100644
--- a/components/config/PrivacyAgreementPoup.vue
+++ b/components/config/PrivacyAgreementPoup.vue
@@ -10,7 +10,7 @@
- 欢迎来到酒店布草!我们根据最新的法律法规、监管政策要求,更新了《用户协议》和《隐私政策》,请您认真阅读。
+ 欢迎来到三只青蛙小程序!我们根据最新的法律法规、监管政策要求,更新了《用户协议》和《隐私政策》,请您认真阅读。
@@ -18,7 +18,7 @@
- 同意《酒店布草隐私政策》
+ 同意《三只青蛙小程序隐私政策》
以及《用户协议》
diff --git a/pages.json b/pages.json
index e8910a4..b4b9e5b 100644
--- a/pages.json
+++ b/pages.json
@@ -28,6 +28,13 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path" : "pages/index/member",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
}
],
"preloadRule": {
diff --git a/pages/index/cart.vue b/pages/index/cart.vue
index 4c9a7c2..96c8ba3 100644
--- a/pages/index/cart.vue
+++ b/pages/index/cart.vue
@@ -77,7 +77,7 @@
-
+
diff --git a/pages/index/center.vue b/pages/index/center.vue
index 151e503..df4ad28 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -18,36 +18,13 @@
今天是您来的的第32天
-
- 角色切换
-
-
-
-
-
-
- 我的用户
-
-
-
-
- 客户:王生
-
-
- 剩余水洗布:198
-
-
-
-
-
-
-
+
@@ -120,7 +97,7 @@
-
+
@@ -136,24 +113,12 @@
userShopCommission,
},
computed: {
- ...mapGetters(['userShop']),
},
data() {
return {
}
},
methods: {
- headBtn() {
- let self = this
- uni.showModal({
- title: '演示切换角色之后的效果',
- success(res) {
- if (res.confirm) {
- self.$store.state.shop = !self.$store.state.shop
- }
- }
- })
- },
}
}
@@ -267,40 +232,6 @@
}
}
- .userShop {
- .userList {
- .title {
- font-size: 32rpx;
- font-weight: 900;
- padding: 20rpx;
- }
-
- .list {
- display: flex;
- flex-wrap: wrap;
-
- .item {
- width: 270rpx;
- margin: 20rpx;
- display: flex;
- flex-direction: column;
- padding: 40rpx 30rpx;
- background-color: #fff;
- border-radius: 30rpx;
- line-height: 60rpx;
-
- .name {}
-
- .num {
- color: $uni-color;
- font-weight: 600;
- font-size: 28rpx;
- }
- }
- }
- }
- }
-
.user {
.line {
display: flex;
diff --git a/pages/index/index.vue b/pages/index/index.vue
index dc9e069..a9f7fd6 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,31 +1,19 @@
-
+
-
-
-
-
- {{ area }}
-
- |
-
+
-
-
-
-
-
-
+
+ 三只青蛙
+
+
+
@@ -36,81 +24,26 @@
keyName="url">
-
-
-
-
-
-
- 我的客户
-
-
- {{ 30 }}
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
- HOUS水洗店
-
-
-
- 桌布水洗
-
-
- 桌布租赁
-
-
-
- 9:00-18:00
-
-
- 长沙市天心区桂花坪街道231号
-
-
-
-
- 我要水洗
-
-
+
-
-
-
-
+
+
+
+
+
-
-
+
@@ -118,24 +51,16 @@
import PrivacyAgreementPoup from '@/components/config/PrivacyAgreementPoup.vue'
import Position from '@/utils/position.js'
import tabber from '@/components/base/tabbar.vue'
- import productList from '@/components/user/productList.vue'
import { mapGetters } from 'vuex'
- // import selectArea from '../../components/selectArea.vue';
export default {
components : {
tabber,
- productList,
PrivacyAgreementPoup,
},
data() {
return {
area: '长沙',
- text : '长沙市刘师傅在服务过程中客户投诉“服务过程中有不文明的行为”.....',
- queryParams: {
- pageNo: 1,
- pageSize: 10,
- title: ''
- },
+ notice : '长沙市刘师傅在服务过程中客户投诉“服务过程中有不文明的行为”.....',
bannerList: [
{
url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
@@ -147,264 +72,108 @@
url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
},
],
+ baseList : [
+ {
+ image : '/static/image/home/1.png',
+ title : '关于我们',
+ },
+ {
+ image : '/static/image/home/1.png',
+ title : '产品介绍',
+ },
+ {
+ image : '/static/image/home/2.png',
+ title : '促销活动',
+ },
+ {
+ image : '/static/image/home/3.png',
+ title : '商城',
+ },
+ {
+ image : '/static/image/home/4.png',
+ title : '邀请好友',
+ },
+ {
+ image : '/static/image/home/5.png',
+ title : '新闻中心',
+ },
+ {
+ image : '/static/image/home/6.png',
+ title : '校企合作',
+ },
+ {
+ image : '/static/image/home/7.png',
+ title : '联系我们',
+ },
+ ],
productList: [],
+ keyword : '',
}
},
computed : {
- ...mapGetters(['userShop']),
},
methods: {
- //显示选择地区
- showSelectArea() {
- // this.$refs.selectArea.open()
- },
- //搜索地址
- searchAddress() {
- Position.getLocation(res => {
- Position.selectAddress(res.longitude, res.latitude, success => {
- let address = this.extractProvinceAndCity(success)
- this.queryParams.title = address.city
- })
- })
- },
- //提取用户选择的地址信息(省市县信息)
- extractProvinceAndCity(res) { //提取用户选择的地址信息(省市)
- if (!res.address && res.name) { //用户直接选择城市的逻辑
- return {
- province: '',
- city: res.name
- };
- }
-
- if (res.address) { //用户选择了详细地址,要从详细地址中提取出省市县信息
- // 使用正则表达式匹配省市县
- const regex = /(?[\u4e00-\u9fa5]+?省)(?[\u4e00-\u9fa5]+?(?:市|自治州|盟|地区))/;
- const match = res.address.match(regex);
- if (match) { // 如果匹配成功,则返回省和市的信息
- return {
- province: match.groups.province,
- city: match.groups.city
- };
- }
- }
-
- return { //用户没选择地址就点了确定按钮
- province: '',
- city: ''
- }
- },
}
}
diff --git a/pages_order/auth/wxLogin.vue b/pages_order/auth/wxLogin.vue
index 96925fc..7c223f3 100644
--- a/pages_order/auth/wxLogin.vue
+++ b/pages_order/auth/wxLogin.vue
@@ -4,7 +4,7 @@
- 欢迎使用酒店桌布租赁平台
+ 欢迎使用三只青蛙小程序
diff --git a/pages_order/auth/wxUserInfo.vue b/pages_order/auth/wxUserInfo.vue
index f72f89c..a371883 100644
--- a/pages_order/auth/wxUserInfo.vue
+++ b/pages_order/auth/wxUserInfo.vue
@@ -1,7 +1,7 @@
- 酒店桌布租赁平台
+ 三只青蛙小程序
申请获取你的头像、昵称
diff --git a/static/image/home/0.png b/static/image/home/0.png
deleted file mode 100644
index e221211..0000000
Binary files a/static/image/home/0.png and /dev/null differ
diff --git a/static/image/home/1.png b/static/image/home/1.png
index 0b7d3dc..e99f704 100644
Binary files a/static/image/home/1.png and b/static/image/home/1.png differ
diff --git a/static/image/home/2.png b/static/image/home/2.png
index 8ba997f..46ef3d1 100644
Binary files a/static/image/home/2.png and b/static/image/home/2.png differ
diff --git a/static/image/home/3.png b/static/image/home/3.png
index a7f85f3..cb3d12c 100644
Binary files a/static/image/home/3.png and b/static/image/home/3.png differ
diff --git a/static/image/home/4.png b/static/image/home/4.png
new file mode 100644
index 0000000..b611f86
Binary files /dev/null and b/static/image/home/4.png differ
diff --git a/static/image/home/5.png b/static/image/home/5.png
new file mode 100644
index 0000000..0099f23
Binary files /dev/null and b/static/image/home/5.png differ
diff --git a/static/image/home/6.png b/static/image/home/6.png
new file mode 100644
index 0000000..b1f5494
Binary files /dev/null and b/static/image/home/6.png differ
diff --git a/static/image/home/7.png b/static/image/home/7.png
new file mode 100644
index 0000000..b631f9b
Binary files /dev/null and b/static/image/home/7.png differ
diff --git a/static/image/home/address-icon.png b/static/image/home/address-icon.png
deleted file mode 100644
index 51a11d2..0000000
Binary files a/static/image/home/address-icon.png and /dev/null differ
diff --git a/static/image/home/arrow-icon.png b/static/image/home/arrow-icon.png
deleted file mode 100644
index 9f3431a..0000000
Binary files a/static/image/home/arrow-icon.png and /dev/null differ
diff --git a/static/image/home/search-icon.png b/static/image/home/search-icon.png
deleted file mode 100644
index 58bde8a..0000000
Binary files a/static/image/home/search-icon.png and /dev/null differ
diff --git a/static/image/tabbar/cart-a.png b/static/image/tabbar/cart-a.png
index b48261c..0ae87df 100644
Binary files a/static/image/tabbar/cart-a.png and b/static/image/tabbar/cart-a.png differ
diff --git a/static/image/tabbar/cart.png b/static/image/tabbar/cart.png
index d211ea1..ae2cf30 100644
Binary files a/static/image/tabbar/cart.png and b/static/image/tabbar/cart.png differ
diff --git a/static/image/tabbar/category-a.png b/static/image/tabbar/category-a.png
deleted file mode 100644
index 6dd7bc6..0000000
Binary files a/static/image/tabbar/category-a.png and /dev/null differ
diff --git a/static/image/tabbar/category.png b/static/image/tabbar/category.png
deleted file mode 100644
index f667e88..0000000
Binary files a/static/image/tabbar/category.png and /dev/null differ
diff --git a/static/image/tabbar/center-a.png b/static/image/tabbar/center-a.png
index 61df5ef..30d2017 100644
Binary files a/static/image/tabbar/center-a.png and b/static/image/tabbar/center-a.png differ
diff --git a/static/image/tabbar/center.png b/static/image/tabbar/center.png
index 74f685c..f42631a 100644
Binary files a/static/image/tabbar/center.png and b/static/image/tabbar/center.png differ
diff --git a/static/image/tabbar/home-a.png b/static/image/tabbar/home-a.png
index 5388253..ef08e3b 100644
Binary files a/static/image/tabbar/home-a.png and b/static/image/tabbar/home-a.png differ
diff --git a/static/image/tabbar/home.png b/static/image/tabbar/home.png
index 6f7accb..ac5f02b 100644
Binary files a/static/image/tabbar/home.png and b/static/image/tabbar/home.png differ
diff --git a/static/image/tabbar/member-a.png b/static/image/tabbar/member-a.png
new file mode 100644
index 0000000..594578f
Binary files /dev/null and b/static/image/tabbar/member-a.png differ
diff --git a/static/image/tabbar/member.png b/static/image/tabbar/member.png
new file mode 100644
index 0000000..8873b5a
Binary files /dev/null and b/static/image/tabbar/member.png differ
diff --git a/static/image/tabbar/order-a.png b/static/image/tabbar/order-a.png
deleted file mode 100644
index 6192093..0000000
Binary files a/static/image/tabbar/order-a.png and /dev/null differ
diff --git a/static/image/tabbar/order.png b/static/image/tabbar/order.png
deleted file mode 100644
index df9eeb8..0000000
Binary files a/static/image/tabbar/order.png and /dev/null differ
diff --git a/uni.scss b/uni.scss
index 6e2d4c6..59369be 100644
--- a/uni.scss
+++ b/uni.scss
@@ -12,7 +12,7 @@
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
-$uni-color: #FD5100;
+$uni-color: #A3D250;
/* 行为相关颜色 */
$uni-color-primary: #007aff;
diff --git a/uni_modules/uv-icon/components/uv-icon/props.js b/uni_modules/uv-icon/components/uv-icon/props.js
index 7668cf9..4653f88 100644
--- a/uni_modules/uv-icon/components/uv-icon/props.js
+++ b/uni_modules/uv-icon/components/uv-icon/props.js
@@ -13,7 +13,7 @@ export default {
// 字体大小,单位px
size: {
type: [String, Number],
- default: '16px'
+ default: '30rpx'
},
// 是否显示粗体
bold: {
diff --git a/uni_modules/uv-notice-bar/components/uv-notice-bar/props.js b/uni_modules/uv-notice-bar/components/uv-notice-bar/props.js
index 3fe0b44..5b19ac1 100644
--- a/uni_modules/uv-notice-bar/components/uv-notice-bar/props.js
+++ b/uni_modules/uv-notice-bar/components/uv-notice-bar/props.js
@@ -23,7 +23,7 @@ export default {
// 通告模式,link-显示右箭头,closable-显示右侧关闭图标
mode: {
type: String,
- default: ''
+ default: 'link'
},
// 文字颜色,各图标也会使用文字颜色
color: {
@@ -38,12 +38,12 @@ export default {
// 水平滚动时的滚动速度,即每秒滚动多少px(px),这有利于控制文字无论多少时,都能有一个恒定的速度
speed: {
type: [String, Number],
- default: 80
+ default: 100
},
// 字体大小
fontSize: {
type: [String, Number],
- default: 14
+ default: 26
},
// 滚动一个周期的时间长,单位ms
duration: {
diff --git a/uni_modules/uv-search/components/uv-search/props.js b/uni_modules/uv-search/components/uv-search/props.js
index 338d99c..1b713b3 100644
--- a/uni_modules/uv-search/components/uv-search/props.js
+++ b/uni_modules/uv-search/components/uv-search/props.js
@@ -90,7 +90,7 @@ export default {
},
searchIconSize: {
type: [Number, String],
- default: 22
+ default: 32
},
// 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
margin: {
diff --git a/uni_modules/uv-tabs/components/uv-tabs/props.js b/uni_modules/uv-tabs/components/uv-tabs/props.js
index acab29e..b3e3362 100644
--- a/uni_modules/uv-tabs/components/uv-tabs/props.js
+++ b/uni_modules/uv-tabs/components/uv-tabs/props.js
@@ -13,7 +13,7 @@ export default {
// 滑块颜色
lineColor: {
type: String,
- default: '#3c9cff'
+ default: '#169bd5'
},
// 菜单选择中时的样式
activeStyle: {
@@ -32,12 +32,12 @@ export default {
// 滑块长度
lineWidth: {
type: [String, Number],
- default: 20
+ default: 40
},
// 滑块高度
lineHeight: {
type: [String, Number],
- default: 3
+ default: 10
},
// 滑块背景显示大小,当滑块背景设置为图片时使用
lineBgSize: {