Commit d103c5ee authored by mengcuiguang's avatar mengcuiguang

添加页面跳转

parent d6144cfc
...@@ -2,22 +2,22 @@ ...@@ -2,22 +2,22 @@
<view class="body"> <view class="body">
<scroll-view scroll-y style="height: 100%;"> <scroll-view scroll-y style="height: 100%;">
<view class="content"> <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> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main1.png" mode="scaleToFill"></image>
<view <view
style="font-size: 30rpx;font-weight: 777;margin-top: 20rpx;margin-bottom: 16rpx;margin-left: 40rpx;"> style="font-size: 30rpx;font-weight: 777;margin-top: 20rpx;margin-bottom: 16rpx;margin-left: 40rpx;">
热门功能</view> 热门功能</view>
<view <view
style="display: flex;flex-direction: row;width: 100%;justify-content:space-between;height: 330rpx;"> 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"> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main2.png" mode="scaleToFill">
</image> </image>
<view <view
style="display: flex;flex-direction: column;width: 50%;justify-content:space-between;margin-left: 10rpx;"> 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"> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main3.png" mode="scaleToFill">
</image> </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"> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main4.png" mode="scaleToFill">
</image> </image>
</view> </view>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<view <view
style="font-size: 30rpx;font-weight: 777;margin-top: 80rpx;margin-bottom: 16rpx;margin-left: 40rpx;"> style="font-size: 30rpx;font-weight: 777;margin-top: 80rpx;margin-bottom: 16rpx;margin-left: 40rpx;">
其他</view> 其他</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> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_main5.png" mode="scaleToFill"></image>
</view> </view>
</scroll-view> </scroll-view>
...@@ -62,6 +62,14 @@ ...@@ -62,6 +62,14 @@
onShow() { onShow() {
},
handleScan() {
navigateTo(`/pagesC/scan/scan`)
},
handleDoc() {
uni.switchTab({
url: '/pages/doc/doc'
});
} }
} }
}; };
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- <status-title :showBack="true" icon-color="white" font-color="white">会员界面</status-title> --> <!-- <status-title :showBack="true" icon-color="white" font-color="white">会员界面</status-title> -->
<scroll-view scroll-y style="height: 100%;"> <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="section">
<view class="title"> <view class="title">
...@@ -32,9 +32,8 @@ ...@@ -32,9 +32,8 @@
<button class="apply-button" @click="handlePay">立即开通</button> <button class="apply-button" @click="handlePay">立即开通</button>
</view> </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> </scroll-view>
</view> </view>
</template> </template>
...@@ -102,7 +101,7 @@ ...@@ -102,7 +101,7 @@
<style lang="scss"> <style lang="scss">
.body { .body {
background-color: black; background-color: white;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -110,12 +109,12 @@ ...@@ -110,12 +109,12 @@
padding: 0 30rpx; padding: 0 30rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background: black; background: white;
.title { .title {
font-size: 32rpx; font-size: 32rpx;
font-weight: 700; font-weight: 700;
color: white; color: black;
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
......
<template> <template>
<view class="body"> <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"> <z-paging class="flex-1" ref="paging" v-model="dataList" @query="queryList">
<view v-for="(item, i) in dataList" :key="i"> <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;"> <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