提交 b0596d20 authored 作者: 刘旭's avatar 刘旭

切换二维码

上级 548915ea
...@@ -14,12 +14,30 @@ ...@@ -14,12 +14,30 @@
</view> </view>
<view class="content"> <view class="content">
<view class="top"> <view class="top">
<image src="../../static/msjf-picture/msjf-09.png" mode="widthFix" class="top-image"></image> <image
<image src="../../static/msjf-picture/msjf-10.png" mode="widthFix" class="bottom-image" @click="currencyTemplate"></image> src="../../static/msjf-picture/msjf-09.png"
mode="widthFix"
class="top-image"
></image>
<image
src="../../static/msjf-picture/msjf-10.png"
mode="widthFix"
class="bottom-image"
@click="currencyTemplate"
></image>
</view> </view>
<view class="top"> <view class="top">
<image src="../../static/msjf-picture/msjf-11.png" mode="widthFix" class="top-image"></image> <image
<image src="../../static/msjf-picture/msjf-12.png" mode="widthFix" class="bottom-image" @click="blankTemplate" /> src="../../static/msjf-picture/msjf-11.png"
mode="widthFix"
class="top-image"
></image>
<image
src="../../static/msjf-picture/msjf-12.png"
mode="widthFix"
class="bottom-image"
@click="blankTemplate"
/>
</view> </view>
</view> </view>
...@@ -27,7 +45,11 @@ ...@@ -27,7 +45,11 @@
<view class="qr-code"> <view class="qr-code">
<text style="margin-right: 60rpx;">科 技 赋 能</text> <text style="margin-right: 60rpx;">科 技 赋 能</text>
<image src="../../static/msjf-picture/msjf-13.png" mode="widthFix" style="width: 144rpx;"></image> <image
src="../../static/msjf-picture/msjf-13.jpg"
mode="widthFix"
style="width: 144rpx;"
></image>
<text style="margin-left: 60rpx;">高 端 酱 酒</text> <text style="margin-left: 60rpx;">高 端 酱 酒</text>
</view> </view>
</view> </view>
...@@ -45,7 +67,7 @@ let currencyPage = ref(); ...@@ -45,7 +67,7 @@ let currencyPage = ref();
let openSetting = () => { let openSetting = () => {
uni.navigateTo({ uni.navigateTo({
url: './setting' url: './setting',
}); });
}; };
...@@ -54,20 +76,22 @@ let currencyTemplate = async () => { ...@@ -54,20 +76,22 @@ let currencyTemplate = async () => {
let res: any = await getPageComponent({ pageId: currencyPage.value[0].id }); let res: any = await getPageComponent({ pageId: currencyPage.value[0].id });
console.log(res.data, '通用'); console.log(res.data, '通用');
uni.navigateTo({ uni.navigateTo({
url: `./uploadImageVideo?type=${JSON.stringify('currency')}&currencyPage=${JSON.stringify(res.data)}&id=${currencyPage.value[0].id}` url: `./uploadImageVideo?type=${JSON.stringify('currency')}&currencyPage=${JSON.stringify(
res.data
)}&id=${currencyPage.value[0].id}`,
}); });
}; };
// 空白 // 空白
let blankTemplate = () => { let blankTemplate = () => {
uni.navigateTo({ uni.navigateTo({
url: `./uploadImageVideo?type=${JSON.stringify('blank')}` url: `./uploadImageVideo?type=${JSON.stringify('blank')}`,
}); });
}; };
let initHavePage = async () => { let initHavePage = async () => {
uni.showLoading({ uni.showLoading({
title: '加载中...' title: '加载中...',
}); });
let res: any = await getHavePage(); let res: any = await getHavePage();
if (res.data) { if (res.data) {
......
...@@ -34,15 +34,25 @@ ...@@ -34,15 +34,25 @@
<text>订单编号:{{ item.orderSn }}</text> <text>订单编号:{{ item.orderSn }}</text>
<text>合计:¥{{ item.actualPrice.toFixed(2) }}</text> <text>合计:¥{{ item.actualPrice.toFixed(2) }}</text>
</view> </view>
<view v-for="(item1, i) in item.goodsList" class="or-bottom" @click="toggle('right', item1.id)"> <view
v-for="(item1, i) in item.goodsList"
class="or-bottom"
@click="toggle('right', item1.id)"
>
<view class="or-left"><image :src="item1.picUrl" class="or-left-image" /></view> <view class="or-left"><image :src="item1.picUrl" class="or-left-image" /></view>
<view class="order-right"> <view class="order-right">
<text class="details-top">{{ item1.goodsName }}</text> <text class="details-top">{{ item1.goodsName }}</text>
<text class="details-center">{{ item1.specifications[0] }}</text> <text class="details-center">{{ item1.specifications[0] }}</text>
<view class="details-bottom"> <view class="details-bottom">
<text style="color: #d50000; font-size: 34rpx">{{ item1.price.toFixed(2) }}</text> <text style="color: #d50000; font-size: 34rpx">
<text style="font-size: 24rpx; color: #ccc; margin-left: 20rpx">已开瓶数量:{{ item1.deCapNum }}</text> {{ item1.price.toFixed(2) }}
<text style="font-size: 24rpx; color: #ccc; margin-left: 20rpx">{{ item1.number + '件' }}</text> </text>
<text style="font-size: 24rpx; color: #ccc; margin-left: 20rpx">
已开瓶数量:{{ item1.deCapNum }}
</text>
<text style="font-size: 24rpx; color: #ccc; margin-left: 20rpx">
{{ item1.number + '件' }}
</text>
</view> </view>
</view> </view>
</view> </view>
...@@ -51,12 +61,19 @@ ...@@ -51,12 +61,19 @@
<view class="qr-code"> <view class="qr-code">
<text style="margin-right: 60rpx;">科 技 赋 能</text> <text style="margin-right: 60rpx;">科 技 赋 能</text>
<image src="../../static/msjf-picture/msjf-13.png" mode="widthFix" style="width: 144rpx;"></image> <image
src="../../static/msjf-picture/msjf-13.jpg"
mode="widthFix"
style="width: 144rpx;"
></image>
<text style="margin-left: 60rpx;">高 端 酱 酒</text> <text style="margin-left: 60rpx;">高 端 酱 酒</text>
</view> </view>
<uni-popup ref="popup" background-color="#f2f2f2"> <uni-popup ref="popup" background-color="#f2f2f2">
<scroll-view scroll-y="true" style="height: 100vh; box-sizing: border-box; padding-bottom: 40rpx;"> <scroll-view
scroll-y="true"
style="height: 100vh; box-sizing: border-box; padding-bottom: 40rpx;"
>
<view v-if="detailData.length"> <view v-if="detailData.length">
<view v-for="(item, i) in detailData" class="msjf-detail"> <view v-for="(item, i) in detailData" class="msjf-detail">
<view class="detail-list"> <view class="detail-list">
...@@ -74,11 +91,13 @@ ...@@ -74,11 +91,13 @@
<view class="detail-list" v-if="detailData[0].ifDeCap"> <view class="detail-list" v-if="detailData[0].ifDeCap">
<view class="label">开瓶手机号</view> <view class="label">开瓶手机号</view>
<view class="phone-list"> <view class="phone-list">
<view v-for="phone in item.phoneList.length" class="text">{{ item.phoneList[phone - 1] }}</view> <view v-for="phone in item.phoneList.length" class="text">
{{ item.phoneList[phone - 1] }}
</view>
</view> </view>
</view> </view>
</view> </view>
<uni-load-more status="no-more"></uni-load-more> <uni-load-more status="no-more" style="padding-bottom: 40rpx;"></uni-load-more>
</view> </view>
<uni-load-more v-else status="no-more"></uni-load-more> <uni-load-more v-else status="no-more"></uni-load-more>
</scroll-view> </scroll-view>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论