<view class="container">
  <view class="output">
    <text>{{result}}</text>
  </view>
  <view class="buttons">
    <view class="row">
      <button class="button" bindtap="onNumberClicked" data-value="7">7</button>
      <button class="button" bindtap="onNumberClicked" data-value="8">8</button>
      <button class="button" bindtap="onNumberClicked" data-value="9">9</button>
      <button class="button" bindtap="onOperatorClicked" data-value="+">+</button>
    </view>
    <view class="row">
      <button class="button" bindtap="onNumberClicked" data-value="4">4</button>
      <button class="button" bindtap="onNumberClicked" data-value="5">5</button>
      <button class="button" bindtap="onNumberClicked" data-value="6">6</button>
      <button class="button" bindtap="onOperatorClicked" data-value="-">-</button>
    </view>
    <view class="row">
      <button class="button" bindtap="onNumberClicked" data-value="1">1</button>
      <button class="button" bindtap="onNumberClicked" data-value="2">2</button>
      <button class="button" bindtap="onNumberClicked" data-value="3">3</button>
      <button class="button" bindtap="onOperatorClicked" data-value="*">*</button>
    </view>
    <view class="row">
      <button class="button" bindtap="onNumberClicked" data-value="0">0</button>
      <button class="button" bindtap="onClearClicked">C</button>
      <button class="button" bindtap="onEqualClicked">=</button>
      <button class="button" bindtap="onOperatorClicked" data-value="/">/</button>
    </view>
  </view>
</view>