From f3c1bcb6c535ed997f55edf3da91be036cbea073 Mon Sep 17 00:00:00 2001 From: stivepeim Date: Wed, 20 Jan 2021 15:54:45 +0800 Subject: [PATCH] =?UTF-8?q?H5=E9=A6=96=E9=A1=B5=20=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/components/a_seckill.vue | 25 +++++++++---------------- pages/index/index.vue | 21 +++++++++++---------- 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/pages/index/components/a_seckill.vue b/pages/index/components/a_seckill.vue index c6c2a151..c82e638c 100644 --- a/pages/index/components/a_seckill.vue +++ b/pages/index/components/a_seckill.vue @@ -22,7 +22,7 @@ {{item.title}} - ¥{{item.otPrice}} + ¥{{item.price}} @@ -148,14 +148,6 @@ text-align: center; } - // .red { - // &~.red { - // color: #2F2F2F; - // padding: 0 4rpx; - // } - // } - // } - .more { width: 86rpx; height: 36rpx; @@ -206,10 +198,10 @@ } .money { - background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAAAiCAMAAADxoBJ/AAAC9FBMVEUAAAD/v4D/AAD/JCT/34D/dEb/MCD/Hh7/gFX4Ixz/fFH/25r53Jf/KiX/3Jb7Hx/72ZX7JSH8Ih//gFH/gU/825j8KSP83Zf/gFL8KiT/gE//gFH83Jb9Lyj63Zj7LSb7ISH73Zf8JCD/gFL83Jf8JiH/gFL7MSj8Ih/73Jf/gFL73Jf625b6IR/73Jf7Myn625f7ISD725f8LSb8ISD725f/gFH8JyP73Jb7IR//gFH7NCr8IyH/gFH725b/gFL7LCX8Lyj/gFH73Jf7KST725b8JiP7IB/7KST/gFL7IB/7ISD7IiD7IiH7IyH7JCH7JCL7JSL7JiL7JiP7JyP7KCP7KCT7KST7KiT7KiX7KyX7LCX7LCb7LSb7Lif7Lyf7Lyj7MCj7MSj7MSn7Min7Myn7Myr7NCr7NSr7wo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JUEbuU2OBZy1DMYd/6iNX6cKCPu/HorUM7YlLnKR4Z2RUYJc0UyDhdj1uRODEMy5XfERDo4h58TA+tD2XGh56tJ96tlxg6GW4cXtfGvf3NPUtQ5+PN23p9d+vt7TudobS1WW4crYj7wmGljCyHpLYFyNCLFzudAU5F4FTk7mlocUvN5tPVxT1vYcYLiTKpMxKxHbm5qNyVOz2DW7t3rOGF7mb2PNdAPc5I10NjXE6ncHYDNE9KALDTeahi3VaWdOVI62f2KtGolwDsdLsqtBdt1wtakeYuuRYAlfs6tDkvJOplCw1/oRfqdOUAawdHSm2s7UHNKykGlW6ni714/VxF1gPsPleiHWetO/IWOvIpme10bkVmDFMOsK2VEd0aCos0W5FaUD9GEV6AI8xCkTZ7gdu5UwFKwZYW7aSdjTRmUC1W6MWLvesZ5OVGUFbzQtUbaZ4WYF66low0c5+gWowX9CONABA8U6KVdsGRRlLxBTKqZKQtINIIRdxXmLGueqRBEZfFR5qmutGGYqT9xTCKuA+waqTNe3mfdgYl3Je5LgZHJv9/i2yk/bPTKeLG6xnjDt0G6kSaT+7FI00Pt4vLRNrynU4Jt3WpSFuu0ynidrQiTeZEGsDggwrutf8RacCvoPdZA/d1NC/SqBNpOPv5BzLdj5F4zSdUAAAAAElFTkSuQmCC") no-repeat; - background-size: 100% 100%; - width: 174rpx; - height: 34rpx; + // background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAAAiCAMAAADxoBJ/AAAC9FBMVEUAAAD/v4D/AAD/JCT/34D/dEb/MCD/Hh7/gFX4Ixz/fFH/25r53Jf/KiX/3Jb7Hx/72ZX7JSH8Ih//gFH/gU/825j8KSP83Zf/gFL8KiT/gE//gFH83Jb9Lyj63Zj7LSb7ISH73Zf8JCD/gFL83Jf8JiH/gFL7MSj8Ih/73Jf/gFL73Jf625b6IR/73Jf7Myn625f7ISD725f8LSb8ISD725f/gFH8JyP73Jb7IR//gFH7NCr8IyH/gFH725b/gFL7LCX8Lyj/gFH73Jf7KST725b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qA5C0kC5owUM8oYpPnBXkuAGHSEk5Pe6aQo3O3DLynjCAAgGTxLRHjx3Dk0x4L9ve8/+gCAK9q0zcfvkeJekBQSpBFYSABjWjwzDDNlTIIQUxGChJCMzZSbldGwCNwbT94kh+Zh5sm0fCDMIhJUEbuU2OBZy1DMYd/6iNX6cKCPu/HorUM7YlLnKR4Z2RUYJc0UyDhdj1uRODEMy5XfERDo4h58TA+tD2XGh56tJ96tlxg6GW4cXtfGvf3NPUtQ5+PN23p9d+vt7TudobS1WW4crYj7wmGljCyHpLYFyNCLFzudAU5F4FTk7mlocUvN5tPVxT1vYcYLiTKpMxKxHbm5qNyVOz2DW7t3rOGF7mb2PNdAPc5I10NjXE6ncHYDNE9KALDTeahi3VaWdOVI62f2KtGolwDsdLsqtBdt1wtakeYuuRYAlfs6tDkvJOplCw1/oRfqdOUAawdHSm2s7UHNKykGlW6ni714/VxF1gPsPleiHWetO/IWOvIpme10bkVmDFMOsK2VEd0aCos0W5FaUD9GEV6AI8xCkTZ7gdu5UwFKwZYW7aSdjTRmUC1W6MWLvesZ5OVGUFbzQtUbaZ4WYF66low0c5+gWowX9CONABA8U6KVdsGRRlLxBTKqZKQtINIIRdxXmLGueqRBEZfFR5qmutGGYqT9xTCKuA+waqTNe3mfdgYl3Je5LgZHJv9/i2yk/bPTKeLG6xnjDt0G6kSaT+7FI00Pt4vLRNrynU4Jt3WpSFuu0ynidrQiTeZEGsDggwrutf8RacCvoPdZA/d1NC/SqBNpOPv5BzLdj5F4zSdUAAAAAElFTkSuQmCC") no-repeat; + // background-size: 100% 100%; + // width: 174rpx; + // height: 34rpx; margin-top: 14rpx; .y_money { @@ -222,13 +214,14 @@ } .x_money { - width: 100rpx; - color: #fff; + // width: 100rpx; + color: #FD502F; font-size: 20rpx; height: 100%; + font-weight: bold; .num { - font-size: 24rpx; + font-size: 28rpx; } } } diff --git a/pages/index/index.vue b/pages/index/index.vue index 7eb9e5d3..4c0a6ee3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -636,13 +636,13 @@ Cache.set('chatUrl', data.yzfUrl); }) }, - getMpChatUrL(){ - getWechatConfig().then(res => { - let data = res.data; - this.$store.commit("SET_CHATURL", data.yzfUrl); - Cache.set('chatUrl', data.yzfUrl); - }) - }, + // getMpChatUrL(){ + // getWechatConfig().then(res => { + // let data = res.data; + // this.$store.commit("SET_CHATURL", data.yzfUrl); + // Cache.set('chatUrl', data.yzfUrl); + // }) + // }, // setOpenShare:function(mss){ // getWechatConfig() // .then(res => { @@ -781,7 +781,7 @@ mounted() { let self = this // #ifdef H5 - self.$wechat.isWeixin()?self.getMpChatUrL():self.getChatUrL(); + self.getChatUrL(); // 获取H5 搜索框高度 let appSearchH = uni.createSelectorQuery().select(".serch-wrapper"); appSearchH.boundingClientRect(function(data) { @@ -939,8 +939,9 @@ /* #endif */ .page_content { + background-color: #f5f5f5; /* #ifdef H5 */ - margin-top: -140rpx !important; + margin-top: 20rpx !important; /* #endif */ padding: 0 20rpx; @@ -1555,7 +1556,7 @@ .index-product-wrapper { margin-top: 40rpx; - + margin-bottom: 40rpx; &.on { min-height: 1500rpx; }