| | |
| | | <script setup> |
| | | import {ref,onMounted} from 'vue' |
| | | import { goodsGetByIdApi,integralConvertApi } from '../../../api/index.js' |
| | | import { onLoad } from '@dcloudio/uni-app' |
| | | import { onLoad,onShow } from '@dcloudio/uni-app' |
| | | import { BASE_URL } from '../../../config/baseUrl.js'; |
| | | |
| | | const userInfo = ref(JSON.parse(uni.getStorageSync('userInfo'))) |
| | |
| | | }) |
| | | setTimeout(() =>{ |
| | | uni.navigateTo({ |
| | | url:'/pages/pointsMall/pointsExchangeRecord/index' |
| | | url:'/pagesPoints/pointsMall/pointsExchangeRecord/index' |
| | | }) |
| | | },1000) |
| | | await getGoodsDetail(goodsId) |
| | |
| | | <point-navbar title='商品详情'></point-navbar> |
| | | <view class="content"> |
| | | <view class="image-box"> |
| | | <image class="image" :src="baseUrl + '/upload'+ detailInfo.detailsUrl" mode="aspectFit"></image> |
| | | <image v-if="detailInfo.detailsUrl" class="image" :src="baseUrl + '/upload'+ detailInfo.detailsUrl" mode="aspectFit"></image> |
| | | </view> |
| | | <view class="detail"> |
| | | <view class="detail-info"> |