|
@@ -137,7 +137,7 @@ const selectedSpecsText = computed(() => {
|
|
detail.value.attr.forEach((attr) => {
|
|
detail.value.attr.forEach((attr) => {
|
|
const selectedValue = formData.value.selectedSpecs[attr.attrName]
|
|
const selectedValue = formData.value.selectedSpecs[attr.attrName]
|
|
if (selectedValue) {
|
|
if (selectedValue) {
|
|
- specTexts.push(`${attr.attrName}:${selectedValue}`)
|
|
|
|
|
|
+ specTexts.push(`${attr.attrName}: ${selectedValue}`)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -401,10 +401,7 @@ onShow(async () => {
|
|
</view>
|
|
</view>
|
|
<view class="flex items-center justify-between" @click="openSku('open')">
|
|
<view class="flex items-center justify-between" @click="openSku('open')">
|
|
<view>
|
|
<view>
|
|
- <text class="mr-20rpx">
|
|
|
|
- {{ $t('productDetail.selected') }}
|
|
|
|
- </text>
|
|
|
|
- <text class="text-#757575">
|
|
|
|
|
|
+ <text class="text-28rpx text-#757575">
|
|
{{ selectedSpecsText }}
|
|
{{ selectedSpecsText }}
|
|
</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
@@ -421,7 +418,7 @@ onShow(async () => {
|
|
{{ $t('productDetail.groupRules') }}
|
|
{{ $t('productDetail.groupRules') }}
|
|
</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
- <view class="flex items-center">
|
|
|
|
|
|
+ <view class="flex items-center" @click="toPage('/pages/webLink/webLink', { title: $t('productDetail.viewRules'), link: 'http://' })">
|
|
<text class="mr-8rpx text-24rpx text-#3A444C">
|
|
<text class="mr-8rpx text-24rpx text-#3A444C">
|
|
{{ $t('productDetail.viewRules') }}
|
|
{{ $t('productDetail.viewRules') }}
|
|
</text>
|
|
</text>
|
|
@@ -491,8 +488,8 @@ onShow(async () => {
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<template #bottom>
|
|
<template #bottom>
|
|
- <view class="flex gap-32rpx bg-white/60 px-28rpx py-30rpx backdrop-blur-20">
|
|
|
|
- <view class="flex items-center justify-between gap-20rpx">
|
|
|
|
|
|
+ <view class="flex bg-white/60 px-28rpx py-30rpx backdrop-blur-20">
|
|
|
|
+ <view class="mr-30rpx flex flex-1 items-center justify-around gap-20rpx">
|
|
<view class="flex flex-col items-center justify-center">
|
|
<view class="flex flex-col items-center justify-center">
|
|
<image
|
|
<image
|
|
src="/static/icons/go-home.png"
|
|
src="/static/icons/go-home.png"
|
|
@@ -519,7 +516,7 @@ onShow(async () => {
|
|
</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="flex flex-1 items-center justify-end text-32rpx">
|
|
|
|
|
|
+ <view class="flex items-center justify-end text-32rpx">
|
|
<view class="relative">
|
|
<view class="relative">
|
|
<view class="rounded-l-full bg-#2F2D31 px-34rpx py-18rpx text-white" @click="openSku('open')">
|
|
<view class="rounded-l-full bg-#2F2D31 px-34rpx py-18rpx text-white" @click="openSku('open')">
|
|
{{ $t('productDetail.openGroup') }}
|
|
{{ $t('productDetail.openGroup') }}
|
|
@@ -554,11 +551,11 @@ onShow(async () => {
|
|
৳
|
|
৳
|
|
</text>
|
|
</text>
|
|
<text class="text-48rpx">
|
|
<text class="text-48rpx">
|
|
- {{ matchedAttrValue.price || 0 }}
|
|
|
|
|
|
+ {{ formatNumber(matchedAttrValue.price || 0) }}
|
|
</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
<view class="ml-20rpx text-28rpx text-#787878 line-through">
|
|
<view class="ml-20rpx text-28rpx text-#787878 line-through">
|
|
- ৳{{ matchedAttrValue.otPrice || 0 }}
|
|
|
|
|
|
+ ৳{{ formatNumber(matchedAttrValue.otPrice || 0) }}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -582,7 +579,7 @@ onShow(async () => {
|
|
mode="aspectFit"
|
|
mode="aspectFit"
|
|
/>
|
|
/>
|
|
</view>
|
|
</view>
|
|
- <view class="text-22rpx text-#757575">
|
|
|
|
|
|
+ <view class="py-12rpx text-22rpx text-#757575">
|
|
{{ e.name }}
|
|
{{ e.name }}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|