| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <template>
- <view class="content">
- <!--轮播图-->
- <view>
- <text>Home图标</text>
- <u-icon name="home"></u-icon>
- </view>
- <view style="padding: 20px;">
- <u-button type="primary" text="确定"></u-button>
- <u-button type="primary" :plain="true" text="镂空"></u-button>
- <u-button type="primary" :plain="true" :hairline="true" text="细边"></u-button>
- <u-button type="primary" :disabled="disabled" text="禁用"></u-button>
- <u-button type="primary" loading loadingText="加载中"></u-button>
- <u-button type="primary" icon="map" text="图标按钮"></u-button>
- <u-button type="primary" shape="circle" text="按钮形状"></u-button>
- <u-button text="渐变色按钮" color="linear-gradient(to right, rgb(66, 83, 216), rgb(213, 51, 186))"></u-button>
- <u-button type="primary" size="small" text="大小尺寸"></u-button>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- title: 'Hello'
- }
- },
- onLoad() {
- this.getmessage()
- },
- methods: {
- goOrderDetail(){
- uni.navigateTo({
- url: '/orderPages/orderDetail/index'
- })
- },
- getmessage(){
- this.$api.payTheBill({}).then(res =>{
- console.log(res)
- })
- }
- }
- }
- </script>
- <style lang="scss">
- @import '/common/css/common.css';
- @import './index.rpx.css';
- </style>
|