ts检测
This commit is contained in:
parent
17af709128
commit
9b7c4e1630
|
@ -42,7 +42,7 @@ export default defineUniPages({
|
|||
},
|
||||
pages: [
|
||||
{
|
||||
path: 'pages/activity/index',
|
||||
path: 'pages/index/index',
|
||||
type: 'home',
|
||||
style: {
|
||||
navigationStyle: 'custom',
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
},
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/activity/index",
|
||||
"path": "pages/index/index",
|
||||
"type": "home",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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')"
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue