12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <template>
- <view class="layout">
- <view class="assessHead">
- <span style="padding-right: 10upx;">评价</span>
- <van-rate
- :value="valueNumber"
- :size="20"
- void-color="#ee0a24"
- void-icon="star"
- color="#eee"
- />
- </view>
- <TextArea :tips="tips" @submitValue="submitValue"/>
- <view>
- <view>添加图片(最多3张)</view>
- <uploadImage />
-
- </view>
- <view class="submitRemin">提交</view>
- </view>
- </template>
- <script>
- import TextArea from '@/component/textarea.vue'
- import uploadImage from '@/component/uploadImage.vue'
- export default {
- components: {
- TextArea,
- uploadImage
- },
- data() {
- return{
- valueNumber: 0,
- imageList:[],
- size: 25,
- goodComment:'',
-
- tips: '五星好评超过20个字就有机会获得积分'
- }
- },
- onUnload() {
-
- },
- methods: {
- submitValue(e) {
- this.goodComment = e.detail.value;
- },
-
- previewImage() {
-
- }
- }
- }
- </script>
- <style lang="scss">
- .layout {
- padding: 0 32upx;
- .assessHead {
- padding: 20upx 0;
- }
- .deepHeight {
- height: 108upx;
- width: 108upx;
- }
- }
- </style>
|