+
- ¥{{ formatPrice(item.price )[0] }} .{{
- formatPrice(item.price )[1]
+ ¥{{ formatPrice(item.content.price )[0] }} .{{
+ formatPrice(item.content.price )[1]
}}
@@ -538,7 +538,7 @@ export default {
},
navigateToDetailPage(item) {
uni.navigateTo({
- url: `/pages/product/goods?id=${item.id}&goodsId=${item.goodsId}`,
+ url: `/pages/product/goods?id=${item.content.id}&goodsId=${item.content.goodsId}`,
});
},
loadmore() {
@@ -669,7 +669,7 @@ export default {
if (type == "refresh") {
this.goodsList = [];
}
- //没有更多直接返回
+ //没有更多直接返回 #TODO
let goodsList = await getGoodsList(this.params);
if (goodsList.data.result.content.length < 10) {
diff --git a/pages/order/fillorder.vue b/pages/order/fillorder.vue
index 130f353..c599db9 100644
--- a/pages/order/fillorder.vue
+++ b/pages/order/fillorder.vue
@@ -790,7 +790,7 @@ page {
.wrapper {
height: auto;
- background: #ededed;
+ background: #f7f7f7;
padding-bottom: 200rpx;
overflow: auto !important;
}
diff --git a/pages/passport/login.scss b/pages/passport/login.scss
index 4d58d01..7762a64 100644
--- a/pages/passport/login.scss
+++ b/pages/passport/login.scss
@@ -48,10 +48,10 @@ span {
border-radius: 100px;
}
.logo {
+ margin-top: 20rpx;
width: 200rpx;
height: 200rpx;
text-align: center;
- transform: scale(2.5);
}
.logo-cell {
text-align: center;
diff --git a/pages/passport/login.vue b/pages/passport/login.vue
index 2c82933..cfd35fc 100644
--- a/pages/passport/login.vue
+++ b/pages/passport/login.vue
@@ -4,9 +4,9 @@
-
+
-
LiLi商城
+
{{config.name}}
@@ -31,8 +31,8 @@ import { getUserInfo } from "@/api/members";
import storage from "@/utils/storage.js";
import { loginCallback } from "@/api/connect.js";
import { webConnect } from "@/api/connect.js";
+import config from "@/config/config";
export default {
-
onShow() {
// #ifdef MP-WEIXIN
this.mpWechatLogin = false;
@@ -65,7 +65,8 @@ export default {
},
data() {
return {
- lightColor:this.$lightColor,
+ config,
+ lightColor: this.$lightColor,
mpWechatLogin: true, //是否加载微信登录
value: true, //隐私政策
loginData: {
@@ -102,7 +103,6 @@ export default {
//联合信息返回登录
stateLogin(state) {
loginCallback(state).then((res) => {
-
let data = res.data;
if (data.success) {
storage.setAccessToken(data.result.accessToken);
diff --git a/pages/passport/wechatMPLogin.vue b/pages/passport/wechatMPLogin.vue
index 838ff79..2b5dcb2 100644
--- a/pages/passport/wechatMPLogin.vue
+++ b/pages/passport/wechatMPLogin.vue
@@ -12,7 +12,7 @@
- 欢迎进入{{ projectName }}商城
+ 欢迎进入{{ projectName }}
为您提供优质服务,{{ projectName }}需要获取以下信息
@@ -33,13 +33,14 @@ import { mpAutoLogin } from "@/api/connect.js";
import { whetherNavigate } from "@/utils/Foundation"; //登录跳转
import { getUserInfo } from "@/api/members";
import storage from "@/utils/storage.js";
+import config from '@/config/config'
export default {
data() {
return {
// 是否展示手机号码授权弹窗,默认第一步不展示,要先获取用户基础信息
phoneAuthPopup: false,
// 授权信息展示,商城名称
- projectName: "LiLi",
+ projectName: config.name,
//微信返回信息,用于揭秘信息,获取sessionkey
code: "",
//微信昵称
diff --git a/pages/product/goods.vue b/pages/product/goods.vue
index d581c99..6f847a7 100644
--- a/pages/product/goods.vue
+++ b/pages/product/goods.vue
@@ -7,9 +7,11 @@
-
-
+
@@ -22,7 +24,8 @@