123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <template>
- <div class="consult">
- <form action="/" method="post">
- <div class="form">
- <div class="form-item fl">
- <div class="form-label">姓名:</div>
- <input type="text" class="form-control input" />
- </div>
- <div class="form-item fr">
- <div class="form-label">电话:</div>
- <input type="text" class="form-control input" />
- </div>
- <div class="form-item fl">
- <div class="form-label">省份:</div>
- <input type="text" class="form-control input" />
- </div>
- <div class="form-item fr">
- <div class="form-label">城市:</div>
- <input type="text" class="form-control input" />
- </div>
- <div class="form-item fl">
- <div class="form-label">店名:</div>
- <input type="text" class="form-control input" />
- </div>
- <div class="form-item fr">
- <div class="form-label">店面积:</div>
- <input type="text" class="form-control input" />
- </div>
- <div style="clear: both"></div>
- <div class="form-item">
- <div class="form-label">地址:</div>
- <input type="text" class="form-control input max-width" />
- </div>
- <div class="form-item vertical">
- <div class="form-label">意向设备:</div>
- <div class="form-control checkbox-group" style="margin-top: 0">
- <label>Binary Premium<input type="checkbox" name="device" /></label>
- <label>Kestos T2<input type="checkbox" name="device" /></label>
- <label>Intradermik<input type="checkbox" name="device" /></label>
- <label>Rollaction<input type="checkbox" name="device" /></label>
- <label>Mesobiolift RF<input type="checkbox" name="device" /></label>
- <label>Diactivplus<input type="checkbox" name="device" /></label>
- </div>
- </div>
- <div class="form-item vertical">
- <div class="form-label">备注:</div>
- <textarea class="form-control textarea"></textarea>
- </div>
- </div>
- <button type="submit" class="submit">提交</button>
- </form>
- </div>
- </template>
- <style scoped lang="scss">
- @media screen and (min-width: 768px) {
- .consult {
- .form {
- .form-item {
- display: flex;
- align-items: center;
- margin-bottom: 26px;
- &.vertical {
- display: block;
- .form-control {
- margin-top: 24px;
- }
- }
- .form-label {
- font-size: 25px;
- font-weight: 400;
- color: #000000;
- }
- .form-control {
- &.input {
- width: 468px;
- height: 54px;
- line-height: 52px;
- border: 1px solid #000000;
- box-sizing: border-box;
- padding: 0 16px;
- }
- &.max-width {
- flex: 1;
- }
- &.textarea {
- display: block;
- width: 100%;
- height: 351px;
- padding: 16px;
- line-height: 24px;
- }
- label {
- display: inline-block;
- font-size: 25px;
- font-weight: 400;
- color: #000000;
- margin-right: 120px;
- margin-top: 24px;
- input {
- margin-left: 16px;
- transform: scale(1.4);
- }
- }
- }
- }
- }
- .submit {
- display: block;
- width: 189px;
- height: 38px;
- background: #f3920d;
- border-radius: 19px;
- font-size: 25px;
- font-weight: 400;
- color: #000000;
- line-height: 38px;
- text-align: center;
- border: 0;
- margin: 44px auto 0;
- cursor: pointer;
- }
- }
- }
- @media screen and (max-width: 768px) {
- .consult {
- width: 6.86rem;
- margin: 0 auto;
- .form {
- .fl,
- .fr {
- float: unset !important;
- }
- .form-item {
- margin-bottom: 0.26rem;
- .form-label {
- font-size: 0.28rem;
- font-weight: 400;
- color: #000000;
- margin-bottom: 0.16rem;
- }
- .form-control {
- &.input {
- width: 100%;
- height: 0.9rem;
- line-height: 0.88rem;
- border: 0.01rem solid #b2b2b2;
- box-sizing: border-box;
- padding: 0 0.16rem;
- }
- &.textarea {
- display: block;
- width: 100%;
- height: 3.5rem;
- padding: 16px;
- line-height: 0.32rem;
- box-sizing: border-box;
- border-color: #b2b2b2;
- }
- &.checkbox-group {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- label {
- display: flex;
- flex-direction: row-reverse;
- justify-content: flex-end;
- font-size: 0.28rem;
- font-weight: 400;
- color: #000000;
- margin-top: 0.35rem;
- width: 50%;
- input {
- margin-right: 0.16rem;
- }
- }
- }
- }
- }
- }
- .submit {
- display: block;
- width: 3.5rem;
- height: 0.9rem;
- background: #f3920d;
- font-size: 0.28rem;
- font-weight: 400;
- color: #000000;
- line-height: 0.9rem;
- text-align: center;
- border: 0;
- margin: 0.9rem auto 0;
- cursor: pointer;
- }
- }
- }
- </style>
|