当前位置:网站首页>Powerful avatar making artifact wechat applet
Powerful avatar making artifact wechat applet
2022-07-03 12:42:00 【Programmer - Nan】
This is a relatively rich avatar making applet seen at present
Have rich templates , A variety of basic classifications
Support direct access to wechat avatars , Or upload pictures directly
In addition, if uploaded, it can also support multiple functions such as image modification and editing
And take out CPS, Take a taxi CPS, Restaurant CPS, Movie tickets, etc CPS function
In addition, it supports more applet recommendations , Better drainage for other small programs
design sketch
<view class="cu-modal {
{modalName?'show':''}}" wx:if="{
{modalName}}">
<view class="cu-dialog">
<view class="cu-bar bg-white justify-end">
<view class="content-login"> reminder </view>
<view bindtap="hideModal" class="action">
<text class="cuIcon-close text-red"></text>
</view>
</view>
<view class="padding-xl">
<button bindtap="handleLogin" class="btn-an cu-btn-login round bg-red button-hover "> Please authorize login first </button>
</view>
</view>
</view>
<view class="content">
<view class="loading" wx:if="{
{loadingDH}}">
<view class="thorui-loading__2">
<view class="thorui-ani__1"></view>
<view class="thorui-ani__2"></view>
<view></view>
</view>
</view>
<view class="btns">
<view class="header" wx:if="{
{!loadingDH}}">
<view class="canvas" style="background-image: url({
{uploadImgUrl}});background-size:100% 100%;" wx:if="{
{SucaiImg}}">
<image src="{
{SucaiImg}}"></image>
</view>
<image class="canvas" src="{
{uploadImgUrl}}" wx:else></image>
<canvas canvasId="myAvatar" class="canvas" style="top:-1000px"></canvas>
</view>
</view>
</view>
<view>
<view class="grid col-2 padding-sm">
<view class=" text-center">
<button bindtap="handleLogin" class=" cu-btn round bg-z-gray shadow-blur button-hover" style="height: 30px;">
<image class="login-img margin-right-xs" src="../../static/image/wx_icon.png"></image>
<text class="text-white text-sm"> Authorized wechat Avatar </text>
</button>
</view>
<view class=" text-center">
<button bindtap="upimg" class=" cu-btn round bg-z-gray shadow-blur button-hover " style="height: 30px;">
<image class="login-img margin-right-xs" src="../../static/image//tp_icon.png"></image>
<text class="text-white text-sm"> Select upload image </text>
</button>
</view>
</view>
<scroll-view bindscrolltolower="scrollToLower" class="scrollView" lowerThreshold="30" scrollY="true" style="height:{
{scrollHeight}}px;background: #ffffff;" upperThreshold="0">
<view class="grid col-4 grid-square padding-lr-xs">
<view wx:if="{
{imgData.length>0}}" wx:for="{
{imgData}}" wx:key="index">
<image bind:tap="chooseImg" class="imgList {
{selSucaiIndex==index?'selClass':'selNo'}}" data-id="{
{item.id}}" data-index="{
{index}}" data-item="{
{item.is_lock?'lock':''}}" data-url="{
{item.image_url}}" lazyLoad="true" mode="aspectFill" src="{
{item.image_url}}"></image>
<image bindtap="suo" class="suo" src="../../image/suo.png" wx:if="{
{item.is_lock}}"></image>
</view>
</view>
</scroll-view>
</view>
<view class="grid col-2 btn-view">
<view class=" text-center">
<button class="btn-an cu-btn-an round bg-z-gray shadow-blur button-hover " openType="share" style="width: 90%;">
<text class="text-white text-df cuIcon-forward margin-right-xs"></text>
<text class="text-white text-df"> Friends share </text>
</button>
</view>
<view class=" text-center">
<button bindtap="handleSaveImg" class="btn-an cu-btn-an round bg-z-gray shadow-blur button-hover " style="width: 90%;">
<text class="text-white text-df cuIcon-check margin-right-xs"></text>
<text class="text-white text-df"> Make sure to generate </text>
</button>
</view>
</view>
Source code acquisition method
Q Group 1:1084039861
Q Group 2:598199629
Thank you for reading , Feel good about it ~
边栏推荐
- Kubectl_ Command experience set
- flinksql是可以直接客户端建表读mysql或是kafka数据,但是怎么让它自动流转计算起来呢?
- GaN图腾柱无桥 Boost PFC(单相)七-PFC占空比前馈
- Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?
- 初入职场,如何快速脱颖而出?
- 1-1 token
- [ManageEngine] the role of IP address scanning
- If you can't learn, you have to learn. Jetpack compose writes an im app (I)
- Xctf mobile--app1 problem solving
- Redhat5 installing socket5 proxy server
猜你喜欢
The latest version of blind box mall thinkphp+uniapp
Prompt unread messages and quantity before opening chat group
With pictures and texts, summarize the basic review of C language in detail, so that all kinds of knowledge points are clear at a glance?
【计网】第三章 数据链路层(2)流量控制与可靠传输、停止等待协议、后退N帧协议(GBN)、选择重传协议(SR)
Wechat applet pages always report errors when sending values to the background. It turned out to be this pit!
LeetCode 0556. Next bigger element III - end of step 4
Xctf mobile--app3 problem solving
强大的头像制作神器微信小程序
实现验证码验证
剑指Offer05. 替换空格
随机推荐
ORM use of node -serialize
Implement verification code verification
elastic_ L02_ install
雲計算未來 — 雲原生
Official website of Unicode query
LeetCode 0556. Next bigger element III - end of step 4
Swift bit operation exercise
【ArcGIS自定义脚本工具】矢量文件生成扩大矩形面要素
Adult adult adult
GaN图腾柱无桥 Boost PFC(单相)七-PFC占空比前馈
I'm too lazy to write more than one character
双链笔记·思源笔记综合评测:优点、缺点、评价
Use bloc to build a page instance of shutter
阿里 & 蚂蚁自研 IDE
2020-11_ Technical experience set
Xctf mobile--rememberother problem solving
Sword finger offer05 Replace spaces
Applet wxss introduction
十条职场规则
wpa_ cli