This commit is contained in:
2023-05-12 11:43:37 +08:00
commit afec01d797
770 changed files with 38861 additions and 0 deletions
+2
View File
File diff suppressed because one or more lines are too long
+39
View File
@@ -0,0 +1,39 @@
/*! ../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./index.tsx */
/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
/*! ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js */
/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
/*! @/api/company */
/*! @/common/common */
/*! @/components/FromList */
/*! @/components/address */
/*! @/use/useCommon */
/*! @/use/useLogin */
/*! @tarojs/components */
/*! @tarojs/runtime */
/*! @tarojs/taro */
/*! react */
/*! react/jsx-runtime */
/*!*************************************!*\
!*** ./src/pages/company/index.tsx ***!
\*************************************/
/*!**********************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib/index.js??ruleSet[1].rules[5].use[0]!./src/pages/company/index.tsx ***!
\**********************************************************************************************************/
+1
View File
@@ -0,0 +1 @@
{"navigationBarTitleText":"公司资料","usingComponents":{"custom-wrapper":"../../custom-wrapper","comp":"../../comp"}}
+2
View File
@@ -0,0 +1,2 @@
<import src="../../base.wxml"/>
<template is="taro_tmpl" data="{{root:root}}" />
+91
View File
@@ -0,0 +1,91 @@
@charset "UTF-8";@import "./sub-common/a1b7c14ca7dd522b5467af683ea37c27.wxss";@import "./sub-common/7756ed30f72e25270832bf3b325f069e.wxss";/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[4]!./src/pages/company/index.scss ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************/
.common_safe_area_y {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.hoverClass {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.full-100 {
width: 100%;
height: 100%;
}
.company {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.company .save-button {
width: 668rpx;
height: 82rpx;
background: #4581ff;
border-radius: 40rpx;
font-size: 32rpx;
font-weight: 400;
color: #ffffff;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
margin: 320rpx auto 0;
}
.company .form-radio {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.company .form-radio view {
height: 54rpx;
background: #f0f0f0;
border-radius: 28rpx;
font-size: 24rpx;
font-weight: 400;
color: #707070;
padding: 10rpx 28rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
margin: 10rpx;
border: 2rpx solid #f0f0f0;
max-width: 100%;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
}
.company .form-radio .form-radio-active {
background: #ecf5ff;
border: 2rpx solid #cde5ff;
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,106 @@
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/components/address/index.module.scss ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.index-module__common_safe_area_y___x4eYy {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.index-module__hoverClass___h7SD1 {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.index-module__full-100___UTe8u {
width: 100%;
height: 100%;
}
.index-module__address_main___huJxL {
width: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.index-module__address_main___huJxL .index-module__address_title___nnKsa {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
font-size: 28rpx;
padding: 20rpx;
padding-bottom: 0;
}
.index-module__address_main___huJxL .index-module__address_select___l33As {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
padding: 30rpx 0;
margin-top: 10rpx;
font-size: 24rpx;
border-bottom: 1px solid #eaeaea;
color: #ababab;
position: relative;
}
.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__address_item___mchDV {
padding: 0 20rpx;
max-width: 200rpx;
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__address_main___huJxL .index-module__address_select___l33As .index-module__bottom_index___J8o7V {
width: 100rpx;
height: 2rpx;
border-radius: 50rpx;
background-color: #4581ff;
position: absolute;
bottom: 0;
left: 0;
-webkit-transition: left 0.1s;
-o-transition: left 0.1s;
transition: left 0.1s;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA {
height: 600rpx;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q {
padding: 0 20rpx;
font-size: 28rpx;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG {
padding: 20rpx 0;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG .index-module__address_list_item_name___TBOMb {
overflow: hidden;
display: -webkit-box;
white-space: normal;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.index-module__address_main___huJxL .index-module__address_scroll___mubKA .index-module__address_scroll_list___i1c9q .index-module__address_list_item___sWUGG .index-module__address_iconfont___T4GZp {
font-size: 30rpx !important;
color: #4581ff;
}
.index-module__address_main___huJxL .index-module__addresst_select___hviCA {
color: #3c3c3c;
}
@@ -0,0 +1,2 @@
/*! For license information please see 7d9b8fe0afed41ef84446372cac40ece.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/7d9b8fe0afed41ef84446372cac40ece"],{"./src/api/addressList.ts":function(s,e,t){t.d(e,{GetAddressListApi:function(){return i}});var c=t("./src/use/useHttp.ts"),i=function GetAddressListApi(){return(0,c.useRequest)({url:"/v1/mall/district/list",method:"get"})}}}]);
@@ -0,0 +1,2 @@
/*! For license information please see 8ad6cd8756cc5ae2e44068ef39f3de95.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/8ad6cd8756cc5ae2e44068ef39f3de95"],{"./src/components/address/index.module.scss":function(_,e){e.default={common_safe_area_y:"index-module__common_safe_area_y___x4eYy",hoverClass:"index-module__hoverClass___h7SD1","full-100":"index-module__full-100___UTe8u",address_main:"index-module__address_main___huJxL",address_title:"index-module__address_title___nnKsa",address_select:"index-module__address_select___l33As",address_item:"index-module__address_item___mchDV",bottom_index:"index-module__bottom_index___J8o7V",address_scroll:"index-module__address_scroll___mubKA",address_scroll_list:"index-module__address_scroll_list___i1c9q",address_list_item:"index-module__address_list_item___sWUGG",address_list_item_name:"index-module__address_list_item_name___TBOMb",address_iconfont:"index-module__address_iconfont___T4GZp",addresst_select:"index-module__addresst_select___hviCA"}}}]);
@@ -0,0 +1,158 @@
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[2].use[4]!./src/components/FromList/index.scss ***!
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.common_safe_area_y {
width: 100%;
height: constant(safe-area-inset-bottom);
/* 兼容 iOS < 11.2 */
height: env(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
}
.hoverClass {
-webkit-filter: brightness(70%);
filter: brightness(70%);
}
.full-100 {
width: 100%;
height: 100%;
}
.form-list {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
margin: 30rpx 30rpx 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.form-list .form-list-label {
font-size: 28rpx;
font-weight: 700;
color: rgba(0, 0, 0, 0.8);
margin-top: 20rpx;
margin-right: 30rpx;
}
.form-list .form-list-label-required::before {
content: "*";
color: #ff0000;
font-size: 28rpx;
}
.form-list .form-list-right {
width: 506rpx;
font-size: 26rpx;
font-weight: 400;
}
.form-list .form-list-right-meet {
width: 506rpx;
min-height: 80rpx;
border-radius: 20rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 10rpx 20rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.form-list .form-list-input {
width: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.form-list .form-list-input view {
height: 100%;
padding: 0 10rpx;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.form-list .form-list-input text {
width: 30rpx;
min-width: 30rpx;
height: 30rpx;
background: rgba(0, 0, 0, 0.3);
border-radius: 50%;
font-size: 18rpx;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
color: white;
}
.form-list .form-list-right {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.form-list .form-list-right input,
.form-list .form-list-right textarea {
min-height: 100%;
width: 100%;
color: rgba(0, 0, 0, 0.8);
}
.form-list .form-list-right textarea {
height: 186rpx;
border-radius: 10rpx;
padding: 10rpx 0;
}
.form-list .form-list-right .phcolor {
color: #ababab;
}
.form-list .form-list-right-placeholder {
color: #ababab;
}
.form-list .form-list-right-enter .icon-a-moreback {
font-size: 28rpx;
}
.form-list .add-address-default {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
margin: 70rpx 30rpx 0;
font-size: 26rpx;
font-weight: 700;
color: #000000;
}
.form-list .add-address-save {
width: 668rpx;
height: 82rpx;
background: #4581ff;
border-radius: 40rpx;
font-size: 32rpx;
font-weight: 400;
color: #ffffff;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
margin: 620rpx auto 0;
}
@@ -0,0 +1,2 @@
/*! For license information please see a2a218972144fe33898d9e262408c2c0.js.LICENSE.txt */
"use strict";(wx.webpackJsonp=wx.webpackJsonp||[]).push([["sub-common/a2a218972144fe33898d9e262408c2c0"],{"./src/components/FromList/index.tsx":function(e,l,o){var i=o("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js"),n=o("./node_modules/react/cjs/react.production.min.js"),s=o("./node_modules/react/cjs/react-jsx-runtime.production.min.js"),t=function FromList(e){var l,o=e.type,n=void 0===o?"input":o,t=e.value,c=void 0===t?"":t,r=e.style,a=void 0===r?{}:r,d=e.labelStyle,u=void 0===d?{}:d,p=e.contentStyle,m=void 0===p?{}:p,h=e.required,x=void 0!==h&&h;return(0,s.jsxs)(i.View,{style:a,className:"form-list",children:[(0,s.jsx)(i.View,{style:u,className:"form-list-label ".concat(x&&"form-list-label-required"),children:e.label}),(0,s.jsx)(i.View,{onClick:null==e?void 0:e.onClick,className:"form-list-right",children:null!==(l=e.children)&&void 0!==l?l:(0,s.jsx)(i.View,{style:m,onClick:null==e?void 0:e.onClick,className:"form-list-right-meet",children:"input"==n?(0,s.jsxs)(i.View,{className:"form-list-input",children:[(0,s.jsx)(i.Input,{alwaysEmbed:!0,cursorSpacing:150,value:c,"placeholder-class":"phcolor",type:e.primordialType||"text",onInput:null==e?void 0:e.onInput,placeholder:e.placeholder}),c&&(0,s.jsx)(i.View,{children:(0,s.jsx)(i.Text,{onClick:function onClick(){return e.onInput&&e.onInput({detail:{value:""}})},className:"iconfont icon-qingkong"})})]}):"textarea"==n?(0,s.jsx)(i.Textarea,{value:c,"placeholder-class":"phcolor",onInput:null==e?void 0:e.onInput,placeholder:e.placeholder}):(0,s.jsxs)(s.Fragment,{children:[e.value?(0,s.jsx)(i.View,{children:c}):(0,s.jsx)(i.View,{className:"form-list-right-placeholder",children:e.placeholder}),(0,s.jsx)(i.View,{className:"form-list-right-enter",children:(0,s.jsx)(i.Text,{className:"iconfont icon-a-moreback"})})]})})})]})};l.default=(0,n.memo)(t)}}]);