fix(custom): 修复若干bug
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-06-29 11:24:40 +08:00
parent 5c45854e2c
commit 1566eae251
10 changed files with 94 additions and 27 deletions

View File

@@ -0,0 +1,4 @@
export default definePageConfig({
navigationBarTitleText: '',
navigationStyle: 'custom',
});

View File

@@ -0,0 +1,6 @@
page {
background-image: url('https://p1.meituan.net/csc/75a139bcec06745d385ec211aa313a98196174.png');
background-size: 100% 40%;
background-repeat: no-repeat;
background-color: #F9F8F6;
}

View File

@@ -0,0 +1,40 @@
<template>
<view class="flex flex-col items-center pt-[208px]">
<image class="h-[152px]" :src="par.header" />
<view class="list mt-[30px]">
<view class="bg-white w-[700px] h-[300px] rounded-[20px]"></view>
</view>
</view>
</template>
<script setup lang="ts">
import {ref} from 'vue';
import Taro from '@tarojs/taro';
const par = ref<any>({});
Taro.useLoad(e => {
switch (e.type) {
case '1':
par.value = {
header:
'https://p0.meituan.net/csc/6229068017d3b199aafd9eed47bfd50513859.png',
};
break;
case '2':
par.value = {
header:
'https://p0.meituan.net/csc/ccfb8d3119200f81e2d6a5241081eb4b13797.png',
};
break;
}
par.value = {
...par.value,
type: e.type,
};
});
</script>
<style lang="scss">
@import './index.scss';
</style>

View File

@@ -16,13 +16,19 @@
<view class="title"></view>
<navigator class="jf-btn" hover-class="none"></navigator>
<view class="footer">
<navigator hover-class="none" class="btn-1"></navigator>
<navigator
hover-class="none"
class="btn-1"
url="/pages/fastBuy/index?type=1"></navigator>
<navigator
hover-class="none"
openType="switchTab"
url="/pages/game/gamehome/index"
class="btn-2"></navigator>
<navigator hover-class="none" class="btn-3"></navigator>
<navigator
hover-class="none"
class="btn-3"
url="/pages/fastBuy/index?type=2"></navigator>
</view>
</view>
<view class="navigation">

View File

@@ -307,6 +307,11 @@ const userMenuList = ref([
url: '/pages/users/setting/index',
icon: 'http://p0.meituan.net/csc/1d8e6b328d384ff042c282976b82feec6005.png',
},
{
label: '关于我们',
url: '',
icon: 'http://p0.meituan.net/csc/3e772eca05bd56104e8a0a5c6cffe56c7447.png',
},
]);
const clickLogin = () => {

View File

@@ -121,7 +121,7 @@ const openPay = async (item: OrderList) => {
// oid: item.oid,
// };
Taro.navigateTo({
url: `/pages/goods/pay/index?oid=${item.joint_oid}&bid=${item.bid}`,
url: `/pages/goods/pay/index?oid=${item.joint_oid}&bid=${item.bid}&OrderType=1`,
});
};