|
|
- <template>
- <view class="submit">
- <view class="">
- <uv-icon
- size="40rpx"
- name="file-text"></uv-icon>
- <view class="">
- 存草稿
- </view>
- </view>
- <view class="">
- <uv-icon
- size="40rpx"
- name="eye-fill"></uv-icon>
- <view class="">
- 预览
- </view>
- </view>
- <view class="btn">
- {{ submiitTitle }}
- </view>
- </view>
- </template>
-
- <script>
- export default {
- name:"submit",
- props : {
- submiitTitle : {
- default : '发布',
- type : String,
- }
- },
- data() {
- return {
-
- }
- },
- methods: {
-
- }
- }
- </script>
-
- <style lang="scss" scoped>
- .submit{
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100vw;
- background-color: #fff;
- height: 100rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- .btn{
- background: $uni-linear-gradient-btn-color;
- width: 400rpx;
- height: 70rpx;
- color: #fff;
- border-radius: 15rpx;
- }
- view{
- width: 100rpx;
- margin: 0 10rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- }
- }
- </style>
|