ts检测
This commit is contained in:
parent
17af709128
commit
9b7c4e1630
|
@ -42,7 +42,7 @@ export default defineUniPages({
|
||||||
},
|
},
|
||||||
pages: [
|
pages: [
|
||||||
{
|
{
|
||||||
path: 'pages/activity/index',
|
path: 'pages/index/index',
|
||||||
type: 'home',
|
type: 'home',
|
||||||
style: {
|
style: {
|
||||||
navigationStyle: 'custom',
|
navigationStyle: 'custom',
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
},
|
},
|
||||||
"pages": [
|
"pages": [
|
||||||
{
|
{
|
||||||
"path": "pages/activity/index",
|
"path": "pages/index/index",
|
||||||
"type": "home",
|
"type": "home",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
|
|
|
@ -19,10 +19,11 @@
|
||||||
<RequestComp />
|
<RequestComp />
|
||||||
<UploadComp />
|
<UploadComp />
|
||||||
</view> -->
|
</view> -->
|
||||||
<web-view
|
<!-- <web-view
|
||||||
src="https://finacial.oss.cdlsxd.cn/MarketingSaaS/zip/web/index.html"
|
src="https://finacial.oss.cdlsxd.cn/MarketingSaaS/zip/web/index.html"
|
||||||
@message="handleMessage"
|
@message="handleMessage"
|
||||||
></web-view>
|
></web-view> -->
|
||||||
|
<view></view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<view class="f-center f32" style="margin-top: 190rpx; color: #fff; letter-spacing: 18rpx">
|
<view class="f-center f32" style="margin-top: 190rpx; color: #fff; letter-spacing: 18rpx">
|
||||||
最高可领500元立减金
|
最高可领500元立减金
|
||||||
</view>
|
</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="gomy" :src="jpsl" style="width: 50rpx; height: 64rpx" mode=""></image>
|
||||||
<image
|
<image
|
||||||
@click="tk('guize')"
|
@click="tk('guize')"
|
||||||
|
|
|
@ -37,12 +37,12 @@
|
||||||
import imgQudui from '@/static/images/coupon/qudui.png'
|
import imgQudui from '@/static/images/coupon/qudui.png'
|
||||||
import Api from '@/service/coupon/index'
|
import Api from '@/service/coupon/index'
|
||||||
import { currRoute } from '@/utils/index'
|
import { currRoute } from '@/utils/index'
|
||||||
const route = reactive<object>({})
|
const route = reactive<any>({})
|
||||||
const productData = reactive<object>({})
|
const productData = reactive<any>({})
|
||||||
|
|
||||||
const exchange = () => {
|
const exchange = () => {
|
||||||
const params = { id: Number(route.id), account: '18281686701' }
|
const params = { id: Number(route.id), account: '18281686701' }
|
||||||
Api.exchange(params).then((res) => {
|
Api.exchange(params).then((res: any) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
// uni.stopPullDownRefresh();
|
// uni.stopPullDownRefresh();
|
||||||
|
@ -59,7 +59,7 @@ const exchange = () => {
|
||||||
}
|
}
|
||||||
function getlist() {
|
function getlist() {
|
||||||
const params = { id: route.product_id }
|
const params = { id: route.product_id }
|
||||||
Api.getProductDetail(params).then((res) => {
|
Api.getProductDetail(params).then((res: any) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
|
|
Loading…
Reference in New Issue