+
@@ -9,62 +15,64 @@
-
+
- {{bargainDetail.goodsName}}
+ {{ bargainDetail.goodsName }}
- 当前:¥{{ activityData.surplusPrice == 0 ? bargains.purchasePrice : unitPrice(activityData.surplusPrice)}}
-
-
原价:¥{{unitPrice(bargainDetail.price)}}
-
+ 当前:¥{{ activityData.surplusPrice == 0 ? bargains.purchasePrice : unitPrice(activityData.surplusPrice) }}
+
原价:¥{{ unitPrice(bargainDetail.price) }}
-
{{bargainDetail.sellingPoint}}
+
{{ bargainDetail.sellingPoint }}
-
+
-
已砍{{cutPrice}}元
-
还剩{{activityData.surplusPrice}}元
+
已砍{{ cutPrice }}元
+
还剩{{ activityData.surplusPrice }}元
-
帮忙砍
-
+
-
+
-
{{noPassByName(item.kanjiaMemberName)}}
+
{{ noPassByName(item.kanjiaMemberName) }}
使出吃的奶劲儿
-
砍掉:¥{{unitPrice(item.kanjiaPrice)}}
+
砍掉:¥{{ unitPrice(item.kanjiaPrice) }}
@@ -76,36 +84,61 @@
-
-
+
- 元
+
+ 元
-
-
+
-
+
-
+
-
-
+
@@ -128,10 +161,12 @@ import {
import shares from '@/components/m-share/index'
import config from '@/config/config'
import { unitPrice, noPassByName, isLogin } from '@/utils/filters.js'
+import { getThemeStyle } from '@/utils/theme'
const store = useStore()
const lightColor = computed(() => store.getters.lightColor)
+const themeStyle = computed(() => getThemeStyle(store.state.theme))
const style = ref({
img: 'display:block',
@@ -205,8 +240,7 @@ watch(
(val) => {
if (val) {
totalPercent.value =
- 100 -
- Math.floor((val.surplusPrice / bargainDetail.value.price) * 100)
+ 100 - Math.floor((val.surplusPrice / bargainDetail.value.price) * 100)
cutPrice.value = (
bargainDetail.value.price - activityData.value.surplusPrice
).toFixed(2)
@@ -324,32 +358,44 @@ async function openActivity() {
}
}
+
+
diff --git a/pages/tabbar/home/title.vue b/pages/tabbar/home/title.vue
index bdfcdd5..cd7915d 100644
--- a/pages/tabbar/home/title.vue
+++ b/pages/tabbar/home/title.vue
@@ -4,7 +4,10 @@
@@ -183,9 +186,27 @@ function getMessage() {
})
}
-
diff --git a/project.config.json b/project.config.json
new file mode 100644
index 0000000..53882bb
--- /dev/null
+++ b/project.config.json
@@ -0,0 +1,5 @@
+{
+ "setting": {
+ "minifyWXML": true
+ }
+}
\ No newline at end of file