分组修改
This commit is contained in:
@@ -7,6 +7,15 @@
|
||||
<up-icon @click="close" :size="16" color="#000" name="close-circle-fill"></up-icon>
|
||||
</view>
|
||||
</view>
|
||||
<view class="u-m-t-36" >
|
||||
<view>排序方式:</view>
|
||||
<up-radio-group v-model="data.sortMode" placement="row" @change="groupChange">
|
||||
<up-radio shape='circle' :customStyle="{marginBottom: '8px',marginRight: '30rpx'}" v-model:checked="ele.hasPermission"
|
||||
usedAlone v-for="(ele, index) in pageData.sortType" :key="index" :name="ele.value" :label="ele.label"
|
||||
style="margin-right: 40rpx;font-size: 28rpx;">
|
||||
</up-radio>
|
||||
</up-radio-group>
|
||||
</view>
|
||||
<view class="u-m-t-36">
|
||||
<view>修改排序:</view>
|
||||
<view class="u-m-t-38">
|
||||
@@ -49,7 +58,15 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
const pageData = reactive({
|
||||
sortType: [
|
||||
{label: '默认', value: '0'},
|
||||
{label: '价格从高到低', value: '1'},
|
||||
{label: '价格从低到高', value: '2'},
|
||||
{label: '销量由高到低', value: '3'},
|
||||
{label: '销量由低到高', value: '4'},
|
||||
],
|
||||
})
|
||||
const data = ref(props.item)
|
||||
const emits = defineEmits(['update:show', 'save'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user