| 123456789101112131415161718192021222324252627282930313233 |
- <template>
- <div class="select-radio">
- <p class="title">{{selectRadio.information}}</p>
- <template v-for="item in selectRadio.radioList">
- <el-radio v-model="radio" :label="item.label">{{item.value}}</el-radio>
- </template>
- </div>
- </template>
- <script>
- export default {
- name: "selectRadio",
- props: ['selectRadio'],
- data() {
- return {
- radio: '1'
- };
- }
- }
- </script>
- <style scoped lang="less">
- .select-radio {
- .title {
- border-left: 8px solid black;
- margin: 10px 40px 10px 0;
- font-weight: 600;
- text-indent: 10px;
- display: inline-block;
- }
- }
- </style>
|