From 224eb05703442eba79c842457ce403944f1777c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com>
Date: Thu, 19 Aug 2021 16:20:21 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86scss?=
=?UTF-8?q?=E7=B1=BB=E5=90=8D=EF=BC=8C=E6=96=B0=E5=A2=9E=E9=83=A8=E5=88=86?=
=?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A5=E5=8F=8A=E7=99=BB=E5=BD=95=E9=A2=9C?=
=?UTF-8?q?=E8=89=B2=E5=8C=96=E9=85=8D=E7=BD=AE:)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.hbuilderx/launch.json | 19 ++++++---
components/verification/verification.vue | 25 -----------
main.js | 22 +++++++++-
manifest.json | 4 +-
pages/cart/payment/popup/goods.vue | 8 ++--
pages/cart/payment/popup/popup.scss | 2 +-
pages/mine/deposit/withdrawal.vue | 10 ++++-
pages/mine/distribution/list.vue | 2 +-
pages/navigation/search/search.scss | 2 +-
pages/order/invoice/invoiceDetail.vue | 7 ----
pages/passport/codeLogin.vue | 8 ++--
pages/passport/login.scss | 4 --
pages/passport/login.vue | 6 ++-
pages/passport/mp-codeLogin.scss | 3 +-
pages/passport/onClickLogin.vue | 3 +-
pages/passport/wechatMPLogin.vue | 6 +--
pages/product/product/goods/-goods-intro.vue | 2 +-
.../product/goods/-goods-recommend.vue | 2 +-
pages/product/product/popup/address.vue | 2 +-
pages/product/product/popup/goods.vue | 8 ++--
pages/product/product/popup/popup.scss | 2 +-
pages/product/product/product.scss | 2 +-
.../product/product/promotion/-promotion.vue | 4 +-
pages/product/product/promotion/group.scss | 2 +-
pages/product/product/shop/-shop.vue | 2 +-
pages/product/product/style.scss | 8 ++--
uni.scss | 42 ++++++-------------
27 files changed, 96 insertions(+), 111 deletions(-)
diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
index 501e01c..075b9c5 100644
--- a/.hbuilderx/launch.json
+++ b/.hbuilderx/launch.json
@@ -2,10 +2,19 @@
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0",
"configurations": [{
- "type": "uniCloud",
- "default": {
- "launchtype": "remote"
- }
- }
+ "default" :
+ {
+ "launchtype" : "remote"
+ },
+ "h5" :
+ {
+ "launchtype" : "remote"
+ },
+ "mp-weixin" :
+ {
+ "launchtype" : "remote"
+ },
+ "type" : "uniCloud"
+ }
]
}
diff --git a/components/verification/verification.vue b/components/verification/verification.vue
index c38b6bb..1ba7f26 100644
--- a/components/verification/verification.vue
+++ b/components/verification/verification.vue
@@ -65,7 +65,6 @@ export default {
// 可自行调整
this.scHight = phone.screenHeight / 2 - 200 + "px";
this.getCode();
-
},
props: {
height: {
@@ -315,30 +314,6 @@ export default {
width: 750rpx;
}
-.border-bom {
- border-bottom: 0.5rpx solid #dddddd;
-}
-
-.border-red {
- border-bottom: 1rpx solid #d33e18;
-}
-
-.border-bom-big {
- border-bottom: 8rpx solid #dddddd;
-}
-
-.border-bom-white {
- border-bottom: 2rpx solid #ffffff;
-}
-
-.border-bom-green {
- border-bottom: 4rpx solid #f8f9bd;
-}
-
-.border-bom-index {
- border-bottom: 4rpx solid #27d9b3;
-}
-
.padding-left {
padding-left: 20rpx;
}
diff --git a/main.js b/main.js
index 6b9df77..e02f774 100644
--- a/main.js
+++ b/main.js
@@ -4,13 +4,23 @@ import * as filters from "./utils/filters.js"; // global filter
import uView from "uview-ui";
import store from "./store";
+
+/**
+ * 仅在h5中显示唤醒app功能
+ * 在h5页面手动挂载
+ *
+ */
// #ifdef H5
-// 在h5页面手动挂载 h5唤醒app插件
import airBtn from "@/components/m-airbtn/index.vue";
let btn = Vue.component("airBtn", airBtn); //全局注册
document.body.appendChild(new btn().$mount().$el);
// #endif
+
+/**
+ * 全局filters
+ */
+
Object.keys(filters).forEach((key) => {
Vue.filter(key, filters[key]);
});
@@ -19,10 +29,20 @@ Object.keys(filters).forEach((key) => {
Vue.prototype.$store = store;
Vue.use(uView);
Vue.config.productionTip = false;
+
+
+/**
+ * 注意!
+ * 此处将常用的颜色嵌入到原型链上面
+ * 颜色使用驼峰命名对应 uni.scss中全局颜色变量名
+ * 如需更换主题请修改此处以及uni.scss中的全局颜色
+ */
// 主题色
Vue.prototype.$mainColor = "#ff3c2a";
// 高亮主题色
Vue.prototype.$lightColor = "#ff6b35";
+// 辅助高亮颜色
+Vue.prototype.$aiderLightColor = "#ff9f28";
App.mpType = "app";
diff --git a/manifest.json b/manifest.json
index ea03417..166ba0c 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "lili商城",
"appid" : "__UNI__C100675",
"description" : "",
- "versionName" : "4.0.29",
- "versionCode" : 4000029,
+ "versionName" : "4.0.30",
+ "versionCode" : 4000030,
"transformPx" : false,
"app-plus" : {
"compatible" : {
diff --git a/pages/cart/payment/popup/goods.vue b/pages/cart/payment/popup/goods.vue
index 36716e7..77fe238 100644
--- a/pages/cart/payment/popup/goods.vue
+++ b/pages/cart/payment/popup/goods.vue
@@ -322,10 +322,10 @@ export default {
}
.active {
- background: $jd-light-color !important;
- border: 2rpx solid $jd-color;
+ background: $price-light-color !important;
+ border: 2rpx solid $price-color;
font-weight: bold;
- color: $jd-color !important;
+ color: $price-color !important;
box-sizing: border-box;
}
@@ -377,7 +377,7 @@ export default {
}
.goods-price {
- color: $jd-color;
+ color: $price-color;
line-height: 80rpx;
display: flex;
}
diff --git a/pages/cart/payment/popup/popup.scss b/pages/cart/payment/popup/popup.scss
index 0dfe359..d571c30 100644
--- a/pages/cart/payment/popup/popup.scss
+++ b/pages/cart/payment/popup/popup.scss
@@ -14,7 +14,7 @@
line-height: 80rpx;
height: 80rpx;
- background: $jd-color;
+ background: $price-color;
color: #fff;
border-radius: 200px;
text-align: center;
diff --git a/pages/mine/deposit/withdrawal.vue b/pages/mine/deposit/withdrawal.vue
index 8e98c79..b6e45b5 100644
--- a/pages/mine/deposit/withdrawal.vue
+++ b/pages/mine/deposit/withdrawal.vue
@@ -12,6 +12,10 @@