Commit e3a33888 authored by 李俊赕's avatar 李俊赕

Merge branch 'dev-photo-v2' of https://git.banshouhui.com/heyinchen/take_order into dev-photo-v2

parents dee29850 fec8c43f
...@@ -12,14 +12,14 @@ ...@@ -12,14 +12,14 @@
<view class="right-view-title">拍照项有:</view> <view class="right-view-title">拍照项有:</view>
<template v-for="(item,ikey) in rightList"> <template v-for="(item,ikey) in rightList">
<view class="rightItemView" @click="rightItemClick(item,ikey)" :key="ikey"> <view class="rightItemView" @click="rightItemClick(item,ikey)" :key="ikey">
<view :class="['rightContentView', {'active':item.imageList.length > 0 || item.images.length > 0}]"> <view :class="['rightContentView', {'active':item.imageList.length > 0}]">
<text class="ph-lst-item-index">{{ ikey + 1 }}</text> <text class="ph-lst-item-index">{{ ikey + 1 }}</text>
<text class="">{{item.name}}</text> <text class="">{{item.name}}</text>
<image class="ph-list-item-arrow" src="/static/photo/arrow.png"></image> <image class="ph-list-item-arrow" src="/static/photo/arrow.png"></image>
<!-- <text class="rightContent u-m-t-14 u-m-l-30 u-p-b-30">{{item.describe}}</text> --> <!-- <text class="rightContent u-m-t-14 u-m-l-30 u-p-b-30">{{item.describe}}</text> -->
</view> </view>
<view class="rightImageView" v-if="item.imageList.length > 0 || item.images.length > 0"> <view class="rightImageView" v-if="item.imageList.length > 0">
<image class="rightImage" v-for="(image, index) in (item.imageList.length > 0 ? item.imageList : item.images)" :src="image" :key="image" <image class="rightImage" v-for="(image, index) in item.imageList" :src="image" :key="image"
@click.stop="handleClickImage(item, index)" mode="aspectFill"></image> @click.stop="handleClickImage(item, index)" mode="aspectFill"></image>
</view> </view>
</view> </view>
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
// 点击图片 // 点击图片
handleClickImage(item, index) { handleClickImage(item, index) {
uni.previewImage({ uni.previewImage({
urls: item.imageList.length > 0 ? item.imageList : item.images, urls: item.imageList,
current:index current:index
}) })
}, },
...@@ -199,7 +199,8 @@ ...@@ -199,7 +199,8 @@
margin: 0rpx 30rpx 20rpx 30rpx; margin: 0rpx 30rpx 20rpx 30rpx;
padding: 36rpx 30rpx 18rpx 30rpx; padding: 36rpx 30rpx 18rpx 30rpx;
border-radius: 12rpx; border-radius: 12rpx;
background-color: #FFFFFF; background-color: #FFFFFF;
min-height: 108rpx;
} }
.ph-lst-item-index { .ph-lst-item-index {
...@@ -212,12 +213,13 @@ ...@@ -212,12 +213,13 @@
text-align: center; text-align: center;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
margin-right: 10rpx; margin-right: 10rpx;
margin-top: 4rpx;
} }
.rightContentView { .rightContentView {
display: flex; display: flex;
align-items: center; align-items: flex-start;
width: 100%; width: 100%;
font-size: 30rpx; font-size: 30rpx;
color: #2272FF; color: #2272FF;
...@@ -231,9 +233,9 @@ ...@@ -231,9 +233,9 @@
.ph-list-item-arrow { .ph-list-item-arrow {
position: absolute; position: absolute;
width: 56rpx; width: 40rpx;
height: 56rpx; height: 40rpx;
right: 30rpx; right: 38rpx;
} }
.rightContent { .rightContent {
...@@ -280,7 +282,6 @@ ...@@ -280,7 +282,6 @@
flex: 1; flex: 1;
background-color: #FFFFFF; background-color: #FFFFFF;
color: #999999; color: #999999;
} }
.topItemView.active { .topItemView.active {
color: #2272FF; color: #2272FF;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<switch class="itemSwitch" :checked="item['enable']" @change="itemChange(item, ikey)" color="#007AFF" /> <switch class="itemSwitch" :checked="item['enable']" @change="itemChange(item, ikey)" color="#007AFF" />
</view> </view>
<u-popup border-radius="10" v-model="isPopShow" safe-area-inset-bottom :mask-close-able="false" mode="center" <u-popup border-radius="10" v-model="isPopShow" safe-area-inset-bottom :mask-close-able="false" mode="center"
width="690rpx" height="600rpx"> width="690rpx" height="600rpx" @close="handlePopClose">
<view class="popCenterView"> <view class="popCenterView">
<text class="popTitle">设置自定义项</text> <text class="popTitle">设置自定义项</text>
<view class="inputBackView"> <view class="inputBackView">
...@@ -220,7 +220,12 @@ ...@@ -220,7 +220,12 @@
this.currenItem = { this.currenItem = {
'watemark_text': '', 'watemark_text': '',
'watemark_value': '' 'watemark_value': ''
} }
},
handlePopClose() {
this.showTipLeft = false,
this.showTipRight = false
}, },
//自定义弹窗 保存 //自定义弹窗 保存
......
take-order/static/photo/arrow.png

4.86 KB | W: | H:

take-order/static/photo/arrow.png

3.61 KB | W: | H:

take-order/static/photo/arrow.png
take-order/static/photo/arrow.png
take-order/static/photo/arrow.png
take-order/static/photo/arrow.png
  • 2-up
  • Swipe
  • Onion skin
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