This commit is contained in:
lf 2024-06-11 11:27:10 +08:00
parent 17af709128
commit 9b7c4e1630
5 changed files with 10 additions and 9 deletions

View File

@ -42,7 +42,7 @@ export default defineUniPages({
},
pages: [
{
path: 'pages/activity/index',
path: 'pages/index/index',
type: 'home',
style: {
navigationStyle: 'custom',

View File

@ -39,7 +39,7 @@
},
"pages": [
{
"path": "pages/activity/index",
"path": "pages/index/index",
"type": "home",
"style": {
"navigationStyle": "custom"

View File

@ -19,10 +19,11 @@
<RequestComp />
<UploadComp />
</view> -->
<web-view
<!-- <web-view
src="https://finacial.oss.cdlsxd.cn/MarketingSaaS/zip/web/index.html"
@message="handleMessage"
></web-view>
></web-view> -->
<view></view>
</template>
<script lang="ts" setup>

View File

@ -12,7 +12,7 @@
<view class="f-center f32" style="margin-top: 190rpx; color: #fff; letter-spacing: 18rpx">
最高可领500元立减金
</view>
<view class="abs flex_column flex_items" style="top: 120rpx; right: 10rpx">
<view class="abs flex_column flex_items" style="top: 120rpx; right: 20rpx">
<image @click="gomy" :src="jpsl" style="width: 50rpx; height: 64rpx" mode=""></image>
<image
@click="tk('guize')"

View File

@ -37,12 +37,12 @@
import imgQudui from '@/static/images/coupon/qudui.png'
import Api from '@/service/coupon/index'
import { currRoute } from '@/utils/index'
const route = reactive<object>({})
const productData = reactive<object>({})
const route = reactive<any>({})
const productData = reactive<any>({})
const exchange = () => {
const params = { id: Number(route.id), account: '18281686701' }
Api.exchange(params).then((res) => {
Api.exchange(params).then((res: any) => {
if (res.code === 200) {
uni.hideLoading()
// uni.stopPullDownRefresh();
@ -59,7 +59,7 @@ const exchange = () => {
}
function getlist() {
const params = { id: route.product_id }
Api.getProductDetail(params).then((res) => {
Api.getProductDetail(params).then((res: any) => {
if (res.code === 200) {
uni.hideLoading()
uni.stopPullDownRefresh()