文件操作 - cost-radio.php
返回文件管理
返回主菜单
删除本文件
文件: /root/Desktop/OLD/plugin-wordpress/cost-calculator-builder/templates/frontend/fields/cost-radio.php
编辑文件内容
<div class="calc-item ccb-field" :class="{required: $store.getters.isUnused(radioField)}" v-if="Object.keys($store.getters.getCustomStyles).length" :data-id="radioField.alias"> <div class="calc-item__title" :style="$store.getters.getCustomStyles['labels']"> <span> {{ radioField.label }} </span> <span v-if="radioField.required" class="calc-required-field"> * <div class="ccb-field-required-tooltip"> <span class="ccb-field-required-tooltip-text" :class="{active: $store.getters.isUnused(radioField)}" style="display: none;">{{ $store.getters.getSettings.notice.requiredField }}</span> </div> </span> </div> <div class="calc-radio" :class="'calc_' + radioField.alias" :class="'calc_' + radioField.alias"> <div class="calc-radio-item" v-for="(element, index) in getOptions"> <input :id="radioLabel + index" type="radio" :name="radioLabel" v-model="radioValue" :value="element.value" :class="radioField.additionalStyles"> <label :for="radioLabel + index" :style="$store.getters.getCustomStyles['radio-button']">{{ element.label }}</label> </div> </div> <p class="calc-description" :style="$store.getters.getCustomStyles['descriptions']">{{ radioField.description }}</p> </div>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件