Commit f86c92dd authored by 黄奎's avatar 黄奎

页面修改

parent f1e10046
......@@ -30,7 +30,8 @@
:class="{'text-orange':props.row.Seat>0,'text-pink':(props.row.Seat==0 && props.row.Substitute),'text-red':(props.row.Seat==0 && !props.row.Substitute)}">{{ props.row.Seat>0?'有名額':(props.row.Seat==0 && props.row.Substitute?'可候補':'名額已滿') }}</span>
</q-td>
<q-td key="TCID" :props="props">
<q-btn type="a" @click="OpenNewUrl(props.row.LinkUrl)" target="_blank"
<q-btn type="a" @click="(props.row.Seat>0||props.row.Substitute)?OpenNewUrl(props.row.LinkUrl):''" target="_blank"
:label="props.row.Seat>0||props.row.Substitute?'我有興趣':'無法預訂'"
:color="props.row.Seat>0||props.row.Substitute?'indigo':'grey'" rounded unelevated
:disable="props.row.Seat==0&&props.row.Substitute" />
......@@ -101,6 +102,7 @@
</q-item>
<q-item>
<q-item-section>
<q-btn type="a" @click="OpenNewUrl(props.row.LinkUrl)" target="_blank"
:label="props.row.Seat>0||props.row.Substitute?'我有興趣':'無法預訂'"
:color="props.row.Seat>0||props.row.Substitute?'indigo':'grey'" rounded unelevated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment