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: [ pages: [
{ {
path: 'pages/activity/index', path: 'pages/index/index',
type: 'home', type: 'home',
style: { style: {
navigationStyle: 'custom', navigationStyle: 'custom',

View File

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

View File

@ -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>

View File

@ -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')"

View File

@ -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()