会员模块
This commit is contained in:
34
pages/user/code/code.wxml
Normal file
34
pages/user/code/code.wxml
Normal file
@@ -0,0 +1,34 @@
|
||||
<view class="content">
|
||||
<!-- 海报 -->
|
||||
<swiper indicator-dots="{{true}}" class="poster" bindchange='swiperChange' circular='{{true}}' current='{{currentBgIndex}}'>
|
||||
<swiper-item wx:for="{{posters}}" wx:key="posters">
|
||||
<view class="poster-item" style="background-image: url({{item.cover}});">
|
||||
<image
|
||||
class="poster-qrocde"
|
||||
src="{{qrcode}}"
|
||||
style="width: {{item.position.size}}rpx; top: {{item.position.y}}rpx; left: {{item.position.x}}rpx;"
|
||||
mode="widthFix">
|
||||
</image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<!-- 操作按钮 -->
|
||||
<view class="tool">
|
||||
<button class="tool-item" size="mini" open-type="share">
|
||||
<image class="tool-icon" src="/static/share_00.png" mode="aspectFill"></image>
|
||||
<view class="tool-text">发送朋友</view>
|
||||
</button>
|
||||
<view class="tool-item" bind:tap="onCheckSetting">
|
||||
<image class="tool-icon" src="/static/share_01.png" mode="aspectFill"></image>
|
||||
<view class="tool-text">保存海报</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- canvas海报 -->
|
||||
<canvas class="canvas" type="2d" id="canvas" style="width: 550px; height: 900px;"></canvas>
|
||||
</view>
|
||||
|
||||
<!-- <image src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/08/31/555d989b496e6d68ee8405bcae16555e.jpg" class="code-back"></image> -->
|
||||
|
||||
|
||||
<!-- 默认图片 -->
|
||||
<!-- https://api.siyuankunlun.cn/storage/images/2023/03/14/7777441f7a2b25353f2d6de61452418c.png -->
|
||||
Reference in New Issue
Block a user