123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <template>
- <view class="switch-roles">
- <nav-bar title="公司信息" color="#000"></nav-bar>
- <view class="roles-content">
- <view class="content">
- <view class="progress-num"> <text>5</text>/8 </view>
- <view class="title">
- <view>编辑公司简介</view>
- </view>
- <view class="desc"> 可以简单介绍一下公司发展状况、服务领域、主要产品等信息</view>
- <view class="small-desc">一句短介绍</view>
- <view class="content-index">
- <view class="check-box">
- <textarea
- v-model="text"
- placeholder="填写公司介绍(最少10个字)"
- maxlength="500"
- @input="onInput"
- class="textarea"
- ></textarea>
- <view class="word-count">
- <text>{{ text ? text.length : 0 }}</text> /500</view
- >
- </view>
- </view>
- </view>
- </view>
- <view class="submit-btn" @click="goJobPostingSecond">下一步</view>
- </view>
- </template>
- <script>
- import navBar from "@/components/nav-bar/index.vue";
- export default {
- data() {
- return {
- text: "",
- };
- },
- components: {
- navBar,
- },
- onLoad(options) {
- if (options.text) {
- this.text = options.text;
- }
- },
- methods: {
- goJobPostingSecond(){
- uni.navigateTo({ url: '/my/renzheng/companyLogo' })
- }
- },
- };
- </script>
- <style lang="scss" scoped>
- .switch-roles {
- background-color: #fff;
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- display: flex;
- flex-direction: column;
- .check-box {
- width: 100%;
- border-radius: 12rpx;
- background: rgba(240, 240, 240, 1);
- padding: 34rpx;
- padding-top: 40rpx;
- box-sizing: border-box;
- margin: 20rpx 0;
- .word-count {
- font-family: DM Sans;
- font-size: 20rpx;
- font-weight: 400;
- line-height: 26rpx;
- text-align: right;
- text {
- color: #016bf6;
- }
- }
- }
- .roles-content {
- width: 100%;
- flex: 1;
- overflow: hidden;
- overflow-y: auto;
- .content {
- padding: 40rpx;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- .progress-num {
- color: #016bf6;
- font-family: DM Sans;
- font-size: 24rpx;
- font-weight: 500;
- width: 100%;
- padding-bottom: 20rpx;
- box-sizing: border-box;
- text {
- font-size: 48rpx;
- font-weight: 700;
- }
- }
- .title {
- color: #333;
- width: 100%;
- font-family: DM Sans;
- font-size: 48rpx;
- font-weight: 700;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .desc {
- color: rgba(102, 102, 102, 1);
- width: 100%;
- font-family: DM Sans;
- font-size: 24rpx;
- font-weight: 400;
- line-height: 32rpx;
- letter-spacing: 0.5%;
- text-align: left;
- box-sizing: border-box;
- margin-bottom: 20rpx;
- }
- .small-desc {
- color: rgba(34, 37, 42, 1);
- font-family: DM Sans;
- font-size: 32rpx;
- font-weight: 400;
- line-height: 48rpx;
- width: 100%;
- }
- .content-index {
- width: 100%;
- }
- }
- }
- .submit-btn {
- flex-shrink: 0;
- border-radius: 999px;
- background: #ff6600;
- color: rgba(255, 255, 255, 1);
- font-family: DM Sans;
- font-size: 32rpx;
- font-weight: 400;
- line-height: 48rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 24rpx 32rpx;
- box-sizing: border-box;
- margin: 30rpx 40rpx;
- margin-top: 20rpx;
- }
- }
- ::v-deep .textarea-placeholder {
- color: rgba(153, 153, 153, 1);
- font-family: DM Sans;
- font-size: 20rpx !important;
- font-weight: 400;
- line-height: 26rpx;
- }
- ::v-deep .uni-textarea-textarea {
- font-size: 20rpx;
- }
- </style>
|