From 8c8522c68e9cfe9a54f51a0266f2a2ad3d2ded6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=BE=88=E5=B7=AE=E5=95=A6?= <17633066053@163.com> Date: Wed, 14 Sep 2022 10:43:40 +0800 Subject: [PATCH] temp commit --- components/m-goods-list/common.vue | 79 ++++ components/m-goods-list/list.vue | 241 ++++++------ components/m-goods-list/seckill.vue | 190 ++++++++++ config/api.js | 8 +- manifest.json | 4 +- pages/promotion/bargain/list.vue | 6 +- pages/promotion/seckill.vue | 567 +++++++++++----------------- plugins/APPUpdate/index.js | 3 +- static/buy.png | Bin 0 -> 2273 bytes uview-ui/libs/css/common.scss | 102 ++--- 10 files changed, 677 insertions(+), 523 deletions(-) create mode 100644 components/m-goods-list/common.vue create mode 100644 components/m-goods-list/seckill.vue create mode 100644 static/buy.png diff --git a/components/m-goods-list/common.vue b/components/m-goods-list/common.vue new file mode 100644 index 0000000..c4975f8 --- /dev/null +++ b/components/m-goods-list/common.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/components/m-goods-list/list.vue b/components/m-goods-list/list.vue index dfc6e89..2d9a4b2 100644 --- a/components/m-goods-list/list.vue +++ b/components/m-goods-list/list.vue @@ -101,12 +101,15 @@ diff --git a/components/m-goods-list/seckill.vue b/components/m-goods-list/seckill.vue new file mode 100644 index 0000000..4e7b834 --- /dev/null +++ b/components/m-goods-list/seckill.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/config/api.js b/config/api.js index 4e4741c..e8461b2 100644 --- a/config/api.js +++ b/config/api.js @@ -4,8 +4,12 @@ */ // 开发环境 const dev = { - common: "https://common-api.pickmall.cn", - buyer: "https://buyer-api.pickmall.cn", + // common: "https://common-api.pickmall.cn", + // buyer: "https://buyer-api.pickmall.cn", + + common: "http://192.168.0.106:8890", + buyer: "http://192.168.0.106:8888", + }; diff --git a/manifest.json b/manifest.json index 9267136..4cc39c1 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "lili商城", "appid" : "__UNI__EC9FD60", "description" : "", - "versionName" : "4.2.6", - "versionCode" : 4000260, + "versionName" : "4.2.5", + "versionCode" : 4000250, "transformPx" : false, "app-plus" : { "compatible" : { diff --git a/pages/promotion/bargain/list.vue b/pages/promotion/bargain/list.vue index 162d771..b80f856 100644 --- a/pages/promotion/bargain/list.vue +++ b/pages/promotion/bargain/list.vue @@ -88,10 +88,10 @@ page { diff --git a/plugins/APPUpdate/index.js b/plugins/APPUpdate/index.js index cfa6979..b980d1c 100644 --- a/plugins/APPUpdate/index.js +++ b/plugins/APPUpdate/index.js @@ -854,7 +854,8 @@ function downloadPopup(data, callback, cancelCallback, rebootCallback) { export default function (isPrompt = false) { getCurrentNo((version) => { getServerNo((res) => { - if (res.versionCode.replace(/\./g, "") <= version.version.replace(/\./g, "") ) { + + if (res.versionCode.replace(/\./g, "") <= version.version.replace(/\./g, "")) { return false; } diff --git a/static/buy.png b/static/buy.png new file mode 100644 index 0000000000000000000000000000000000000000..e4accb0b891f5e7c87728e40d15b16cde90e545e GIT binary patch literal 2273 zcmV<72p;!|P)zdUgLlME^iU{bpwSmW=z0g#SfJ|13TK zK}G*3IQ~yi|1LiLJw^RvWBpK8{aj!EJxTsFL;p!o`*Cypl#2f;IR7O!|2#tfIY9p| zJO460|297V|Ns9XHUB?D|EH|~`uqR$^#4Om|5983+TH)t*8k|~|F5 zhImE*002UCQchC<0|*5T8Xy-CC>0VwB^)p~Ei^nxSW-~+a5P}`H$(O@P4hpD^Obo42WT zaTa;oNsJ}ocTk;3Q(Ml5>)cpC>3ykSTKk>nt4s)CRC@_Bee8G-(-!QI|nniPYUB zjD#O6z%Z8yA~T2#Ve&5Q%kMXDVx`jEhK*q^ZcM))I+K^NL6SLYW&&IswsvDEOPCr? z(;230VLk)qXhu`ul4%U588u;=hEK9GEQ~G~xb$=hBe7$Ua#{x&t{JUNvM_LI=1rs| z-&lDch6ysc$`Hl|shOdx(ll(d#>(d*QzOHaf$_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tq?%Qu(XrX4}es&wFFwYPU_edS)-{%Ul@UkDL=5dTm5rhRb@k-axNR>dWDNP3v&c zl3rM#H}HiJf0SpAX6pxm&iHq?XT>00000NkvXXu0mjfO<-vV literal 0 HcmV?d00001 diff --git a/uview-ui/libs/css/common.scss b/uview-ui/libs/css/common.scss index ffed482..201d271 100644 --- a/uview-ui/libs/css/common.scss +++ b/uview-ui/libs/css/common.scss @@ -109,63 +109,63 @@ text { } // 定义flex等分 -@for $i from 0 through 12 { - .u-flex-#{$i} { - flex: $i; - } -} +// @for $i from 0 through 12 { +// .u-flex-#{$i} { +// flex: $i; +// } +// } -// 定义字体(px)单位,小于20都为px单位字体 -@for $i from 9 to 20 { - .u-font-#{$i} { - font-size: $i + px; - } -} +// // 定义字体(px)单位,小于20都为px单位字体 +// @for $i from 9 to 20 { +// .u-font-#{$i} { +// font-size: $i + px; +// } +// } -// 定义字体(rpx)单位,大于或等于20的都为rpx单位字体 -@for $i from 20 through 40 { - .u-font-#{$i} { - font-size: $i + rpx; - } -} +// // 定义字体(rpx)单位,大于或等于20的都为rpx单位字体 +// @for $i from 20 through 40 { +// .u-font-#{$i} { +// font-size: $i + rpx; +// } +// } -// 定义内外边距,历遍1-80 -@for $i from 0 through 80 { - // 只要双数和能被5除尽的数 - @if $i % 2 == 0 or $i % 5 == 0 { - // 得出:u-margin-30或者u-m-30 - .u-margin-#{$i}, .u-m-#{$i} { - margin: $i + rpx!important; - } +// // 定义内外边距,历遍1-80 +// @for $i from 0 through 80 { +// // 只要双数和能被5除尽的数 +// @if $i % 2 == 0 or $i % 5 == 0 { +// // 得出:u-margin-30或者u-m-30 +// .u-margin-#{$i}, .u-m-#{$i} { +// margin: $i + rpx!important; +// } - // 得出:u-padding-30或者u-p-30 - .u-padding-#{$i}, .u-p-#{$i} { - padding: $i + rpx!important; - } +// // 得出:u-padding-30或者u-p-30 +// .u-padding-#{$i}, .u-p-#{$i} { +// padding: $i + rpx!important; +// } - @each $short, $long in l left, t top, r right, b bottom { - // 缩写版,结果如: u-m-l-30 - // 定义外边距 - .u-m-#{$short}-#{$i} { - margin-#{$long}: $i + rpx!important; - } +// @each $short, $long in l left, t top, r right, b bottom { +// // 缩写版,结果如: u-m-l-30 +// // 定义外边距 +// .u-m-#{$short}-#{$i} { +// margin-#{$long}: $i + rpx!important; +// } - // 定义内边距 - .u-p-#{$short}-#{$i} { - padding-#{$long}: $i + rpx!important; - } +// // 定义内边距 +// .u-p-#{$short}-#{$i} { +// padding-#{$long}: $i + rpx!important; +// } - // 完整版,结果如:u-margin-left-30 - // 定义外边距 - .u-margin-#{$long}-#{$i} { - margin-#{$long}: $i + rpx!important; - } +// // 完整版,结果如:u-margin-left-30 +// // 定义外边距 +// .u-margin-#{$long}-#{$i} { +// margin-#{$long}: $i + rpx!important; +// } - // 定义内边距 - .u-padding-#{$long}-#{$i} { - padding-#{$long}: $i + rpx!important; - } - } - } -} +// // 定义内边距 +// .u-padding-#{$long}-#{$i} { +// padding-#{$long}: $i + rpx!important; +// } +// } +// } +// }