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

切换二维码

上级 548915ea
......@@ -14,12 +14,30 @@
</view>
<view class="content">
<view class="top">
<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>
<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 class="top">
<image 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" />
<image
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>
......@@ -27,7 +45,11 @@
<view class="qr-code">
<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>
</view>
</view>
......@@ -45,7 +67,7 @@ let currencyPage = ref();
let openSetting = () => {
uni.navigateTo({
url: './setting'
url: './setting',
});
};
......@@ -54,20 +76,22 @@ let currencyTemplate = async () => {
let res: any = await getPageComponent({ pageId: currencyPage.value[0].id });
console.log(res.data, '通用');
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 = () => {
uni.navigateTo({
url: `./uploadImageVideo?type=${JSON.stringify('blank')}`
url: `./uploadImageVideo?type=${JSON.stringify('blank')}`,
});
};
let initHavePage = async () => {
uni.showLoading({
title: '加载中...'
title: '加载中...',
});
let res: any = await getHavePage();
if (res.data) {
......
......@@ -34,15 +34,25 @@
<text>订单编号:{{ item.orderSn }}</text>
<text>合计:¥{{ item.actualPrice.toFixed(2) }}</text>
</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="order-right">
<text class="details-top">{{ item1.goodsName }}</text>
<text class="details-center">{{ item1.specifications[0] }}</text>
<view class="details-bottom">
<text style="color: #d50000; font-size: 34rpx">{{ item1.price.toFixed(2) }}</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>
<text style="color: #d50000; font-size: 34rpx">
{{ item1.price.toFixed(2) }}
</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>
......@@ -51,12 +61,19 @@
<view class="qr-code">
<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>
</view>
<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-for="(item, i) in detailData" class="msjf-detail">
<view class="detail-list">
......@@ -74,11 +91,13 @@
<view class="detail-list" v-if="detailData[0].ifDeCap">
<view class="label">开瓶手机号</view>
<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>
<uni-load-more status="no-more"></uni-load-more>
</view>
<uni-load-more status="no-more" style="padding-bottom: 40rpx;"></uni-load-more>
</view>
<uni-load-more v-else status="no-more"></uni-load-more>
</scroll-view>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论