wxml文件
<view class="main">
<view class="center"> <text>申請服務商店</text></view>
<view class="center"> <input class="inputView" name="username" placeholder="請輸入服務的商店名稱"/></view>
<view class="buttonlayout"> <button class="button1">申請認證</button> <button class="button2">添加新服務商店</button></view>
</view>
wxss文件
.main{ display: flex; flex-direction: column; justify-content: center;}.inputView{ border: 1px solid #abbcbc; background-color: white; border-radius: 10px; width:80%; margin-top: 10px; height: 40px; text-align: center; display: flex; justify-content: center;}.buttonlayout{ display: flex; flex-direction: row; justify-content: center; margin-top: 50px;}.center{ display: flex; justify-content: center;}.button1{ width:30%;}.button2{ width:45%;}
|
新聞熱點
疑難解答