Commit d103c5ee authored by mengcuiguang's avatar mengcuiguang

添加页面跳转

parent d6144cfc
......@@ -2,22 +2,22 @@
<view class="body">
<scroll-view scroll-y style="height: 100%;">
<view class="content">
<image style="border-radius:10rpx; width: 100%;height: 420rpx;"
<image style="border-radius:10rpx; width: 100%;height: 420rpx;" @click="handleScan"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main1.png" mode="scaleToFill"></image>
<view
style="font-size: 30rpx;font-weight: 777;margin-top: 20rpx;margin-bottom: 16rpx;margin-left: 40rpx;">
热门功能</view>
<view
style="display: flex;flex-direction: row;width: 100%;justify-content:space-between;height: 330rpx;">
<image style="border-radius:10rpx; width: 50%;height: 330rpx;"
<image @click="handleScan" style="border-radius:10rpx; width: 50%;height: 330rpx;"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main2.png" mode="scaleToFill">
</image>
<view
style="display: flex;flex-direction: column;width: 50%;justify-content:space-between;margin-left: 10rpx;">
<image style="border-radius:10rpx; width: 100%;height: 150rpx;"
<image @click="handleScan" style="border-radius:10rpx; width: 100%;height: 150rpx;"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main3.png" mode="scaleToFill">
</image>
<image style="border-radius:10rpx; width: 50%;height: 155rpx;margin-top: 10rpx;"
<image @click="handleScan" style="border-radius:10rpx; width: 50%;height: 155rpx;margin-top: 10rpx;"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main4.png" mode="scaleToFill">
</image>
</view>
......@@ -25,7 +25,7 @@
<view
style="font-size: 30rpx;font-weight: 777;margin-top: 80rpx;margin-bottom: 16rpx;margin-left: 40rpx;">
其他</view>
<image style="border-radius:10rpx; width: 100%;height: 130rpx;"
<image @click="handleDoc" style="border-radius:10rpx; width: 100%;height: 130rpx;"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main5.png" mode="scaleToFill"></image>
</view>
</scroll-view>
......@@ -62,6 +62,14 @@
onShow() {
},
handleScan() {
navigateTo(`/pagesC/scan/scan`)
},
handleDoc() {
uni.switchTab({
url: '/pages/doc/doc'
});
}
}
};
......
......@@ -3,7 +3,7 @@
<!-- <status-title :showBack="true" icon-color="white" font-color="white">会员界面</status-title> -->
<scroll-view scroll-y style="height: 100%;">
<image style="width: 100%;" src="@/static/bg_vip_2.png" mode="widthFix" />
<image style="width: 100%;margin-top: 10rpx;margin-bottom: 10rpx;" src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg_scan/img/ic_vip_banner.png" mode="widthFix" />
<view class="section">
<view class="title">
......@@ -32,9 +32,8 @@
<button class="apply-button" @click="handlePay">立即开通</button>
</view>
<image style="width: 100%;" src="@/static/bg_vip_0.png" mode="widthFix" />
<image style="width: 100%;" src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg_scan/img/bg_vip_about.png" mode="widthFix" />
<image style="width: 100%;" src="@/static/bg_vip_1.png" mode="widthFix" />
</scroll-view>
</view>
</template>
......@@ -102,7 +101,7 @@
<style lang="scss">
.body {
background-color: black;
background-color: white;
display: flex;
flex-direction: column;
......@@ -110,12 +109,12 @@
padding: 0 30rpx;
display: flex;
flex-direction: column;
background: black;
background: white;
.title {
font-size: 32rpx;
font-weight: 700;
color: white;
color: black;
margin-bottom: 30rpx;
}
......
<template>
<view class="body">
<!-- <status-title :showBack="true">我的订单</status-title> -->
<!-- <status-title :showgitBack="true">我的订单</status-title> -->
<z-paging class="flex-1" ref="paging" v-model="dataList" @query="queryList">
<view v-for="(item, i) in dataList" :key="i">
<view style="display: flex;flex-direction: row;justify-content:space-between;margin: 20rpx;background-color:white;border-radius:10rpx;padding: 20rpx;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment