diff --git a/App.vue b/App.vue
index 8bd670e..77fd51d 100644
--- a/App.vue
+++ b/App.vue
@@ -1,4 +1,5 @@
-
+
+ .jsq{
+ border: none !important;
+ font-size: 14px;
+ font-weight: 400;
+ color: #0078FF;
+ }
+ .anniu{
+ width: 150px;
+ height: 40px;
+ border-radius: 50px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: white;
+ background: #0D2E8D;
+ color: #FFFFFF;
+ margin: 0 auto;
+ }
+ .cont-popup{
+ height: 250px;
+ width: 300px;
+ background-color: #FFFFFF;
+ box-sizing: border-box;
+ padding: 15px;
+ border-radius: 10px;
+ }
+ .popup-title{
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 18px;
+ font-weight: bold;
+ color: #0D2E8D;
+ }
+ .dix{
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin: 20px 0px;
+ font-size: 18px;
+ font-weight: bold;
+ }
+ .lqiu{
+ width: 15px;
+ height: 15px;
+ border-radius: 50%;
+ border: 1px solid #0D2E8D;
+ background: #0D2E8D;
+ color: white;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ .qiu{
+ width: 15px;
+ height: 15px;
+ border-radius: 50%;
+ border: 1px solid #E8E8E8;
+ }
+ button {
+ border: none !important;
+ background: none !important;
+ margin: 0px;
+ display: block;
+ }
+ button:focus {
+ color: #0078FF;
+ outline: none;
+ box-shadow: none;
+ }
+ .content{
+ box-sizing: border-box;
+ padding-top: 1px;
+ background-image: url('http://www.nuoyunr.com/lananRsc/jdc-bj.png');
+
+ background-size: cover;
+ width: 100%;
+ height: calc(100vh);
+ }
+ .top{
+ box-sizing: border-box;
+ padding: 0px 27px;
+ padding-top: 100px;
+
+
+ // background-color:lightseagreen;
+
+ background-position: center;
+ width: 100%;
+ // height: 385px;
+ }
+ .touxiang{
+ width: 88px;
+ height: 88px;
+ border-radius: 10px;
+ background: #D7D7D7;
+ margin: 0 auto;
+ margin-bottom: 40px;
+ overflow: hidden;
+ image{
+ width: 100%;
+ height: 100%;
+ }
+ }
+ .twotap{
+ width: 100%;
+ display: flex;
+ align-items: center;
+ view{
+ font-size: 15px;
+ font-family: Microsoft YaHei;
+ font-weight: 400;
+ color: #666666;
+ margin-right: 38.5px;
+ }
+ }
+ .blck{
+ color: #333333 !important;
+ font-weight: bold !important;
+ }
+ .inputs{
+ box-sizing: border-box;
+ padding: 16px 0px;
+ display: flex;
+ align-items: center;
+ border-bottom: 2px solid #E8E8E8 ;
+ margin-top: 20px;
+ }
+ .wjworb{
+ margin-top: 5px;
+ width: 100%;
+ display: flex;
+ font-size: 12px;
+ color: #0078FF;
+ justify-content: flex-end;
+ align-items: center;
+
+ }
+ .dl{
+ width: 90%;
+ height: 44px;
+ background-color: #0D2E8D;
+ border-radius: 50px;
+ margin: 0 auto;
+ font-size: 16px;
+ color: #FFFFFF;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin-top: 300px;
+ }
+ .xiaoannoi{
+ width: 90%;
+ height: 40px;
+ margin: 0 auto;
+ border-radius: 50px;
+ overflow: hidden;
+ margin-top: 300px;
+ }
+ .hging{
+ width: 100%;
+ text-align: center;
+ font-size: 14px;
+ font-weight: 400;
+ color: #636363;
+ margin-top: 20px;
+ }
+ .wx{
+ width: 38px;
+ height: 38px;
+ overflow: hidden;
+ box-sizing: border-box;
+ margin: 0px auto;
+ margin-top: 20px;
+ image{
+ width: 100%;
+ height: 100%;
+ }
+ }
+ .hui{
+ font-size: 10px;
+ width: 100%;
+ text-align: center;
+ font-weight: 400;
+ color: #666666;
+ }
+ .dbottom{
+ width: 100%;
+ text-align: center;
+ font-size: 12px;
+ color: #333333;
+ margin-top: 40px;
+ position: fixed;
+ bottom: 25px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
+ .lan{
+ color: #0D2E8D;
+ }
+ .land{
+
+ font-size: 25px;
+ font-weight: bold;
+ color: #0D2E8D;
+ margin-bottom: 5px;
+ }
+ .kuang{
+ width: 90%;
+ margin: 0 auto;
+ margin-top: 100px;
+ }
+ .axquan{
+ width: 18px;
+ height: 18px;
+ border-radius: 50%;
+ border: 1px solid #AAAAAA;
+ margin-right: 5px;
+ }
+ .axquanl{
+ width: 18px;
+ height: 18px;
+ border-radius: 50%;
+ border: 1px solid #AAAAAA;
+ margin-right: 5px;
+ background-color: #0D2E8D;
+ }
+
\ No newline at end of file
diff --git a/pages/my/my.vue b/pages/my/my.vue
index 8e46126..7d61712 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -65,13 +65,16 @@
import VNavigationBar from '@/components/VNavigationBar.vue'
import tabBarVue from '@/components/tabBar/tabBar.vue'
import request from "@/utils/request";
+ import {getToken} from '@/utils/auth.js'
export default {
components: {
tabBarVue,
VNavigationBar
},
onShow(data) {
- this.getServer()
+ if(getToken()){
+ this.getServer()
+ }
},
data() {
return {
@@ -107,9 +110,17 @@
method: 'get',
params:{}
})
- this.customInfo = res.data
- uni.setStorageSync('customerInfo', JSON.stringify(this.customInfo))
- }
+ if(!res.data){
+ uni.reLaunch({
+ url: '/pages/my/register'
+ })
+
+ }else{
+ this.customInfo = res.data
+ uni.setStorageSync('customerInfo', JSON.stringify(this.customInfo))
+ }
+
+ }
}
}
diff --git a/pages/my/register.vue b/pages/my/register.vue
index d9238e1..b36360a 100644
--- a/pages/my/register.vue
+++ b/pages/my/register.vue
@@ -1,6 +1,12 @@
-
+
+
+
+ 注册会员
+
+
姓名
@@ -94,6 +100,11 @@ export default {
this.formData.openId = e.openId
},
methods: {
+ goHome(){
+ uni.reLaunch({
+ url:'/pages/home/home'
+ })
+ },
/**
* 注册
*/
@@ -108,12 +119,9 @@ export default {
data: this.formData
}).then((res) => {
if (res.code==200) {
- if(res.data.hasOwnProperty("accessToken")){
- setToken(res.data.accessToken)
- uni.reLaunch({
- url: '/pages/home/home'
- })
- }
+ uni.reLaunch({
+ url: '/pages/home/home'
+ })
} else {
uni.showToast({
title: res.msg,
@@ -316,4 +324,20 @@ export default {
align-items: center;
margin-top: 22px;
}
+.top_Bar{
+ width: 100%;
+ height: 40px;
+
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+
+
+ padding-top: 44px;
+}
+.title_top{
+ font-size: 36rpx;
+ font-weight: bold;
+}
+
diff --git a/pages/orderList/orderList.vue b/pages/orderList/orderList.vue
index 862d3c9..ff807de 100644
--- a/pages/orderList/orderList.vue
+++ b/pages/orderList/orderList.vue
@@ -37,7 +37,7 @@
{{ formatTimestamp(item.createTime) }}
- 支付
+
查看订单
评价订单
diff --git a/pages/shopDetail/shopDetail.vue b/pages/shopDetail/shopDetail.vue
index 4b26137..0b48eda 100644
--- a/pages/shopDetail/shopDetail.vue
+++ b/pages/shopDetail/shopDetail.vue
@@ -74,6 +74,7 @@