当前位置:网站首页>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 ~
边栏推荐
- init. RC service failed to start
- JVM memory model
- 1-2 project technology selection and structure
- Sword finger offer05 Replace spaces
- Introduction to concurrent programming (II)
- [ArcGIS user defined script tool] vector file generates expanded rectangular face elements
- ORM use of node -serialize
- elastic_ L02_ install
- 剑指Offer10- I. 斐波那契数列
- [ManageEngine] the role of IP address scanning
猜你喜欢
What is more elegant for flutter to log out and confirm again?
剑指Offer09. 用两个栈实现队列
Application of ncnn Neural Network Computing Framework in Orange Pi 3 Lts Development Board
记录自己vulnhub闯关记录
低代码平台国际化多语言(i18n)技术方案
电压环对 PFC 系统性能影响分析
T430 toss and install OS majave 10.14
雲計算未來 — 雲原生
Record your vulnhub breakthrough record
GaN图腾柱无桥 Boost PFC(单相)七-PFC占空比前馈
随机推荐
Day 1 of kotlin learning: simple built-in types of kotlin
I'm too lazy to write more than one character
2.9 overview of databinding knowledge points
error: expected reference but got (raw string)
adb push apk
init. RC service failed to start
Summary of error prone knowledge points: Calculation of define s (x) 3*x*x+1.
Idea packages the web project into a war package and deploys it to the server to run
4. Wireless in vivo nano network: electromagnetic propagation model and key points of sensor deployment
2020-11_ Technical experience set
剑指Offer04. 二维数组中的查找【中等】
Solve the problem of VI opening files with ^m at the end
ImportError: No module named examples. tutorials. mnist
145. Post order traversal of binary tree
Using swift language features, write a pseudo-random number generator casually
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?
225. Implement stack with queue
Sword finger offer10- I. Fibonacci sequence
十条职场规则
最新版抽奖盲盒运营版