登录页面开发

This commit is contained in:
czm 2023-02-22 15:02:32 +08:00
parent 39815dbd2f
commit 8807f6e9ef
9 changed files with 89 additions and 12 deletions

View File

@ -1,5 +1,5 @@
{
"symbol_url": "//at.alicdn.com/t/c/font_3786318_gquep5m0ohd.js",
"symbol_url": "//at.alicdn.com/t/c/font_3786318_isejgadt4t.js",
"save_dir": "./src/components/iconfont",
"use_typescript": false,
"use_rpx": true,

View File

@ -65,7 +65,8 @@ export const portraitUpdateApi = () => {
*/
export const BindingCompanyApi = () => {
return useRequest({
url: '/v1/mall/user/binding/company',
// url: '/v1/mall/user/binding/company',
url: '/v3/mallCherry/user/binding/company',
method: 'put',
})
}

View File

@ -5,14 +5,14 @@
// export const BASE_URL = `http://192.168.0.89:40001/lymarket`
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
// export const BASE_URL = 'https://test.zzfzyc.com/lymarket' // 测试环境
// export const BASE_URL = 'https://pre.zzfzyc.com/lymarket' // 预发布
export const BASE_URL = 'https://pre.zzfzyc.com/lymarket' // 预发布
// export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
// export const BASE_URL = 'https://dev.zzfzyc.com/lymarket' // 开发环境
// export const BASE_URL = 'https://www.zzfzyc.com/lymarket' // 正式环境
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添
// export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添
// export const BASE_URL = 'http://192.168.1.28:50001/lymarket' // 婷
// export const BASE_URL = 'http://192.168.1.42:50002/lymarket' // 杰

View File

@ -24,7 +24,7 @@ function hex2rgb(hex) {
return "rgb(" + rgb.join(",") + ")";
}
export type IconNames = 'icon-dingwei' | 'icon-xuanzhongyanse' | 'icon-sekajianyanglingqu' | 'icon-lingseka' | 'icon-lingjianyang' | 'icon-gerenzhongxin-dianji' | 'icon-shouye-dianji' | 'icon-gouwuche-weidianji' | 'icon-gerenzhongxin-weidianji' | 'icon-gouwuche-dianji' | 'icon-shouye-weidianji' | 'icon-paixu1' | 'icon-zhankai' | 'icon-shouqi' | 'icon-tips' | 'icon-dianhua' | 'icon-paixu' | 'icon-shaixuan' | 'icon-bodakehujingli' | 'icon-guanfangweixinkefu' | 'icon-tuijianbiaoqian' | 'icon-rukou' | 'icon-renzhengchenggong' | 'icon-wodekefu' | 'icon-yanseduibi' | 'icon-dizhiguanli' | 'icon-weixin' | 'icon-riqi' | 'icon-shuru' | 'icon-a-0tianzhangqi' | 'icon-huodaofukuan' | 'icon-huozhuziti' | 'icon-saomazhifu' | 'icon-xianxiahuikuan' | 'icon-yufukuan' | 'icon-xinzengshoucangjia' | 'icon-qingchusousuo' | 'icon-xuanzechenggong' | 'icon-gongnengtubiao-saomiao' | 'icon-bianjizidingyimadan' | 'icon-zidingyimadanyulan' | 'icon-yuanshimadanyulan' | 'icon-xiala' | 'icon-shangla' | 'icon-qingchuxinxi' | 'icon-sousuo' | 'icon-guanli' | 'icon-bianji' | 'icon-shoucangjia' | 'icon-shezhi' | 'icon-tishi' | 'icon-erweima' | 'icon-dianjishoucang' | 'icon-gouwuche' | 'icon-shoucangchenggong' | 'icon-fenxiangshangpin' | 'icon-kefu' | 'icon-xinzenganniu' | 'icon-jianshaoanniu' | 'icon-daifahuo2' | 'icon-daishouhuo2' | 'icon-tuikuan-shouhou' | 'icon-daipeibu2' | 'icon-daifukuan2';
export type IconNames = 'icon-weixinyijiandenglu' | 'icon-nanzhuang' | 'icon-zhuanyefenlei' | 'icon-tongzhuang' | 'icon-chaoliumianliao' | 'icon-nvzhuang' | 'icon-dingwei' | 'icon-xuanzhongyanse' | 'icon-sekajianyanglingqu' | 'icon-lingseka' | 'icon-lingjianyang' | 'icon-gerenzhongxin-dianji' | 'icon-shouye-dianji' | 'icon-gouwuche-weidianji' | 'icon-gerenzhongxin-weidianji' | 'icon-gouwuche-dianji' | 'icon-shouye-weidianji' | 'icon-paixu1' | 'icon-zhankai' | 'icon-shouqi' | 'icon-tips' | 'icon-dianhua' | 'icon-paixu' | 'icon-shaixuan' | 'icon-bodakehujingli' | 'icon-guanfangweixinkefu' | 'icon-tuijianbiaoqian' | 'icon-rukou' | 'icon-renzhengchenggong' | 'icon-wodekefu' | 'icon-yanseduibi' | 'icon-dizhiguanli' | 'icon-weixin' | 'icon-riqi' | 'icon-shuru' | 'icon-a-0tianzhangqi' | 'icon-huodaofukuan' | 'icon-huozhuziti' | 'icon-saomazhifu' | 'icon-xianxiahuikuan' | 'icon-yufukuan' | 'icon-xinzengshoucangjia' | 'icon-qingchusousuo' | 'icon-xuanzechenggong' | 'icon-gongnengtubiao-saomiao' | 'icon-bianjizidingyimadan' | 'icon-zidingyimadanyulan' | 'icon-yuanshimadanyulan' | 'icon-xiala' | 'icon-shangla' | 'icon-qingchuxinxi' | 'icon-sousuo' | 'icon-guanli' | 'icon-bianji' | 'icon-shoucangjia' | 'icon-shezhi' | 'icon-tishi' | 'icon-erweima' | 'icon-dianjishoucang' | 'icon-gouwuche' | 'icon-shoucangchenggong' | 'icon-fenxiangshangpin' | 'icon-kefu' | 'icon-xinzenganniu' | 'icon-jianshaoanniu' | 'icon-daifahuo2' | 'icon-daishouhuo2' | 'icon-tuikuan-shouhou' | 'icon-daipeibu2' | 'icon-daifukuan2';
type PropsType = {
name: IconNames;
@ -84,7 +84,25 @@ const IconFont:FC<PropsType> = ({
className={classnames(icon, customClassName)}
/>
)} */}
{/* icon-dingwei */}
{/* icon-weixinyijiandenglu */}
{ name === 'icon-weixinyijiandenglu' && (<View style={{backgroundImage: `url(${quot}data:image/svg+xml, %3Csvg viewBox='0 0 1144 1024' xmlns='http://www.w3.org/2000/svg' width='${svgSize}px' height='${svgSize}px'%3E%3Cpath d='M774.656 309.76c13.161412 0 26.112 1.084235 39.152941 2.650353C778.721882 133.150118 604.250353 0 405.082353 0 182.392471 0 0 166.610824 0 378.337882c0 122.157176 60.656941 222.479059 162.093176 300.393412l-40.508235 133.782588 141.643294-77.914353c50.627765 10.902588 91.256471 22.226824 141.854118 22.226824 12.709647 0 25.298824-0.602353 37.767529-1.656471a363.941647 363.941647 0 0 1-12.528941-93.334588c0.060235-194.349176 152.003765-352.075294 344.335059-352.075294z m-217.750588-120.591059c30.629647 0 50.748235 22.076235 50.748235 55.536941 0 33.310118-20.118588 55.627294-50.718118 55.627294-30.268235 0-60.747294-22.317176-60.747294-55.627294 0-33.551059 30.418824-55.536941 60.747294-55.536941zM273.468235 300.272941c-30.418824 0-61.018353-22.287059-61.018353-55.597176 0-33.460706 30.599529-55.536941 61.018353-55.536941 30.388706 0 50.567529 21.985882 50.56753 55.536941 0 33.310118-20.178824 55.627294-50.597647 55.627294zM1144.470588 656.534588c0-177.844706-162.093176-322.800941-344.124235-322.800941-192.752941 0-344.485647 145.016471-344.485647 322.800941 0 178.326588 151.792941 322.800941 344.485647 322.800941 40.357647 0 81.016471-11.083294 121.524706-22.226823L1032.944941 1024l-30.448941-111.224471c81.317647-67.102118 141.974588-155.949176 141.974588-256.271058z m-455.860706-55.717647c-20.088471 0-40.478118-21.985882-40.478117-44.453647 0-22.136471 20.389647-44.453647 40.478117-44.453647 30.750118 0 50.718118 22.287059 50.718118 44.453647 0 22.467765-19.968 44.483765-50.718118 44.483765z m222.810353 0c-19.937882 0-40.267294-21.985882-40.267294-44.453647 0-22.136471 20.239059-44.453647 40.267294-44.453647 30.479059 0 50.718118 22.287059 50.718118 44.453647 0 22.467765-20.239059 44.483765-50.718118 44.483765z' fill='${(isStr ? colors : colors?.[0]) || 'rgb(255,255,255)'}'/%3E%3C/svg%3E${quot})`, width: `${svgSize}px`, height: `${svgSize}px`, ...customStyle}} className={classnames("icon", customClassName)} />) }
{/* icon-nanzhuang */}
{ name === 'icon-nanzhuang' && (<View style={{backgroundImage: `url(${quot}data:image/svg+xml, %3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='${svgSize}px' height='${svgSize}px'%3E%3Cpath d='M640.576 28.512m170.672 0l-0.016 0q170.672 0 170.672 170.672l0-0.016q0 170.672-170.672 170.672l0.016 0q-170.672 0-170.672-170.672l0 0.016q0-170.672 170.672-170.672Z' fill='${(isStr ? colors : colors?.[0]) || 'rgb(126,144,251)'}' opacity='.3'/%3E%3Cpath d='M246.112 905.68V549.76l-59.168 147.904a31.52 31.52 0 0 1-44.112 16.08L30.88 653.936a31.52 31.52 0 0 1-13.36-41.872l185.952-372.768A154.352 154.352 0 0 1 337.12 153.92l4.48-0.064V101.088a15.76 15.76 0 0 1 26.24-11.776l144.736 117.088 144.752-117.088a15.76 15.76 0 0 1 8.56-3.856l1.92-0.128c8.688 0 15.744 7.056 15.744 15.76v52.752l4.496 0.064a154.352 154.352 0 0 1 133.632 85.392l185.936 372.768a31.52 31.52 0 0 1-13.344 41.872l-111.936 59.808a31.52 31.52 0 0 1-44.112-16.08l-59.168-147.904v355.92c0 33.344-140.656 44.992-266.48 44.992-125.808 0-266.464-12.64-266.464-44.992z' fill='${(isStr ? colors : colors?.[1]) || 'rgb(39,68,243)'}' opacity='.694'/%3E%3Cpath d='M512.576 256.064c13.36 0 26.72 1.04 40.064 3.12a14.224 14.224 0 0 1 11.2 18.832l-19.424 53.968a14.224 14.224 0 0 1-13.392 9.408h-1.632l54.304 281.104-60.832 63.68-0.464 0.48a14.224 14.224 0 0 1-20.096-0.48l-60.832-63.68 50.768-281.248a14.192 14.192 0 0 1-11.488-9.264l-19.424-53.968a14.208 14.208 0 0 1 11.2-18.832c13.344-2.08 26.704-3.12 40.048-3.12z' fill='${(isStr ? colors : colors?.[2]) || 'rgb(220,225,255)'}' opacity='.8'/%3E%3C/svg%3E${quot})`, width: `${svgSize}px`, height: `${svgSize}px`, ...customStyle}} className={classnames("icon", customClassName)} />) }
{/* icon-zhuanyefenlei */}
{ name === 'icon-zhuanyefenlei' && (<View style={{backgroundImage: `url(${quot}data:image/svg+xml, %3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='${svgSize}px' height='${svgSize}px'%3E%3Cpath d='M113.776 113.776m56.896 0l241.76 0q56.896 0 56.896 56.896l0 241.76q0 56.896-56.896 56.896l-241.76 0q-56.896 0-56.896-56.896l0-241.76q0-56.896 56.896-56.896Z' fill='${(isStr ? colors : colors?.[0]) || 'rgb(69,118,255)'}' opacity='.9'/%3E%3Cpath d='M113.776 540.448m56.896 0l241.76 0q56.896 0 56.896 56.896l0 241.76q0 56.896-56.896 56.896l-241.76 0q-56.896 0-56.896-56.896l0-241.76q0-56.896 56.896-56.896Z' fill='${(isStr ? colors : colors?.[1]) || 'rgb(69,118,255)'}' opacity='.9'/%3E%3Cpath d='M554.672 540.448m56.896 0l241.76 0q56.896 0 56.896 56.896l0 241.76q0 56.896-56.896 56.896l-241.76 0q-56.896 0-56.896-56.896l0-241.76q0-56.896 56.896-56.896Z' fill='${(isStr ? colors : colors?.[2]) || 'rgb(69,118,255)'}' opacity='.9'/%3E%3Cpath d='M910.224 170.672v241.76a56.896 56.896 0 0 1-56.896 56.896h-241.76a56.896 56.896 0 0 1-56.896-56.88V170.672A56.896 56.896 0 0 1 611.536 113.776h241.776a56.896 56.896 0 0 1 56.896 56.896z' fill='${(isStr ? colors : colors?.[3]) || 'rgb(69,118,255)'}' opacity='.6'/%3E%3C/svg%3E${quot})`, width: `${svgSize}px`, height: `${svgSize}px`, ...customStyle}} className={classnames("icon", customClassName)} />) }
{/* icon-tongzhuang */}
{ name === 'icon-tongzhuang' && (<View style={{backgroundImage: `url(${quot}data:image/svg+xml, %3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='${svgSize}px' height='${svgSize}px'%3E%3Cpath d='M654.224 504.896m177.776 0l0 0q177.776 0 177.776 177.776l0 0q0 177.776-177.776 177.776l0 0q-177.776 0-177.776-177.776l0 0q0-177.776 177.776-177.776Z' fill='${(isStr ? colors : colors?.[0]) || 'rgb(126,144,251)'}' opacity='.3'/%3E%3Cpath d='M331.239514 57.088337m41.217987-11.044326l-0.015455 0.004141q41.217987-11.044326 52.262314 30.173661l29.443254 109.883722q11.044326 41.217987-30.17366 52.262313l0.015454-0.004141q-41.217987 11.044326-52.262313-30.173661l-29.443254-109.883722q-11.044326-41.217987 30.17366-52.262313Z' fill='${(isStr ? colors : colors?.[1]) || 'rgb(39,68,243)'}' opacity='.694'/%3E%3Cpath d='M610.323967 35.003826m41.217987 11.044326l-0.015455-0.004141q41.217987 11.044326 30.17366 52.262313l-29.443254 109.883722q-11.044326 41.217987-52.262313 30.173661l0.015454 0.004141q-41.217987-11.044326-30.17366-52.262313l29.443254-109.883722q11.044326-41.217987 52.262314-30.173661Z' fill='${(isStr ? colors : colors?.[2]) || 'rgb(39,68,243)'}' opacity='.694'/%3E%3Cpath d='M434.448 965.328c-4.768 9.776-14.704 16-25.6 16H227.568A28.448 28.448 0 0 1 199.104 952.88v-345.76c0-25.488 15.68-48.208 39.248-57.36l2.88-1.04a104.736 104.736 0 0 0 71.648-99.376v-250.24a42.672 42.672 0 0 1 42.672-42.672h312.88A42.672 42.672 0 0 1 711.104 199.104v250.24a104.736 104.736 0 0 0 68.032 98.08l6.496 2.336a61.552 61.552 0 0 1 39.248 57.36v345.76c0 15.712-12.736 28.448-28.448 28.448H615.12c-10.88 0-20.8-6.224-25.568-16l-50.496-156.24a28.448 28.448 0 0 0-54.128 0l-50.48 156.24z' fill='${(isStr ? colors : colors?.[3]) || 'rgb(39,68,243)'}' opacity='.694'/%3E%3Cpath d='M384 440.88h256v14.224a128 128 0 1 1-256 0v-14.224z' fill='${(isStr ? colors : colors?.[4]) || 'rgb(209,216,255)'}' opacity='.6'/%3E%3Cpath d='M199.104 896m30.64 0l208.944 0q30.64 0 30.64 30.64l0 24.048q0 30.64-30.64 30.64l-208.944 0q-30.64 0-30.64-30.64l0-24.048q0-30.64 30.64-30.64Z' fill='${(isStr ? colors : colors?.[5]) || 'rgb(194,203,255)'}' opacity='.6'/%3E%3Cpath d='M554.656 896m30.64 0l208.944 0q30.64 0 30.64 30.64l0 24.048q0 30.64-30.64 30.64l-208.944 0q-30.64 0-30.64-30.64l0-24.048q0-30.64 30.64-30.64Z' fill='${(isStr ? colors : colors?.[6]) || 'rgb(194,203,255)'}' opacity='.6'/%3E%3C/svg%3E${quot})`, width: `${svgSize}px`, height: `${svgSize}px`, ...customStyle}} className={classnames("icon", customClassName)} />) }
{/* icon-chaoliumianliao */}
{ name === 'icon-chaoliumianliao' && (<View style={{backgroundImage: `url(${quot}data:image/svg+xml, %3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='${svgSize}px' height='${svgSize}px'%3E%3Cpath d='M597.316202 78.354765m177.751421 0l0 0q177.75142 0 177.75142 177.75142l0 0q0 177.75142-177.75142 177.751421l0 0q-177.75142 0-177.751421-177.751421l0 0q0-177.75142 177.751421-177.75142Z' fill='${(isStr ? colors : colors?.[0]) || 'rgb(188,209,255)'}' opacity='.8'/%3E%3Cpath d='M489.059172 836.089984l-183.302652 83.38047c-28.108113 12.782232-61.159543 0.14398-73.813793-28.236095a56.84014 56.84014 0 0 1-4.591365-29.275952l21.900971-201.780097a56.69616 56.69616 0 0 0-14.17404-44.025912l-135.181307-150.235226a56.728156 56.728156 0 0 1 3.775478-79.604992 55.624308 55.624308 0 0 1 26.172381-13.470137l196.836781-41.322286a55.848277 55.848277 0 0 0 37.09887-27.196239l99.746207-176.247628a55.528321 55.528321 0 0 1 96.930596 0l99.746207 176.23163a55.848277 55.848277 0 0 0 37.09887 27.212237l196.836781 41.322286c30.171828 6.335124 49.561147 36.170998 43.290014 66.646784a56.55218 56.55218 0 0 1-13.342155 26.428345l-135.181307 150.219228a56.69616 56.69616 0 0 0-14.17404 44.04191l21.900972 201.7641c3.359535 30.939722-18.765405 58.775872-49.401169 62.167403a55.352346 55.352346 0 0 1-29.019987-4.639359L534.92483 836.089984a55.336348 55.336348 0 0 0-45.865658 0z' fill='${(isStr ? colors : colors?.[1]) || 'rgb(69,118,255)'}' opacity='.9'/%3E%3Cpath d='M435.70655 478.7314h-26.716306l-8.990756 104.721519-0.783892 0.719901-41.498262-105.425422H315.115225l-11.454416 133.405553h26.716306l9.47069-110.304747 0.79989-0.719901 42.442131 111.024648h41.162308l11.454416-133.421551z m101.921906 133.421551l1.919735-22.20493H476.692882l3.03958-35.387106h56.312213l1.919735-22.396903h-56.312213l2.67163-31.035709h60.647614l1.919734-22.396903h-89.539618l-11.454416 133.421551h91.715317z m53.336625-133.421551h-29.595908l21.037091 133.421551h32.491507l34.7152-101.633946 15.117909 101.633946H696.502487l45.385724-133.421551h-26.716306l-30.283812 100.386119h-0.719901l-14.493995-100.386119h-32.491507l-34.619213 100.386119-11.598396-100.386119z' fill='${(isStr ? colors : colors?.[2]) || 'rgb(253,253,255)'}' opacity='.89'/%3E%3C/svg%3E${quot})`, width: `${svgSize}px`, height: `${svgSize}px`, ...customStyle}} className={classnames("icon", customClassName)} />) }
{/* icon-nvzhuang */}
{ name === 'icon-nvzhuang' && (<View style={{backgroundImage: `url(${quot}data:image/svg+xml, %3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='${svgSize}px' height='${svgSize}px'%3E%3Cpath d='M342.832 384c-12.352-57.216-26.448-103.776-42.304-139.68C269.6 174.192 283.248 94.368 342.832 77.824 401.76 61.44 512.048 63.904 512.048 216.992v167.008H342.832z m338.432 0c12.352-57.216 26.464-103.776 42.304-139.68C754.496 174.192 740.848 94.368 681.28 77.824 622.368 61.44 512.048 63.904 512.048 216.992v167.008H681.28z' fill='${(isStr ? colors : colors?.[0]) || 'rgb(253,154,118)'}'/%3E%3Cpath d='M512.048 384v552.512c-54.432 1.904-107.84 6.992-148.912 13.056l-8.352 1.28c-60.592 9.552-65.6-16.832-63.6-32.48l-1.68-0.016c0.4-4.64 1.456-8.56 2.16-10.784l-12.752-0.72c-27.568-1.76-87.568-6.512-130.56-16.64-24.016-5.648-32.32-18.064-33.856-30.592l-0.176-1.984c-2.24-13.952 3.84-28.4 6.944-34.64C68.896 814.768 42.72 791.696 42.72 753.776c0-28.16 71.68-117.2 144.576-200.864l9.12-10.432c71.344-81.36 141.056-154.928 142.976-158.48h172.656z m0 0v552.512c54.448 1.904 107.856 6.992 148.912 13.056l8.368 1.28c60.592 9.552 65.6-16.832 63.6-32.48l1.68-0.016a50.848 50.848 0 0 0-2.176-10.784l12.768-0.72c27.552-1.76 87.568-6.512 130.56-16.64 24-5.648 32.32-18.064 33.84-30.592l0.192-1.984c2.24-13.952-3.84-28.4-6.96-34.64 52.368-8.224 78.56-31.296 78.56-69.216 0-28.16-71.68-117.2-144.576-200.864l-9.12-10.432c-71.36-81.36-141.056-154.928-142.992-158.48h-172.64z' fill='${(isStr ? colors : colors?.[1]) || 'rgb(255,111,71)'}'/%3E%3Cpath d='M304.992 341.328m30.64 0l352.832 0q30.64 0 30.64 30.64l0 24.048q0 30.64-30.64 30.64l-352.832 0q-30.64 0-30.64-30.64l0-24.048q0-30.64 30.64-30.64Z' fill='${(isStr ? colors : colors?.[2]) || 'rgb(255,229,220)'}' opacity='.8'/%3E%3Cpath d='M597.392 613.808V371.952c0-16.912 13.712-30.624 30.624-30.624h24.064c16.928 0 30.64 13.712 30.64 30.624V613.824a30.64 30.64 0 0 1-30.64 30.624h-24.064a30.64 30.64 0 0 1-30.624-30.624z' fill='${(isStr ? colors : colors?.[3]) || 'rgb(255,229,220)'}' opacity='.6'/%3E%3Cpath d='M640.048 0m170.672 0l-0.016 0q170.672 0 170.672 170.672l0-0.016q0 170.672-170.672 170.672l0.016 0q-170.672 0-170.672-170.672l0 0.016q0-170.672 170.672-170.672Z' fill='${(isStr ? colors : colors?.[4]) || 'rgb(254,162,128)'}' opacity='.3'/%3E%3C/svg%3E${quot})`, width: `${svgSize}px`, height: `${svgSize}px`, ...customStyle}} className={classnames("icon", customClassName)} />) }
{/* icon-dingwei */}
{ name === 'icon-dingwei' && (<View style={{backgroundImage: `url(${quot}data:image/svg+xml, %3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='${svgSize}px' height='${svgSize}px'%3E%3Cpath d='M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z' fill='${(isStr ? colors : colors?.[0]) || 'rgb(74,127,255)'}'/%3E%3Cpath d='M512 222c127.04 0 230 102.976 230 230 0 51.2-25.28 110.896-75.328 180.928l-3.536 4.896-3.648 4.976-6.512 8.704-6.816 8.912-7.04 8.96-7.28 9.056-7.52 9.152-7.728 9.216-4.016 4.736-10.176 11.744-2.128 2.432-8.512 9.584-8.736 9.696-9.008 9.792-9.232 9.92-9.488 10.016-9.28 9.648-19.232 21.12a20 20 0 0 1-28.4 1.168l-1.168-1.184-18.88-20.72-9.728-10.144-9.488-10.016-9.248-9.92-8.992-9.808-8.72-9.648-4.32-4.864-8.4-9.536-10.08-11.712-9.808-11.68-7.52-9.168-7.296-9.056-6.992-8.928-3.44-4.448-3.392-4.464-6.48-8.656c-54.768-74.24-82.432-137.12-82.432-190.704 0-127.04 102.976-230 230-230z m0 140a90 90 0 1 0 0 180 90 90 0 0 0 0-180z' fill='${(isStr ? colors : colors?.[1]) || 'rgb(255,255,255)'}'/%3E%3C/svg%3E${quot})`, width: `${svgSize}px`, height: `${svgSize}px`, ...customStyle}} className={classnames("icon", customClassName)} />) }
{/* icon-xuanzhongyanse */}

View File

@ -0,0 +1,35 @@
.remind_con {
height: 430px;
.title {
width: 100%;
text-align: center;
margin-top: 32px;
font-weight: 500;
}
.regulations_text {
color: rgba(0, 0, 0, 0.6);
font-size: 22px;
text-align: center;
margin-top: 80px;
text {
color: #1245b0;
font-size: 22px;
}
}
.btn_con {
width: 100%;
justify-content: center;
display: flex;
margin-top: 88px;
text {
display: inline-block;
width: 612px;
height: 80px;
background: linear-gradient(90deg, #4581ff 0%, #0d56fa 100%);
border-radius: 43px;
color: #fff;
text-align: center;
line-height: 80px;
}
}
}

View File

@ -0,0 +1,15 @@
import { Text, View } from '@tarojs/components'
import styles from './index.module.scss'
import Popup from '@/components/popup'
export default () => {
return <Popup show showTitle={false}>
<View className={styles.remind_con}>
<View className={styles.title}></View>
<View className={styles.regulations_text}><Text></Text><Text></Text></View>
<View className={styles.btn_con}>
<Text></Text>
</View>
</View>
</Popup>
}

View File

@ -1,22 +1,30 @@
import { Image, Text, View } from '@tarojs/components'
import { useState } from 'react'
import styles from './index.module.scss'
import logo from '@/styles/image/lgo@2x.png'
import Remind from './components/remind'
import logo from '@/styles/image/logo.png'
import IconFont from '@/components/iconfont/iconfont'
import Checkbox from '@/components/checkbox'
import Popup from '@/components/popup'
export default () => {
const [selected, setSelected] = useState(false)
return <View className={styles.main}>
<View className={styles.login_image}>
<Image src={logo} />
<Image mode="widthFix" src={logo} />
<Text> </Text>
</View>
<View className={styles.login_btn}>
<IconFont name="icon-weixin" />
<View className={styles.btn_con}>
<IconFont name="icon-weixinyijiandenglu" />
<Text></Text>
</View>
<View className={styles.regulations}>
<Checkbox />
<Text></Text>
</View>
<View className={styles.regulations}>
<Checkbox size="small" status={selected} onSelect={() => setSelected(true)} onClose={() => setSelected(false)} />
<View className={styles.regulations_text}><Text></Text><Text></Text></View>
</View>
<Remind />
</View>
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

BIN
src/styles/image/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB