Commit 542cf668 by 前端

Merge branch 'v1.0.5' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.5

2 parents 9eb69e37 aa5ada45
...@@ -11,16 +11,14 @@ module.exports = { ...@@ -11,16 +11,14 @@ module.exports = {
}, },
/** 查询可发放礼券-分页查询商户券列表 */ /** 查询可发放礼券-分页查询商户券列表 */
findCouponList (data) { findCouponList (data) {
return http.post( return http.post({
{ method: "dj.api.smartcarlife.merchantCoupon.pageForZYApp",
method: "dj.api.smartcarlife.merchantCoupon.pageForZYApp", projectName: "boutique",
projectName: "boutique", onlyUsable: true,
onlyUsable: true, currentPage: 1,
currentPage: 1, pageSize: 99999,
pageSize: 99999, ...data,
...data, });
}
);
}, },
/**查询用户是否领券 */ /**查询用户是否领券 */
findCustomerReceivedStatus (data) { findCustomerReceivedStatus (data) {
...@@ -30,6 +28,7 @@ module.exports = { ...@@ -30,6 +28,7 @@ module.exports = {
...data, ...data,
currentPage: 1, currentPage: 1,
pageSize: 99999, pageSize: 99999,
statusList: [0, 1]
}); });
}, },
/**历史成交客户 */ /**历史成交客户 */
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -1032rpx -102rpx;} .icon-change-account { width: 32rpx; height: 32rpx; background-position: -1032rpx -102rpx;}
.icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;} .icon-customer-1 { width: 400rpx; height: 400rpx; background-position: 0rpx 0rpx;}
.icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -410rpx 0rpx;} .icon-customer-2 { width: 400rpx; height: 400rpx; background-position: -410rpx 0rpx;}
.icon-customer-detail { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -820rpx -610rpx;} .icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -820rpx -610rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -780rpx;} .icon-face-error { width: 96rpx; height: 96rpx; background-position: 0rpx -780rpx;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -106rpx -780rpx;} .icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -106rpx -780rpx;}
...@@ -21,12 +22,12 @@ ...@@ -21,12 +22,12 @@
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -1032rpx -330rpx;} .icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -1032rpx -330rpx;}
.icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -644rpx -410rpx;} .icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -644rpx -410rpx;}
.icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -1032rpx -372rpx;} .icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -1032rpx -372rpx;}
.icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -1016rpx -576rpx;} .icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -1012rpx -650rpx;}
.icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -1012rpx -650rpx;} .icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -1012rpx -720rpx;}
.icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -1012rpx -720rpx;} .icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -1012rpx -790rpx;}
.icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -1012rpx -790rpx;} .icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -820rpx -716rpx;}
.icon-logo { width: 160rpx; height: 160rpx; background-position: -474rpx -410rpx;} .icon-logo { width: 160rpx; height: 160rpx; background-position: -474rpx -410rpx;}
.icon-new-addr { width: 32rpx; height: 32rpx; background-position: -820rpx -716rpx;} .icon-new-addr { width: 32rpx; height: 32rpx; background-position: -862rpx -716rpx;}
.icon-new-avatar { width: 96rpx; height: 96rpx; background-position: -318rpx -780rpx;} .icon-new-avatar { width: 96rpx; height: 96rpx; background-position: -318rpx -780rpx;}
.icon-new-feedback { width: 64rpx; height: 64rpx; background-position: -942rpx -502rpx;} .icon-new-feedback { width: 64rpx; height: 64rpx; background-position: -942rpx -502rpx;}
.icon-new-home-active { width: 112rpx; height: 112rpx; background-position: -820rpx -122rpx;} .icon-new-home-active { width: 112rpx; height: 112rpx; background-position: -820rpx -122rpx;}
...@@ -40,11 +41,12 @@ ...@@ -40,11 +41,12 @@
.icon-qw { width: 48rpx; height: 48rpx; background-position: -1016rpx -502rpx;} .icon-qw { width: 48rpx; height: 48rpx; background-position: -1016rpx -502rpx;}
.icon-record-active { width: 80rpx; height: 80rpx; background-position: -942rpx -240rpx;} .icon-record-active { width: 80rpx; height: 80rpx; background-position: -942rpx -240rpx;}
.icon-record { width: 80rpx; height: 80rpx; background-position: -942rpx -330rpx;} .icon-record { width: 80rpx; height: 80rpx; background-position: -942rpx -330rpx;}
.icon-scan { width: 32rpx; height: 32rpx; background-position: -750rpx -596rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -530rpx -780rpx;} .icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -530rpx -780rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -636rpx -780rpx;} .icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -636rpx -780rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -1024rpx -420rpx;} .icon-search { width: 40rpx; height: 40rpx; background-position: -1016rpx -576rpx;}
.icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;} .icon-second-nav { width: 480rpx; height: 128rpx; background-position: 0rpx -596rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -862rpx -716rpx;} .icon-setting { width: 32rpx; height: 32rpx; background-position: -750rpx -638rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;} .icon-store { width: 96rpx; height: 96rpx; background-position: -742rpx -780rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;} .icon-tool-file { width: 60rpx; height: 60rpx; background-position: -942rpx -650rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;} .icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -942rpx -720rpx;}
......

937 KB | W: | H:

945 KB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -489,6 +489,7 @@ export default { ...@@ -489,6 +489,7 @@ export default {
border-radius: 100%; border-radius: 100%;
} }
.user-name { .user-name {
max-width: 80%;
font-weight: 500; font-weight: 500;
font-size: 28rpx; font-size: 28rpx;
color: #292d33; color: #292d33;
......
...@@ -79,6 +79,13 @@ ...@@ -79,6 +79,13 @@
} }
}, },
{ {
"path": "pages/boutique/productDetail",
"style": {
"navigationStyle": "custom",
"disableSwipeBack": true
}
},
{
"path": "pages/boutique/history", "path": "pages/boutique/history",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
......
...@@ -19,7 +19,10 @@ ...@@ -19,7 +19,10 @@
></uni-icons> ></uni-icons>
</view> </view>
<view class="content flex"> <view class="content flex">
<view class="title flex">请让客户扫码领取</view> <view class="title flex">
<view class="sprite-icon icon-scan"></view>
请让客户扫码领取
</view>
<template v-if="received"> <template v-if="received">
<view class="received flex"> <view class="received flex">
<view class="sprite-icon icon-qr-success"></view> <view class="sprite-icon icon-qr-success"></view>
...@@ -89,6 +92,9 @@ export default { ...@@ -89,6 +92,9 @@ export default {
font-weight: 500; font-weight: 500;
font-size: 32rpx; font-size: 32rpx;
color: #333333; color: #333333;
.sprite-icon{
margin-right: 12rpx;
}
} }
.qr-box { .qr-box {
width: 560rpx; width: 560rpx;
......
...@@ -65,21 +65,39 @@ ...@@ -65,21 +65,39 @@
>为客户发券</view> >为客户发券</view>
</view> </view>
</template> </template>
<template v-else> <template v-if="customerType == 0 && customerInfo.customerName">
<view class="customer-info-box">
<view
class="customer-info flex"
@click="pageParams.showDetail = !pageParams.showDetail"
>
<view class="text text-hide"> {{customerInfo.customerName}} | {{customerInfo.carModel}}</view>
<view class="sprite-icon icon-customer-detail"></view>
</view>
<view
class="customer-detail flex"
v-show="pageParams.showDetail"
>
<template v-for="(i,index) in customerDetailObject">
<view
class="customer-item flex"
:key="index"
>
<view class="label">{{i.label}}</view>
<view class="value">{{customerInfo[i.key]}}</view>
</view>
</template>
</view>
</view>
</template> </template>
</view> </view>
<view <view class="content">
class="content"
scroll-x
enable-flex
>
<template v-for="(i, index) in views"> <template v-for="(i, index) in views">
<image <image
:key="index" :key="index"
:src="i.detailUrl" :src="i.detailUrl"
class="item" :class="['item',`item-${index}`]"
@click="jumpPage(i)" @click="jumpPage(i)"
/> />
</template> </template>
...@@ -176,6 +194,32 @@ export default { ...@@ -176,6 +194,32 @@ export default {
popKey: 'employeeBoxVisible' popKey: 'employeeBoxVisible'
} }
], ],
customerDetailObject: [
{
label: '车主姓名',
key: 'customerName',
},
{
label: '交付专员',
key: 'staffName',
},
{
label: '车型',
key: 'carModel',
},
{
label: '领券时间',
key: 'customerName',
},
{
label: '车主电话',
key: 'phoneNumber',
},
{
label: '接待时间',
key: 'customerName',
}
],
customerInfo: {}, customerInfo: {},
couponList: [], couponList: [],
couponTypeName: '', couponTypeName: '',
...@@ -186,6 +230,7 @@ export default { ...@@ -186,6 +230,7 @@ export default {
couponId: '', couponId: '',
carInfo: {}, carInfo: {},
QRURL: '', QRURL: '',
showDetail: false
} }
} }
}, },
...@@ -406,89 +451,139 @@ export default { ...@@ -406,89 +451,139 @@ export default {
height: 80rpx; height: 80rpx;
margin-bottom: 48rpx; margin-bottom: 48rpx;
padding: 0 64rpx; padding: 0 64rpx;
} .form {
.form { display: flex;
display: flex;
gap: 0 28rpx; gap: 0 28rpx;
height: 100%;
&-item {
width: 368rpx;
height: 100%; height: 100%;
position: relative; &-item {
width: 368rpx;
&-box {
position: relative;
width: 100%;
height: 100%; height: 100%;
background: #ffffff; position: relative;
border: 3rpx solid #a8c1ff;
&-box {
position: relative;
width: 100%;
height: 100%;
background: #ffffff;
border: 3rpx solid #a8c1ff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 0 24rpx;
z-index: 2;
}
.input,
.select {
width: 100%;
height: 100%;
border: none !important;
outline: none;
font-size: 28rpx;
color: #333333;
border-radius: 16rpx;
box-sizing: border-box;
&::placeholder {
color: #999999;
}
}
.placeholderStyle {
color: #999999;
}
.arrow {
color: #999 !important;
margin-left: auto;
flex-shrink: 0;
}
}
.active {
&::after {
position: absolute;
left: -2rpx;
top: -2rpx;
width: calc(100% + 4rpx);
height: calc(100% + 4rpx);
content: "";
background-image: linear-gradient(#2f6af7, #75bcff);
box-shadow: 0 0 0 8rpx #2c66f71a;
border-radius: 16rpx;
}
}
&-btn {
width: 286rpx;
height: 80rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 16rpx 0 #ffffff;
border-radius: 16rpx; border-radius: 16rpx;
box-sizing: border-box; font-weight: 500;
padding: 0 24rpx; font-size: 28rpx;
z-index: 2; color: #ffffff;
justify-content: center;
} }
.input, }
.select { .customer-info-box {
position: relative;
width: 480rpx;
height: 100%;
.customer-info {
width: 100%; width: 100%;
height: 100%; height: 100%;
border: none !important; background: #ffffff;
outline: none;
font-size: 28rpx;
color: #333333;
border-radius: 16rpx; border-radius: 16rpx;
box-sizing: border-box; box-sizing: border-box;
&::placeholder { padding: 0 24rpx;
color: #999999; .sprite-icon {
flex-shrink: 0;
margin-left: auto;
} }
} }
.placeholderStyle { .customer-detail {
color: #999999;
}
.arrow {
color: #999 !important;
margin-left: auto;
flex-shrink: 0;
}
}
.active {
&::after {
position: absolute; position: absolute;
left: -2rpx; bottom: 0;
top: -2rpx; left: 496rpx;
width: calc(100% + 4rpx); min-width: 860rpx;
height: calc(100% + 4rpx); height: 204rpx;
content: ""; z-index: 2;
background-image: linear-gradient(#2f6af7, #75bcff); background: #ffffff;
box-shadow: 0 0 0 8rpx #2c66f71a;
border-radius: 16rpx; border-radius: 16rpx;
flex-wrap: wrap;
box-sizing: border-box;
padding: 32rpx 48rpx;
gap: 16rpx 0;
.customer-item {
width: 50%;
color: #333333;
line-height: 36rpx;
.label {
width: 120rpx;
font-size: 28rpx;
color: #666666;
flex-shrink: 0;
margin-right: 24rpx;
text-align: right;
}
}
} }
} }
&-btn {
width: 286rpx;
height: 80rpx;
background-image: linear-gradient(180deg, #61c0ff 0%, #2c66f7 100%);
box-shadow: inset 0 0 16rpx 0 #ffffff;
border-radius: 16rpx;
font-weight: 500;
font-size: 28rpx;
color: #ffffff;
justify-content: center;
}
} }
.content { .content {
display: flex;
width: 100%; width: 100%;
height: 1052rpx; height: calc(100vh - 484rpx);
flex-wrap: nowrap;
gap: 0 50rpx;
overflow: scroll hidden;
padding: 0 64rpx; padding: 0 64rpx;
.item { .item {
float: left;
}
.item-0 {
width: 1084rpx; width: 1084rpx;
height: 100%; height: 992rpx;
flex-shrink: 0; margin-right: 50rpx;
vertical-align: top; }
.item-1 {
margin-bottom: 48rpx;
}
.item-1,
.item-2 {
width: 1084rpx;
height: 472rpx;
} }
} }
} }
......
...@@ -74,7 +74,8 @@ export default { ...@@ -74,7 +74,8 @@ export default {
customerType: Number, customerType: Number,
}, },
data() { data() {
return {}; return {
};
}, },
computed: { computed: {
title() { title() {
......
...@@ -179,11 +179,11 @@ export default { ...@@ -179,11 +179,11 @@ export default {
}); });
return; return;
} }
this.clearHistory();
this.$refs.customerTypeRef.open() this.$refs.customerTypeRef.open()
this.startAudio(); this.startAudio();
}, },
jumpPage (id) { jumpPage (id) {
this.clearHistory();
this.id = id ? id : this.moduleList[0].id this.id = id ? id : this.moduleList[0].id
this.type = "edit" this.type = "edit"
}, },
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-05-30 14:40:39 * @Date: 2024-05-30 14:40:39
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-06-03 14:49:06 * @LastEditTime: 2024-06-04 11:10:40
--> -->
<template> <template>
<view style="position: relative;"> <view style="position: relative;">
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</view> </view>
</view> </view>
<view class="content" id="content"> <view class="content" id="content">
<view class="second-tab" ref="secondTab" v-if="views[firstIndex].receptionSourceDetailInfoList"> <view class="second-tab" ref="secondTab" v-if="views[firstIndex].receptionSourceDetailInfoList.length > 0">
<view <view
v-for="(item, ind) in views[firstIndex].receptionSourceDetailInfoList" v-for="(item, ind) in views[firstIndex].receptionSourceDetailInfoList"
:key="ind" :key="ind"
...@@ -46,47 +46,14 @@ ...@@ -46,47 +46,14 @@
> >
</view> </view>
</view> </view>
<template v-if="views[firstIndex].receptionSourceDetailInfoList && views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList"> <template v-if="views[firstIndex].receptionSourceDetailInfoList.length > 0 && views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList">
<view class="product-list" :style="{height: views[firstIndex].receptionSourceDetailInfoList ? '908rpx' : '1040rpx'}"> <view class="product-list" :style="{height: views[firstIndex].receptionSourceDetailInfoList ? '972rpx' : '1040rpx'}">
<view class="product-item"> <view class="product-item" v-for="(itm, idx) in views[firstIndex].receptionSourceDetailInfoList[secondIndex].receptionSourceDetailInfoList" :key="idx" @click="goDetail(itm)">
<image <image
:src="require('@/assets/images/boutique/product.png')" :src="itm.thumbnail"
mode="scaleToFill" mode="scaleToFill"
class="product-img" class="product-img"
/> />
<view class="product-name">AITO问界 3M车窗膜(M5)</view>
</view>
<view class="product-item">
<image
:src="require('@/assets/images/boutique/product.png')"
mode="scaleToFill"
class="product-img"
/>
<view class="product-name">AITO问界 3M车窗膜(M5)</view>
</view>
<view class="product-item">
<image
:src="require('@/assets/images/boutique/product.png')"
mode="scaleToFill"
class="product-img"
/>
<view class="product-name">AITO问界 3M车窗膜(M5)</view>
</view>
<view class="product-item">
<image
:src="require('@/assets/images/boutique/product.png')"
mode="scaleToFill"
class="product-img"
/>
<view class="product-name">AITO问界 3M车窗膜(M5)</view>
</view>
<view class="product-item">
<image
:src="require('@/assets/images/boutique/product.png')"
mode="scaleToFill"
class="product-img"
/>
<view class="product-name">AITO问界 3M车窗膜(M5)</view>
</view> </view>
</view> </view>
</template> </template>
...@@ -106,7 +73,7 @@ ...@@ -106,7 +73,7 @@
:src="animationList[firstIndex]" :src="animationList[firstIndex]"
mode="scaleToFill" mode="scaleToFill"
class="img-animate" class="img-animate"
:key="firstIndex" :key="key"
/> />
</view> </view>
</template> </template>
...@@ -130,7 +97,8 @@ export default { ...@@ -130,7 +97,8 @@ export default {
firstLeft: ['0rpx', '352rpx', '756rpx'], firstLeft: ['0rpx', '352rpx', '756rpx'],
firstClass: ['first-nav', 'second-nav', 'second-nav'], firstClass: ['first-nav', 'second-nav', 'second-nav'],
secondIndex: 0, secondIndex: 0,
animationList: [require('@/assets/images/boutique/animation-m5.png'), require('@/assets/images/boutique/animation-m7.png'), require('@/assets/images/boutique/animation-m9.png')] animationList: [require('@/assets/images/boutique/animation-m5.png'), require('@/assets/images/boutique/animation-m7.png'), require('@/assets/images/boutique/animation-m9.png')],
key: Date.now()
} }
}, },
computed: { computed: {
...@@ -139,16 +107,20 @@ export default { ...@@ -139,16 +107,20 @@ export default {
}, },
}, },
watch: { watch: {
watchStatus () { watchStatus() {
console.log(111)
this.firstIndex = 0 this.firstIndex = 0
this.secondIndex = 0
this.key = Date.now()
} }
}, },
methods: { methods: {
changeIndex(index, name) { changeIndex(index, name) {
console.log(index, name) console.log(index, name)
this[name] = index this[name] = index
if (name === 'fristIndex') { if (name === 'firstIndex') {
this.secondIndex = 0 this.secondIndex = 0
this.key = Date.now()
} }
}, },
async findSoureList () { async findSoureList () {
...@@ -156,6 +128,12 @@ export default { ...@@ -156,6 +128,12 @@ export default {
const data = await uni.$api.boutiqueApi.findSoureList({}) const data = await uni.$api.boutiqueApi.findSoureList({})
console.log(data) console.log(data)
}, },
goDetail(data) {
console.log(data)
uni.navigateTo({
url: `/pages/boutique/productDetail?detailUrl=${data.detailUrl}`
})
}
} }
} }
</script> </script>
...@@ -251,7 +229,7 @@ export default { ...@@ -251,7 +229,7 @@ export default {
position: relative; position: relative;
background-color: #fff; background-color: #fff;
width: 100%; width: 100%;
padding: 64rpx 0; padding-top: 64rpx;
margin-top: -48rpx; margin-top: -48rpx;
border-radius: 48rpx; border-radius: 48rpx;
height: calc(100% - 128rpx); height: calc(100% - 128rpx);
...@@ -287,16 +265,18 @@ export default { ...@@ -287,16 +265,18 @@ export default {
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
gap: 48rpx; gap: 48rpx;
// height: 908rpx; // height: 908rpx;
padding: 0 64rpx; padding: 0 64rpx 64rpx;
overflow-y: auto; overflow-y: auto;
.product-item { .product-item {
text-align: center; text-align: center;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 16rpx 24rpx 0 #2c66f71a; box-shadow: 0 16rpx 24rpx 0 #2c66f71a;
border-radius: 24rpx; border-radius: 24rpx;
height: 594rpx;
.product-img { .product-img {
width: 486rpx; width: 486rpx;
height: 486rpx; height: 594rpx;
border-radius: 24rpx;
} }
.product-name { .product-name {
padding-bottom: 48rpx; padding-bottom: 48rpx;
...@@ -332,7 +312,7 @@ export default { ...@@ -332,7 +312,7 @@ export default {
} }
.img-animate { .img-animate {
animation: moveAndFade 2s ease-in-out forwards; /* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */ animation: moveAndFade 0.8s ease-in-out forwards; /* 应用动画,持续时间2秒,缓动函数,停留在最后一帧 */
position: absolute; /* 确保图片可以移动 */ position: absolute; /* 确保图片可以移动 */
top: 0; top: 0;
right: 0; right: 0;
......
<template>
<view>
<!-- :src="require('@/assets/images/boutique/detail.webp')" -->
<image
class="detail-img"
:src="detailUrl"
mode="widthFix"
/>
<view class="nav-bar">
<view class="back" @click="back">
<uni-icons type="left" :size="32"></uni-icons>
</view>
</view>
</view>
</template>
<script type="text/ecmascript-6">
export default {
name: '',
data() {
return {
detailUrl: ''
}
},
onLoad (options) {
console.log(options, ' =')
this.detailUrl = options.detailUrl
},
methods: {
back() {
uni.navigateBack({
delta: 1
})
}
},
}
</script>
<style scoped lang="scss">
.nav-bar {
position: fixed;
width: 100%;
height: 96rpx;
left: 0;
top: 48rpx;
z-index: 9;
display: flex;
align-items: center;
.back {
height: 100%;
aspect-ratio: 1/1;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
}
.title {
width: 100%;
text-align: center;
}
}
.detail-img {
width: 100%;
height: auto;
object-fit: cover;
}
</style>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!