Commit ddfdeb4d57d8486c13244074c273423db54fdb71

Authored by pengye
1 parent b390c904

邀请函模板1-12,用餐环境、餐厅介绍加视频

... ... @@ -135,7 +135,28 @@
</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
... ... @@ -143,6 +164,17 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" />
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</block>
</view>
<!-- 主厨介绍 -->
... ...
... ... @@ -640,6 +640,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 深中国红 */
.crimson,
.crimson .positioningBox {
... ...
... ... @@ -137,7 +137,28 @@
</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
... ... @@ -145,6 +166,17 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}"/>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</block>
</view>
<!-- 主厨介绍 -->
... ...
... ... @@ -671,6 +671,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 深中国红 */
.crimson,
.crimson .positioningBox {
... ...
... ... @@ -120,7 +120,28 @@
</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
... ... @@ -128,6 +149,17 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}"/>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</block>
</view>
<!-- 主厨介绍 -->
... ...
... ... @@ -661,6 +661,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 深中国红 */
.crimson,
.crimson .positioningBox {
... ...
... ... @@ -118,7 +118,28 @@
</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
... ... @@ -126,6 +147,17 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}"/>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</block>
</view>
<!-- 主厨介绍 -->
... ...
... ... @@ -660,6 +660,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 深中国红 */
.crimson,
.crimson .positioningBox {
... ...
... ... @@ -145,6 +145,38 @@
</view>
</view>
</view>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</view>
<!-- 品牌介绍类型 图文分开 -->
<view class="introduce" wx:else>
... ... @@ -164,6 +196,38 @@
<image wx:if="{{store && (!store.is_images || store.is_images!='0')}}" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
</view>
</view>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</view>
<!-- 知名主厨类型chef.style 0不显示 1图文合并 2图文分开 -->
<!-- 知名主厨类型chef is_introduce是否展示文字介绍 is_images是否展示介绍图片 is_above餐厅介绍文字是否显示在第一张图片上-->
... ...
... ... @@ -790,6 +790,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 黑蓝过渡 */
.blackBlueGradient .titleImg {
background: linear-gradient(104.24deg, #42a5ff -57.47%, #000000 55.72%, #42a5ff 182.69%);
... ...
... ... @@ -132,7 +132,28 @@
<text space="nbsp" class="texts">{{store.introduce}}</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
... ... @@ -140,6 +161,17 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</block>
</view>
<!-- 主厨介绍 -->
... ...
... ... @@ -653,6 +653,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 深中国红 */
.crimson,
.crimson .positioningBox {
... ...
... ... @@ -130,7 +130,28 @@
</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
... ... @@ -139,6 +160,17 @@
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
</block>
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</view>
<!-- 主厨介绍 -->
<view class="introduceBox famousChefBox" wx:if="{{chef && ((!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0'))}}">
... ...
... ... @@ -662,6 +662,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 深中国红 */
.crimson,
.crimson .positioningBox {
... ...
... ... @@ -132,6 +132,27 @@
<text space="nbsp" class="texts font32r">{{store.introduce}}</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
style="margin-bottom: 20rpx;"
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/201_1733735811.mp4"
></video>
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo1.mp4"
></video>
</view>
</view>
</block>
<!-- 用餐环境 -->
... ... @@ -142,6 +163,17 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
</block>
<view wx:if="{{seller && seller.sid == '8'}}" class="videoBox">
<video
object-fit="contain"
autoplay="{{true}}"
loop="{{true}}"
muted="{{true}}"
show-mute-btn="{{true}}"
vslide-gesture-in-fullscreen="{{true}}"
src="https://qn.colorcun.com/WeChatVideo2.mp4"
></video>
</view>
</view>
<!-- 主厨介绍 -->
<view class="introduce" wx:if="{{chef && ((!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0'))}}">
... ...
... ... @@ -774,6 +774,19 @@
height: auto !important;
}
.videoBox{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 20rpx;
}
.videoBox video{
width: 100%;
box-sizing: border-box;
}
/* 模板9 */
.viewBox9 {
background: #23201e;
... ...